Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployed Application not persistent
 
Similar Threads
Tomcat 6.0.30: cannot deploy application: access denied.
Why is it deploying in two contexts? I'm stumped
The value for the useBean class attribute *class* is invalid.
deploying new application on tomcat manager
how to open war file