Hi,
I'm trying to get jUDDI running on our Tomcat application server (Tomcat
5.5.17) with "mysql-standard-5.0.22-linux-i686" (both running on Linux
redhat 3). I've followed the README instructions that came with the
jUDDI package for creating the tables for MySql, then I followed the
instructions from the following link to deploy jUDDI on the Tomcat server:
http://wiki.apache.org/ws/Deploy_jUDDI_on_Tomcat_and_MySQL
I can go through the command line interface and access MySql databases
and query the PUBLISHER table and it does output the entries that I have
manually put in there but I can't seem to access MySql via Tomcat.
When I access the happyjuddi link below (we're using SSL), I get the
following error/output (see below). The red text is what I'm trying to
solve:
- DB connection was not aquired. (Cannot create JDBC driver of class ''
for connect URL 'null')
- SELECT COUNT(*) FROM PUBLISHER failed (null)
https://localhost:8443/juddi/happyjuddi.jsp
I have the "mysql-connector-java-3.1.13-bin.jar" file residing under the
$TOMCAT_HOME/common/lib directory.
Thank you in advance for your help - Alan
Happy jUDDI!
jUDDI Version Information
*jUDDI Version:* 0.9rc4
*Build Date:* July 18, 2006 5:37:10 PM EDT
*UDDI Version:* 2.0
jUDDI Dependencies: Class Files & Libraries
*Looking for*: org.apache.juddi.IRegistry
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/juddi.jar
*Looking for*: org.apache.axis.transport.http.AxisServlet
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/axis.jar
*Looking for*: org.apache.commons.discovery.Resource
+Found in:
/opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/commons-discovery-0.2.jar
*Looking for*: org.apache.commons.logging.Log
+Found in: /opt/apache-tomcat-5.5.17/bin/commons-logging-api.jar
*Looking for*: org.apache.log4j.Layout
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/log4j-1.2.8.jar
*Looking for*: javax.xml.soap.SOAPMessage
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/saaj.jar
*Looking for*: javax.xml.rpc.Service
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/jaxrpc.jar
*Looking for*: com.ibm.wsdl.factory.WSDLFactoryImpl
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/lib/wsdl4j-1.5.1.jar
*Looking for*: javax.xml.parsers.SAXParserFactory
+Found in an unknown location
jUDDI Dependencies: Resource & Properties Files
*Looking for*: log4j.xml
+Found in: /opt/apache-tomcat-5.5.17/webapps/juddi/WEB-INF/classes/log4j.xml
jUDDI DataSource Validation
+ Got a JNDI Context!
+ Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB)
- DB connection was not aquired. (Cannot create JDBC driver of class '' for
connect URL 'null')
- SELECT COUNT(*) FROM PUBLISHER failed (null)
System Properties
*catalina.base*: /opt/apache-tomcat-5.5.17
*catalina.home*: /opt/apache-tomcat-5.5.17
*catalina.useNaming*: true
*common.loader*:
${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar
*file.encoding*: UTF-8
*file.encoding.pkg*: sun.io
*file.separator*: /
*java.awt.graphicsenv*: sun.awt.X11GraphicsEnvironment
*java.awt.printerjob*: sun.print.PSPrinterJob
*java.class.path*:
:/opt/apache-tomcat-5.5.17/bin/bootstrap.jar:/opt/apache-tomcat-5.5.17/bin/commons-logging-api.jar
*java.class.version*: 49.0
*java.endorsed.dirs*: /opt/apache-tomcat-5.5.17/common/endorsed
*java.ext.dirs*: /opt/jdk1.5.0_05/jre/lib/ext
*java.home*: /opt/jdk1.5.0_05/jre
*java.io.tmpdir*: /opt/apache-tomcat-5.5.17/temp
*java.library.path*:
/opt/jdk1.5.0_05/jre/lib/i386/client:/opt/jdk1.5.0_05/jre/lib/i386:/opt/jdk1.5.0_05/jre/../lib/i386
*java.naming.factory.initial*: org.apache.naming.java.javaURLContextFactory
*java.naming.factory.url.pkgs*: org.apache.naming
*java.runtime.name*: Java(TM) 2 Runtime Environment, Standard Edition
*java.runtime.version*: 1.5.0_05-b05
*java.specification.name*: Java Platform API Specification
*java.specification.vendor*: Sun Microsystems Inc.
*java.specification.version*: 1.5
*java.util.logging.config.file*:
/opt/apache-tomcat-5.5.17/conf/logging.properties
*java.util.logging.manager*: org.apache.juli.ClassLoaderLogManager
*java.vendor*: Sun Microsystems Inc.
*java.vendor.url*: http://java.sun.com/
*java.vendor.url.bug*: http://java.sun.com/cgi-bin/bugreport.cgi
*java.version*: 1.5.0_05
*java.vm.info*: mixed mode
*java.vm.name*: Java HotSpot(TM) Client VM
*java.vm.specification.name*: Java Virtual Machine Specification
*java.vm.specification.vendor*: Sun Microsystems Inc.
*java.vm.specification.version*: 1.0
*java.vm.vendor*: Sun Microsystems Inc.
*java.vm.version*: 1.5.0_05-b05
*line.separator*:
*os.arch*: i386
*os.name*: Linux
*os.version*: 2.4.21-37.EL
*package.access*:
sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
*package.definition*:
sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
*path.separator*: :
*server.loader*:
${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
*shared.loader*:
${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
*sun.arch.data.model*: 32
*sun.boot.class.path*:
/opt/apache-tomcat-5.5.17/common/endorsed/xercesImpl.jar:/opt/apache-tomcat-5.5.17/common/endorsed/xml-apis.jar:/opt/jdk1.5.0_05/jre/lib/rt.jar:/opt/jdk1.5.0_05/jre/lib/i18n.jar:/opt/jdk1.5.0_05/jre/lib/sunrsasign.jar:/opt/jdk1.5.0_05/jre/lib/jsse.jar:/opt/jdk1.5.0_05/jre/lib/jce.jar:/opt/jdk1.5.0_05/jre/lib/charsets.jar:/opt/jdk1.5.0_05/jre/classes
*sun.boot.library.path*: /opt/jdk1.5.0_05/jre/lib/i386
*sun.cpu.endian*: little
*sun.cpu.isalist*:
*sun.io.unicode.encoding*: UnicodeLittle
*sun.jnu.encoding*: UTF-8
*sun.management.compiler*: HotSpot Client Compiler
*sun.os.patch.level*: unknown
*tomcat.util.buf.StringCache.byte.enabled*: true
*user.country*: US
*user.dir*: /opt
*user.home*: /root
*user.language*: en
*user.name*: root
*user.timezone*: America/New_York
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]