tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53416] Two datasources with the same name in different web applications results in
Date Tue, 26 Jun 2012 21:05:11 GMT

Anthony Gerrard <> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #3 from Anthony Gerrard <> ---
We have two services with one web application in each.  One is for our secure
site and one for our non secure.  We use Apache as the ssl endpoint and reverse
proxy using ajp connectors.  Both web applications have the root context in
their service.  This configuration works and we had no problems with the
default connection pooling.  I got the error when switching to the tomcat
connection pool.

Our server.xml looks something like

  <Service name="Catalina">
    <Engine name="Catalina" defaultHost="${}">
      <Host name="${}" 
            appBase="webapps/${}" unpackWARs="true" 

  <Service name="Catalina-Secure">
    <Engine name="Catalina-Secure" defaultHost="${}">
      <Host name="${}" 
          appBase="webapps/${}-ssl" unpackWARs="true" 

I've subsequently worked around this using <ResourceLink /> which I think is
more appropriate for our set-up anyway.  However I still think this is a bug.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message