tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject tomcat v5.5.2 doesn't read ResourceParams ?
Date Thu, 16 Sep 2004 14:58:00 GMT
Hi, 

I've been trying out tomcat v5.5.2alpha since yesterday, and from my
findings, it appears that it doesn't read the content of the
ResourceParams. At least when I look at the datasource with the admin
webapp, it has empty url, driverClassname etc.

Have anyone seen similar results? I've added a copy of what I've put in
conf/server.xml.


  <GlobalNamingResources>

    <Resource name="Repository" auth="Container" 
        type="javax.sql.DataSource"
        description="repository datasource definition" />
    <ResourceParams name="Repository">
        <parameter>
            <name>factory</name>

<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
        </parameter>
        <parameter>
            <name>maxActive</name>
            <value>100</value>
        </parameter>
        <parameter>
            <name>maxIdle</name>
            <value>30</value>
        </parameter>
        <parameter>
            <name>maxWait</name>
            <value>10000</value>
        </parameter>

        <parameter>
            <name>username</name>
            <value>torgeir</value>
        </parameter>
        <parameter>
            <name>password</name>
            <value></value>
        </parameter>
        <parameter>
            <name>driverClassName</name>
            <value>com.mysql.jdbc.Driver</value>
        </parameter>
        <parameter>
            <name>url</name>
            <value>jdbc:mysql://localhost/repository</value>
        </parameter>
    </ResourceParams>
  </GlobalNamingResources>

-- 
Torgeir Veimo <torgeir@pobox.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message