0 Replies Latest reply on Jun 17, 2005 3:10 AM by Srikanth Kondeti

    jboss upgrade from 3.2.1 to 4.0.2 issue

    Srikanth Kondeti Newbie

      Hi,
      my application is running on 3.2.1 & now we are upgrading to 4.0.2.
      I had a lot of classnotfound exceptions. I read abt the new classloading in 4.0.2.
      I enabled the Java2classloadingcompliance & usejbowwebloader to true.
      But still i got the same exceptions.
      So in my wars i added
      <class-loading>
      <loader-repository>
      dot.com:loader=unique-archive-name
      </loader-repository>
      </class-loading>
      in jboss-web.xml
      Most of the wars got deployed except a few still throw classnot found exception

      11:57:16,580 INFO [STDOUT] java.lang.NoClassDefFoundError: com/collation/platform/model/discovery/template/Template
      11:57:16,580 INFO [STDOUT] at java.lang.Class.getDeclaredMethods0(Native Method)
      11:57:16,580 INFO [STDOUT] at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
      11:57:16,580 INFO [STDOUT] at java.lang.Class.getMethod0(Class.java:1901)
      11:57:16,580 INFO [STDOUT] at java.lang.Class.getMethod(Class.java:984)
      11:57:16,580 INFO [STDOUT] at com.collation.discover.template.TemplateService_Stub.(Unknown Source)
      11:57:16,580 INFO [STDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      11:57:16,580 INFO [STDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      11:57:16,581 INFO [STDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      11:57:16,581 INFO [STDOUT] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      11:57:16,581 INFO [STDOUT] at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:95)
      11:57:16,581 INFO [STDOUT] at sun.rmi.server.ActivatableRef.getStub(ActivatableRef.java:66)
      11:57:16,581 INFO [STDOUT] at java.rmi.activation.Activatable.register(Activatable.java:220)
      11:57:16,581 INFO [STDOUT] at com.collation.platform.jini.ServiceActivator.activate(ServiceActivator.java:138)
      11:57:16,581 INFO [STDOUT] at com.collation.platform.jini.ServiceLifecycle$1.run(ServiceLifecycle.java:113)
      11:57:16,581 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)

      Regards,
      Viswa