tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: tomcat v5.5.2 doesn't read ResourceParams ?
Date Thu, 16 Sep 2004 15:01:21 GMT
they didn't in 5.5.0 either. i would have thought something so critical would have been corrected
by now but looks like not ;)

ADC

> -----Original Message-----
> From: Torgeir Veimo [mailto:torgeir@pobox.com]
> Sent: 16 September 2004 15:58
> To: tomcat-user@jakarta.apache.org
> Subject: tomcat v5.5.2 doesn't read ResourceParams ?
> 
> 
> 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
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
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