1 Reply Latest reply on Nov 29, 2004 1:58 PM by Elias Ross

    simple queue example throwing CNF Exception

    mskar Newbie

      Hi All,

      I'm trying to create a Queue example given like wiki doc. But the problem is i have one jar file which is in simple.war WEB_INF/lib folder. I deploying my application as a simple.ear file. After deployment in the starting TestServlet will load the classes in the jar file (which is simple.war).

      But i'm getting class not found exception. Here the jboss stact trace for the reference.

      Please any one help me out to solve this error.


      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - loadClass org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34} name=test.EmailChannel
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - attempt(1) was: true for :org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34}
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.LoadMgr3 - registerLoaderThread, ucl=org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34}, t=Thread[main,5,jboss], prevT=null
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.LoadMgr3 - Begin beginLoadTask, task=org.jboss.mx.loading.ClassLoadingTask@19e5431{classname: test.EmailChannel, requestingThread: Thread[main,5,jboss], requestingClassLoader: org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34}, loadedClass: nullnull, loadOrder: 2147483647, loadException: null, threadTaskCount: 0, state: 0, #CCE: 0}
      11-29-04:11:25 [main] DEBUG org.jboss.mx.loading.UnifiedClassLoader - New jmx UCL with url null
      11-29-04:11:25 [main] DEBUG org.jboss.mx.loading.RepositoryClassLoader - setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@c67f69, cl=org.jboss.mx.loading.UnifiedClassLoader3@1a97149{ url=null ,addedOrder=0}
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - getResourceLocally(org.jboss.mx.loading.UnifiedClassLoader3@1a97149{ url=null ,addedOrder=0}), name=test/EmailChannel.class, resURL:null
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - loadClassLocally, org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34} name=test.EmailChannel
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - findClass, name=test.EmailChannel
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - CFNE: Adding to blacklist: test.EmailChannel
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - CFNE: Adding to blacklist: test.EmailChannel
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.RepositoryClassLoader - loadClassLocally, org.jboss.mx.loading.UnifiedClassLoader3@1d6e4a4{ url=file:/D:/JBoss/jboss-4.0.0/server/default/tmp/deploy/tmp17378simple.ear ,addedOrder=34} name=test.EmailChannel not found
      11-29-04:11:25 [main] TRACE org.jboss.mx.loading.LoadMgr3 - End beginLoadTask, ClassNotFoundException

      TIA.

      -M.D.S