"Historically related"... ?
Kind of an open question, John.
Both were originally sailing frigates intended to serve in the War of 1812, later parked at the pier to serve as training ships (Trincomalee being renamed Foudroyant at the turn of the century), and later restored to nearly their original apprearance as frigates.
No? That's not it?
How about:
The original plans for Trincomalee were sent from England to the shipyard in Bombay aboard HMS Java, who didn't complete her journey to India, having been waylaid by Constitution.
Otherwise, I'll continue poking around.
Rick Heinbaugh