1 Reply Latest reply on Jan 10, 2006 11:05 AM by madeonmoon

    Upgrade to 4.0.3sp1 introduces classloader issues

    madeonmoon Newbie

      Hello,

      I've upgraded to 4.0.3sp1 from 4.0.1sp1 and all works fine with the exception of one problem.

      I have a web service configured which when invoked via browser results in:

      2006-01-10 10:27:24,911 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dataservices].[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception
      java.lang.NoClassDefFoundError: com/mybiz/ProductManager
      at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source)
      at org.apache.axis.utils.ClassUtils$2.run()Ljava.lang.Object;(ClassUtils.java:176)
      at jrockit.vm.AccessController.do_privileged(Ljava.security.PrivilegedAction;Ljava.security.AccessControlContext;I)Ljava.lang.Object;(Unknown Source)
      at jrockit.vm.AccessController.doPrivileged(Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
      at org.apache.axis.utils.ClassUtils.loadClass(Ljava.lang.String;)Ljava.lang.Class;(ClassUtils.java:160)
      at org.apache.axis.utils.ClassUtils.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(ClassUtils.java:142)
      at org.apache.axis.utils.cache.ClassCache.lookup(Ljava.lang.String;Ljava.lang.ClassLoader;)Lorg.apache.axis.utils.cache.JavaClass;(ClassCache.java:85)
      ...


      I have modified the server/integration/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml to include:

      true
      true

      but the problem (java.lang.NoClassDefFoundError: com/mybiz/ProductManager) still occurs. Setting log level to TRACE did notproduce any more useful log data.


      Can anyone give me any pointers on how to trobleshoot the problem? Thanks a lot
      James