1 2 Previous Next 26 Replies Latest reply on Aug 1, 2013 2:54 AM by Stephen Coy

    Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"

    Ritika Gupta Newbie

      Hello,

       

      I am trying to migrate my Jboss server from Jboss 4.1 to JBoss 7.0 version.

       

      And when i deployed my .ear file in new version of Jboss 7.0 it is not working as it was working in previous version of Jboss 4.1 GA.

       

       

      I deployed my project's .ear (i.e. daimlerportal.ear) file in the deployments folder of jboss 7.0 (E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\standalone\deployments).

      when I start server form E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\bin\stanalone.bat file then it start showing following stacktrace :

       

      Calling E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\bin\standalone.conf.bat
      ===============================================================================

        JBoss Bootstrap Environment

        JBOSS_HOME: E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final

        JAVA: C:\Program Files\Java\jdk1.6.0_13\bin\java

        JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.d
      gc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

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

      15:46:40,303 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA
      15:46:40,593 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA
      15:46:40,636 INFO  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting
      15:46:41,333 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)
      15:46:41,339 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
      15:46:41,350 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class or
      g.h2.Driver (version 1.2)
      15:46:41,357 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
      15:46:41,428 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
      15:46:41,440 INFO  [org.jboss.as.naming] (MSC service thread 1-8) Starting Naming Service
      15:46:41,444 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
      15:46:41,460 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
      15:46:41,466 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 3.2.0.Beta2
      15:46:41,477 INFO  [org.xnio] (MSC service thread 1-6) XNIO Version 3.0.0.Beta3
      15:46:41,488 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.0.0.Beta3
      15:46:41,655 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-7) The Apache Tomcat Native library which a
      llows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_13\bin;.
      ;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Prog
      ram Files\Java\jdk1.6.0_13\bin;C:\Tomcat 6.0\bin;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\
      Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Wi
      ndows\system32\;C:\Windows\system32\Wbem;C:\ORACLE8I\BIN;C:\Program Files\Oracle\jre\1.1.7\bin;C:\ORACLE8I\orb\bin;C:\Program Files\
      Explorer;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program
      Files\AccuRev\bin;C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:
      \Windows\system32;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\mb8999\AppData\Local\Smartbar\Application\
      15:46:41,662 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
      15:46:41,678 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) Listening on /127.0.0.1:9999
      15:46:41,699 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector
      15:46:41,709 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http--127.0.0.1-90
      01
      15:46:41,955 INFO  [org.jboss.as.connector] (MSC service thread 1-7) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)
      15:46:42,012 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) Bound data source [java:jboss/datasource
      s/ExampleDS]
      15:46:42,127 INFO  [org.jboss.as.deployment] (MSC service thread 1-2) Started FileSystemDeploymentService for directory E:\set ups\j
      boss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\standalone\deployments
      15:46:42,152 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "daimlerportal.ear"
      15:46:42,243 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."da
      imlerportal.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."daimlerportal.ear".STRUCTURE: Fai
      led to process phase STRUCTURE of deployment "daimlerportal.ear"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_13]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_13]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/E:/set ups/jboss-as-web-7.0.0.Final/j
      boss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/META-INF/application.xml"
              at org.jboss.as.ee.structure.EarMetaDataParsingProcessor.deploy(EarMetaDataParsingProcessor.java:80)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
              ... 5 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,3]
      Message: Unexpected element '{http://java.sun.com/xml/ns/j2ee}library-directory' encountered
              at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
              at org.jboss.metadata.parser.spec.EarMetaDataParser.parse(EarMetaDataParser.java:175)
              at org.jboss.as.ee.structure.EarMetaDataParsingProcessor.deploy(EarMetaDataParsingProcessor.java:68)
              ... 6 more

      15:46:42,247 ERROR [org.jboss.as] (MSC service thread 1-5) JBoss AS 7.0.0.Final "Lightning" started (with errors) in 2133ms - Starte
      d 94 of 150 services (1 services failed or missing dependencies, 55 services are passive or on-demand)
      15:46:42,249 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "daimlerportal.ear" was rolled bac
      k with failure message {"Failed services" => {"jboss.deployment.unit.\"daimlerportal.ear\".STRUCTURE" => "org.jboss.msc.service.Star
      tException in service jboss.deployment.unit.\"daimlerportal.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"daiml
      erportal.ear\""}}
      15:46:42,252 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment daimlerportal.ear in 2ms
      15:46:42,255 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps
      that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"daimlerportal.ear\".STRUCTURE" => "org.jbos
      s.msc.service.StartException in service jboss.deployment.unit.\"daimlerportal.ear\".STRUCTURE: Failed to process phase STRUCTURE of
      deployment \"daimlerportal.ear\""}}}}

       

       

      Please anyone tell that what should I do to remove this error .

       

      My application.xml is shown as below -

       

      <?xml version="1.0" encoding="UTF-8"?>

      <application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">

        <display-name>daimlerportal</display-name>

        <library-directory>daimlerportal-war/dist</library-directory>

        <module>

          <ejb>daimlerportal-ejb.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>daimlerportal-war.war</web-uri>

            <context-root>/dcagportal</context-root>

          </web>

        </module>

      </application>

       

       

      Please give your suggestion.

        • 1. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
          Frank Langelage Master

          See for example http://javahowto.blogspot.de/2006/10/use-library-directory-in-javaee-5-apps.html

          library-directory was introduced with JavaEE 5. Not available in JavaEE 1.4.

          Perhaps JBoss 4.1 did support this as a look ahead to version five ignoring the application version="1.4".

           

          Any problem increasing to 5 or 6?

          But be aware, that the order is relevant then. Place it behind your modules at the end of the file.

          • 2. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
            Ritika Gupta Newbie

            I replace the application.xml with

             

            <?xml version="1.0" encoding="UTF-8"?>
            <application version="6" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd">
              <display-name>daimlerportal</display-name>
             
              <module>
                <ejb>daimlerportal-ejb.jar</ejb>
              </module>
              <module>
                <web>
                  <web-uri>daimlerportal-war.war</web-uri>
                  <context-root>/dcagportal</context-root>
                </web>
              </module>
              <library-directory>daimlerportal-war/dist</library-directory>
            </application>

             

            this change the stack trace :

             

            Calling E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\bin\standalone.conf.bat
            ===============================================================================

              JBoss Bootstrap Environment

              JBOSS_HOME: E:\set ups\jboss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final

              JAVA: C:\Program Files\Java\jdk1.6.0_13\bin\java

              JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.d
            gc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

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

            15:18:27,862 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA
            15:18:29,376 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA
            15:18:29,584 INFO  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting
            15:18:33,519 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)
            15:18:33,552 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
            15:18:33,691 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class or
            g.h2.Driver (version 1.2)
            15:18:33,736 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
            15:18:34,007 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
            15:18:34,054 INFO  [org.jboss.as.naming] (MSC service thread 1-5) Starting Naming Service
            15:18:34,063 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
            15:18:34,225 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
            15:18:34,256 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 3.2.0.Beta2
            15:18:34,318 INFO  [org.xnio] (MSC service thread 1-5) XNIO Version 3.0.0.Beta3
            15:18:34,379 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.0.0.Beta3
            15:18:35,244 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-3) The Apache Tomcat Native library which a
            llows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_13\bin;.
            ;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Prog
            ram Files\Java\jdk1.6.0_13\bin;C:\Tomcat 6.0\bin;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\
            Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Wi
            ndows\system32\;C:\Windows\system32\Wbem;C:\ORACLE8I\BIN;C:\Program Files\Oracle\jre\1.1.7\bin;C:\ORACLE8I\orb\bin;C:\Program Files\
            Explorer;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program
            Files\AccuRev\bin;C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:
            \Windows\system32;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\mb8999\AppData\Local\Smartbar\Application\
            15:18:35,307 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
            15:18:35,311 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-7) Starting remote JMX connector
            15:18:35,508 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) Listening on /127.0.0.1:9999
            15:18:35,569 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-90
            01
            15:18:35,663 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)
            15:18:36,223 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) Bound data source [java:jboss/datasource
            s/ExampleDS]
            15:18:37,061 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started FileSystemDeploymentService for directory E:\set ups\j
            boss-as-web-7.0.0.Final\jboss-as-web-7.0.0.Final\standalone\deployments
            15:18:37,171 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Final "Lightning" started in 10219ms - Started 92 of 147 s
            ervices (55 services are passive or on-demand)
            15:18:37,216 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "daimlerportal.ear"
            15:18:48,020 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "daimlerportal-war.war"
            15:18:48,020 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) Starting deployment of "daimlerportal-ejb.jar"
            15:18:48,252 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry toolbox.jar in "/E:/set ups/jboss-as-w
            eb-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/itext-2.0.4.jar"  does not point to a valid jar for a Class-Pa
            th reference.
            15:18:48,252 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry bcmail-jdk14-135.jar in "/E:/set ups/j
            boss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/itext-2.0.4.jar"  does not point to a valid jar for a
            Class-Path reference.
            15:18:48,254 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry bcprov-jdk14-135.jar in "/E:/set ups/j
            boss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/itext-2.0.4.jar"  does not point to a valid jar for a
            Class-Path reference.
            15:18:48,257 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry xercesImpl-2.2.1.jar in "/E:/set ups/j
            boss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/fop.jar"  does not point to a valid jar for a Class-P
            ath reference.
            15:18:48,261 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry xml-apis.jar in "/E:/set ups/jboss-as-
            web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/fop.jar"  does not point to a valid jar for a Class-Path refe
            rence.
            15:18:48,264 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry xalan-2.4.1.jar in "/E:/set ups/jboss-
            as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/fop.jar"  does not point to a valid jar for a Class-Path r
            eference.
            15:18:48,267 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jimi-1.0.jar in "/E:/set ups/jboss-as-
            web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/fop.jar"  does not point to a valid jar for a Class-Path refe
            rence.
            15:18:48,270 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry avalon-framework-cvs-20020806.jar in "
            /E:/set ups/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/fop.jar"  does not point to a valid jar
            for a Class-Path reference.
            15:18:48,379 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry ${manifest.file.reference.ognl-3.0.6.j
            ar} in "/E:/set ups/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/bin/content/daimlerportal.ear/daimlerportal-ejb.jar"  does not
            point to a valid jar for a Class-Path reference.
            15:18:48,408 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit.
            "daimlerportal.ear"."daimlerportal-ejb.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."daimler
            portal.ear"."daimlerportal-ejb.jar".PARSE: Failed to process phase PARSE of subdeployment "daimlerportal-ejb.jar" of deployment "dai
            mlerportal.ear"
                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
                    at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_13]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_13]
                    at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]
            Caused by: java.lang.RuntimeException: <message-driven> element parsing hasn't yet been implemented
                    at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.parse(EnterpriseBeansMetaDataParser.java:70)
                    at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parseEjbJarElements(EjbJarMetaDataParser.java:274)
                    at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parse(EjbJarMetaDataParser.java:142)
                    at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitProcessor.deploy(EjbJarParsingDeploymentUnitProcessor.
            java:145)
                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
                    ... 5 more

            15:18:48,707 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "daimlerportal.ear" was rolled bac
            k with failure message {"Failed services" => {"jboss.deployment.subunit.\"daimlerportal.ear\".\"daimlerportal-ejb.jar\".PARSE" => "o
            rg.jboss.msc.service.StartException in service jboss.deployment.subunit.\"daimlerportal.ear\".\"daimlerportal-ejb.jar\".PARSE: Faile
            d to process phase PARSE of subdeployment \"daimlerportal-ejb.jar\" of deployment \"daimlerportal.ear\""}}
            15:18:48,716 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Stopped deployment daimlerportal-ejb.jar in 7ms
            15:18:49,634 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) Stopped deployment daimlerportal-war.war in 925ms
            15:18:49,705 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment daimlerportal.ear in 998ms
            15:18:49,708 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps
            that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.subunit.\"daimlerportal.ear\".\"daimlerportal-ejb.
            jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"daimlerportal.ear\".\"daimlerportal-ejb.
            jar\".PARSE: Failed to process phase PARSE of subdeployment \"daimlerportal-ejb.jar\" of deployment \"daimlerportal.ear\""}}}}

             

             

            • 3. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
              Frank Langelage Master

              So your ejb-jar.xml inside of "daimlerportal.ear"."daimlerportal-ejb.jar" is causing this problem.

              But this message lets me suppose, that the xml is right.

              But wait: Folder name jboss-as-web-7.0.0.Final supposes you're using JBoss AS 7.0.0.Final (Web Profile Only). Messaging is not part of web-profile.

              Why such an early version and why web-profile only? Can you try with version 7.1.1.Final and complete AS profile?

              • 5. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
                Ritika Gupta Newbie

                Now i got this problem -

                 

                11:02:27,356 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.module.service."deployment.daimlerportal.ear".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.daimlerportal.ear".main: Failed to load module: deployment.daimlerportal.ear:main
                        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [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: org.jboss.modules.ModuleNotFoundException: Module system:main is not found in local module loader @d3d6f (roots: C:\dist\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\modules)
                        at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.ModuleLoader.preloadExportedModule(ModuleLoader.java:233) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:246) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.as.server.moduleservice.ServiceModuleLoader.preloadModule(ServiceModuleLoader.java:160) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
                        at org.jboss.modules.Module.addPaths(Module.java:841) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.Module.link(Module.java:1181) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208) [jboss-modules.jar:1.1.1.GA]
                        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
                        ... 5 more

                 

                what should i do?

                • 7. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
                  Ritika Gupta Newbie

                  Previous to this there was an error of juit module the i added -

                  junit folder in - modules

                                                |

                                                |---org

                                                       |

                                                       |---junit ----> main ------> module.xml

                   

                  Below the module .xl

                   

                  <module xmlns="urn:jboss:module:1.1" name="org.junit">

                      <dependencies>
                          <module name="org.jaxen"/>
                          <module name="javax.api"/>
                      </dependencies>

                      <resources>
                          <resource-root path="junit-4.3.1.jar"/>
                          <!-- Insert resources here -->
                      </resources>

                  </module>

                   

                   

                   

                  is it correct?

                   

                  • 9. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
                    Ritika Gupta Newbie

                    how would i know about the " reference to and old "system" module " ?

                    1 of 1 people found this helpful
                    • 10. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
                      Ritika Gupta Newbie

                      oh yes i changed the "system " dependency from he jboss-deployment-structure.xml -

                       

                      now my jboss-deployment-structure.xml is as shown below -

                      <?xml version="1.0"?>
                      <jboss-deployment-structure>

                       

                      <ear-subdeployments-isolated>false</ear-subdeployments-isolated>
                       
                        <deployment>
                           <dependencies>
                              <module name="com.sun.xml.bind"/>
                              <module name="javax.ejb.api"/>
                              <module name="javax.jms.api"/>
                              <module name="javax.jws.api"/>
                              <module name="javax.mail.api"/>
                              <module name="javax.resource.api"/>
                              <module name="javax.rmi.api"/>
                              <module name="javax.security.jacc.api"/>
                              <module name="javax.servlet.jsp.api"/>
                              <module name="javax.wsdl4j.api"/>
                              <module name="javax.xml.bind.api"/>
                              <module name="org.apache.commons.beanutils"/>
                              <module name="org.apache.xalan"/>
                              <module name="org.jacorb"/>
                              <module name="org.javassist"/>
                              <module name="org.jaxen"/>
                              <module name="org.junit"/>
                              <module name="org.python.jython.standalone"/>
                              <module name="org.slf4j"/>
                           </dependencies>
                      </deployment>
                       

                      </jboss-deployment-structure>

                       

                       

                       

                      now i get the following error-

                      12:13:53,863 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/dcagportal]] (MSC service thread 1-3) Exception starting filter struts2: java.lang.N
                              at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:318) [xwork-core-2.3.15.jar:2.3.15]
                              at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:221) [xwork-core-2.3.15.jar:2.3.15]
                              at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) [xwork-core-2.3.15.jar:2.3.15]
                              at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446) [struts2-core-2.3.15.jar:2.3.15]
                              at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490) [struts2-core-2.3.15.jar:2.3.15]
                              at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193) [struts2-core-2.3.15.jar:2.3.15]
                              at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.13.Final.jar:]
                              at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.13.Final.jar:]
                              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3865) [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_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: java.lang.ClassNotFoundException: ognl.PropertyAccessor from [Module "deployment.daimlerportal.ear.daimlerportal-ejb.jar: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.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.ClassLoader.loadClassInternal(ClassLoader.java:320) [rt.jar:1.6.0_13]

                      • 14. Re: Failed to start service jboss.deployment.unit."daimlerportal.ear". Failed to process phase STRUCTURE of deployment "daimlerportal.ear"
                        Ritika Gupta Newbie

                        after build there is no lib folder in .ear.

                        My all jars are directly putted into .ear.

                         

                        should i manually made a lib folder in ear?

                         

                        because in .ear i have all external jars and out daimplerportal-ejb.jar, daimleportal-war.war.

                         

                         

                         

                        Or

                         

                        i should made a ognl folder in modules folder of jboss7?

                        1 2 Previous Next