I'm trying to deploy jboss-federation-server.ear
I get this:
| 12:00:25,395 ERROR [ProfileServiceBootstrap] Failed to load profile:
| org.jboss.deployers.spi.DeploymentException: Exception determining structure:
AbstractVFSDeployment(jboss-federation-server.ear)
| at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(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:853)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.RuntimeException: Error determining structure:
jboss-federation-server.ear
| at
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
| at
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
| at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
| at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
| at
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
| ... 9 more
| Caused by: java.lang.ClassCastException:
org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData cannot be cast to
org.jboss.metadata.ear.spec.EarMetaData
| at
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:160)
| ... 13 more
|
I'm particularly interested in the part:
Caused by: java.lang.ClassCastException:
org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData cannot be cast to
org.jboss.metadata.ear.spec.EarMetaData
I took a look at
EARStructure.java and took a somewhat wild guess and changed the name of application.xml
to jboss-app.xml. No luck. Here's application.xml btw:
| <?xml version="1.0" encoding="UTF-8"?>
| <jboss-app>
| <module>
| <service>jboss-federation-server.sar</service>
| </module>
| <module>
| <web>
| <web-uri>jboss-federation-server.war</web-uri>
| </web>
| </module>
| <module>
| <java>jboss-federation-server.jar</java>
| </module>
| <module>
| <java>jboss-saml.jar</java>
| </module>
| <module>
| <java>jboss-security-common.jar</java>
| </module>
| </jboss-app>
|
Any hints would be appreciated. thanks. -e.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214974#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...