Just a bit of an update. I created a servlet to inject an EJB which
works perfectly, but the persistence context (an EntityManager in my
case) is not being injected into the EJB. It's also not injecting an
EntityManagerFactory into my servlet, which I know it should be doing.
All this tells me I must not have the JPA library installed correctly.
The documentation suggests that JPA classes be packaged separately as
a utility JAR and the MANIFEST.MF of the EJB JAR should include a
Class-Path entry for the JPA JAR.
Not sure where to go from here, so if anybody has any suggestions I
would appreciate it. I'm supposed to have a meeting tomorrow, so maybe
I'll end up getting WAS 7.0 out of it :-). Then I won't have to worry
about this issue at all.
--
James R. Perkins
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.