https://issues.apache.org/bugzilla/show_bug.cgi?id=53416

--- Comment #1 from Filip Hanik <fha...@apache.org> ---
Created attachment 29000
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29000&action=edit
JMX Registration of two pools

The name of the JMX bean that gets registered is unique to the web application,
so your example must have something else wrong

I've attached an image of what JMX registration looks like when two web
applications define an identical data source

If we examine your object name:

tomcat.jdbc:name="jdbc/soscvuk",context=/,type=ConnectionPool,host=localhost,class=org.apache.tomcat.jdbc.pool

you can see that it contains the 'context' and the 'host' as part of the name.
Two web applications can not have the same context.

There must be something misconfigured in your application.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to