Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332937

Summary: JNDI lifecycles
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.2.0   
Target Milestone: 7.1.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Greg Wilkins CLA 2010-12-20 06:58:57 EST
We need to improve the lifecycle of JNDI resources, with respect to multiple start/stop cycles and or redeployment of contexts.

Currently JNDI entries in context.xml files are getting deployed multiple times and not necessarily cleaned up.

There is also manual code in the tests to stop Atomikos datasources.

Replace this with a generic Destroyable interface and cleanup associated JNDI lifecycles.
Comment 1 Greg Wilkins CLA 2011-01-10 07:38:41 EST
Destroyable has been added.