aspose file tools
The moose likes Tomcat and the fly likes Deployed Application not persistent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deployed Application not persistent" Watch "Deployed Application not persistent" New topic
Author

Deployed Application not persistent

John Davis
Ranch Hand

Joined: Nov 02, 2000
Posts: 189
I deploy an application (its just an index.jsp page) via the manager using the directory option (and specifying file:c:/abc/def/appdir
The manager displays a success message for the deploy and the Manager displays the context path in the application list.
The next time Tomcat is started, the application is missing.
Why? I assume it is because some xml file somewhere needs some entries, but I haven't found any xml file anywhere with entries for the web apps that are installed automatically when Tomcat is installed, and these (servlet-examples, balancer, etc. ) are persistent.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Is this tc 4.x ?

I've found numerous things in both the admin and manager app that do not persist across server restarts in this version of tc.
John Davis
Ranch Hand

Joined: Nov 02, 2000
Posts: 189
No. Its 5.0.x.
John Davis
Ranch Hand

Joined: Nov 02, 2000
Posts: 189
OK. Sorry about that, I found out what to do. After installing the application, I went to the server administration application and clicked the "commit changes" button. End of Problem. Sorry to have bother you with this one.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deployed Application not persistent