JBoss Community

XA datasources , if I add this true to standalone

created by Gayratbek Komilov in Datasource Configuration - View the full document

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

JAVA_HOME is not set. Unexpected results may occur.

Set JAVA_HOME to the directory of your local JDK to avoid this message.

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

 

 

  JBoss Bootstrap Environment

 

 

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

 

 

  JAVA: java

 

 

  JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51

2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se

rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war

ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c

onfig=standalone.xml

 

 

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

 

 

11:01:20,316 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

11:01:20,454 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

11:01:20,489 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" sta

rting

11:01:20,837 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boo

t: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS01

4676: Failed to parse configuration

        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(Xm

lConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin

al]

        at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss

-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractContr

ollerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_10]

Caused by: javax.xml.stream.XMLStreamException: org.jboss.as.connector.util.Pars

erException: IJ010061: Unexpected element: track-connection-by-tx

        at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$Da

taSourceSubsystemParser.readElement(DataSourcesExtension.java:784)

        at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$Da

taSourceSubsystemParser.readElement(DataSourcesExtension.java:333)

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:1

10) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtende

dStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(Standalo

neXml.java:894) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(Stand

aloneXml.java:330) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.j

ava:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.j

ava:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:1

10) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:6

9) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(Xm

lConfigurationPersister.java:133) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin

al]

        ... 3 more

Caused by: org.jboss.as.connector.util.ParserException: IJ010061: Unexpected ele

ment: track-connection-by-tx

        at org.jboss.as.connector.subsystems.datasources.DsParser.parseXADataSou

rce(DsParser.java:479)

        at org.jboss.as.connector.subsystems.datasources.DsParser.parseDataSourc

es(DsParser.java:198)

        at org.jboss.as.connector.subsystems.datasources.DsParser.parse(DsParser

.java:165)

        at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$Da

taSourceSubsystemParser.readElement(DataSourcesExtension.java:776)

        ... 13 more

 

 

11:01:20,885 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in a

n unrecoverable manner; exiting. See previous messages for details.

11:01:20,893 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" sto

pped in 2ms

Для продолжения нажмите любую клавишу . . .

Comment by going to Community

Create a new document in Datasource Configuration at Community