I already has appfuse application with App Server Tomcat 5.5 and everything is allright, but now I want to use JBoss 5.0 as my AS, I copy the war into JBOSS_HOME/server/default/deploy/ but it give me error, one line of the error is: vfszip:/home/.../app.war -> java.lang.ClassCastException
when I restart my JBoss, it give me message before startup, like this:
Error installing to Parse: name=vfszip:/home/.../app.war state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/home/wks-243/Java/server/jboss-5.0.0/server/default/deploy/app.war
I also already add some stuff that told by this link:
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnJBoss, I copied my aplication into JBOSS_HOME/server/default/deploy/ and rename it appfuse.war, and coppied the code into my build.properties and add some target in build.xml that deploy with JBoss, but it still give me the same error.
I use appfuse 1.9.4, JDK 6 beta 10, and JBoss 5.0, and theres nothing wrong with my JBoss, because I copied other simple application and it's OK, so perhaps somebody have an experience, please help me, thanks!!