File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Not deploying to work/standalone/localhost in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not deploying to work/standalone/localhost in Tomcat" Watch "Not deploying to work/standalone/localhost in Tomcat" New topic

Not deploying to work/standalone/localhost in Tomcat

Leon Brits

Joined: Aug 26, 2005
Posts: 1
I need to make changes to an existing application (called CRM) so I created a new WAR file from the existing application (called testcrm.war). I want to make changes to this temp application first, so that I dont mess up the original one as they are still working on it. When I restart Tomcat it explodes the WAR file properly in the webapps directory, but does not add anything to work/standalone/localhost and therefore the application does not run and gives me a 404 error!

When I copy the files manually from the original CRM application in the work/standalone/localhost directory to my testcrm work/standalone/localhost directory, then the testcrm application works properly, but I cannot do this all the time as I am going to be making changes and need it to deploy properly.

Does anybody know why it is not deploying properly? Are there settings in server.xml that I need to change?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

If it unpacked the war file, then it tried to deploy it.
Have you checked your log files for error messages?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Moved to the Tomcat forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Not deploying to work/standalone/localhost in Tomcat
It's not a secret anymore!