I finally found my CLASSPATH was not set correctly. The path to mail.jar
was wrong. After made the correction, everything is fine.
Thanks.
Bin He
[EMAIL PROTECTED]
m To: [EMAIL PROTECTED]
cc:
03/03/2003 04:27 Subject: RE: ServiceManagerClient
error
PM
Please respond to
soap-user
I forgot to tell you I followed Scott Nichol's instruction at
http://www.scottnichol.com/apachesoapinstall.htm
I tested the soap server by the pointing my browser to:
1. http://localhost:8080/soap/index.html.
2. http://localhost:8080/soap/servlet/rpcrouter
Both returned correctly. Any suggestions?
Thanks!
Bin He
[EMAIL PROTECTED]
m To:
[EMAIL PROTECTED]
cc:
03/03/2003 03:46 Subject: RE:
ServiceManagerClient error
PM
Please respond to
soap-user
Thanks for the help but I got the same error message. My tomcat may not be
configured correctly. What do I need to set in tomcat-4.1.18 in order to
try the soap addressbook examples?
Bin He
"Gu, Feng"
<[EMAIL PROTECTED] To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
s.com> cc:
Subject: RE:
ServiceManagerClient error
03/03/2003 03:33
PM
Please respond to
soap-user
Try this
java -classpath
c:\soap-2_3\lib\soap.jar;c:\soap-2_3\lib\mail.jar;c:
\soap-2_3\lib\activation
.jar;c:\soap-2_3 org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: ServiceManagerClient error
Hi, I am trying to set up soap on my win XP computer. I have successfully
installed tomcat-4.1.18. My CLASSPATH is this:
CLASSPATH=C:\jakarta-tomcat-4.1.18\common\endorsed\xmlParserAPIs.jar;C:
\jakarta-tomcat-4.1.18\common\endorsed\xercesImpl
.jar;C:\soap-2_3\lib\soap.jar;C:\soap-2_3;C:
\jakarta-tomcat-4.1.18\lib\mail.jar;C:
\jakarta-tomcat-4.1.18\lib\activation.jar
I started tomcat then ran ServiceManagerClient but got the following error.
Could somebody tell me what I am missing? Thanks.
C:\soap-2_3\samples\addressbook>java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcr
outer deploy DeploymentDescriptor.xml
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/mail/MessagingException
at
org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClient.java
:81)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
16)
C:\soap-2_3\samples\addressbook>
Bin He
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and
confidential. Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is
unauthorized.
If you have received this e-mail in error, please reply to sender and
delete
it from your system immediately.