I'm having a problem redeploying my EAR file which seems like a potential Classloader problem with jBoss, but looking for help.
My EAR file contains the Struts.jar along with an application WAR. The MANIFEST.MF in the WAR has the Class-Path set to include the struts.jar
I startup jBoss and deploy my application by copying the EAR file into the deploy directory. Everything works great.
Then I redeploy the application by copying a new version of the EAR file over the old one. The application appears to deploy okay. The only line that looks suspect is:
18:27:11,118 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/javadev/jboss-3.0.6_tomcat-4.1.18/server/default/tm
Then, the first time I post to an Action after the redeploy I get the following error:
18:29:15,477 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class org.apache.struts.action.RequestProcessor: java.lang.ClassCastExc
Just thought I'd mention that as magically as this started happening, it stopped happening. Redeployment is working fine for me now. Who knows the magic of the disappearing problem.