Re: R: Using Tomcat 5.5.x with Mysql

2005-04-07 Thread David Smith
om - No Context"); ds = (DataSource)ctx.lookup("jdbc/TestDB"); Francesco -Messaggio originale- Da: David Smith [mailto:[EMAIL PROTECTED] Inviato: giovedì 7 aprile 2005 14.47 A: Tomcat Users List Oggetto: Re: Using Tomcat 5.5.x with Mysql Could you post the code used in doing t

R: Using Tomcat 5.5.x with Mysql

2005-04-07 Thread Marchioni Francesco
David Smith [mailto:[EMAIL PROTECTED] Inviato: giovedì 7 aprile 2005 14.47 A: Tomcat Users List Oggetto: Re: Using Tomcat 5.5.x with Mysql Could you post the code used in doing the lookup? What I see here appears to imply you are using jdbc: as the jndi name to look up. As posted earlier, y

Re: Using Tomcat 5.5.x with Mysql

2005-04-07 Thread David Smith
Could you post the code used in doing the lookup? What I see here appears to imply you are using jdbc: as the jndi name to look up. As posted earlier, your jndi should look more like java:comp/env/jdbc/TestDB in the code where you do the lookup. --David Marchioni Francesco wrote: Hi all, I'm

R: Using Tomcat 5.5.x with Mysql

2005-04-07 Thread Marchioni Francesco
14.32 A: Tomcat Users List Oggetto: RE: Using Tomcat 5.5.x with Mysql I am using mysql 4.1 and Tomcat 5.5.x successfully. My context looks the same as yours, but I do not have a resource-ref in my web.xml as you do. I simple reference it like this: "java:comp/env/jdbc/TestDB" in my hib

RE: Using Tomcat 5.5.x with Mysql

2005-04-07 Thread David Owens
he concept should be the same... Is the mysql-connector.jar in your $CATALINA_HOME/common/lib dir? |)ave -Original Message- From: Marchioni Francesco [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 7:09 AM To: 'tomcat-user@jakarta.apache.org' Subject: Using Tomcat 5.5.x wit

Using Tomcat 5.5.x with Mysql

2005-04-07 Thread Marchioni Francesco
Hi all, I'm trying to configure a Connection Pool with Tomcat 5.5.x and MySql 4.1. Unfortunately I cannot lookup from JNDI context the Datasource. JNDI lookup failed : javax.naming.NameNotFoundException: Name jdbc: is not bound in this Context javax.naming.NameNotFoundException: Name jdbc is not b