Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and Tomcat Connector (mod_jk)

Status
Not open for further replies.

chripa

Programmer
Mar 27, 2008
10
AT
I have set up a virtual host in Apache, which is intended to host and execute all Servlets and JSPs which are located in this vhost directory.

(A snippet of my config-files is included in the attachment.)


This setup works fine, BUT the Servlets / JSPs are processed ONLY when they are stored and executed in Tomcat's "webapps" folder.
(When I move the Servlets and/or JSPs to the vhost-directory, I get an error; produced by Tomcat.)


So - WHAT SHOULD I do that my Servlets and JSPs are stored AND executed in my vhost directory? [ponder]


Kind regards, Chris :)


P.S.: I've read a lot of documentations and tried out many different setups before I posted this thread!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top