How to clean leaks in Tomcat?

Apache Jakarta (Tomcat) Connector to forward traffic to specific Tomcat?

  • There is one use case I am unable to solve so far with the Apache Jakarta (Tomcat) Connector load balancing feature. I have one IIS site which has one Apache Tomcat Connector attached to it. I need to "forward" the traffic to a different Tomcat depending on the URI that is requested. It is pretty simple to do when you only have apps with a specific context (like /app1, /app2, etc). My problem is that I have one app (in one Tomcat) that is at / (ROOT) and one other app (in another Tomcat) that is at /app1. I have tried the following config in uriworkermap.properties: /*=loadBalancer1 /app1/*=loadBalancer2 But this doesn't work, because "loadBalancer1" takes all the traffic. "loadBalancer2" is being ignored, which make sense, since /app1/* matches /* (regexp wise). I also tried adding a exclusion as so: /*=loadBalancer1 !/app1/*=loadBalancer1 /app1/*=loadBalancer2 But that doesn't work either, because "loadBalancer1" is still taking all the traffic, but just ignoring that "/app1/*" URI pattern. "loadBalancer2" is simply ignored again. Any suggestion, keeping in mind that I cannot have 2 IIS sites, nor can I move the app that is at / (ROOT) to a different context path in Tomcat? Thank you

  • Answer:

    I would say that you should restart the program... Good luck!

1lln3ss at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.