1 Reply Latest reply on Nov 20, 2014 12:36 PM by Jay SenSharma

    need help with jboss EAP6.2.0

    Stefano Blackstone Newbie

      when i start jboss and i deply an ear i riceve this error

       

       

      @

      : org.jboss.msc.service.StartException in service jboss.deployment.unit."openspc

      oop2-jms-ds.xml".PARSE: JBAS018733: Failed to process phase PARSE of deployment

      "openspcoop2-jms-ds.xml"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se

      rviceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-

      1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

      ) [rt.jar:1.6.0_45]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [r

      t.jar:1.6.0_45]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_45]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ0

      10061: Unexpected element: connection-factories

              at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsing

      Processor.deploy(DsXmlDeploymentParsingProcessor.java:92)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              ... 5 more

      Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected e

      lement: connection-factories

              at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:128

      )

              at org.jboss.jca.common.metadata.ds.v10.DsParser.parse(DsParser.java:87)

       

       

              at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsing

      Processor.deploy(DsXmlDeploymentParsingProcessor.java:86)

              ... 6 more

       

       

      15:53:46,666 WARN  [org.jboss.metadata.parser.jboss.JBossAppMetaDataParser] (MSC

      service thread 1-2) loader-repository element in jboss-app.xml is deprecated an

      d has been ignored

      15:53:46,697 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221034: Waiting to obtain live lock

      15:53:46,697 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service

      thread 1-7) JBAS010400: Bound data source [java:/OracleDS]

      15:53:46,697 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service

      thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      15:53:46,775 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221035: Live Server Obtained live lock

      15:53:46,791 INFO  [org.jboss.as.jacorb] (MSC service thread 1-5) JBAS016328: CO

      RBA Naming Service started

      15:53:50,772 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221020: Started Netty Acceptor version 3.6.6.Final-redhat-1-fd3c6b7 127.0.0.1:5

      455 for CORE protocol

      15:53:50,772 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221020: Started Netty Acceptor version 3.6.6.Final-redhat-1-fd3c6b7 127.0.0.1:5

      445 for CORE protocol

      15:53:50,787 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221007: Server is now live

      15:53:50,787 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) H

      Q221001: HornetQ Server version 2.3.12.Final (2.3.12, 123) [071dd0c6-70c5-11e4-a

      81d-d306678d920c]

      15:53:51,474 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 58) JB

      AS011601: Bound messaging object to jndi name java:/ConnectionFactory

      15:53:51,474 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 59) JB

      AS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConn

      ectionFactory

      15:53:51,568 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-6)

      JBAS010406: Registered connection factory java:/JmsXA

      15:53:51,646 INFO  [org.hornetq.ra] (MSC service thread 1-6) HornetQ resource ad

      aptor started

      15:53:51,662 INFO  [org.jboss.as.connector.services.resourceadapters.ResourceAda

      pterActivatorService$ResourceAdapterActivator] (MSC service thread 1-6) IJ020002

      : Deployed: file://RaActivatorhornetq-ra

      15:53:51,662 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-7)

      JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      15:53:55,502 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jaxb-api.jar in /C:/Program Files/EAP-6.2.0/jboss-eap-

      6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-xjc-2.2.5.jar  does not point to a vali

      d jar for a Class-Path reference.

      15:53:55,502 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jaxb-impl.jar in /C:/Program Files/EAP-6.2.0/jboss-eap

      -6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-xjc-2.2.5.jar  does not point to a val

      id jar for a Class-Path reference.

      15:53:55,518 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jsr173_1.0_api.jar in /C:/Program Files/EAP-6.2.0/jbos

      s-eap-6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-xjc-2.2.5.jar  does not point to

      a valid jar for a Class-Path reference.

      15:53:55,518 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry activation.jar in /C:/Program Files/EAP-6.2.0/jboss-ea

      p-6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-xjc-2.2.5.jar  does not point to a va

      lid jar for a Class-Path reference.

      15:53:55,533 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry xpp3.jar in /C:/Program Files/EAP-6.2.0/jboss-eap-6.2/

      bin/content/OpenSPCoop2.ear/lib/jibx-run-1.2.3.jar  does not point to a valid ja

      r for a Class-Path reference.

      15:53:55,549 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry stax-api.jar in /C:/Program Files/EAP-6.2.0/jboss-eap-

      6.2/bin/content/OpenSPCoop2.ear/lib/jibx-run-1.2.3.jar  does not point to a vali

      d jar for a Class-Path reference.

      15:53:55,549 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry wstx-asl.jar in /C:/Program Files/EAP-6.2.0/jboss-eap-

      6.2/bin/content/OpenSPCoop2.ear/lib/jibx-run-1.2.3.jar  does not point to a vali

      d jar for a Class-Path reference.

      15:53:55,611 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jaxb-api.jar in /C:/Program Files/EAP-6.2.0/jboss-eap-

      6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-impl-2.2.5.jar  does not point to a val

      id jar for a Class-Path reference.

      15:53:55,611 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry activation.jar in /C:/Program Files/EAP-6.2.0/jboss-ea

      p-6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-impl-2.2.5.jar  does not point to a v

      alid jar for a Class-Path reference.

      15:53:55,611 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jsr173_1.0_api.jar in /C:/Program Files/EAP-6.2.0/jbos

      s-eap-6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-impl-2.2.5.jar  does not point to

      a valid jar for a Class-Path reference.

      15:53:55,611 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

      S015960: Class Path entry jaxb1-impl.jar in /C:/Program Files/EAP-6.2.0/jboss-ea

      p-6.2/bin/content/OpenSPCoop2.ear/lib/jaxb-impl-2.2.5.jar  does not point to a v

      alid jar for a Class-Path reference.

      15:53:55,705 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBA

      S015876: Starting deployment of "null" (runtime-name: "OpenSPCoop2.jar")

      15:53:55,705 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBA

      S015876: Starting deployment of "null" (runtime-name: "OpenSPCoop2.war")

      15:53:55,720 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBA

      S015960: Class Path entry lib/xalan-2.7.1.jar in /C:/Program Files/EAP-6.2.0/jbo

      ss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.jar  does not point to a vali

      d jar for a Class-Path reference.

      15:53:55,720 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBA

      S015960: Class Path entry lib/xercesImpl-2.9.1.jar in /C:/Program Files/EAP-6.2.

      0/jboss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.jar  does not point to a

      valid jar for a Class-Path reference.

      15:53:55,720 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBA

      S015960: Class Path entry classes/ in /C:/Program Files/EAP-6.2.0/jboss-eap-6.2/

      bin/content/OpenSPCoop2.ear/OpenSPCoop2.jar  does not point to a valid jar for a

      Class-Path reference.

      15:53:55,736 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA

      S015960: Class Path entry lib/xalan-2.7.1.jar in /C:/Program Files/EAP-6.2.0/jbo

      ss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.war  does not point to a vali

      d jar for a Class-Path reference.

      15:53:55,736 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA

      S015960: Class Path entry lib/xercesImpl-2.9.1.jar in /C:/Program Files/EAP-6.2.

      0/jboss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.war  does not point to a

      valid jar for a Class-Path reference.

      15:53:55,752 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA

      S015960: Class Path entry classes/ in /C:/Program Files/EAP-6.2.0/jboss-eap-6.2/

      bin/content/OpenSPCoop2.ear/OpenSPCoop2.war  does not point to a valid jar for a

      Class-Path reference.

      15:53:55,767 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBA

      S015893: Encountered invalid class name 'org.springframework.context.Application

      Context,org.springframework.beans.BeansException' for service type 'org.apache.c

      xf.bus.factory'

      15:53:55,830 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC0000

      01: Failed to start service jboss.deployment.subunit."OpenSPCoop2.ear"."OpenSPCo

      op2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment

      .subunit."OpenSPCoop2.ear"."OpenSPCoop2.war".PARSE: JBAS018733: Failed to proces

      s phase PARSE of subdeployment "OpenSPCoop2.war" of deployment "OpenSPCoop2.ear"

       

       

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se

      rviceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-

      1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

      ) [rt.jar:1.6.0_45]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [r

      t.jar:1.6.0_45]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_45]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA

      S018014: Failed to parse XML descriptor "/C:/Program Files/EAP-6.2.0/jboss-eap-6

      .2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.war/WEB-INF/jboss-web.xml" at [3,3]

              at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy

      (JBossWebParsingDeploymentProcessor.java:79)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              ... 5 more

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,3]

      Message: Unexpected element 'depends' encountered

              at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElemen

      t(MetaDataElementParser.java:109)

              at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBoss

      WebMetaDataParser.java:206)

              at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy

      (JBossWebParsingDeploymentProcessor.java:71)

              ... 6 more

       

       

      15:53:55,877 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC0000

      01: Failed to start service jboss.deployment.subunit."OpenSPCoop2.ear"."OpenSPCo

      op2.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment

      .subunit."OpenSPCoop2.ear"."OpenSPCoop2.jar".PARSE: JBAS018733: Failed to proces

      s phase PARSE of subdeployment "OpenSPCoop2.jar" of deployment "OpenSPCoop2.ear"

       

       

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se

      rviceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-

      1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

      ) [rt.jar:1.6.0_45]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [r

      t.jar:1.6.0_45]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_45]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA

      S014185: Exception while parsing ejb-jar.xml: /C:/Program Files/EAP-6.2.0/jboss-

      eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.jar/META-INF/ejb-jar.xml

              at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitPr

      ocessor.parseEjbJarXml(EjbJarParsingDeploymentUnitProcessor.java:250)

              at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitPr

      ocessor.deploy(EjbJarParsingDeploymentUnitProcessor.java:121)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0

      .Final-redhat-14]

              ... 5 more

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[12,13]

      Message: Unexpected element 'acknowledge-mode' encountered

              at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElemen

      t(MetaDataElementParser.java:109)

              at org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElem

      ent(AbstractMetaDataParser.java:56)

              at org.jboss.metadata.ejb.parser.spec.AbstractNamedMetaDataWithDescripti

      onGroupParser.processElement(AbstractNamedMetaDataWithDescriptionGroupParser.jav

      a:67)

              at org.jboss.metadata.ejb.parser.spec.AbstractEnterpriseBeanMetaDataPars

      er.processElement(AbstractEnterpriseBeanMetaDataParser.java:85)

              at org.jboss.metadata.ejb.parser.spec.AbstractMessageDrivenBeanParser.pr

      ocessElement(AbstractMessageDrivenBeanParser.java:94)

              at org.jboss.metadata.ejb.parser.spec.MessageDrivenBean31Parser.processE

      lement(MessageDrivenBean31Parser.java:77)

              at org.jboss.metadata.ejb.parser.spec.MessageDrivenBean31Parser.processE

      lement(MessageDrivenBean31Parser.java:37)

              at org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElem

      ents(AbstractMetaDataParser.java:69)

              at org.jboss.metadata.ejb.parser.spec.MessageDrivenBean31Parser.parse(Me

      ssageDrivenBean31Parser.java:44)

              at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.proc

      essElement(EnterpriseBeansMetaDataParser.java:99)

              at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.proc

      essElement(EnterpriseBeansMetaDataParser.java:40)

              at org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElem

      ents(AbstractMetaDataParser.java:69)

              at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.pars

      e(EnterpriseBeansMetaDataParser.java:75)

              at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.pars

      e(EnterpriseBeansMetaDataParser.java:68)

              at org.jboss.metadata.ejb.parser.spec.AbstractEjbJarMetaDataParser.proce

      ssElement(AbstractEjbJarMetaDataParser.java:112)

              at org.jboss.metadata.ejb.parser.spec.AbstractEjbJarMetaDataParser.proce

      ssElement(AbstractEjbJarMetaDataParser.java:39)

              at org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElem

      ents(AbstractMetaDataParser.java:69)

              at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parseDocument

      (EjbJarMetaDataParser.java:110)

              at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parse(EjbJarM

      etaDataParser.java:54)

              at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitPr

      ocessor.parseEjbJarXml(EjbJarParsingDeploymentUnitProcessor.java:247)

              ... 7 more

       

       

      15:53:56,236 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS0

      18559: Deployed "OpenSPCoop2.ear" (runtime-name : "OpenSPCoop2.ear")

      15:53:56,236 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS0

      18559: Deployed "openspcoop-ds.xml" (runtime-name : "openspcoop-ds.xml")

      15:53:56,236 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS0

      18559: Deployed "openspcoop2-jms-ds.xml" (runtime-name : "openspcoop2-jms-ds.xml

      ")

      15:53:56,236 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS0

      18559: Deployed "openspcoop2-destinations-service.xml" (runtime-name : "openspco

      op2-destinations-service.xml")

      15:53:56,236 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS0

      18559: Deployed "console-ds.xml" (runtime-name : "console-ds.xml")

      15:53:56,236 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774

      : Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.subu

      nit."OpenSPCoop2.ear"."OpenSPCoop2.jar".PARSE: org.jboss.msc.service.StartExcept

      ion in service jboss.deployment.subunit."OpenSPCoop2.ear"."OpenSPCoop2.jar".PARS

      E: JBAS018733: Failed to process phase PARSE of subdeployment "OpenSPCoop2.jar"

      of deployment "OpenSPCoop2.ear"

            service jboss.deployment.unit."openspcoop2-jms-ds.xml".PARSE: org.jboss.ms

      c.service.StartException in service jboss.deployment.unit."openspcoop2-jms-ds.xm

      l".PARSE: JBAS018733: Failed to process phase PARSE of deployment "openspcoop2-j

      ms-ds.xml"

            service jboss.deployment.subunit."OpenSPCoop2.ear"."OpenSPCoop2.war".PARSE

      : org.jboss.msc.service.StartException in service jboss.deployment.subunit."Open

      SPCoop2.ear"."OpenSPCoop2.war".PARSE: JBAS018733: Failed to process phase PARSE

      of subdeployment "OpenSPCoop2.war" of deployment "OpenSPCoop2.ear"

            service jboss.deployment.unit."openspcoop2-destinations-service.xml".PARSE

      : org.jboss.msc.service.StartException in service jboss.deployment.unit."openspc

      oop2-destinations-service.xml".PARSE: JBAS018733: Failed to process phase PARSE

      of deployment "openspcoop2-destinations-service.xml"

            service jboss.deployment.unit."console-ds.xml".PARSE: org.jboss.msc.servic

      e.StartException in service jboss.deployment.unit."console-ds.xml".PARSE: JBAS01

      8733: Failed to process phase PARSE of deployment "console-ds.xml"

            service jboss.deployment.unit."openspcoop-ds.xml".PARSE: org.jboss.msc.ser

      vice.StartException in service jboss.deployment.unit."openspcoop-ds.xml".PARSE:

      JBAS018733: Failed to process phase PARSE of deployment "openspcoop-ds.xml"

       

       

       

      someone can help me please

        • 1. Re: need help with jboss EAP6.2.0
          Jay SenSharma Master

          Hello Stefano,

           

          - Looks like you are trying to migrate some applications from older version of JBoss (4/5) to EAP 6. That's why we see following errors:

           

           

          Error-1.  Following error indicates that your might be using older jboss-web.xml file. Where as in EAP6 the schema for this file is changed and some of the older tags are not present in this file.

                    Like it looks like you might be using <depends> tag inside this file which is not right. Refer to  "%JBOSS_HOME%/docs/schema/jboss-web_7_1.xsd" file to get the valid tags informations.

           

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/Program Files/EAP-6.2.0/jboss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.war/WEB-INF/jboss-web.xml" at [3,3]OpenSPCoop2.ear/OpenSPCoop2.war/WEB-INF/jboss-web.xml
          

           

                    For dependency on other resources like DataSource / JMS ConnectionFactories other services like EJBs you should either use the @Resource or @EJB kind of annotations to make sure that the component dependency can be respected by JBoss.  For inter deployment dependencies you can try using "jboss-all.xml" as described in link:

                    https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html/Administration_and_Configuration_Guide/Control_the_order_of_Deployed_Applications_on_JBoss_Enterprise_Application_Platform.html

           

           

          Error-2. The other error is coming from "ejb-jar.xml" file.

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014185: Exception while parsing ejb-jar.xml: /C:/Program Files/EAP-6.2.0/jboss-eap-6.2/bin/content/OpenSPCoop2.ear/OpenSPCoop2.jar/META-INF/ejb-jar.xml
          .
          .
          Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[12,13] Message: Unexpected element 'acknowledge-mode' encountered
          

           

                    Above error indicates that you are using old or incorrect schema declaration for your ejb-jar.xml. The schema for EJB 2.1 doesn't have 'acknowledge-mode'  element for ejb-jar.xml (http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd). So, provided xml part is invalid if 2.1 version is specified for ejb-jar.xml.

          This particular setting is part of activation properties (see EJB spec 15.4.10). If you don't specify it, then 'Auto-acknowledge' is the default value. If you want to specify it explicitly.

           

          See thread  https://developer.jboss.org/message/639338?tstart=0

           

           

          Error-3. Looks like you are trying to deploy some datasources in EAP6 using deployable files "console-ds.xml" and "openspcoop-ds.xml" which does not seems to be having the correct tags present.

           

          Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element: connection-factories
          

           

          some incorrect tags like  <connection-factories> seems to be causing this issue. File based datasource deployments are not recommended in EAP6 as those are unmanaged datasources means those can not be managed by the Management utilities like console or CLI. Hence you should try to avoid using them.  Still if you want to use them then refer to the doc. https://developer.jboss.org/wiki/DataSourceConfigurationInAS7

           

                    In order to deploy a *-ds.xml based datasource in JBoss now use the following schema: http://docs.jboss.org/ironjacamar/schema/datasources_1_1.xsd