[jboss-user] [Beginners Corner] - Cant deply an .ear file into the JBOSS.
leonidMir
do-not-reply at jboss.com
Mon Apr 28 17:41:33 EDT 2008
Hi all,
I created a simple .ear and using ant deployed it into the ...\deploy\ directory.
Unfortunately I am getting the following exceptions and still can't make my application work:
| 00:39:01,593 ERROR [ProfileServiceBootstrap] Failed to load profile:
| org.jboss.deployers.spi.DeploymentException: Exception determining structure: Ab
| stractVFSDeployment(todo.ear)
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
| ion(DeploymentException.java:49)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers
| .determineStructure(AbstractStructuralDeployers.java:85)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(
| MainDeployerImpl.java:743)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
| eployerImpl.java:280)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
| eployerImpl.java:237)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
| ofile(ProfileServiceBootstrap.java:245)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
| ProfileServiceBootstrap.java:131)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
| 408)
| at org.jboss.Main.boot(Main.java:208)
| at org.jboss.Main$1.run(Main.java:534)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.RuntimeException: Error determining structure: todo.ear
| at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav
| a:274)
| at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.de
| termineStructure(StructureDeployerWrapper.java:65)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
| doDetermineStructure(VFSStructuralDeployersImpl.java:194)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
| determineStructure(VFSStructuralDeployersImpl.java:218)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers
| .determineStructure(AbstractStructuralDeployers.java:77)
| ... 9 more
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Elemen
| t {http://java.sun.com/xml/ns/j2ee}application is not bound as a global element.
|
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
| er.java:193)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
| :153)
| at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav
| a:151)
| ... 13 more
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Element {http://java.su
| n.com/xml/ns/j2ee}application is not bound as a global element.
| at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE
| lement(SundayContentHandler.java:662)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan
| dler.startElement(SaxJBossXBParser.java:407)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
| ce)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Sourc
| e)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
| own Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
| canRootElementHook(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
| Dispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
| 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 Sour
| ce)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
| er.java:189)
| ... 15 more
|
Some can help me please?
I am kinda lost here :(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147374#4147374
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147374
More information about the jboss-user
mailing list