On 08/03/18 18:53, Tarin Gamberini wrote: > On 08/03/2018 17:52, Rémy Maucherat wrote: >> On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini >>> [cut] >>> # PROBLEM >>> >>> I have two datasources in the same web application: >>> >>> <ResourceLink global="jdbc/abc/ABC" name="jdbc/abc" >>> type="javax.sql.DataSource"/> >>> <ResourceLink global="jdbc/abc/jkl/XXX_YYY" name="jdbc/abc/jkl" >>> type="javax.sql.DataSource"/> >>> [cut] >> >> Well, you have "abc" that s already bound and is a datasource, then you try >> to create a subcontext "abc" and it doesn't work. > Sorry, I'm not sure I have understood what you mean. Just for clarification: > > 1. > By «you have "abc" that s already bound and is a datasource» are you > thinking about the "abc" just after "jdbc/" in «global="jdbc/abc/ABC"» ? > > 2. > By «then you try to create a subcontext "abc"» are you thinking about > the ending ABC in «global="jdbc/abc/ABC"» ?
No. Look at the names, not the global names. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org