Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6450

Classloader incompatibilities between javax.xml.soap (1.2) and javax.xml.soap (1.3) when running WS Tester

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.2.0.CR1
    • 3.2.0.M1
    • webservices
    • None
    • Hide

      1. Create a new Eclipse 3.6 workbench installation.
      2. Add JBoss Tools
      3. Run the WS Tester and it succeeds.
      4. Install the latest Atlassian JIRA connector.
      5. Run the WS Tester and it fails.

      Show
      1. Create a new Eclipse 3.6 workbench installation. 2. Add JBoss Tools 3. Run the WS Tester and it succeeds. 4. Install the latest Atlassian JIRA connector. 5. Run the WS Tester and it fails.
    • Compatibility/Configuration

    Description

      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?

      Attachments

        1. axis.jar
          1.53 MB
        2. jaxrpc.jar
          30 kB
        3. org.jboss.tools.ws.ui.patch
          0.9 kB
        4. org.jboss.tools.ws.ui2.patch
          5 kB

        Issue Links

          Activity

            People

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: