eclipselink persistance.xml with Tomcat in OSGI bundle [message #494421] |
Fri, 30 October 2009 15:03 |
Ashish Messages: 13 Registered: September 2009 |
Junior Member |
|
|
Hello,
I am working on project which uses EclipseLink and OSGi on Tomcat server. If I put persistence.xml in EclipseLink bundle (META-INF\persistence.xml) and deploy it in tomcat with bridge.war, it works very fine.
But I want to take out persistence.xml out of bundle jar and put that somewhere in Tomcat environment so that DB can be configured without changing the bundle jar.
My question is: Can I put META-INF\persistence.xml in tomcat environment where EclipseLink bundle is in bridge\WEB-INF\eclipse\plugin? If yes, please suggest me, where should I put it.
Thank you very much in advance.
Ashish
|
|
|
Powered by
FUDForum. Page generated in 0.03117 seconds