You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by "Meloro, John" <Me...@Pragmatics.com> on 2004/04/19 14:22:56 UTC
RE: help
Lets start by looking at your happyjuddi.jsp output.
Please send me a copy in an email.
I am also sending a copy of this to the juddi-user mailing list and Steve V.
The mailing list will allow other jUDDI users to comment and provide input.
Steve V. is one of the primary developers of jUDDI.
-----Original Message-----
From: ÁõÄ [mailto:liumo@bit.edu.cn]
Sent: Saturday, April 17, 2004 11:44 PM
To: MeloroJ@Pragmatics.com
Subject: help
hi,John
Thanks for your precious help. I will be really grateful if you guide me
.Now I am
using Tomcat4.1 with juddi0.8.0 and mysql,and I can run happyjuddi.jsp
well.But
when I run FindBusinessExample I fail.
see the error showed in tomcat
"cannot load JDBC driver class 'null' java.lang.nullpointerException".
I have write set
CLASSPATH=%CLASSPATH%;C:\system\mysql-jdbc\mysql-connector-java-3.0.6-stable
-bin.j
ar in setclasspach.bat and include mysql-connector-java-3.0.6-stable-bin.jar
in
tomcathome/commom/lib.
And configure server.xml as the follow:
<DefaultContext reloadable="true" crossContext="true">
<Resource name="jdbc/juddiDB" scope="Shareable"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/juddiDB">
<parameter>
<name>url</name>
<value>
jdbc:mysql://localhost:3306/jUDDI?autoReconnect=true;DatabaseName=juddi;user
=juddi
;password=password
</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
</ResourceParams>
</DefaultContext>
And the error showed in JBuilder9
*********** Running FindBusinessExample ***********
Response body:
<Fault><faultstring/></Fault>
at org.uddi4j.UDDIElement.<init>(Unknown Source)
at org.uddi4j.response.BusinessList.<init>(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(FindBusinessExample.java:76)
at FindBusinessExample.main(FindBusinessExample.java:46)
May you tell me what the problem is ?
Thank you very much!