Hello,

I'm trying to set up a connection pool to a MySQL database. I tried placing
the following resource definition in server.xml's global name space and I
tried putting it into my META-INF's context.xml:

<Resource name="gaussdb" type="javax.sql.DataSource" password="foobar"
driverClassName="com.mysql.jdbc.Driver" maxIdle="2" maxWait="5000"
username="ggw" url="jdbc:mysql://localhost/ggw" maxActive="5"/>

This tomcat server runs within Netbeans IDE so I installed the driver by
adding it in the appropriate menus. To be sure, I copied it to the
common/lib dir as well.

Unfortunately, tomcat is just doing nothing. I do not get error messages nor
any sign of activity. Even a sniffer does not show any sign of network
traffic or something. The only log file, that is updated on every start is
the one here:

      <Host appBase="webapps" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_log." suffix=".txt" timestamp="true" verbosity="4"/>
      </Host>

(excerpt from server.xml)

Maybe I don't have the right Loggers to get an error from my connection
pool. Nevertheless, I'm quite desperate because I really don't have any
information about what's going on. Any ideas how I could at least find out
why it does not open the pool?

Regards

Christoph Kling


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to