Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JBoss 7.1.1 - war deployment  RSS feed

 
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently JBoss seems to be running fine on one server and under /standalone/deployments/ there are XXXXXX.war.deployed files for every .war directory under /standalone/deployments/. On another server (that was working fine until recently) JBoss appears to be running fine as the admin page comes up in the browser stating it is running fine. When I try to access a .jsp from one of the war directories from the browser it gives me a 404 error. I checked in the /standalone/deployments/ directory and all files related to the war directories are XXXXXX.war.undeployed. I'm assuming the wars aren't deployed because these files are present. How can I get the applications back up and running? No files have been changed to have caused the applications to stop working. JBoss has been restarted a few times now as has the server as well (running on Windows) and no luck. Any help would be greatly appreciated. Thanks.
 
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are those exploded deployments or archived ones? For exploded deployments you need to add a xxx.war.dodeploy marker file for each xxx.war deployment.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do the .dodeploy files need to go under /standalone or /standalone/deployments/? Thanks for the response.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jaikiran Pai, exactly what was needed. One thing I found somewhat strange was the dodeploy files get renamed to undeployed or deployed. Wouldn't new files with either undeployed or deployed in addition to the dodeploys make more sense? That way, when restarting, new attempts to include the wars are once again recognized.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!