Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.2.5
-
None
-
Weblogic 9.2, JDK 1.5
Description
Running in Weblogic 9.2 DynamicClientFactory.setupClasspath returns only the jars of the domain home and not the jars from the lib dir in the ear. Therefore the compilation fails:
C:/Users/DeKiesel/AppData/Local/Temp/org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@1999620-1258564353941-src/de/testtest/testwebservice/GetRegistrationNumber.java:4: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlAccessType;
^
[...]
Note: C:/Users/DeKiesel/AppData/Local/Temp/org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@1999620-1258564353941-src/de/testtest/testwebservice/ObjectFactory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
65 errors
1118 18:12:35 ERROR org.apache.cxf.endpoint.dynamic.DynamicClientFactory Could not compile java files for https://testtest.de/spartner/Service1.asmx?WSDL.
It seems the relevant classloader is skipped because it's not an instance of URLClassLoader (weblogic.utils.classloaders.ChangeAwareClassLoader extends weblogic.utils.classloaders.GenericClassLoader extends java.security.SecureClassLoader).
Any ideas?