0 Replies Latest reply on Jul 19, 2012 7:51 AM by shabbirh

    Problem with JBoss AS 7.0 while deploying a ear file

    shabbirh

      Hi,

       

      i'm having the problem below while deploying a ear application using IntelliJ 10.5 and JBoss AS 7.0.0. Does anyone knows why?

       

      13:42:06,046 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA

      13:42:06,215 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA

      13:42:06,251 INFO  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting

      13:42:06,761 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)

      13:42:06,766 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

      13:42:06,777 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

      13:42:06,784 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

      13:42:06,851 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

      13:42:06,858 INFO  [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service

      13:42:06,861 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

      13:42:06,872 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

      13:42:06,876 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2

      13:42:06,885 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3

      13:42:06,894 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3

      13:42:07,037 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-6) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_05\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 10.5.4\bin\..\.\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\apache-maven-2.2.1\bin;C:\Program Files\Java\jdk1.6.0_33\bin;;c:\program files\java\jdk1.7.0_05\jre\bin;.

      13:42:07,045 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

      13:42:07,094 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector

      13:42:07,127 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-11) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

      13:42:07,201 INFO  [org.jboss.as.remoting] (MSC service thread 1-11) Listening on /127.0.0.1:9999

      13:42:07,215 INFO  [org.jboss.as.connector] (MSC service thread 1-16) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)

      13:42:07,241 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) Bound data source [java:jboss/datasources/ExampleDS]

      13:42:07,394 INFO  [org.jboss.as.deployment] (MSC service thread 1-12) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.0.Final\standalone\deployments

      13:42:07,414 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) Starting deployment of "odessa-1.0-SNAPSHOT_INTELLIJ.ear"

      Connected to server

      [2012-07-19 01:42:07,553] Artifact odessa (1) (com.asysdev.odessa):ear exploded: Artifact is being deployed, please wait...

      13:42:08,859 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "webapp-1.0-SNAPSHOT.war"

      13:42:08,862 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jaxb-api.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:08,862 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry activation.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:08,862 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jsr173_1.0_api.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:08,863 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jaxb1-impl.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:08,863 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jaxb-api.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:08,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry activation.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:08,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jsr173_1.0_api.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:08,864 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-16) Class Path entry jaxb1-impl.jar in "/C:/jboss-as-web-7.0.0.Final/bin/content/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:08,976 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-13) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      13:42:09,016 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) MSC00001: Failed to start service jboss.web."webapp-1.0-SNAPSHOT.war": org.jboss.msc.service.StartException in service jboss.web."webapp-1.0-SNAPSHOT.war": Failed to start service

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

          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_05]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_05]

          at java.lang.Thread.run(Thread.java:722) [:1.7.0_05]

      Caused by: java.lang.IllegalArgumentException: Child container with name  already exists

          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:804)

          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:792)

          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:356)

          at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:60)

          at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:36)

          at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55)

          at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1572)

          at org.jboss.msc.service.ServiceControllerImpl.access$1900(ServiceControllerImpl.java:49)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1799)

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

          ... 4 more

       

      13:42:09,018 ERROR [org.jboss.as] (MSC service thread 1-14) JBoss AS 7.0.0.Final "Lightning" started (with errors) in 3191ms - Started 139 of 199 services (1 services failed or missing dependencies, 59 services are passive or on-demand)

      13:42:09,019 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "odessa-1.0-SNAPSHOT_INTELLIJ.ear" was rolled back with failure message {"Failed services" => {"jboss.web.\"webapp-1.0-SNAPSHOT.war\"" => "org.jboss.msc.service.StartException in service jboss.web.\"webapp-1.0-SNAPSHOT.war\": Failed to start service"}}

      13:42:09,029 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment webapp-1.0-SNAPSHOT.war in 10ms

      13:42:09,069 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) Stopped deployment odessa-1.0-SNAPSHOT_INTELLIJ.ear in 50ms

      13:42:09,070 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.web.\"webapp-1.0-SNAPSHOT.war\"" => "org.jboss.msc.service.StartException in service jboss.web.\"webapp-1.0-SNAPSHOT.war\": Failed to start service"}}}}

      13:42:09,105 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "odessa-1.0-SNAPSHOT_INTELLIJ.ear"

      13:42:10,118 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) Starting deployment of "webapp-1.0-SNAPSHOT.war"

      13:42:10,120 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jaxb-api.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:10,120 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry activation.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:10,120 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jsr173_1.0_api.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:10,120 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jaxb1-impl.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar" not found.

      13:42:10,120 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jaxb-api.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:10,121 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry activation.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:10,121 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jsr173_1.0_api.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:10,121 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-11) Class Path entry jaxb1-impl.jar in "/C:/Projects/platform/odessa/trunk/eardeployment/target/odessa-1.0-SNAPSHOT_INTELLIJ.ear/lib/jaxb-impl-2.1.10.jar"  does not point to a valid jar for a Class-Path reference.

      13:42:10,160 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-9) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      13:42:10,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.web."webapp-1.0-SNAPSHOT.war": org.jboss.msc.service.StartException in service jboss.web."webapp-1.0-SNAPSHOT.war": Failed to start service

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

          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_05]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_05]

          at java.lang.Thread.run(Thread.java:722) [:1.7.0_05]

      Caused by: java.lang.IllegalArgumentException: Child container with name  already exists

          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:804)

          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:792)

          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:356)

          at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:60)

          at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:36)

          at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55)

          at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1572)

          at org.jboss.msc.service.ServiceControllerImpl.access$1900(ServiceControllerImpl.java:49)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1799)

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

          ... 4 more

       

      13:42:10,175 INFO  [org.jboss.as.server.controller] (pool-2-thread-2) Deployment of "odessa-1.0-SNAPSHOT_INTELLIJ.ear" was rolled back with failure message {"Failed services" => {"jboss.web.\"webapp-1.0-SNAPSHOT.war\"" => "org.jboss.msc.service.StartException in service jboss.web.\"webapp-1.0-SNAPSHOT.war\": Failed to start service"}}

      13:42:10,180 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment webapp-1.0-SNAPSHOT.war in 4ms

      13:42:10,221 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) Stopped deployment odessa-1.0-SNAPSHOT_INTELLIJ.ear in 45ms