0 Replies Latest reply on Jan 3, 2013 4:25 AM by kdineshz

    Jboss 7.1.1 war deployment issue

    Newbie

      Hi,

       

      I get exception while deploying war file.

      Please check the below output:

       

      C:\jboss-as-7.1.1.Final\bin>standalone.bat
      Calling "C:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
      ===============================================================================

        JBoss Bootstrap Environment

        JBOSS_HOME: C:\jboss-as-7.1.1.Final

        JAVA: C:\dinesh\jdk1.6.0_13\bin\java

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
      -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

      ===============================================================================

      14:23:16,331 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      14:23:17,487 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      14:23:17,581 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
      14:23:19,862 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      14:23:19,878 INFO  [org.xnio] XNIO Version 3.0.3.GA
      14:23:19,878 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      14:23:19,925 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
      14:23:20,065 INFO  [org.jboss.as.webservices] JBAS015537: Activating WebServices Extension
      14:23:20,143 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      14:23:20,143 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
      14:23:20,143 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      14:23:20,175 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      14:23:20,175 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
      14:23:20,175 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
      14:23:20,206 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
      14:23:20,425 INFO  [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
      14:23:20,425 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
      14:23:20,628 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      14:23:20,940 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
      14:23:21,299 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
      14:23:21,503 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      14:23:21,878 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
      14:23:22,049 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-as-7.1.1.Final\standalone\deployments
      14:23:22,065 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
      14:23:22,065 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
      14:23:22,596 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      14:23:22,596 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 6874ms - Started 133 of 208 services (74 services are passive or on-demand)
      14:30:07,414 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 6) JBAS014900: Content added at location C:\jboss-as-7.1.1.Final\standalone\data\content\69\4d98f43647561e438fc73cfb3f69fa90f21488\conten
      t
      14:32:27,614 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "CSUSContent.war"
      14:36:00,405 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb-api.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-impl-2.2.4-1.jar"  does not point
      to a valid jar for a Class-Path reference.
      14:36:00,405 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-impl-2.2.4-1.jar"  does not poin
      t to a valid jar for a Class-Path reference.
      14:36:00,405 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jsr173_1.0_api.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-impl-2.2.4-1.jar"  does not
      point to a valid jar for a Class-Path reference.
      14:36:00,421 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb1-impl.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-impl-2.2.4-1.jar"  does not poin
      t to a valid jar for a Class-Path reference.
      14:36:00,421 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb-api.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-xjc-2.2.4-1.jar"  does not point t
      o a valid jar for a Class-Path reference.
      14:36:00,421 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb-impl.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-xjc-2.2.4-1.jar"  does not point
      to a valid jar for a Class-Path reference.
      14:36:00,421 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jsr173_1.0_api.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-xjc-2.2.4-1.jar"  does not p
      oint to a valid jar for a Class-Path reference.
      14:36:00,436 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/jaxb-xjc-2.2.4-1.jar"  does not point
      to a valid jar for a Class-Path reference.
      14:36:00,436 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xml-apis.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/serializer-2.7.1.jar"  does not point t
      o a valid jar for a Class-Path reference.
      14:36:00,452 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xercesImpl.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a
      valid jar for a Class-Path reference.
      14:36:00,452 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xml-apis.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a v
      alid jar for a Class-Path reference.
      14:36:00,468 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry serializer.jar in "/C:/jboss-as-7.1.1.Final/bin/content/CSUSContent.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a
      valid jar for a Class-Path reference.
      14:36:00,561 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException' for s
      ervice type 'org.apache.cxf.bus.factory'
      14:36:00,561 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlp
      ull.v1.XmlPullParserFactory'
      14:36:00,593 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for activemq
      14:36:01,686 WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to exception: org.jboss
      .as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation
              at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
              at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13]
              at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13]

      14:36:01,764 WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component org.eclipse.jetty.continuation.Servlet3Continuation$1 due to exception: org.jboss.as.server.deployment.Depl
      oymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.eclipse.jetty.continuation.Servlet3Continuation$1
              at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
              at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13]
              at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13]

      14:36:01,780 WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component org.eclipse.jetty.continuation.Servlet3Continuation$2 due to exception: org.jboss.as.server.deployment.Depl
      oymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.eclipse.jetty.continuation.Servlet3Continuation$2
              at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
              at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13]
              at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13]

      14:36:01,827 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."CSUSContent.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deplo
      yment.unit."CSUSContent.war".INSTALL: Failed to process phase INSTALL of deployment "CSUSContent.war"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13]
              at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13]
      Caused by: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider 'org.apache.openjpa.persistence.PersistenceProviderImpl' not found
              at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceUnitDeploymentProcessor.java:555)
              at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:295)
              at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258)
              at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194)
              at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              ... 5 more

      14:36:01,858 INFO  [org.jboss.as.server] (HttpManagementService-threads - 7) JBAS015870: Deploy of deployment "CSUSContent.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployme
      nt.unit.\"CSUSContent.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"CSUSContent.war\".INSTALL: Failed to process phase INSTALL of deployment \"CSUSContent.war\""}}
      14:36:26,686 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment CSUSContent.war in 24837ms
      14:36:26,686 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 7) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."CSUSContent.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."CSUSContent.war".INSTALL: Failed to
      process phase INSTALL of deployment "CSUSContent.war"

       

       

       

      Please help with this exception.

      Thanks

      Dinesh