[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: pb deploy war with CR2 !
jaikiran
do-not-reply at jboss.com
Thu Sep 25 05:53:19 EDT 2008
anonymous wrote : 2008-09-25 10:58:36,918 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] Error during deploy: vfszip:/product/jboss/jboss-5.0.0.CR2/server/default/deploy/mminfra-CR5.ear/OTAinfra-ejb.jar
| java.lang.ClassCastException: org.jboss.metadata.ear.spec.EjbModuleMetaData cannot be cast to org.jboss.metadata.ear.spec.WebModuleMetaData
1) If the deployment is failing then this should not have been logged at debug level.
anonymous wrote :
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
2) Looks like the application is being picked up by the hot deployer. How are you deploying the application? After JBoss starts completely, you are placing the application in the deploy folder?anonymous wrote :
|
| vfszip:/product/jboss/jboss-5.0.0.CR2/server/default/deploy/mminfra-CR5.ear/OTAinfra-ejb.jar
| java.lang.ClassCastException: org.jboss.metadata.ear.spec.EjbModuleMetaData cannot be cast to org.jboss.metadata.ear.spec.WebModuleMetaData
3) What does your application.xml look like? Post the contents here.
4) Are you deploying the application as an exploded folder or are you deploying it as a zipped application? Post the output of the following command:
If you are deploying in exploded format then post the output of (first 'cd' to deploy folder):
dir /b /s
Or else if you are deploying as a zipped applicaiton then pos the output of:
jar -tf mminfra-CR5.ear
5) Since this issue is specific to JBoss-5, you should have posted this in the JBoss AS5 forum http://www.jboss.com/index.html?module=bb&op=viewforum&f=287 :-)
While posting the logs or xml content or code, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178745#4178745
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178745
More information about the jboss-user
mailing list