axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Blair <hrh...@yahoo.com>
Subject Re: Problem with running example with apache axis
Date Tue, 17 Feb 2004 18:30:07 GMT
Hi there,
 
Is your app server (i.e. TomCat) running?
 
Regards,
Tony.

Andreas Roppel <a.roppel@web.de> wrote:
@font-face {	font-family: Tahoma;}@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt
72.0pt 90.0pt; }P.MsoNormal {	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New
Roman"}LI.MsoNormal {	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"}DIV.MsoNormal
{	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"}A:link {	COLOR: blue;
TEXT-DECORATION: underline}SPAN.MsoHyperlink {	COLOR: blue; TEXT-DECORATION: underline}A:visited
{	COLOR: blue; TEXT-DECORATION: underline}SPAN.MsoHyperlinkFollowed {	COLOR: blue; TEXT-DECORATION:
underline}SPAN.EmailStyle17 {	COLOR: navy; FONT-FAMILY: Arial}DIV.Section1 {	page: Section1}Hi,
I have set the axisclasspath in the runtimenvironment like you said, but now comes another
errormessage:
"java.net.ConnectException: Connection refused: connect"
 
What can I do?
thanks
----- Original Message ----- 
From: Saunders, Roger 
To: axis-user@ws.apache.org 
Sent: Tuesday, February 17, 2004 2:30 PM
Subject: RE: Problem with running example with apache axis



Put . in your classpath:

 

set axisclasspath=.;%axisclasspath%

 

works for me

 

Roger

 

-----Original Message-----
From: a.roppel@web.de [mailto:a.roppel@web.de] 
Sent: 17 February 2004 13:18
To: axis-user@ws.apache.org
Subject: Problem with running example with apache axis

 

Hi,


sorry when message is double.


 


I have a problem to run an example from http://ws.apache.org/axis/java/user-guide.html?


 


See the cmd:


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


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


 


C:\axis-1_1>java -cp %axisclasspath% samples.userguide.example1.TestClient
Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/example1/TestClient


 


C:\axis-1_1>echo %axisclasspath%
C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\commons-discovery.jar;C:\axis-1_1\lib\commons-logging.jar;C:\axis-1_1
\lib\jaxrpc.jar;C:\axis-1_1\lib\saaj.jar;C:\axis-1_1\lib\log4j-1.2.8.jar;C:\axis-1_1\lib\xml-apis.jar;C:\axis-
1_1\lib\xercesImpl.jar


 


C:\axis-1_1>echo %axis_home%
C:\axis-1_1


 


C:\axis-1_1>echo %tomcat_home%
C:\Tomcat4.1


 


C:\axis-1_1>echo %path%
.;C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03;C:\axis-1_1;C:\ant-1.6.0\bin;C:\jwsdp-1.3\bin;C:\jwsdp-1.3;C:\WINDOWS\
system32;C:\WINDOWS;C:\WINDOWS\system32\wbem


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


 


Does somebodey know, why I'm getting the exception?


 


regards,


chiliman




---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
Mime
View raw message