Change ur classpath settings in the tomcat.sh/bat file or the webserver that
u r using. Read the documentation, where it says to change the classpath
settings in the webserver. It goes like this : 
 
*****************************************************
IMPORTANT: Tomcat comes with an XML parser (lib/xml.jar) which has the DOM
level 1 interfaces. Even if you put Xerces 1.1.2's xerces.jar in your
classpath, the wrong interfaces are found by any Java code running in Tomcat
because the shell script / batch file that runs Tomcat puts the user's
classpath at the end. So, you must edit tomcat.sh or tomcat.bin in the bin/
directory and put xerces.jar at the BEGINNING of the classpath the script
builds. 

If you run startup.bat, then line 38 of tomcat.bat should look like this:

set CLASSPATH=path-to-xerces\xerces.jar;%CLASSPATH%;%cp%

If you run startup.sh, add the following after line 111:

CLASSPATH=path-to-xerces/xerces.jar:${CLASSPATH}

The easiest way to set up for Tomcat is to add a <Context> to
conf/server.xml:

<Context path="/soap" docBase="path-to-apache-soap/webapps/soap"

         debug="1" reloadable="true">

</Context>

Now, make sure you have the jar files from the lib directory of this
distribution on your classpath and startup tomcat. Also you will want to
have on the classpath any of your code that you want to deploy as services.

*****************************************************
Hope this helps.....

Thanks, 
Kuntal Das 
Charles Schwab & Co., Inc. 
Wireless Technology 
45 Fremont, SF 
Email : [EMAIL PROTECTED] 
Phone : (415)667-4322 
Live life to the brim................. 

 
-----Original Message-----
From: Tony Ng [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 26, 2001 2:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Please help! urgent



I am sure, I have nothing else in the classpath. I even tried to set the
classpath at the dos prompt by typing set
classpath=c:\xerces-1_3_0\xerces.jar;c:\soap-2_0\lib\soap.jar;

But it still didn't work.

Please advise me further information.

Tony



>From: "Matthew J. Duftler" 
>Reply-To: [EMAIL PROTECTED] 
>To: 
>Subject: RE: Please help! urgent 
>Date: Fri, 25 May 2001 11:21:27 -0400 
> 
>Hi Tony, 
> 
>Make sure you don't have any old class-definitions on your classpath. It 
>looks like the code might be finding an older version of the 
>DeploymentDescriptor class. 
> 
>Thanks, 
>-Matt 
> -----Original Message----- 
> From: Tony Ng [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, May 24, 2001 8:38 PM 
> To: [EMAIL PROTECTED] 
> Subject: Please help! urgent 
> 
> 
> Hi, 
> 
> I got the following error message while I tried to run 
> 
> java org.apache.soap.server.ServiceManagerClient 
>http://localhost:8080/soap/servlet/rpcrouter deploy DeployDescriptor.xml 
> 
> Exception in thread "main" java.lang.NoSuchMethodError at 
>org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescriptor.ja
v 
>a:282) at 
>org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:
1 
>88) 
> 
> I have got the following when I typed tomcat start 
> 
> Including all jars in c:\jakarta-tomcat-3.2.1\lib in your CLASSPATH. 
> 
> Using CLASSPATH: 
>c:\xerces-1_3_0\xerces.jar;.;c:\soap-2_0\lib\soap.jar;c:\soap-2_0;c:\jakart
a 
>-tomcat-3.2.1\classes;c:\jakarta-tomcat-3.2.1\lib\ant.jar;c:\jakarta-tomcat
- 
>3.2.1\lib\jasper.jar;c:\jakarta-tomcat-3.2.1\lib\jaxp.jar;c:\jakarta-tomcat
- 
>3.2.1\lib\parser.jar;c:\jakarta-tomcat-3.2.1\lib\servlet.jar;c:\jakarta-tom
c 
>at-3.2.1\lib\webserver.jar;c:\jdk1.3\lib\tools.jar 
> 
> Starting Tomcat in new window 
> 
> Please help, I am sure I have done everything as instructed, I got it 
>works on one machine, but can't get it work on another machine with the
same 
>configuration. 
> 
> Regards, 
> 
> Tony 
> 
> 
> 
>---------------------------------------------------------------------------
- 
>-- 
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. 
> 
> 
> --------------------------------------------------------------------- To 
>unsubscribe, e-mail: [EMAIL PROTECTED] For additional 
>commands, email: [EMAIL PROTECTED] 

  _____  

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


--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, email: [EMAIL PROTECTED] 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to