You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2009/12/08 14:13:18 UTC
[jira] Updated: (CXF-2549) Wrong classpath for dynamic client
compilation in Weblogic
[ https://issues.apache.org/jira/browse/CXF-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kieselhorst updated CXF-2549:
------------------------------------
Attachment: cxf-2549.patch
Patch created.
> 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
> Affects Versions: 2.2.5
> Environment: Weblogic 9.2, JDK 1.5
> Reporter: Dennis Kieselhorst
> Priority: Critical
> Fix For: 2.2.6
>
> Attachments: cxf-2549.patch
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.