windows-perferrences-myeclipse-server-jboss配置完毕启动时会爆以下错误:
[quote]Failed to boot JBoss:
org.jboss.xb.binding.JBossXBException: Failed to parse source:
file:/export/home/rhusar/svn/Branch_5_x/build/output/jboss-5.1.0.CR1/server/all/conf/bootstrap/vfs.xml@13,37
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
at
org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:150)
at
org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:216)
at org.jboss.Main$1.run(Main.java:546)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBRuntimeException:
{urn:jboss:bean-deployer:2.0}property cannot appear in this position.
Expected content of {urn:jboss:bean-deployer:2.0}bean is sequence:
{urn:jboss:bean-deployer:2.0}alias*
{urn:jboss:bean-deployer:2.0}related-class*
{urn:jboss:bean-deployer:2.0}annotation*
{urn:jboss:bean-deployer:2.0}classloader?
{urn:jboss:bean-deployer:2.0}constructor?
{urn:jboss:bean-deployer:2.0}property*
{urn:jboss:bean-deployer:2.0}create? {urn:jboss:bean-deployer:2.0}start?
{urn:jboss:bean-deployer:2.0}stop? {urn:jboss:bean-deployer:2.0}destroy?
{urn:jboss:bean-deployer:2.0}depends*
{urn:jboss:bean-deployer:2.0}demand*
{urn:jboss:bean-deployer:2.0}supply*
{urn:jboss:bean-deployer:2.0}install*
{urn:jboss:bean-deployer:2.0}uninstall*
{urn:jboss:bean-deployer:2.0}incallback*
{urn:jboss:bean-deployer:2.0}uncallback*
at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:494)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 7 more [/quote]
由于刚接触且通过run.bat执行无误,故百思不得其解。
求教G老师后发现问题虽然小众,但还是有前辈
http://www.nabble.com/JBoss-Branch_5_x-fails-to-boot-td23061497.html
在最上面那个设置目录下jvm增加参数-Dxb.builder.useUnorderedSequence=true
问题解决
想继续探究,但无论B老师还是G老师都不肯教我这个有什么意思,寒
[quote]Failed to boot JBoss:
org.jboss.xb.binding.JBossXBException: Failed to parse source:
file:/export/home/rhusar/svn/Branch_5_x/build/output/jboss-5.1.0.CR1/server/all/conf/bootstrap/vfs.xml@13,37
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
at
org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:150)
at
org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:216)
at org.jboss.Main$1.run(Main.java:546)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBRuntimeException:
{urn:jboss:bean-deployer:2.0}property cannot appear in this position.
Expected content of {urn:jboss:bean-deployer:2.0}bean is sequence:
{urn:jboss:bean-deployer:2.0}alias*
{urn:jboss:bean-deployer:2.0}related-class*
{urn:jboss:bean-deployer:2.0}annotation*
{urn:jboss:bean-deployer:2.0}classloader?
{urn:jboss:bean-deployer:2.0}constructor?
{urn:jboss:bean-deployer:2.0}property*
{urn:jboss:bean-deployer:2.0}create? {urn:jboss:bean-deployer:2.0}start?
{urn:jboss:bean-deployer:2.0}stop? {urn:jboss:bean-deployer:2.0}destroy?
{urn:jboss:bean-deployer:2.0}depends*
{urn:jboss:bean-deployer:2.0}demand*
{urn:jboss:bean-deployer:2.0}supply*
{urn:jboss:bean-deployer:2.0}install*
{urn:jboss:bean-deployer:2.0}uninstall*
{urn:jboss:bean-deployer:2.0}incallback*
{urn:jboss:bean-deployer:2.0}uncallback*
at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:494)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 7 more [/quote]
由于刚接触且通过run.bat执行无误,故百思不得其解。
求教G老师后发现问题虽然小众,但还是有前辈
http://www.nabble.com/JBoss-Branch_5_x-fails-to-boot-td23061497.html
在最上面那个设置目录下jvm增加参数-Dxb.builder.useUnorderedSequence=true
问题解决
想继续探究,但无论B老师还是G老师都不肯教我这个有什么意思,寒