3 Replies Latest reply on Feb 19, 2009 5:57 AM by jaikiran pai

    ClassNotFoundException JBossAS5 Web deployer

    Pemm Pimm Newbie

      Hi, i have a Cleassloading problem, originally postet under "JBoss Web Server":
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150683.

      Excerpt of logfile:

      2009-02-17 21:45:12,343 TRACE [org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy] (RMI TCP
      Connection(4)-127.0.0.1) getProtectionDomain:className=tv.more.core.resources.ResourceProvider path=
      tv/more/core/resources/ResourceProvider.class codeSourceURL=jar:file:/C:/workspaces/eclipse/serviceh
      eadend2/headend/headend-1.0-SNAPSHOT.war/WEB-INF/lib/core-1.0-SNAPSHOT.jar!/

      ...

      2009-02-17 21:45:12,343 TRACE [org.jboss.metadata.annotation.creator.AbstractResourceProcessor] (RMI
      TCP Connection(4)-127.0.0.1) process: @javax.annotation.Resource(shareable=true, mappedName=, descr
      iption=, name=serviceHeadendResources, type=class java.lang.Object, authenticationType=CONTAINER), t
      ype=tv.more.core.resources.ResourceProvider

      ...

      2009-02-17 21:45:12,390 TRACE [org.jboss.metadata.annotation.creator.AbstractResourceProcessor] (RMI
      TCP Connection(4)-127.0.0.1) process: @javax.annotation.Resource(shareable=true, mappedName=, descr
      iption=, name=serviceHeadendResources, type=class java.lang.Object, authenticationType=CONTAINER), t
      ype=tv.more.core.resources.ResourceProvider
      javax.ejb.EJBException: java.lang.ClassNotFoundException: tv.more.core.resources.ResourceProvider fr
      om BaseClassLoader@f2bc85{VFSClassLoaderPolicy@36d9e4{name=vfsfile:/C:/Programme/Java/jboss-5.0.0.GA
      /server/default/deploy/jbossweb.sar/ ...


      It seems that the class is loaded before, but there is thrown a ClassNotFoundException by the BaseClassLoader. The war is deployable under JBossAS4 (4.2.2).

      Any Ideas? Help appreciated!

      BR