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 .
Hi Ragi,
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
vax/servlet/Servlet.class
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
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
Has it got something to do with the qouted portion in the above section
what is "default\.\tmp" ???
Try to find it out and still if you are unable to fix it up i suggest you to delete this JBoss instance and reinstall a fresh copy and try deploying your application.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.