[
https://issues.jboss.org/browse/JBAS-9449?page=com.atlassian.jira.plugin....
]
Ales Justin moved JBCL-180 to JBAS-9449:
----------------------------------------
Project: Legacy JBoss Application Server 6 (was: JBoss ClassLoader)
Key: JBAS-9449 (was: JBCL-180)
Component/s: Deployers
(was: ClassLoader)
(was: MetaData)
Security: Public
Classcast Exception while deploying an ear file in jboss 5.1.0
--------------------------------------------------------------
Key: JBAS-9449
URL:
https://issues.jboss.org/browse/JBAS-9449
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployers
Reporter: suresh kumar
Assignee: Ales Justin
Priority: Blocker
When we tried to migrate our application from jboss-3.2.7 to jboss-5.1.0, we faced this
issue.Basically in our application, we have an EAR file packaged with couple of WAR files
and a SAR file along with META-INF directory. While deploying the EAR file under
server\default\deploy directory, we are getting the below error.Our application do not
useany EJB related stuffs. Basically,this error is thrown when we have an SAR file and WAR
files packaged together in an EAR file.
Caused by: java.lang.ClassCastException:
org.jboss.metadata.ear.jboss.ServiceModuleMetaData cannot be cast to
org.jboss.metadata.ear.spec.WebModuleMetaData
at
org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:327)
at
org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
... 30 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira