Here are some of the James' with Clachnaharry connection that I have found but the age is all over the place!
I have found a James in 1841 Clachnaharry, with an Ann Macdonald and child James, 1. His occupation was given as BB [Boat Builder?]
In 1851 Clachnaharry there was a James, 35, Ships Carpenter, born Clachnaharry with ]wife, Ann, 34 born Clachnaharry and children Jane [says 19 but think it should be 9], Donald, 5, Hannah, 3, and John 2mo.
In 1861 there was a James on board the vessel, Inverness-shire, in Northumberland. His age was given as 32.
This could be James with wife, Ann Mackay but can't find a marriage for them.
This may/may not be your family.