Tomcat Start

Is it possible to start Tomcat and specifying a application context xml file to use? I deploy a context file into tomcat/webapps which defines all application resources. This file is not recognized when starting Tomcat thrue IDEA.

To have this option would be great!

Regards

Reto

2 comments

Reto Badertscher wrote:

Is it possible to start Tomcat and specifying a application context xml file to use? I deploy a context file into tomcat/webapps which defines all application resources. This file is not recognized when starting Tomcat thrue IDEA.

To have this option would be great!

Regards

Reto


have you tried putting that file in the WEB-INF dir along with web.xml?
(I haven't tried this, but I remember there was an issue where IDEA
would copy too many files from Catalina/local, so maybe that works)

R

0

Yes i tried it - but that doesn't help as no context is then recognized.
I guess that unless i make an entry in server.xml i don't get an application context - to bad.

Thanks for your help

Reto

0

Please sign in to leave a comment.