Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deploy external webapp in tomcat?

Tags:

tomcat

Could anyone answer my question, please?

I'd like to deploy a web application folder

C:\app\myapp

to Tomcat6.x instead of having a copy under

%TOMCAT_HOME%\webapps

Which configuration is required on tomcat server?

Thanks

like image 291
netic Avatar asked Mar 19 '09 05:03

netic


1 Answers

You should create a myapp.xml file for this app and place it in %TOMCAT_HOME%\conf\Catalina\localhost.

The file looks something like this:

<Context displayName="myapp" 
     docBase="C:/app/myapp"
     path="/myapp"
     reloadable="true" />
like image 180
Kees de Kooter Avatar answered Oct 03 '22 13:10

Kees de Kooter