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

Invalid Exception when deploying a service compiled in jdk1.5 in axis2 server running in jdk 1.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Axis2 throws the following misleading Exception when deploying a service compiled in jdk1.5 in axis2 server running in jdk 1.4.

      Caused by: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException Error in loading message receiver org.tempuri.mtom.MTOMServiceMessageReceiverInOut; nested exception is:
      java.lang.ClassNotFoundException: org.tempuri.mtom.MTOMServiceMessageReceiverInOut
      at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:179)
      at org.apache.axis2.deployment.ServiceBuilder.processOperations(ServiceBuilder.java:601)
      at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:257)
      ... 12 more
      Caused by: java.lang.ClassNotFoundException: org.tempuri.mtom.MTOMServiceMessageReceiverInOut
      at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.axis2.util.Loader.loadClass(Loader.java:158)
      at org.apache.axis2.util.Loader.loadClass(Loader.java:130)
      at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:175)
      ... 14 more

      Attachments

        Activity

          People

            deepal Deepal Jayasinghe
            thilina Nanayakkara Kuruppuge Thilina Gunarathne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: