[prev in list] [next in list] [prev in thread] [next in thread]
List: juddi-user
Subject: RE: Uddi4j's Problem
From: "Brian Gao" <bgao () nortel ! com>
Date: 2005-03-02 2:14:58
Message-ID: 9428043D7D160A48A21EA5F45F955E0618566E () zcarhxm0 ! corp ! nortel ! com
[Download RAW message or body]
Steve.
It works now.
Thanks
Brian
-----Original Message-----
From: Steve Viens [mailto:steve@viens.net]
Sent: 2005Äê3Ô 1ÈÕ 19:50
To: juddi-user@ws.apache.org
Subject: RE: Uddi4j's Problem
Brian,
The jar file that accompanies Apache SOAP (soap.jar) is not in your
classpath.
Steve
-----Original Message-----
From: Brian Gao [mailto:bgao@nortel.com]
Sent: Tuesday, March 01, 2005 7:34 PM
To: 'juddi-user@ws.apache.org'
Subject: RE: Uddi4j's Problem
Thanks Andy
But after I added common-log in CLASSPATH and changed SOAP transport
to "TransportClassName=org.uddi4j.transport.ApacheSOAPTransport".
I got this message:
dcnlocal@pkany178:/opt/uddi4j/samples$
<mailto:dcnlocal@pkany178:/opt/uddi4j/samples$> java FindBusinessExample
*********** Running FindBusinessExample ***********
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/SOAPException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.uddi4j.transport.TransportFactory.getTransport(Unknown
Source)
at org.uddi4j.client.UDDIProxy.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(FindBusinessExample.java:77)
at FindBusinessExample.main(FindBusinessExample.java:47)
Any ideas?
Thanks again
Brian
-----Original Message-----
From: Andy Cutright [mailto:Andy.Cutright@borland.com]
Sent: 2005Äê3Ô 1ÈÕ 18:59
To: juddi-user@ws.apache.org
Subject: RE: Uddi4j's Problem
i don't believe you have the apache commons logging jar in your classpath.
http://jakarta.apache.org/commons/logging/
<http://jakarta.apache.org/commons/logging/>
also, i'd recommend you configure UDDI4J to use the SOAP transport, not the
ApacheAxis transport. this is taken from samples.prop, the file that is used
to configure the UDDI4J samples.
# --------------------------------------------------------------
# Transport classname.
TransportClassName=org.uddi4j.transport.ApacheSOAPTransport
# TransportClassName=org.uddi4j.transport.ApacheAxisTransport
changing your transport will probably remove the dependency on
commons-logging
cheers,
andy
_____
From: Brian Gao [mailto:bgao@nortel.com]
Sent: Tuesday, March 01, 2005 2:02 PM
To: juddi-user@ws.apache.org
Subject: Uddi4j's Problem
Hi Sir,
I am going to set up my own UDDI registry. I have the followings installed:
J2SDK 1.5
Tomcat 5.5.7
Axis 1.2RC2
Ant 1.6.2
Postgresdql 7.4.6
Juddi 0.9rc3
Uddi4j 2.0.2
Everything's Ok, but After I tried uddi4j sample code I got this message:
*********** Running FindBusinessExample ***********
TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons.logging.LogFactory
at
org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)
at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:4
1)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.
java:33)
at
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.<init>(Service.java:113)
at org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)
at org.uddi4j.transport.TransportBase.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.send(Unknown Source)
at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
at FindBusinessExample.run(Unknown Source)
at FindBusinessExample.main(Unknown Source)
Any ideas?
Thanks in advance
Brian
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff
size=2>Steve.</FONT></SPAN></DIV>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff size=2>It works
now.</FONT></SPAN></DIV>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=053181402-02032005><FONT face=ËÎÌå color=#0000ff
size=2>Brian</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Steve Viens
[mailto:steve@viens.net] <BR><B>Sent:</B> 2005Äê3Ô 1ÈÕ 19:50<BR><B>To:</B>
juddi-user@ws.apache.org<BR><B>Subject:</B> RE: Uddi4j's Problem
<BR><BR></FONT></DIV>
<DIV><SPAN class=371003900-02032005><FONT face=Arial color=#0000ff
size=2>Brian,</FONT></SPAN></DIV>
<DIV><SPAN class=371003900-02032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371003900-02032005><FONT face=Arial color=#0000ff size=2>The
jar file that accompanies Apache SOAP (soap.jar) is not in your
classpath.</FONT></SPAN></DIV>
<DIV><SPAN class=371003900-02032005><SPAN class=371003900-02032005><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV></SPAN>
<DIV><SPAN class=371003900-02032005><FONT face=Arial color=#0000ff
size=2>Steve</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Brian Gao
[mailto:bgao@nortel.com] <BR><B>Sent:</B> Tuesday, March 01, 2005 7:34
PM<BR><B>To:</B> 'juddi-user@ws.apache.org'<BR><B>Subject:</B> RE: Uddi4j's
Problem <BR><BR></FONT></DIV>
<DIV><SPAN class=030572900-02032005><FONT face="Comic Sans MS" color=#0000ff
size=2>Thanks Andy</FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face="Comic Sans MS" color=#0000ff
size=2>But after I added common-log in CLASSPATH and changed SOAP
transport</FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT color=#0000ff size=2><FONT
face="Comic Sans MS">to "<SPAN class=762045523-01032005><FONT color=#0000ff
size=2>TransportClassName=org.uddi4j.transport.ApacheSOAPTransport".</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face="Comic Sans MS" color=#0000ff
size=2><SPAN class=762045523-01032005>I got this
message:</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face="Comic Sans MS" color=#0000ff
size=2><SPAN class=762045523-01032005></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005><A
href="mailto:dcnlocal@pkany178:/opt/uddi4j/samples$">dcnlocal@pkany178:/opt/uddi4j/samples$</A> \
java FindBusinessExample</SPAN></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005>*********** Running
FindBusinessExample ***********<BR>Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/soap/SOAPException<BR>
at java.lang.Class.forName0(Native
Method)<BR> at
java.lang.Class.forName(Class.java:164)<BR> \
at org.uddi4j.transport.TransportFactory.getTransport(Unknown
Source)<BR> at
org.uddi4j.client.UDDIProxy.send(Unknown
Source)<BR> at
org.uddi4j.client.UDDIProxy.find_business(Unknown
Source)<BR> at
FindBusinessExample.run(FindBusinessExample.java:77)<BR> \
at
FindBusinessExample.main(FindBusinessExample.java:47)</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005>Any ideas?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005>Thanks
again</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=030572900-02032005><FONT face=Arial color=#0000ff
size=2><SPAN class=762045523-01032005>Brian</SPAN></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Andy
Cutright [mailto:Andy.Cutright@borland.com] <BR><B>Sent:</B> 2005Äê3Ô 1ÈÕ
18:59<BR><B>To:</B> juddi-user@ws.apache.org<BR><B>Subject:</B> RE:
Uddi4j's Problem <BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>i don't believe you have the apache commons
logging jar in your classpath. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2><A
href="http://jakarta.apache.org/commons/logging/">http://jakarta.apache.org/commons/logging/</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>also, i'd recommend you configure UDDI4J to use the
SOAP transport, not the ApacheAxis transport. this is taken from
samples.prop, the file that is used to configure the UDDI4J samples.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>#
--------------------------------------------------------------<BR>#
Transport classname. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff
size=2>TransportClassName=org.uddi4j.transport.ApacheSOAPTransport<BR>#
TransportClassName=org.uddi4j.transport.ApacheAxisTransport</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>changing your transport will probably remove the
dependency on commons-logging</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762045523-01032005><FONT face=Arial
color=#0000ff size=2>andy </FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; \
MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Brian Gao [mailto:bgao@nortel.com]
<BR><B>Sent:</B> Tuesday, March 01, 2005 2:02 PM<BR><B>To:</B>
juddi-user@ws.apache.org<BR><B>Subject:</B> Uddi4j's Problem
<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face="Comic Sans MS" color=#0000ff size=2>Hi Sir,</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff size=2>I am going to set up
my own UDDI registry. I have the followings installed:</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>J2SDK 1.5</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>Tomcat 5.5.7</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>Axis 1.2RC2</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>Ant 1.6.2</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>Postgresdql 7.4.6</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff size=2>Juddi 0.9rc3</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff size=2>Uddi4j 2.0.2</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff size=2>Everything's Ok, but
After I tried uddi4j sample code I got this message:</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2> </FONT> </P>
<P><FONT face="Comic Sans MS" color=#0000ff size=2>*********** Running
FindBusinessExample ***********</FONT> <BR><FONT face="Comic Sans MS"
color=#0000ff size=2>TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff size=2>Exception in thread "main"
java.lang.NoClassDefFoundError:
org.apache.commons.logging.LogFactory</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)</FONT> \
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)</FONT> \
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
java.security.AccessController.doPrivileged(Native Method)</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)</FONT> \
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)</FONT> \
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)</FONT> \
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.client.Service.getAxisClient(Service.java:104)</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.apache.axis.client.Service.<init>(Service.java:113)</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
org.uddi4j.transport.TransportBase.send(Unknown Source)</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff
size=2> at
org.uddi4j.client.UDDIProxy.send(Unknown Source)</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff
size=2> at
org.uddi4j.client.UDDIProxy.find_business(Unknown Source)</FONT>
<BR><FONT face="Comic Sans MS" color=#0000ff
size=2> at
FindBusinessExample.run(Unknown Source)</FONT> <BR><FONT
face="Comic Sans MS" color=#0000ff
size=2> at
FindBusinessExample.main(Unknown Source)</FONT> </P>
<P><FONT face="Comic Sans MS" color=#0000ff size=2>Any ideas?</FONT>
</P>
<P><FONT face="Comic Sans MS" color=#0000ff size=2>Thanks in
advance</FONT> </P>
<P><FONT face="Monotype Corsiva" color=#0000ff size=5>Brian
</FONT><BR><FONT face="Comic Sans MS" color=#0000ff></FONT>
</P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic