You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Yu, Hongfan" <ho...@SierraSystems.com> on 2003/01/06 19:07:56 UTC

.Net and Java integration, xerces version problem?

Happy new year.
 
I'm working on the .NET and Java integration using SOAP (first time working on this ).
 
I'll  very appreciate if anyone could give me help.
 
for last few days, I tried to deploy the soap service using:
 
java org.apache.soap.server.ServiceManagerClient 
  http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
 
I always get the exception:
 
Exception in thread "main" java.lan.NoClassDefFoundError: org/apache/soap/server/ServiceManagerClient.
 
...........
 
I set my classpath:
 
 .;C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar;C:\jakarta-tomcat-4.1.18\webapps\soap.jar;C:\soap-2_3_1;C:\jakarta-tomcat-4.1.18\common\lib\mail.jar;c:\jakarta-tomcat-4.1.18\common\lib\activation.jar;c:\j2sdk1.4.1_01;
 
my version 1.2.3  xerces.jar file is in
C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar
 
my soap.jar file is in:
C:\jakarta-tomcat-4.1.18\webapps\soap.jar
 
my mail.jar  is in
 
C:\jakarta-tomcat-4.1.18\common\lib\mail.jar;
 
the activation.jar file is in
 
c:\jakarta-tomcat-4.1.18\common\lib\activation.jar
 
Also I  did  the following  when install soap
 
jar -xfv c:\soap-2_3_1\webapps\soap.war
 
 
I was told I must use xerces version 1.2.3,  otherwise it will have the above problem, then I change the version from 2 to 1.2.3, but the problem is still out there.
I very appreciate you help
 
Thank you very much.
 
Hongfan
 
 

Re: .Net and Java integration, xerces version problem?

Posted by Scott Nichol <sn...@scottnichol.com>.
Xerces 2 is fine.

Do you really have C:\jakarta-tomcat-4.1.18\webapps\soap.jar?  Normally,
one only put the soap.war file in the webapps directory.  If soap.jar is
really in that directory, yet the JVM is not finding
ServiceManagerClient, it is possible that soap.jar is corrupt.

Scott Nichol

----- Original Message -----
From: "Yu, Hongfan" <ho...@SierraSystems.com>
To: <so...@xml.apache.org>
Sent: Monday, January 06, 2003 1:07 PM
Subject: .Net and Java integration, xerces version problem?


Happy new year.

I'm working on the .NET and Java integration using SOAP (first time
working on this ).

I'll  very appreciate if anyone could give me help.

for last few days, I tried to deploy the soap service using:

java org.apache.soap.server.ServiceManagerClient
  http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

I always get the exception:

Exception in thread "main" java.lan.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient.

...........

I set my classpath:


.;C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar;C:\jakarta-tomcat-4.1.1
8\webapps\soap.jar;C:\soap-2_3_1;C:\jakarta-tomcat-4.1.18\common\lib\mai
l.jar;c:\jakarta-tomcat-4.1.18\common\lib\activation.jar;c:\j2sdk1.4.1_0
1;

my version 1.2.3  xerces.jar file is in
C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar

my soap.jar file is in:
C:\jakarta-tomcat-4.1.18\webapps\soap.jar

my mail.jar  is in

C:\jakarta-tomcat-4.1.18\common\lib\mail.jar;

the activation.jar file is in

c:\jakarta-tomcat-4.1.18\common\lib\activation.jar

Also I  did  the following  when install soap

jar -xfv c:\soap-2_3_1\webapps\soap.war


I was told I must use xerces version 1.2.3,  otherwise it will have the
above problem, then I change the version from 2 to 1.2.3, but the
problem is still out there.
I very appreciate you help

Thank you very much.

Hongfan




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: .Net and Java integration, xerces version problem?

Posted by Scott Nichol <sn...@scottnichol.com>.
Xerces 2 is fine.

Do you really have C:\jakarta-tomcat-4.1.18\webapps\soap.jar?  Normally,
one only put the soap.war file in the webapps directory.  If soap.jar is
really in that directory, yet the JVM is not finding
ServiceManagerClient, it is possible that soap.jar is corrupt.

Scott Nichol

----- Original Message -----
From: "Yu, Hongfan" <ho...@SierraSystems.com>
To: <so...@xml.apache.org>
Sent: Monday, January 06, 2003 1:07 PM
Subject: .Net and Java integration, xerces version problem?


Happy new year.

I'm working on the .NET and Java integration using SOAP (first time
working on this ).

I'll  very appreciate if anyone could give me help.

for last few days, I tried to deploy the soap service using:

java org.apache.soap.server.ServiceManagerClient
  http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

I always get the exception:

Exception in thread "main" java.lan.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient.

...........

I set my classpath:


.;C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar;C:\jakarta-tomcat-4.1.1
8\webapps\soap.jar;C:\soap-2_3_1;C:\jakarta-tomcat-4.1.18\common\lib\mai
l.jar;c:\jakarta-tomcat-4.1.18\common\lib\activation.jar;c:\j2sdk1.4.1_0
1;

my version 1.2.3  xerces.jar file is in
C:\jakarta-tomcat-4.1.18\common\lib\xerces.jar

my soap.jar file is in:
C:\jakarta-tomcat-4.1.18\webapps\soap.jar

my mail.jar  is in

C:\jakarta-tomcat-4.1.18\common\lib\mail.jar;

the activation.jar file is in

c:\jakarta-tomcat-4.1.18\common\lib\activation.jar

Also I  did  the following  when install soap

jar -xfv c:\soap-2_3_1\webapps\soap.war


I was told I must use xerces version 1.2.3,  otherwise it will have the
above problem, then I change the version from 2 to 1.2.3, but the
problem is still out there.
I very appreciate you help

Thank you very much.

Hongfan