tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Mattos <matt...@yahoo.com>
Subject RE: Testing Datasources
Date Thu, 31 Oct 2002 20:49:09 GMT

Ah... interesting. No, I can't see them loading, but they're set up at the app and global
level. Why wouldn't they be loading?
 
Here's a snippet from server.xml....
    <ResourceParams name="jdbc/indemand">
      <parameter>
        <name>validationQuery</name>
        <value>select top 100 * from Subscriber</value>
      </parameter>
      <parameter>
        <name>url</name>
       <value>jdbc:microsoft:sqlserver://vc34:1433;databaseName=TibcoClearHouse</value>
      </parameter>
      <parameter>
        <name>password</name>
        <value>tibco_user</value>
      </parameter>
      <parameter>
        <name>maxActive</name>
        <value>12</value>
      </parameter>
      <parameter>
        <name>maxWait</name>
        <value>5000</value>
      </parameter>
      <parameter>
        <name>driverClassName</name>
        <value>C:\Tomcat4.1\common\lib\msbase.jar;C:\Tomcat4.1\common\lib\mssqlserver.jar;C:\Tomcat4.1\common\lib\msutil.jar;</value>
      </parameter>
      <parameter>
        <name>username</name>
        <value>tibco_user</value>
      </parameter>
    </ResourceParams>
Thoughts?
 pqin@shareowner.com wrote:Where do you setup your datasource? If Global or default context,
you should
be able to see JNDI reference loading when you start your tomcat.

Regards,


Phillip Qin

Software Developer
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291


-----Original Message-----
From: John Mattos [mailto:mattosj@yahoo.com] 
Sent: October 31, 2002 3:33 PM
To: Tomcat Users List
Subject: Testing Datasources


Is there as easy way to test datasources I set up in server.xml (or in the
Administrator app)?


John L. Mattos
302 East 88th Street Apt #5B
New York, New York 10128-4939
(M) (917) 202-8450
(www) http://www.mattos.ws


---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now



---------------------------------
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message