thanks Sahoo. I found an ugly workaround for this problem in felix, but could
not make hibernate work with spring iside a bundle due to a similar problem.
I opened hibernate logs to debug, and saw that hibernate does not find
persistence.xml (its looking for URL
[bundle://273.1:1/META-INF/persistence.xml] ).
In our another bundle that uses EJB + hibernate (and does not use Spring),
hibernate is looking for persistence.xml in the correct place: "inside PU
root URL:
file:/C:/Windows/TEMP/osgiapp5894204832566870147/WEB-INF/lib/dal-1.00.jar"
Are you familiar with this problem?
thank you.
--
[Message sent by forum member 'okna2000']
View Post: http://forums.java.net/node/883365