File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes re: Start up of JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "re: Start up of JBoss" Watch "re: Start up of JBoss" New topic
Author

re: Start up of JBoss

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

Hi all,


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 .




[Thumbnail for appserver_console.png]

uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

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.
ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

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
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128


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://aspose.com/file-tools
 
subject: re: Start up of JBoss