Цитата(Bulat @ 5.5.2006, 21:25 ) | | И как задеплоить свой war-архив, на версии 3.2.4. В отличие от привычной для меня версии 5.5.12 там отсутствует интерфейс с кнопочкой deploy, с помощью которой можно задеплоить архив лишь указав путь к нему(что еще нужно сделать кроме того что поместить его в папку webapps) |
| Цитата | Deploying WAR Files
The Servlet 2.2 specification introduced the Web Application Archive, or WAR file. A WAR file is the deployable version of a web application, where the directory structure and the files they contain are combined into an archive file.
To deploy a WAR file to Tomcat 3.3, you can manually expand the archive to a directory and have that directory served as a context as described above. You can also have the AutoDeploy module do the expansion automatically if the WAR file is placed in its "source" directory. The default installation of Tomcat 3.3 includes an AutoDeploy module which expands WAR files found in Tomcat's webapps directory.
To add a WAR file while Tomcat 3.3 is running, you will need to manually expand the WAR file. Then use the Admin web application to add the context.
|
Но вот как сделать, чтобы "have that directory served as a context", не помню. Кажется, надо в конфиг сервера добавить тег <Context>. Поищи в доке (http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ug.html#deploy_war) |