i don't know how but i solved the problem: i created very very simple services in referenced library. one that looks if persistence.xml is accessible ->true, one that tries to get an emf->true and finally one that queries the db -> returns correct result. So it must be within the code for my other services. I guess something went wrong with resource management. especially the em/emf resource- handling drives me crazy. any advices on that?
On 18 Mrz., 16:04, tanteanni <[email protected]> wrote: > i am working on my first gwt application. an got problems on > integrating a jpa2-using jar. if i run my app in hosted mode i get an > exception including: "javax.persistence.PersistenceException: No > Persistence provider for EntityManager named myPU" > > the persistence.xml is located in /WEB-INF/lib/myincluded.jar/META- > INF. myincluded.jar works fine if started from console and it also > works if the app is deployed to tomcat. so i guess i have to > reconfigure jetty/hosted mode some how?! > > thx in advance -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
