You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Earle <ea...@notproducts.com> on 2003/05/29 19:39:02 UTC

[juddi-Users] need beginner help for uddi4j!

Hello everyone, sorry for reposting this here, but I have posted it to the
uddi4j list, but that seems to have a really small turnover rate, and it is
such a beginner question that I know you guys know!

(also thanks so much to Rupesh for his tutorial on juddi - it was great!)
heres the post...

I have just set up jUddi (thanks to a post there that explained in very
simple steps how to!) and I want to use the uddi4j samples to test it.

However. I am really just beginning to learn how java works (and am pretty
confused) and when I run
"java FindBusinessExamples", I get an exception:
java.lang.NoClassDefFoundError.

I did the "ant samples" which gave no errors. I also set up the variables in
the samples.prop file.

It says in the docs: include the uddi4j.jar in the class path, so I put the
uddi4j\lib after -classpath when I went to run it (is this right?!) and it
says include the SOAP transport - I installed the JavaWeb Services pack, and
I think the transport is Apache SOAP.

I guess my request is: can someone show me an example of how to run a
sample!

Any help really would be appreciated - It probably sounds like I am in way
over my head here, but I dont want to use the Microsoft personal UDDI - so
if I can get this, I'm on my way!

Again, sorry for the post here, but I hope you can help!

Earle.




RE: [juddi-Users] need beginner help for uddi4j!

Posted by Steve Viens <sv...@attbi.com>.
Earle, could you post the entire StackTrace you're getting? I assume
that you're seeing more than 'java.lang.NoClassDefFoundError'.

Also, post the entire java command you're using.

  java -classpath=c:\uddi4j.jar FindBusinessExamples ????

I'd also recommend using Apache Axis instead of Apache SOAP

Steve

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net] On Behalf Of Earle
Sent: Thursday, May 29, 2003 8:19 PM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] need beginner help for uddi4j!


Hello everyone, sorry for reposting this here, but I have posted it to
the uddi4j list, but that seems to have a really small turnover rate,
and it is such a beginner question that I know you guys know!

(also thanks so much to Rupesh for his tutorial on juddi - it was
great!) heres the post...

I have just set up jUddi (thanks to a post there that explained in very
simple steps how to!) and I want to use the uddi4j samples to test it.

However. I am really just beginning to learn how java works (and am
pretty
confused) and when I run
"java FindBusinessExamples", I get an exception:
java.lang.NoClassDefFoundError.

I did the "ant samples" which gave no errors. I also set up the
variables in the samples.prop file.

It says in the docs: include the uddi4j.jar in the class path, so I put
the uddi4j\lib after -classpath when I went to run it (is this right?!)
and it says include the SOAP transport - I installed the JavaWeb
Services pack, and I think the transport is Apache SOAP.

I guess my request is: can someone show me an example of how to run a
sample!

Any help really would be appreciated - It probably sounds like I am in
way over my head here, but I dont want to use the Microsoft personal
UDDI - so if I can get this, I'm on my way!

Again, sorry for the post here, but I hope you can help!

Earle.



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users





Re: [juddi-Users] need beginner help for uddi4j!

Posted by "rupesh ." <ru...@yahoo.com>.
To get the uddi4j samples to work, the key is to include your current dir (./) into classpath along with all the other jars (uddi4j, axis, etc.). Also you need all the jar files in my example below (if using apache axis). Otherwise you'll get the NoClassDefFound error:
 
java -cp  ./;../lib/axis.jar;../lib/uddi4j.jar;../lib/jaxrpc.jar;../lib/saaj.jar;../lib/xercesImpl.jar;../lib/xmlParserAPIs.jar;../lib/commons-logging.jar;../lib/log4j-1.2.4.jar;../lib/commons-discovery.jar;../lib/wsdl4j.jar;../lib/servlet.jar SaveBusinessExample

Earle <ea...@notproducts.com> wrote:
Hello everyone, sorry for reposting this here, but I have posted it to the
uddi4j list, but that seems to have a really small turnover rate, and it is
such a beginner question that I know you guys know!

(also thanks so much to Rupesh for his tutorial on juddi - it was great!)
heres the post...

I have just set up jUddi (thanks to a post there that explained in very
simple steps how to!) and I want to use the uddi4j samples to test it.

However. I am really just beginning to learn how java works (and am pretty
confused) and when I run
"java FindBusinessExamples", I get an exception:
java.lang.NoClassDefFoundError.

I did the "ant samples" which gave no errors. I also set up the variables in
the samples.prop file.

It says in the docs: include the uddi4j.jar in the class path, so I put the
uddi4j\lib after -classpath when I went to run it (is this right?!) and it
says include the SOAP transport - I installed the JavaWeb Services pack, and
I think the transport is Apache SOAP.

I guess my request is: can someone show me an example of how to run a
sample!

Any help really would be appreciated - It probably sounds like I am in way
over my head here, but I dont want to use the Microsoft personal UDDI - so
if I can get this, I'm on my way!

Again, sorry for the post here, but I hope you can help!

Earle.



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.