https://issues.apache.org/bugzilla/show_bug.cgi?id=54168
Bug ID: 54168
Summary: NamingContext.close() throws exception in case of
read-only context
Product: Tomcat 7
Version: 7.0.32
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The following exception is thrown when closing Context returned for a JNDI
resource defined in server.xml:
javax.naming.OperationNotSupportedException: Context is read only
at org.apache.naming.NamingContext.checkWritable(NamingContext.java:962)
at org.apache.naming.NamingContext.close(NamingContext.java:762)
...
Looking at the code it looks like there should be call to isWritable(), not
checkWritable, so that it would just return false and close() would do nothing.
--
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]