Hi Jonathan!

You should put the soap.jar file in the <tomcat_home>\common\lib directory
and add it to your classpath. To run the example, make sure that Tomcat has
been started before.

HTH,
Stefan

> -----Urspr�ngliche Nachricht-----
> Von:  Jonathan [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 10. April 2002 06:16
> An:   [EMAIL PROTECTED]
> Betreff:      SET UP PROBLEM - Cant deploy samples using script
> 
> Hello.
>  
> I installed the soap package inside a web application called "soap" inside
> Tomcat (inside WEB-INF/lib).  Is this correct?  Or should I install these
> jars inside the "lib" of the Tomcat srver itself?  
>  
> The samples stated that I put them on the Apache-SOAP listener's
> classpath, so I put them in the "classes" directory of my web application
> (inside WEB-INF/classes).  Is this correct?  I am now trying to deploy but
> am unable.  I get...
>  
> D:\tomcat403\webapps\soap\WEB-INF\classes\samples\addressbook>testit
> This test assumes a server URL of
> <http://localhost:8080/soap/servlet/rpcrouter>
> Deploying the addressbook service...
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/soap/server/ServiceManagerClient
> .
> Verify that it's there
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/soap/server/ServiceManagerClient
> .
> Getting info for "Mr Good"
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/addressbook/GetAddress
> .
> Adding "John Doe"
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/addressbook/PutAddress
> .
> Query "Mr Doe" to make sure it was added
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/addressbook/GetAddress
> .
> Adding an XML file of listings
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/addressbook/PutListings
> .
> Get everyone!
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/addressbook/GetAllListings
> .
> Undeploy it now
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/soap/server/ServiceManagerClient
> .
> Verify that it's gone
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/soap/server/ServiceManagerClient
>  
> D:\tomcat403\webapps\soap\WEB-INF\classes\samples\addressbook>

Reply via email to