0 Replies Latest reply on Jul 20, 2005 12:46 PM by umeshs79

    Unable to deploy ejb in ear file with classloading isolation

    umeshs79 Newbie

      Hi,

      I want to deploy my war and ejb jar in a ear file with class loading isolation.

      It works fine if I do not specify class loading isolation in my jboss-app.xml.

      But If I specify classloading isolation it throws below exception. And I have onMessage method in my mdb.


      2005-07-20 17:36:25,140 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : MyMDB
      Section: 15.7.4
      Warning: The message driven bean must declare one onMessage() method.

      2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2005-07-20 17:36:25,140 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss/jboss-4.0.2/server/default/deploy/myapp.ear/mymdb.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

      I need class isolation for log4j.

      Please help me

      Regards
      Umesh