|
发表于 2011-10-31 10:13:34
|
显示全部楼层
Re:#Jboss
09:03:16,671 ERROR [AbstractKernelController] Error installing to Parse: name=v
sfile:/E:/jboss-eap-5.1/jboss-as/server/production/deploy/COM-ORCH-2.0.ear/ sta
e=PreParse mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for
fsfile:/E:/jboss-eap-5.1/jboss-as/server/production/deploy/COM-ORCH-2.0.ear/ORC
-web-2.0.war/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcep
ion(DeploymentException.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWith
utput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWith
utput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWith
utput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWith
utput.deploy(AbstractParsingDeployerWithOutput.java:234)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deploye
Wrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deploye
sImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentF
rst(DeployersImpl.java:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentF
rst(DeployersImpl.java:1225)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployer
Impl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstr
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractCont
oller.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstr
ctController.java:938)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abst
actController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abst
actController.java:988)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContr
ller.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContr
ller.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployer
Impl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploy
rImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapte
.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployActio
.install(ProfileDeployAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAct
on.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileSer
ice.install(AbstractProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstr
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractCont
oller.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstr
ctController.java:938)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abst
actController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abst
actController.java:988)
at org.jboss.dependency.plugins.AbstractController.install(AbstractCont
oller.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractCont
oller.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileSer
ice.registerProfile(AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start
ProfileServiceBootstrap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The c
ntent of element type "ejb-local-ref" must match "(description?,ejb-ref-name,ej
-ref-type,local-home,local,ejb-link?)". @ vfsfile:/E:/jboss-eap-5.1/jboss-as/se
ver/production/deploy/COM-ORCH-2.0.ear/ORCH-web-2.0.war/WEB-INF/web.xml[228,20]
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPar
er.java:203)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.jav
:168)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sc
emaResolverDeployer.java:137)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sc
emaResolverDeployer.java:121)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.pars
AndInit(AbstractVFSParsingDeployer.java:304)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.pars
AndInit(AbstractVFSParsingDeployer.java:286)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.pars
(AbstractVFSParsingDeployer.java:203)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWith
utput.createMetaData(AbstractParsingDeployerWithOutput.java:348)
... 34 more
Caused by: org.xml.sax.SAXException: The content of element type "ejb-local-ref
must match "(description?,ejb-ref-name,ejb-ref-type,local-home,local,ejb-link?
". @ vfsfile:/E:/jboss-eap-5.1/jboss-as/server/production/deploy/COM-ORCH-2.0.e
r/ORCH-web-2.0.war/WEB-INF/web.xml[228,20]
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandle
.error(SaxJBossXBParser.java:426)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
ource)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unkno
n Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentConten
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(U
known 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 Sou
ce)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPar
er.java:199)
... 43 more
09:03:30,640 WARN [config] jacorb.home unset! Will use '.'
我也遇到了类似的問题,求解答!我的时jboss-eap-5.1,jdk1.6.0_21 |
|