[jboss-as7-dev] 7.1.0.Beta1 "Tesla" is live! [Startup issues]

Darran Lofthouse darran.lofthouse at jboss.com
Wed Nov 23 08:06:25 EST 2011


The following argument is used to select which domain.xml to use: -

--domain-config=domain.conf

As you have pointed it to a non-XML file you are getting a parsing issue.

Regards,
Darran Lofthouse.



On 11/23/2011 01:00 PM, Reji Nair wrote:
> Hi,
>
> I get the following error when starting up the beta release in the
> domain mode [nohup /opt/jboss-beta/bin/domain.sh
> --domain-config=domain.conf -b `hostname` &]. The error occurs in the
> host-controller boot.log:
>
> 07:41:19,615 ERROR [org.jboss.as.controller] (Controller Boot Thread)
> JBAS014601: Error booting the container: java.lang.RuntimeException:
> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
> JBAS014676: Failed to parse configuration
>
> at
> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:189)
> [jboss-as-controller-7.1.0.Beta1.jar:]
>
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
>
> Caused by:
> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
> JBAS014676: Failed to parse configuration
>
> at
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125)
> [jboss-as-controller-7.1.0.Beta1.jar:]
>
> at
> org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:305)
> [jboss-as-host-controller-7.1.0.Beta1.jar:]
>
> at
> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:183)
> [jboss-as-controller-7.1.0.Beta1.jar:]
>
> ... 1 more
>
> Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
> character '#' (code 35) in prolog; expected '<'
>
> at [row,col {unknown-source}]: [1,1]
>
> at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2017)
>
> at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
>
> at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1125)
>
> at
> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:57)
> [staxmapper-1.0.0.Final.jar:]
>
> at
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:117)
> [jboss-as-controller-7.1.0.Beta1.jar:]
>
> ... 3 more
>
> Reji Nair
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list