[jboss-jira] [JBoss JIRA] (JBCL-180) Classcast Exception while deploying an ear file in jboss 5.1.0
suresh kumar (Created) (JIRA)
jira-events at lists.jboss.org
Tue Oct 18 05:28:45 EDT 2011
Classcast Exception while deploying an ear file in jboss 5.1.0
--------------------------------------------------------------
Key: JBCL-180
URL: https://issues.jboss.org/browse/JBCL-180
Project: JBoss ClassLoader
Issue Type: Bug
Components: ClassLoader, MetaData
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
More information about the jboss-jira
mailing list