DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34176>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34176 Summary: can't retrieve JNDI resource in 5.5.8 (works in 5.5.7) Product: Tomcat 5 Version: 5.5.8 Platform: PC OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] In Tomcat 5.5.8, JNDI resource can't be retrieved (works in 5.5.7) With <Context path="/test" docBase="/home/marc/EWorkspace/test" reloadable="false" debug="1"> <Resource name="mail/Session" auth="Container" type="javax.mail.Session" mail.smtp.host="localhost"/> </Context> and following code (in an ini Servlet) Context ctx = new InitialContext(); Object sessionobj = ctx.lookup("java:/comp/env/mail/Session"); log("session obj: " + sessionobj); without any resource ref in the web xml, logs show that resource is found in Tomcat 5.5.7 but not in 5.5.8. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]