1 Reply Latest reply on Jun 15, 2012 7:56 AM by Frank Langelage

    Migration from JBoss 4 to JBoss 7

    sarahfr Newbie

      Hi,

       

      I try to migrate my application from JBoss 4 to JBoss 7;

      I have this error with I start my server JBoss 7.1

       

       

      11:30:21,124 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CameleonChannelSelling]] (MSC service thread 1-3) StandardWrapper.Throwable: java.lang.ExceptionInInitializerError

              at cwe.common.CWEJBPMUtils.<clinit>(CWEJBPMUtils.java:66) [CWE.jar:]

              at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_25]

              at java.lang.Class.forName(Class.java:169) [rt.jar:1.6.0_25]

              at ccp.workflow.CWEServicesServlet.init(CWEServicesServlet.java:67) [CameleonChannelSelling.jar:]

              at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_25]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]

      Caused by: java.lang.NoClassDefFoundError: org/jbpm/configuration/ObjectFactory

              at cwe.common.CWEJBPMUtils.<clinit>(CWEJBPMUtils.java:55) [CWE.jar:]

              ... 14 more

      Caused by: java.lang.ClassNotFoundException: org.jbpm.configuration.ObjectFactory from [Module "channel.cart:main" from local module loader @55dec1dd (roots: C:\travail\jboss-as-7.1.1.Final\modules)]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

              ... 15 more

       

      Inned your help.

      Thanks.

      sarah

        • 1. Re: Migration from JBoss 4 to JBoss 7
          Frank Langelage Master

          sarahfr schrieb:

           

          Caused by: java.lang.ClassNotFoundException: org.jbpm.configuration.ObjectFactory from [Module "channel.cart:main" from local module loader @55dec1dd (roots: C:\travail\jboss-as-7.1.1.Final\modules)]

          Your app is missing this class.

          Is it part of your deployment?

          What's the structure of CWE.jar? (jar -tvf CWE.jar).