https://bz.apache.org/bugzilla/show_bug.cgi?id=61366
Bug ID: 61366
Summary: "Unable to find [comp]" when attempting to use JNDI
datasource for JDBCStore session store
Product: Tomcat 8
Version: 8.5.16
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
Created attachment 35191
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35191&action=edit
Properly set the TCCL before performing JNDI datasource lookups
When attempting to utilize a JNDI datasource defined at the Context level,
JDBCStore uses the wrong TCCL and the lookup fails.
The fix for this (patch attached against current 8.5.x-trunk (revision 1803599)
is similar to the changes introduced by revisions 1514281 and 1726925: the
JDBCStore session store implementation correctly sets the TCCL to that of the
webapp context before attempting to load a session from the database.
It should do the same before attempting the JNDI datasource lookup.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]