I am trying to deploy jUDDI on Tomcat V5.5 with a SQLServer database, but
when using the happiness page the following error is reported:

DB connection was not aquired. (Cannot create JDBC driver of class '' for
connect URL 'null')

In order to deploy jUDDI I have:

a) Copied the webapp\juddi directory to Tomcat

b) Added the SQLServer JDBC jar files to the webapp\juddi\lib directory

c) Added the following to to host section of the Tomcat conf\server.xml file
(ie. a modified version of what I have seen elsewhere for using with MySQL):

<Context path="/juddi" docBase="juddi" debug="5" reloadable="true"
  crossContext="true">
  <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="localhost_juddiDB_log" suffix=".txt"
               timestamp="true"/>
  <Resource name="jdbc/juddiDB"
                 auth="Container"
                 type="javax.sql.DataSource"/>
  <ResourceParams name="jdbc/juddiDB">
    <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>juddi</value></parameter>
    <parameter><name>password</name><value>123456</value></parameter>
    <parameter>
      <name>driverClassName</name>
      <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
    </parameter>
    <parameter>
      <name>url</name>
      <value>jdbc:microsoft:sqlserver://localhost:1433;databaseName=juddi;se
lectMethod=cursor</value>
    </parameter>
    <parameter>
           <name>validationQuery</name>
           <value>select count(*) from PUBLISHER</value>
    </parameter>
  </ResourceParams>
</Context>

Any ideas of what is causing this problem would be appreciated.

Chris


..................................................................................................

This message and any attachments may contain OCC confidential
or proprietary information. If you are an unintended recipient: 

(i) immediately delete the information contained herein and contact the author; 
and 
(ii) do not disclose, distribute, or duplicate any information from this 
message or any 
of its attachments.


Reply via email to