Wrong classpath for dynamic client compilation in Weblogic
----------------------------------------------------------
Key: CXF-2549
URL: https://issues.apache.org/jira/browse/CXF-2549
Project: CXF
Issue Type: Bug
Components: JAXB Databinding
Environment: Weblogic 9.2, JDK 1.5
Reporter: Dennis Kieselhorst
Priority: Critical
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.jaxwsdynamicclientfact...@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.jaxwsdynamicclientfact...@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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.