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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

        Activity

        Hide
        dims Davanum Srinivas added a comment -

        Fixed in svn revision 549817

        Show
        dims Davanum Srinivas added a comment - Fixed in svn revision 549817
        Hide
        deepal Deepal Jayasinghe added a comment -

        We need to thorw a meaningfull exception.

        Show
        deepal Deepal Jayasinghe added a comment - We need to thorw a meaningfull exception.

          People

          • Assignee:
            deepal Deepal Jayasinghe
            Reporter:
            thilina Thilina Gunarathne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development