Hi, ResourceParams are gone. See the updated docs: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples -howto.html.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Torgeir Veimo [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 16, 2004 10:58 AM >To: [EMAIL PROTECTED] >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 <[EMAIL PROTECTED]> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
