2 Replies Latest reply on Sep 21, 2012 5:32 AM by Nicklas Karlsson

    migration from Jboss 4.2 to JBoss 7.1

    sarahfr Newbie

      Hi,

       

      I try to migrate my application from JBoss 4.2 to JBoss 7.1, but I have this error.

       

      17:08:47,823 INFO  [org.jboss.web] (MSC service thread 1-13) JBAS018210: Registering web context: /schedulerCCS

      17:08:47,878 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CCS]] (MSC service thread 1-8) 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/dom4j/Element

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

              at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [rt.jar:1.6.0_25]

              at java.lang.Class.getDeclaredMethods(Class.java:1791) [rt.jar:1.6.0_25]

              at org.hibernate.property.BasicPropertyAccessor.getterMethod(BasicPropertyAccessor.java:352) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.getGetterOrNull(BasicPropertyAccessor.java:331) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:314) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:310) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.internal.util.ReflectHelper.getter(ReflectHelper.java:250) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.internal.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:229) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:314) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:447) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:380) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:320) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:171) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3377) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3369) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3357) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1334) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1724) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1775) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90) [jbpm.jar:]

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

              ... 14 more

      Caused by: java.lang.ClassNotFoundException: org.dom4j.Element from [Module "deployment.CCS.ear:main" from Service Module Loader]

              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)

              ... 36 more

       

       

      17:08:48,013 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CCS]] (MSC service thread 1-8) La servlet /CCS a gÚnÚrÚ une exception "load()": java.lang.ClassNotFoundException: org.dom4j.Element from [Module "deployment.CCS.ear:main" from Service Module Loader]

              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)

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

              at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [rt.jar:1.6.0_25]

              at java.lang.Class.getDeclaredMethods(Class.java:1791) [rt.jar:1.6.0_25]

              at org.hibernate.property.BasicPropertyAccessor.getterMethod(BasicPropertyAccessor.java:352) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.getGetterOrNull(BasicPropertyAccessor.java:331) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:314) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:310) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.internal.util.ReflectHelper.getter(ReflectHelper.java:250) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.internal.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:229) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:314) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:447) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:380) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:320) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:171) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3377) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3369) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3357) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1334) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1724) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1775) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]

              at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90) [jbpm.jar:]

              at cwe.common.CWEJBPMUtils.<clinit>(CWEJBPMUtils.java:61) [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]

       

       

      17:08:48,136 INFO  [org.jboss.web] (MSC service thread 1-8) JBAS018210: Registering web context: /CCS

      17:08:48,137 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015951: Admin console listening on http://172.31.6.250:9990

      17:08:48,138 ERROR [org.jboss.as] (MSC service thread 1-7) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 20404ms - Started 1272 of 1383 services (14 services failed or missing dependencies, 92 services are passive or on-demand)

      17:08:48,341 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "CCS.ear" was rolled back with no failure message

      17:08:48,344 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "cart.ear" was rolled back with failure message JBAS014750: Operation handler failed to complete

      17:08:48,404 INFO  [org.rhq.helpers.rtfilter.filter.RtFilter] (MSC service thread 1-13) -- Filter destroy: 0 requests processed (hashCode=955674079).

      17:08:48,404 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-16) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.

      17:08:48,409 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-16) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.

      17:08:48,410 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-16) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.

      17:08:48,414 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/schedulerCCS]] (MSC service thread 1-16) QuartzInitializer: Quartz Scheduler successful shutdown.

      17:08:48,520 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015877: Stopped deployment CICObjectShare.sar in 152ms

      17:08:48,530 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment scheduler.war in 188ms

      17:08:48,632 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015877: Stopped deployment commonUI.war in 290ms

      17:08:48,711 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment CWE.war in 368ms

      17:08:49,585 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment cartDesigner.war in 1217ms

      17:08:49,799 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment cart.war in 1431ms

      17:08:50,090 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment cart.ear in 1745ms

      17:08:50,700 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment CameleonChannelSelling.war in 2357ms

      17:08:51,093 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment CCS.ear in 2752ms

      17:08:51,094 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.naming.context.java.jboss.datasources.eModelingDS (missing) dependents: [service jboss.persistenceunit."CCS.ear#frameworkManagerUnitInContainer"]

       

       

      17:08:51,102 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014750: Operation handler failed to complete"}}

      17:08:51,106 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back

       

      please can you help me?

      thanks

      sarahfr