0 Replies Latest reply on Apr 11, 2005 10:41 AM by Bhaskara

    Deployment error in JBoss

    Bhaskara Newbie

      All,

      I have an EJB jar file that deploys perfectly well on JBoss 3.0.4 version but if I try to deploy the same jar file on JBoss 4.0.1.. running into error saying class file is not found even though the class file is with in the same jar file. Basically getting error from EJBDeployer module for an entity class that is part of the same jar file.

      Any help on what TO DO.. to move from JBoss 3.x to JBoss 4.0.1 would be great!

      exception trace is as below...

      20:09:46,587 WARN [EJBDeployer] Verify failed; continuing
      java.lang.NoClassDefFoundError: com/abc/dataentity/LoginDetails
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
      at java.lang.Class.privateGetPublicMethods(Class.java:1655)
      at java.lang.Class.getMethods(Class.java:815)
      at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(Abstr
      actVerifier.java:688)
      at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifi
      er20.java:1037)
      at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.
      java:92)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:162)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:537)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:222)

      -Bhaskar