RE: JDBC/JNDI problem, continued - PUZZLED
Hi Guys, I would be very grateful if you could let me know when this issue is resolved. (As an aside, this thread has started to sound a tad acrimonious, so lets all bring it down a notch and remember that we are all working hard and are (pretty much) on the same team. Tomcat is a great piece of software!) Looking forward to a resolution Cheers - Adam -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 07:52 To: Tomcat Users List Subject: Re: JDBC/JNDI problem, continued - PUZZLED On Tue, 19 Mar 2002, Nikola Milutinovic wrote: From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's witholding information, just that he is far more expirienced. I just followed the directions in the JNDI how-to. I thought you wrote them... Craig, is there anything magical that one should do for PostgreSQL? Is there some way to test Tyrex and PostgreSQL separately from Tomcat? Look guys ... nobody on the developer end is withholding information. If people want this to be worked on, ***PLEASE*** provide a bug report with a reproducible test case!!! In the problem at hand, that means a complete version of your server.xml, a complete copy of a test webapp (including source), a description of what you expect to see, and a description of what happens. For the returns null problem, it should be pretty easy to put something like that together. Without this, all I can say is well, it works for me ... OK, you asked for it. :-) I'm sending: - server.xml (I've changed user/pass for DB connection, they are no good to you anyway) - web.xml (I have both JNDI and manual connection parameters, the user/pass is changed) - test.jsp (a very primitive JNDI browser) The actual test is displayed below the table that lists JNDI context. If the DataSource ds is null the JSP will display IT IS NULL at the bottom. Oh, and BTW, I have another unexpected feature in Tomcat. If my JSP page throws UnavailableException in it's init() method, not only does that page become unavailable (which was the idea), but the JSP servlet as well (which was not what I wanted). That disables ALL JSPs within the context. Is this supposed to happen? Am I (again) doing something that was not meant to be done? Doesn't sound right ... please file a bug report http://nagoya.apache.org/bugzilla Thanks, I will. Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
I get the same problem on Win2k with Tomcat 4.0.3 and JDK 1.3.1 From other posts it looks like Tyrex is not working. Cheers - Adam From: Nikola Milutinovic Subject: Re: JDBC/JNDI problem, continued - PUZZLED Date: Mon, 18 Mar 2002 23:14:55 -0800 Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection( jdbc:postgresql://test.ev.co.yu/test, test, test_pass ); This is problem in JSDK 1.4, I think. But under JSDK 1.3.1 everything ok. I'm using JDK 1.3.0-2 on Tru64 UNIX. Nix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 19 March 2002 13:35 To: Tomcat Users List Subject: Re: installation of Tomcat 4.0 make sure you do not have any other web servers running. ie IIS, iplanet Kwan, William [EMAIL PROTECTED] 18/03/2002 07:19 PM Please respond to Tomcat Users List To: Tomcat user (E-mail) [EMAIL PROTECTED] cc: Subject:installation of Tomcat 4.0 Hi everyone, I'm new to Tomcat and was wondering if you could help me. I've downloaded the following: j2sdk-1_3_1_02-win.exe jakarta-tomcat-4.0.3-LE-jdk14.exe I've install the jdk first then tomcat. I've set the following environment variables: Java_home = c:\java\jdk1.3.1_02 Catalina_home = c:\java\apache tomcat 4.0 classpath = c:\java\jdk1.3.1_02\bin;c:\java\jdk1.3.1_02\lib;c:\java\jdk1.3.1_02\jre Path = c:\java\apache tomcat 4.0\bin;c:\java\jdk1.3.1_02\bin;%system%; I've followed the documents from the web on setting up those and when I run the startup.bat file, a window pops up for a second and then disappears. The dos window is back at the command prompt. I then go to the browser and type in: http://localhost:8080/ and get The page cannot be display I'm on a windows 2000 server, IIS 5.0. I've looked at the following documents: http://members.ozemail.com.au/~lampante/hotwo/tomcat/iisnt/ http://javaboutique.internet.com/tutorials/Tomcat/ It doesnt seem that hard, but I dont know what I'm doing wrong, any help would be appreciated. thanks, Will -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
I get the same problem on Win2k with Tomcat 4.0.3 and JDK 1.3.1 From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's witholding information, just that he is far more expirienced. Craig, is there anything magical that one should do for PostgreSQL? Is there some way to test Tyrex and PostgreSQL separately from Tomcat? Oh, and BTW, I have another unexpected feature in Tomcat. If my JSP page throws UnavailableException in it's init() method, not only does that page become unavailable (which was the idea), but the JSP servlet as well (which was not what I wanted). That disables ALL JSPs within the context. Is this supposed to happen? Am I (again) doing something that was not meant to be done? Nix.
RE: JDBC/JNDI problem, continued - PUZZLED
Should have mentioned that I am using Oracle 817... The Tyrex mailing list archives suggest that it is possible to configure Tyrex via a separate config file. I cant find this under the Tomcat distribution. Anyone know how to do this? Cheers - Adam -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: 19 March 2002 13:58 To: Tomcat Users List Subject: Re: JDBC/JNDI problem, continued - PUZZLED I get the same problem on Win2k with Tomcat 4.0.3 and JDK 1.3.1 From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's witholding information, just that he is far more expirienced. Craig, is there anything magical that one should do for PostgreSQL? Is there some way to test Tyrex and PostgreSQL separately from Tomcat? Oh, and BTW, I have another unexpected feature in Tomcat. If my JSP page throws UnavailableException in it's init() method, not only does that page become unavailable (which was the idea), but the JSP servlet as well (which was not what I wanted). That disables ALL JSPs within the context. Is this supposed to happen? Am I (again) doing something that was not meant to be done? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
On Tue, 19 Mar 2002, Nikola Milutinovic wrote: Date: Tue, 19 Mar 2002 14:57:50 +0100 From: Nikola Milutinovic [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: JDBC/JNDI problem, continued - PUZZLED I get the same problem on Win2k with Tomcat 4.0.3 and JDK 1.3.1 From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's witholding information, just that he is far more expirienced. I just followed the directions in the JNDI how-to. Craig, is there anything magical that one should do for PostgreSQL? Is there some way to test Tyrex and PostgreSQL separately from Tomcat? Look guys ... nobody on the developer end is withholding information. If people want this to be worked on, ***PLEASE*** provide a bug report with a reproducible test case!!! In the problem at hand, that means a complete version of your server.xml, a complete copy of a test webapp (including source), a description of what you expect to see, and a description of what happens. For the returns null problem, it should be pretty easy to put something like that together. Without this, all I can say is well, it works for me ... Oh, and BTW, I have another unexpected feature in Tomcat. If my JSP page throws UnavailableException in it's init() method, not only does that page become unavailable (which was the idea), but the JSP servlet as well (which was not what I wanted). That disables ALL JSPs within the context. Is this supposed to happen? Am I (again) doing something that was not meant to be done? Doesn't sound right ... please file a bug report http://nagoya.apache.org/bugzilla Nix. Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
On Tue, 19 Mar 2002, Nikola Milutinovic wrote: From other posts it looks like Tyrex is not working. At least one guy managed to get my combination to work. The fact that he is one of the top developers (Craig) might have something to do with it. I'm not saying that he's witholding information, just that he is far more expirienced. I just followed the directions in the JNDI how-to. I thought you wrote them... Craig, is there anything magical that one should do for PostgreSQL? Is there some way to test Tyrex and PostgreSQL separately from Tomcat? Look guys ... nobody on the developer end is withholding information. If people want this to be worked on, ***PLEASE*** provide a bug report with a reproducible test case!!! In the problem at hand, that means a complete version of your server.xml, a complete copy of a test webapp (including source), a description of what you expect to see, and a description of what happens. For the returns null problem, it should be pretty easy to put something like that together. Without this, all I can say is well, it works for me ... OK, you asked for it. :-) I'm sending: - server.xml (I've changed user/pass for DB connection, they are no good to you anyway) - web.xml (I have both JNDI and manual connection parameters, the user/pass is changed) - test.jsp (a very primitive JNDI browser) The actual test is displayed below the table that lists JNDI context. If the DataSource ds is null the JSP will display IT IS NULL at the bottom. Oh, and BTW, I have another unexpected feature in Tomcat. If my JSP page throws UnavailableException in it's init() method, not only does that page become unavailable (which was the idea), but the JSP servlet as well (which was not what I wanted). That disables ALL JSPs within the context. Is this supposed to happen? Am I (again) doing something that was not meant to be done? Doesn't sound right ... please file a bug report http://nagoya.apache.org/bugzilla Thanks, I will. Nix. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app descriptionE-Mail address book Admin GUI/description context-param param-nameconnectionURL/param-name param-valuejdbc:postgresql://localhost/www/param-value descriptionJDBC connection string/description /context-param context-param param-nameconnectionUser/param-name param-valuemy_user/param-value descriptionDatabase user name/description /context-param context-param param-nameconnectionPass/param-name param-valuemy_pass/param-value descriptionDatabase user password/description /context-param context-param param-nameconnectionRetry/param-name param-value10/param-value descriptionRetry interval for failed JDBC connection, also servlet unavailability interval/description /context-param context-param param-nameJDBCDriver/param-name param-valueorg.postgresql.Driver/param-value descriptionJDBC driver class, to be loaded on startup/description /context-param servlet servlet-nameOrgUnitServlet/servlet-name servlet-classyu.co.ev.EVnet.mail.OrgUnitServlet/servlet-class init-param param-nameRedirectURL/param-name param-valueorgUnitDisplay.jsp?id=/param-value descriptionURL to redirect a client for result of the servlet action/description /init-param /servlet servlet servlet-nameEmailUserServlet/servlet-name servlet-classyu.co.ev.EVnet.mail.EUserServlet/servlet-class init-param param-nameRedirectURL/param-name param-valueeUserDisplay.jsp?id=/param-value descriptionURL to redirect a client for result of servlet action/description /init-param /servlet servlet-mapping servlet-nameOrgUnitServlet/servlet-name url-pattern/servlets/OrgUnit/url-pattern /servlet-mapping servlet-mapping servlet-nameEmailUserServlet/servlet-name url-pattern/servlets/EUser/url-pattern /servlet-mapping resource-ref res-ref-namejdbc/AddressBookDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app test.jsp Description: Binary data !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible
JDBC/JNDI problem, continued
Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp java:comp/env java:comp/env/jdbc But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The resource in question should be OK. Is there a way to see what goes on in Tomcat's JNDI tree? Some sort of JNDI browser? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: JDBC/JNDI problem, continued
Hello, I have had the same problem. Null returning from JNDI lookup. The very same web.xml works in other appservers, and my server.xml is extremely straightforward. I was using db2. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 2:43 PM To: Tomcat Users List Subject: JDBC/JNDI problem, continued Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp java:comp/env java:comp/env/jdbc But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The resource in question should be OK. Is there a way to see what goes on in Tomcat's JNDI tree? Some sort of JNDI browser? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
Nikola Milutinovic wrote: Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp java:comp/env java:comp/env/jdbc But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The resource in question should be OK. Is there a way to see what goes on in Tomcat's JNDI tree? Some sort of JNDI browser? So, I decided to write my own JNDI browser, after all, I have Java, JSP and JNDI in Tomcat. :-) Relatively simple code: pContext looked up: strong%= contextPath %/strong/p % InitialContext initCtx; Context envCtx; initCtx = new InitialContext(); NamingEnumeration enum = initCtx.listBindings( contextPath ); int i = 1; % table width=100% border=0 cellspacing=0 cellpadding=3 % while( enum.hasMore() ) { % tr td%= i %/td td%= ((Binding)enum.next()).toString() %/td /tr % } % /table This is what I get when I set context to java:comp/env/jdbc: -- Context looked up: java:comp/env/jdbc 1 AddressBookDB: org.apache.naming.ResourceRef:Reference Class Name: javax.sql.DataSource Type: scope Content: Shareable Type: auth Content: Container -- So, it is there. Why does lookup() on that particular resource return null? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
Do your log files have any interesting messages? Craig On Mon, 18 Mar 2002, Nikola Milutinovic wrote: Date: Mon, 18 Mar 2002 21:21:36 +0100 From: Nikola Milutinovic [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: JDBC/JNDI problem, continued - PUZZLED Nikola Milutinovic wrote: Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp java:comp/env java:comp/env/jdbc But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The resource in question should be OK. Is there a way to see what goes on in Tomcat's JNDI tree? Some sort of JNDI browser? So, I decided to write my own JNDI browser, after all, I have Java, JSP and JNDI in Tomcat. :-) Relatively simple code: pContext looked up: strong%= contextPath %/strong/p % InitialContext initCtx; Context envCtx; initCtx = new InitialContext(); NamingEnumeration enum = initCtx.listBindings( contextPath ); int i = 1; % table width=100% border=0 cellspacing=0 cellpadding=3 % while( enum.hasMore() ) { % tr td%= i %/td td%= ((Binding)enum.next()).toString() %/td /tr % } % /table This is what I get when I set context to java:comp/env/jdbc: -- Context looked up: java:comp/env/jdbc 1 AddressBookDB: org.apache.naming.ResourceRef:Reference Class Name: javax.sql.DataSource Type: scope Content: Shareable Type: auth Content: Container -- So, it is there. Why does lookup() on that particular resource return null? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: JDBC/JNDI problem, continued - PUZZLED
valuenet.kanati.db.DataSourceFactory/value /parameter parameter nameserverName/name valuelocalhost/value /parameter parameter namedatabaseName/name valueord_unos/value /parameter parameter nameuser/name valuesa/value /parameter parameter namepassword/name valuehom35weet/value /parameter parameter nameportNumber/name value2142/value /parameter parameter namedescription/name valueORD UNOS Data/value /parameter /ResourceParams --- web.xml --- resource-env-ref descriptionDatabase Connection to ORD UNOS/description resource-env-ref-name db/ord_unos /resource-env-ref-name resource-env-ref-type javax.sql.DataSource /resource-env-ref-type /resource-env-ref __ Brad Schneider Kanati, LLC [EMAIL PROTECTED] 2140 Commerce St Direct 214-215-5459 Dallas TX 75201-4306 Fax 214-540-0280 www.kanati.net -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 2:22 PM To: Tomcat Users List Subject: Re: JDBC/JNDI problem, continued - PUZZLED Nikola Milutinovic wrote: Hi all. PostgreSQL 7.2 PostgreSQL JDBC 7.2 Tomcat 4.0.1 Problem: When I try to lookup a resource regularely (I think) defined, I get null. The JDBC resource is defined as per Tomcat docs and general advice on this list. I have made some test, I can lookup the following: java:comp java:comp/env java:comp/env/jdbc But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The resource in question should be OK. Is there a way to see what goes on in Tomcat's JNDI tree? Some sort of JNDI browser? So, I decided to write my own JNDI browser, after all, I have Java, JSP and JNDI in Tomcat. :-) Relatively simple code: pContext looked up: strong%= contextPath %/strong/p % InitialContext initCtx; Context envCtx; initCtx = new InitialContext(); NamingEnumeration enum = initCtx.listBindings( contextPath ); int i = 1; % table width=100% border=0 cellspacing=0 cellpadding=3 % while( enum.hasMore() ) { % tr td%= i %/td td%= ((Binding)enum.next()).toString() %/td /tr % } % /table This is what I get when I set context to java:comp/env/jdbc: -- Context looked up: java:comp/env/jdbc 1 AddressBookDB: org.apache.naming.ResourceRef:Reference Class Name: javax.sql.DataSource Type: scope Content: Shareable Type: auth Content: Container -- So, it is there. Why does lookup() on that particular resource return null? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection( jdbc:postgresql://test.ev.co.yu/test, test, test_pass ); One of the users suggested that the reason I'm getting null is because Tyrex is having problems openning connection. And frankly, there were some posts on PostgreSQL and Tyrex incompatibility, but I thought that was resolved in the latest version. postgresql.jar is in $CATALINA_HOME/common/lib Nix.
Re: JDBC/JNDI problem, continued - PUZZLED
Hello! Nikola Milutinovic wrote: Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection( jdbc:postgresql://test.ev.co.yu/test, test, test_pass ); This is problem in JSDK 1.4, I think. But under JSDK 1.3.1 everything ok. -- REAL aka å×ÇÅÎÉÊ òÏÓÔÏ×ÃÅ× http://xtotem.hell.ru/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
Do your log files have any interesting messages? Nothing. Clean as a whistle. The problem is not related to PostgreSQL or JDBC driver. I can establish a connection via regular mechanism: Class.forName( org.postgresql.Driver ); Connection conn = DriverManager.getConnection( jdbc:postgresql://test.ev.co.yu/test, test, test_pass ); This is problem in JSDK 1.4, I think. But under JSDK 1.3.1 everything ok. I'm using JDK 1.3.0-2 on Tru64 UNIX. Nix.
AW: JDBC/JNDI problem, continued - PUZZLED
Shouldn't it be java:comp/env/jdbc/AddressBookDB? Or was that just a typo in your mail ? -Ursprüngliche Nachricht- Von: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 18. März 2002 21:22 An: Tomcat Users List Betreff: Re: JDBC/JNDI problem, continued - PUZZLED But when I try java:jdbc/env/jdbc/AddressBookDB I get null. The -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC/JNDI problem, continued - PUZZLED
Shouldn't it be java:comp/env/jdbc/AddressBookDB? Yes, a typo. Nix.