tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ML...@piercemfg.com
Subject RE: tomcat v5.5.2 doesn't read ResourceParams ?
Date Thu, 16 Sep 2004 18:41:13 GMT

The documentation says "DBCP provides support for JDBC 2.0. On systems
using a 1.4 JVM DBCP will support JDBC 3.0."  Since Tomcat 5.5 uses the 1.5
JVM, I would assume that DBCP will provide support for JDBC 3.0.  Am I
correct in my assumption?

Mark Lenz
Software Engineer
Control Systems Group
Pierce Manufacturing, Inc.
(920) 832-3523
mlenz@piercemfg.com


                                                                                         
                               
                      "Shapira, Yoav"                                                    
                               
                      <Yoav.Shapira@mpi        To:       "Tomcat Users List" <tomcat-user@jakarta.apache.org>
           
                      .com>                    cc:                                    
                                  
                                               Subject:  RE: tomcat v5.5.2 doesn't read ResourceParams
?                 
                      09/16/2004 09:59                                                   
                               
                      AM                                                                 
                               
                      Please respond to                                                  
                               
                      "Tomcat Users                                                      
                               
                      List"                                                              
                               
                                                                                         
                               
                                                                                         
                               





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:torgeir@pobox.com]
>Sent: Thursday, September 16, 2004 10:58 AM
>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




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org







Although this e-mail and any attachments are believed to be free of
any virus or other defect which might affect any computer system, it
is the responsibility of the recipient to check that it is virus-free
and the sender accepts no responsibility or liability for any loss,
injury, damage, cost or expense arising in any way from receipt or use
thereof by the recipient.

The information contained in this electronic mail message is
confidential information and intended only for the use of the
individual or entity named above, and may be privileged.  If the
reader of this message is not the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
transmission in error, please  contact the sender immediately, delete
this material from your computer and destroy all related paper media.

Please note that the documents transmitted are not intended to be
binding until a hard copy has been manually signed by all parties.
Thank you.

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