Hi, I got same frustration that you had.... I got solved By trying to reuse the webapp examples..
Steps: - define a Datasource in server.xml (following instructions given in tomcat), within the context jsp-examples (one of the webapp that comes along with tomcat - inside jsp-examples\WEB-INF\web.xml define your datasource Ref - write a simple JSP in jsp-examples that looks up the database from JNDI and get a connection See if this work (it worked for me), and if it does then Repeat the process for your web application Hope this helps Regards marco -----Original Message----- From: asd [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 10:56 To: Struts Users Mailing List Subject: *****SPAM***** How to configure in tomcat5.0 Spam detection software, running on the system "waersys.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: ------=_NextPart_001_005D_01C40D1A.A78B1FC0 i have tired in triral with configuring my database resource in tomcat 5.0.it also return the same err ,even if i worked according as manual in www.apache.org ,step by step. the patch accompany with this letter is my strutsTest.xml,which located in %CATALINA_HOME%\conf\catalina\localhost,strutsTest is my web app name, web.xml which located in mywebApp docbase\web-inf . index.jsp ,which is my test jsp. it is confused where there are three xml file ,not two as described in some document. the same err msg is: javax.naming.NameNotFoundException: Name JDBC is not bound in this Context ......... i had so depress.what's wrong with my cofigure? best regard. [...] Content analysis details: (10.2 points, 7.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.5 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 1.3 RCVD_IN_SBL RBL: Received via a relay in Spamhaus Block List [<http://www.spamhaus.org/SBL/sbl.lasso?query=SBL10717>] 1.3 RCVD_IN_NJABL_RELAY RBL: NJABL: sender is confirmed open relay [211.144.13.62 listed in dnsbl.njabl.org] 2.0 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [211.144.13.62 listed in dnsbl.sorbs.net] 2.0 RCVD_IN_NJABL RBL: Received via a relay in dnsbl.njabl.org [211.144.13.62 listed in dnsbl.njabl.org] 4.8 FORGED_OUTLOOK_TAGS Outlook can't send HTML in this format -3.7 AWL AWL: Auto-whitelist adjustment The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]