Looks like you are running the axis2 client in Weblogic, and it is loading
xerces from the parent classloader instead of the application classloader.
Two things you could try:
1) Add this to your weblogic-application.xml:
com.ctc.wstx.*
javax.xml.*
org.apache.*
https://axis.apache.org/axis2/j
3)
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
On Thu, Oct 15, 2020 at 1:41 AM robertlazarski
wrote:
> Looks like you are running the axis2 client in Weblogic, and
What it looks to me, is that you lack a xerces jar in your lib dir.
Your logs show this below, that the xerces implementation is coming from the
system classloader:
Finding class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
Class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl loaded from
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214782#comment-17214782
]
tony Ta commented on AXIS2-5740:
I got the exact same errors after upgrading to 1.7.2.
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214790#comment-17214790
]
Robert Lazarski commented on AXIS2-5740:
Axis2 1.7.9 and httpclient 4.5.12 works
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214837#comment-17214837
]
tony Ta commented on AXIS2-5740:
Still got the same ClassCastException error with Axis2 1
There is xercesImpl-2.12.0.jar in the axis2/lib I put it there.
from what I understand for some reason this jar is lode from system
classloader and not from the axis2/lib as it should
Is there any Djavax or any other way to force it to use the correct
axis2/lib/xercesImpl-2.12.0.jar?
What
Ant is not picking up your jar for some reason - did you wildcard the ant
classpath to get all the jars in the lib dir like so?
You should see the xerces jar in the line below this ant log:
[javac] Compilation arguments:
[javac] '-deprecation'
[javac]
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214898#comment-17214898
]
Robert Lazarski commented on AXIS2-5740:
The stacktrace of the original error fro
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214967#comment-17214967
]
tony Ta commented on AXIS2-5740:
Here is the stacktrace:
ERROR [stderr] java.lang.Cl
[
https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215094#comment-17215094
]
Robert Lazarski commented on AXIS2-5740:
The latest code in git, no longer does t
11 matches
Mail list logo