Hello,
I'm trying to migrate a big application from
JBoss 5 to JBoss 7.
The Jboss 5 was configured with many diffrent datasources, activeMQ and Jackrabbit so what I first did is creating a really simple web application (single war) using all those resources just to write their instance in a
servlet assuring myselft that the server configuration for the resources was ok.
Here's the web.xml :
http://pastebin.com/BbRwbyvL
the jboss-web.xml :
http://pastebin.com/ipLZnq0y
the jboss-deployment-structure.xml :
http://pastebin.com/uKm8SQbx
And it works perfectly well.
But when I try to deploy the real big application wich is a ear file here's the error I get :
16:29:14,889 DEBUG [org.jboss.security] (MSC service thread 1-2) PBOX000307: Constructing JBossPolicyConfiguration with contextID EtrmIppEar-48.0-SNAPSHOT.ear!Etrm-48.0-SNAPSHOT.war
16:29:14,889 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Cannot create permissions with 'null' metaData for id=EtrmIppEar-48.0-SNAPSHOT.ear!Etrm-48.0-SNAPSHOT.war
16:29:14,905 INFO [org.jboss.web] (ServerService Thread Pool -- 57) JBAS018210: Register web context: /Etrm
16:29:14,905 DEBUG [org.jboss.security] (MSC service thread 1-3) PBOX000307: Constructing JBossPolicyConfiguration with contextID EtrmIppEar-48.0-SNAPSHOT.ear!EtrmPortal-48.0-SNAPSHOT.war
16:29:14,905 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Cannot create permissions with 'null' metaData for id=EtrmIppEar-48.0-SNAPSHOT.ear!EtrmPortal-48.0-SNAPSHOT.war
16:29:14,905 INFO [org.jboss.web] (ServerService Thread Pool -- 56) JBAS018210: Register web context: /EtrmPortal
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 57) Pipeline Configuration:
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 57) org.apache.catalina.core.ValveBase/1.0
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 57) org.apache.catalina.core.StandardContextValve/1.0
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 57) ======================
16:29:14,920 DEBUG [org.apache.catalina.session] (ServerService Thread Pool -- 57) Registering null
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 56) Pipeline Configuration:
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 56) org.apache.catalina.core.ValveBase/1.0
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 56) org.apache.catalina.core.StandardContextValve/1.0
16:29:14,920 DEBUG [org.apache.catalina.startup] (ServerService Thread Pool -- 56) ======================
16:29:14,920 DEBUG [org.apache.catalina.session] (ServerService Thread Pool -- 56) Registering null
16:29:15,108 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 57) JBWEB001103: Error detected during context /Etrm start, will stop it
16:29:15,514 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 57) MSC00001: Failed to start service jboss.web.deployment.default-host./Etrm: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./Etrm: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_35]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
... 7 more
16:29:15,655 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 56) JBWEB001103: Error detected during context /EtrmPortal start, will stop it
16:29:15,702 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 56) MSC00001: Failed to start service jboss.web.deployment.default-host./EtrmPortal: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./EtrmPortal: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_35]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
... 7 more
16:29:15,920 DEBUG [org.jboss.as.osgi] (Controller Boot Thread) BundleContext not available for management operation
Does someone have any idea on how I could get more information on what's going wrong ?
(I just have to say that I tried with Dependencies, Class-Path, etc. ended-up with using a jboss-deployment-structure.xml for the ear file but when I just not require the javax.jcr module at all I have a ClassNotFoundException)