permaculture playing cards
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 Building Microservices this week in the Design 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!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Configuring AJP connector to two different Contexts.
 
It's not a secret anymore!