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

Latest Axis2 1.8.2 release not compatible with Glassfish6/J2EE9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.8.2
    • 2.0.0
    • Integration, kernel
    • None

    Description

      We have several web services based on Axis2 engine deployed as wars in Tomcat. 

      Currently, we deploy in Tomcat 9.x with dependencies to Glassfish5 / J2EE8 /JDK8. 

      We're looking to upgrade to Tomcat 10.1.x+ / JDK17 / Glassfish6 / J2EE9.

      I did a quick test today on this target platform and got the following at runtime (compilation carries out successfully):

      08-Dec-2022 14:13:54.897 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [summit.axis2.servlet.ContextListener]
          java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
              at java.base/java.lang.ClassLoader.defineClass1(Native Method)
              at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)

      The issue seems to be that Axis2 is not compatible with Glassfish6/J2EE9. Is there a plan for this in Axis2 roadmap?

      PS: The Axis2 generated stubs work fine under the described target platform. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            k100000 k
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: