Hello,
I would like to share ONE persistence unit in different applications.
So I have one .ear containing a persistence unit configured with
transaction-type="JTA" and a jta-data-source.
A second .ear should use this PU by @PersistenceContext, but the EM
could not be found. I tried different JNDI paths, but all failed.
All applications run in the same domain.
Is there a restriction on GlassFish (v3.1.1) that prevents accessing
the PU of an other application?
Regards,
Lars