[Beginners Corner] - Cant deply an .ear file into the JBOSS.
by leonidMir
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
17 years, 11 months
[JBoss Portal] - maximized window state not maintained
by jdr0887
Setup:
JBoss Portal 2.6.4
jdk1.6
Problem: I have 3 different pages with one portlet on each page. Each portlet renders correctly when, in the *-object.xml file, I have an initial window state of maximized. When I click from one page to the next and back again, the maximized state gets reset to a normal window state.
Here is an example of my *-object.xml file:
<parent-ref>default.default.Feedback</parent-ref>
<if-exists>overwrite</if-exists>
<supported-modes>
view
</supported-modes>
<supported-window-states>
<window-state>maximized</window-state>
</supported-window-states>
<initial-window-state>maximized</initial-window-state>
<initial-mode>view</initial-mode>
<window-name>Feedback</window-name>
<instance-ref>FeedbackPortletInstance</instance-ref>
center
0
I even tried to set the window state to maximized in the processAction method.
Any clues as to how to keep the initial window state permanently?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147355#4147355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147355
17 years, 11 months