> I am relatively new to Tomcat myself but I have > found that it is easier to use the "ant" command > from your command line prompt to install (ie. > deploy) a Tomcat application.
My problem with the manager app is that the application doesn't appear to be persistant if the application.xml is not in the webapps dir. When Tomcat restarts, my app disappears and I have to re-install. The same also happens if I deploy with ant and don't have the .xml in the webapps dir. In development I use ant as well, production deployment they are a bit more tight on. My question then should be: how do I make a context persistant if it is not the the webapps dir? > In either case I use the command "ant dist" command > to compile my > application and prepare a .WAR distribution file. > Next I simply use the ant > command line "ant install" to deploy my application, > > If you want to access the Manager application via > your browser you could > always enter a URL like the following : > > Http://localhost:8080/manager/deploy?path=/<appname>&war=file:/home/bkimelman > <application-directory>/dist/<appname><appversion>.war > > It seems to me that the easier wau to go is to use > Ant from your command > line. > > ************************* > > Barry Kimelman > Winnipeg, Manitoba, Canada > > -------Original Message------- > > From: Tomcat Users List > Date: Sunday, February 29, 2004 11:39:31 AM > To: [EMAIL PROTECTED] > Subject: Deployment: admin vs manager > > Should I deploy apps with the manager or admin > interface? > > With the manager interface, it is easier, because I > can also specify my application.xml and therefor do > not have to configure my datasources manually. But, > using the manager interface, everytime I restart > Tomcat, I have to re-install the apps also - the > context is lost (the applications are not stored > under > the webapps dir - the sysop wants everyone's apps in > his own homedir). > > So which interface must I use for deployment and how > can I overcome the problem mentioned above? > > Thanks > > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > . __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
