tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 40162] JNDI Environment is null within subthreads in Servlet.destroy()
Date Tue, 14 Jul 2009 07:11:44 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Mark Thomas <>  2009-07-14 00:11:40 PST ---
For future reference, when providing test cases please include the source.
Without the source we either have to guess what the test case is doing or use a
tool like JAD.

This isn't going to work out of the box without some additional work on your
part. Take a look at the code in the org.apache.naming package, particularly
SelectorContext, ContextBindings and java.javaURLContextFactory

Alternatively, a simpler solution would be to move the shared code to your web
application. Disk and memory is cheap and a good build tool (eg Ant) will let
you keep a single copy of the code, whilst using it in multiple locations.

If you have any further questions, please ask on the Tomcat users list.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message