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 �yvind Habberstad <oy...@hotmail.com> on 2001/01/16 13:14:46 UTC

Exception when deploying service.

Hi,

I get the following exception when trying to deploy the addressbook example 
from the commandoline:

C:\wstk-2.1\soap-2_0\samples\addressbook>java 
org.apache.soap.server.ServiceManagerClient 
http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

Exception in thread "main" java.lang.NoSuchMethodError
at 
org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescriptor.java:398)
at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:188)

I’m using Apache 1.3.14, Tomcat 3.2.1, IBM Web Services Toolkit 2.1, JDK 1.3 
and W2K.

My classpath contains:
c:\wstk-2.1\lib\xerces.jar;
c:\wstk-2.1\soap-2_0\lib\soap.jar;
c:\jdk1.3\lib\tools.jar;
c:\wstk-2.1\soap-2_0\;
c:\wstk-2.1\lib\bsf.jar;
c:\wstk-2.1\soap-2_0\lib\js.jar

Any help is appreciated!

Thanks.

Oyvind.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Re: Exception when deploying service.

Posted by Moshe Rubnov <mr...@flowsoft.co.il>.
Hello Øyvind,

Tuesday, January 16, 2001, 2:14:46 PM, you wrote:

ØH> Hi,

ØH> I get the following exception when trying to deploy the addressbook example 
ØH> from the commandoline:

ØH> C:\wstk-2.1\soap-2_0\samples\addressbook>java 
ØH> org.apache.soap.server.ServiceManagerClient 
ØH> http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

ØH> Exception in thread "main" java.lang.NoSuchMethodError
ØH> at 
ØH> org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescriptor.java:398)
ØH> at 
ØH> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:188)

ØH> I’m using Apache 1.3.14, Tomcat 3.2.1, IBM Web Services Toolkit 2.1, JDK 1.3 
ØH> and W2K.

ØH> My classpath contains:
ØH> c:\wstk-2.1\lib\xerces.jar;
ØH> c:\wstk-2.1\soap-2_0\lib\soap.jar;
ØH> c:\jdk1.3\lib\tools.jar;
ØH> c:\wstk-2.1\soap-2_0\;
ØH> c:\wstk-2.1\lib\bsf.jar;
ØH> c:\wstk-2.1\soap-2_0\lib\js.jar

ØH> Any help is appreciated!

ØH> Thanks.

ØH> Oyvind.

ØH> _________________________________________________________________________
ØH> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Try to change the tomcat.bat in the following way:

rem set CLASSPATH=%CLASSPATH%;%cp%
set CLASSPATH=%cp%;%CLASSPATH%

and there is a good chance the it works.

Good luck,

-- 
Best regards,
 Moshe                            mailto:mrubnov@flowsoft.co.il