Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4614

Modules not loaded by axis2 when run inside a Java Web Start application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • None
    • modules
    • None
    • server: OS AIX, ibm jre "1.5.0" build pap32dev-20080315 (SR7), web stack oc4j 10.1.3.4
      client: winxp sp2, sun jre1.6.0_16

    Description

      We have a Java Web Start (JWS) application that uses axis2 generate soap proxies. We are using the rampart module to provide security headers for the soap requests.
      The problem is, the addressing module does not get loaded when our application is run from within JWS.
      It works fine from within eclipse, loading the module from the classpath, but not from JWS.
      My assumption is, that the axis2 module loading works from a custom class loader that is not being used when run from within a JWS application.

      java.lang.RuntimeException: <snip>: java.lang.RuntimeException: org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressingjava.lang.RuntimeException: <snip>: java.lang.RuntimeException: org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
      <snip>
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
      Caused by: <snip>: java.lang.RuntimeException: org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
      <snip>
      ... 15 more
      Caused by: java.lang.RuntimeException: org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
      <snip>
      ... 18 more
      Caused by: org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
      at org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:78)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(ConfigurationContextFactory.java:194)
      ... 19 more

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              casper casper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified