You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/07/18 16:53:04 UTC
DO NOT REPLY [Bug 10948] New: -
JNDI lookup in servlet init fails
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10948>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10948
JNDI lookup in servlet init fails
Summary: JNDI lookup in servlet init fails
Product: Tomcat 4
Version: 4.1.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: arshadm@compuvision.co.uk
A JNDI lookup for a resource fails when it is attempted in the "init" function
of a servlet.
The same code however works fine when it is done in a "doPost" or "doGet". This
means that some initialisation cannot be done until the first request for a
servlet that is loaded on startup.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>