I've got a runtime issue with a Stateless EJB (serving as a simple front-end
to someone elses web service), packaged in a .war file with the Apache Axis2
libraries in WEB-INF/lib/.

In apache-tomee-1.6.0-20130530.041144-85-webprofile (and 84, 83) at runtime
an exception is thrown

javax.ejb.EJBException: Cannot obtain a free instance.; nested exception is:
java.lang.NoClassDefFoundError: javax/wsdl/WSDLException

And to get round this I have found I can drop wsdl4j-1.6.2.jar in the
tomee/lib directory.

However, an earlier snapshot
apache-tomee-1.6.0-20130517.041158-75-webprofile doesn't have this issue, I
can drop exactly the same war file into this and everything is fine.
Unfortunately, I don't have the snapshots in between so can't tell you at
what point it stopped working.

I saw some other recent posts related to class loading - so has something
else changed? Do I need to change some configuration? Or is it a new bug?

Regards

Mark



--
View this message in context: 
http://openejb.979440.n4.nabble.com/NoClassDefFoundError-in-1-6-0-SNAPSHOT-class-loader-issue-tp4663348.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to