This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have jboss server as the application server and i deployed my war file on it , however i undeployed it later . But now when i am trying to restart my server i get the exception regarding deployment of the war which is not anywhere in my deployment directory of my app server .
I am attaching a screen shot of the same .
Now i am trying to deploy my application .
Please explain what i should do to remove this exception .
As you can see the location of your war file is showing as <JBOSS_HOME>\server\default\tmp folder. Please delete the contents of tmp folder and run your JBoss again. This will solve your problem.
I removed all files from the temp folder , but i still get the error on the screen as the attachment .Is it some bug in JBOSS 4.0.4
My server is picking some war which is non existent .
also when i looked at the server console i got the following error :-
16:07:13,044 INFO [TomcatDeployer] deploy, ctxPath=/v1.13, warUrl=.../tmp/deploy/tmp2811042220167730537v1.13-exp.war/
16:07:13,582 INFO [WebappClassLoader] validateJarFile(E:\MangoMania\jboss-4.0.4.GA\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp281
1042220167730537v1.13-exp.war\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: ja
16:07:22,355 ERROR [StandardContext] Error listenerStart
16:07:22,358 ERROR [StandardContext] Context [/v1.13] startup failed due to previous errors
16:07:23,631 WARN [ServiceController] Problem starting service jboss.web.deployment:war=v1.13.war,id=-2127047321
org.jboss.deployment.DeploymentException: URL file:/E:/MangoMania/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/tmp28110422
20167730537v1.13-exp.war/ deployment failed
Has it got something to do with the qouted portion in the above section