List Info

Thread: Re: Re: jUDDI DataSource Validation problem




Re: Re: jUDDI DataSource Validation problem
user name
2007-08-01 08:19:28
Dear Tijomon Mathew:
add the following immediately above the </Host&gt; tag

<Context path=";/juddi&quot; docBase=&quot;juddi&quot; debug="5&quot; reloadable="true" crossContext=&quot;true&quot;>
 &nbsp;   &nbsp;  &nbsp;   <Logger className="org.apache.catalina.logger.FileLogger"
 &nbsp;   &nbsp;   &nbsp;   &nbsp;  &nbsp;   prefix=&quot;localhost_juddiDB_log" suffix=";.txt"
 &nbsp;   &nbsp;  &nbsp;    &nbsp;   &nbsp;  timestamp=&quot;true&quot;/>
 &nbsp;   &nbsp;  &nbsp;   <!--the Resource element will probably work better
&nbsp; &nbsp;  &nbsp;   &nbsp;   &nbsp;  for you on Tomcat 5+ if you simply use a Resource only tag with xml
   ;  &nbsp;   &nbsp;   &nbsp;  attributes as opposed to the nested ResourceParams and parameter
  ;   &nbsp;   &nbsp;   &nbsp;  elements--&gt;
 &nbsp;   &nbsp;   &nbsp;  &lt;Resource  ;  name=";jdbc/juddiDB" auth="Container&quot; type=";javax.sql.DataSource&quot; maxActive=";100" maxIdle=&quot;30"; maxWait=&quot;10000&quot;
   ;  &nbsp;   &nbsp;   &nbsp;  &nbsp;    &nbsp;  username=&quot;juddi&quot; password="juddi"
 &nbsp;   &nbsp;  &nbsp;    &nbsp;   &nbsp;   &nbsp;  driverClassName="com.mysql.jdbc.Driver&quot;
 &nbsp;  &nbsp;    &nbsp;   &nbsp;   &nbsp;  &nbsp;   url="jdbc:mysql://localhost:3306/juddi?autoReconnect=true"/>
   ;  &nbsp;   &nbsp;  <!-- <Resource name=&quot;jdbc/juddi" auth=";Container&quot; type="javax.sql.DataSource"
 &nbsp;  &nbsp;    &nbsp;   &nbsp;   &nbsp;  &nbsp;    &nbsp;  maxActive="100&quot; maxIdle="30" maxWait=&quot;10000&quot; username=&quot;juddi&quot; password="123456"; driverClassName=&quot;com.mysql.jdbc.Driver"
 &nbsp;  &nbsp;    &nbsp;   &nbsp;   &nbsp;  &nbsp;    &nbsp;  url="jdbc:mysql://localhost:3306/juddi?autoReconnect=true";/>-->;
 &nbsp;   &nbsp;  </Context>

please notice that username and password is the same "juddi"; don't change it.

regards
Bo Chen Wu

On Wed, 01 Aug 2007 01:27:57 -0700 juddi-userws.apache.org wrote:
Hi,

We are facing the same problem ,if you get any information regarding the
error please let us know.we didn't make any modification in user.xml and
server.xml page.Do we need to make any changes in those files.


Thanks and regards
Tijomon Matehw


Follwing is the out pu twe are getting when we try to run the happyjuddi.jsp
page


Happy jUDDI!
jUDDI Version Information
jUDDI Version: 0.9rc4
Build Date:    June 14, 2005 6:16:00 AM IST
UDDI Version:  2.0

jUDDI Dependencies: Class Files & Libraries

Looking for: org.apache.juddi.IRegistry+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFlibjuddi.jarLooking

for: org.apache.axis.transport.http.AxisServlet+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFlibaxis.jarLooking
for: org.apache.commons.discovery.Resource+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFlibcommons-discovery-0.2.jarLooking
for: org.apache.commons.logging.Log+Found in:
D:TijoSpagicapache-tomcat-5.5.23bincommons-logging-api.jarLooking for:
org.apache.log4j.Layout+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFliblog4j-1.2.8.jarLooking
for: javax.xml.soap.SOAPMessage+Found in an unknown locationLooking for:
javax.xml.rpc.Service+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFlibjaxrpc.jarLooking
for: com.ibm.wsdl.factory.WSDLFactoryImpl+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFlibwsdl4j-1.5.1.jarLooking
for: javax.xml.parsers.SAXParserFactory+Found in an unknown location

jUDDI Dependencies: Resource & Properties Files
Looking for: log4j.xml+Found in:
D:TijoSpagicapache-tomcat-5.5.23webappsjuddiWEB-INFclasseslog4j.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&#39;)
- SELECT COUNT(*) FROM PUBLISHER failed (null)


System Properties
awt.toolkit: sun.awt.windows.WToolkit
catalina.base: D:TijoSpagicapache-tomcat-5.5.23
catalina.home: D:TijoSpagicapache-tomcat-5.5.23
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: Cp1252
file.encoding.pkg: sun.io
file.separator: 
java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment
java.awt.printerjob: sun.awt.windows.WPrinterJob
java.class.path: C:Program

FilesJavajdk1.6.0libtools.jar;D:TijoSpagicapache-tomcat-5.5.23binbootstrap.jar
java.class.version: 50.0
java.endorsed.dirs: D:TijoSpagicapache-tomcat-5.5.23commonendorsed
java.ext.dirs: C:Program

FilesJavajdk1.6.0jrelibext;C:WINNTSunJavalibext
java.home: C:Program FilesJavajdk1.6.0jre

java.io.tmpdir: D:TijoSpagicapache-tomcat-5.5.23temp
java.library.path: C:Program

FilesJavajdk1.6.0bin;.;C:WINNTSunJavabin;C:WINNTsystem32;C:WINNT;C:Program
FilesDocumentumShared;C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C:Program
FilesJavajdk1.5.0_05bin;D:bea_sp6weblogic81serverlibantant.jar;C:Program
FilesJavajdk1.6.0bin;C:Program FilesQuickTimeQTSystem;D:Program
FilesMicrosoft.NETSDKv2.0;C:PROGRA~1ATTGraphvizbin;;C:PROGRA~2Graphvizbin;;D:TijoSpagicSpagicPROGRA~1ATTGraphvizbin;
java.naming.factory.initial: org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs: org.apache.naming
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.6.0-b105
java.specification.name: Java Platform API Specification
java.specification.vendor: Sun Microsystems Inc.
java.specification.version: 1.6
java.util.logging.config.file:
D:TijoSpagicapache-tomcat-5.5.23conflogging.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.6.0
java.vm.info: mixed mode, sharing
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.6.0-b105
line.separator: 

org.xml.sax.driver: org.apache.xerces.parsers.SAXParser
os.arch: x86
os.name: Windows XP
os.version: 5.1
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: C:Program

FilesJavajdk1.6.0jrelibresources.jar;C:Program
FilesJavajdk1.6.0jrelibrt.jar;C:Program
FilesJavajdk1.6.0jrelibsunrsasign.jar;C:Program
FilesJavajdk1.6.0jrelibjsse.jar;C:Program
FilesJavajdk1.6.0jrelibjce.jar;C:Program
FilesJavajdk1.6.0jrelibcharsets.jar;C:Program
FilesJavajdk1.6.0jreclasses
sun.boot.library.path: C:Program FilesJavajdk1.6.0jrebin
sun.cpu.endian: little
sun.cpu.isalist: pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386
i86

sun.desktop: windows
sun.io.unicode.encoding: UnicodeLittle
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: Cp1252
sun.management.compiler: HotSpot Client Compiler
sun.os.patch.level: Service Pack 2
tomcat.util.buf.StringCache.byte.enabled: true
user.country: US
user.dir: D:TijoSpagicapache-tomcat-5.5.23bin
user.home: C:Documents and Settingstijheth
user.language: en
user.name: tijheth
user.timezone: Asia/Calcutta
user.variant: 
vendor: Apache Software Foundation
vendor-url: http://xml.apache.org/xalan-j
version: 2.4.0



-- 
View this message in context:
http://www.nabble.com/jUDDI-DataSource-Validation-problem-tf1969144.html#a11941680
Sent from the jUDDI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------

To unsubscribe, e-mail: ws.apache.org')">juddi-user-unsubscribews.apache.org
For additional commands, e-mail: ws.apache.org')">juddi-user-helpws.apache.org






Thank You For Your Time.





Bo Chen Wu
Computer Engineering & Mathematic
Pennsylvania State University
bow5003psu.edu
(646)-861-9905
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )