Hello again,
I'm sorry for sending a second message on the same problem, but this is the
second day I am stuck with this problem.
I try to configure a DataSource to MySQL using Tomcat 4.0.1. The JNDI
binding is created, but the object found through the ENC is null (not
initialised). I use the following resource definition:
<Resource name="jdbc/pim" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pim">
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.MysqlDataSource</value>
</parameter>
<parameter>
<name>driverName</name>
<value>jdbc:mysql://localhost:3306/pim</value>
</parameter>
</ResourceParams>
My database does not require any login/password. I manage to run my JSP on a
different servlet container: same code, same JNDI binding, same database,
same URL, etc.
Has anybody ever managed to create a pool to MySQL using Tomcat? Where can I
find some further documentation on the possible parameters to be used for
the ResourceParams tag? The standard documentation looks really insufficient
to me on this point...
Thanks for any help you can offer.
Diego
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>