Patricia:
Welcome to ireland Reaching Out!
I assume your ancestors were Roman Catholic? I searched the subscription site Roots Ireland and was not able to locate the marriage record or the baptismal records for John and James. There are six RC parishes in Co. Longford that do not have records back to 1839 so possibly the Fraziers attended one of those parishes.
I searched for Eliza Mathews baptismal records in 1840 and found two records which are below. I need to mention that Roots Ireland does not have all available church records in Ireland and many parishes may not have records back to 1840. Also, it is possible that Eliza was born in a year earlier or later than 1840.
Roger McDonnell
Name:Eliza Jane MathewsDate of Birth:23-May-1840
Date of Baptism:21-Jun-1840Address:ClougherevanParish/District:CAMLOUGH CIGender:FemaleCountyCo. Armagh
Denomination:Church Of Ireland
Father:Hugh MathewsMother:Not RecordedOccupation:Shoemaker
Name:Elizabeth MathewsDate of Birth:
Date of Baptism:12-Jul-1840Address:()Parish/District:BOHERMEEMGender:
CountyCo. Meath
Denomination:
Father:Pat MathewsMother:Mary ConnellOccupation:
Sponsor 1 /
Informant 1:Farley JohnSponsor 2 /
Informant 2:Keary Margaret