It's not a secret anymore!*
The moose likes Tomcat and the fly likes Configuring AJP connector to two different Contexts. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuring AJP connector to two different Contexts. " Watch "Configuring AJP connector to two different Contexts. " New topic
Author

Configuring AJP connector to two different Contexts.

Nick Whalan
Greenhorn

Joined: Sep 08, 2011
Posts: 1
I have two WAR files I was hoping to place onto the same Tomcat Instance behind an Apache Server, one would be using HTTP and the other HTTPS.

http://www.url.com/contextone/index.jsp
https://www.url.com/contexttwo/index.jsp

I was wondering if AJP connector will work out the contexts correctly because the Workers defined can only mention the single port?



I know that I could just have two different Tomcat instances for each of the WAR files.

Thanks in advance!
 
wood burning stoves
 
subject: Configuring AJP connector to two different Contexts.