3 Replies Latest reply on Dec 21, 2013 10:45 AM by Wolf-Dieter Fink

    JBoss 4.1 to Jboss 6.1 EAP migration: -ds.xml PARSE issue

    Harish Maridi Newbie

      Hi,

       

      I am trying to migrate my application from 4.1 to 6.1 eap, when I try to deploy my *-ds.xml file I am seeing below error. Please suggest what is wrong.

      stanalone/deployments is where I am trying to deploy. Content of *-ds.xml is below. Please let me know is there any work around this issue. Seems that tags are not recognized by 6.1, Please let me know how to make them compatible with 6.1

       

      <connection-factories>
        <no-tx-connection-factory>
        <jndi-name>logging/common/AuditLog</jndi-name>
        <rar-name>CommonAuditLogConnector.rar</rar-name>
        <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>
        </no-tx-connection-factory>
      </connection-factories>

       

      21,547 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.unit."CommonAuditLogConnector-ds.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."CommonAuditLogConnector-ds.xml".PARSE: JBAS018733: Failed to process phase PARSE of deployment "CommonAuditLogConnector-ds.xml"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]

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

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ010061: Unexpected element: connection-factories

          at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:92)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

          ... 5 more

      Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element: 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.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:86)

          ... 6 more

       

      Thanks,

      Harish M