[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6450) Classloader incompatibilities between javax.xml.soap (1.2) and javax.xml.soap (1.3) when running WS Tester
Brian Fitzpatrick (JIRA)
jira-events at lists.jboss.org
Mon Nov 15 16:44:43 EST 2010
[ https://jira.jboss.org/browse/JBIDE-6450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563478#comment-12563478 ]
Brian Fitzpatrick commented on JBIDE-6450:
------------------------------------------
The full exception I get now is:
!ENTRY org.jboss.tools.ws.ui 4 0 2010-11-15 14:40:06.591
!MESSAGE No message
!STACK 0
javax.xml.ws.WebServiceException: Unknown class type javax.xml.soap.SOAPMessage
at com.sun.xml.internal.ws.api.pipe.Stubs.createDispatch(Stubs.java:177)
at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:377)
at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:388)
at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:370)
at javax.xml.ws.Service.createDispatch(Service.java:325)
at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:144)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1275)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$25(JAXRSWSTestView2.java:1261)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$18.run(JAXRSWSTestView2.java:1198)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
And again, this seems to be because the two versions (1.2 and 1.3) clash somehow in the Eclipse classloader when it's trying to resolve any javax.xml.soap.* class at runtime.
> Classloader incompatibilities between javax.xml.soap (1.2) and javax.xml.soap (1.3) when running WS Tester
> ----------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-6450
> URL: https://jira.jboss.org/browse/JBIDE-6450
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 3.2.0.M1
> Reporter: Brian Fitzpatrick
> Assignee: Brian Fitzpatrick
> Priority: Critical
> Fix For: 3.2.0.Beta2
>
> Attachments: org.jboss.tools.ws.ui.patch
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> Finally got to the heart of the java.lang.VerifyError issue I've been running into with the WS Tester.
> javax.xml.soap (1.2) is an old-school plug-in jar wrapper that takes saaj.jar and exposes it in Eclipse.
> javax.xml.soap (1.3) is a new-school OSGI-compatible wrapper that builds the individual saaj classes and wraps them to expose them in Eclipse.
> As Nick said in a recent IRC chat - ".jar!/org/whatever/*.class is better than .jar!foo.jar". But in my case, it causes the lovely java.lang.VerifyError when I try to use a utility class that takes advantage of classes from javax.xml.soap.
> After doing some digging, it turns out the javax.xml.soap (1.3) plug-in is coming from the Atlassian update site for the latest & greatest version of their JIRA/Mylyn plug-ins. Without Atlassian JIRA connectors installed, it runs just fine.
> So this presents an issue... If we're meant to certify against Atlassian JIRA connectors, this is going to come up again. So how do we work around it?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list