Strange but it doesn't work anymore!!! When I run the client, I have the following (basic!) Exception:
Exception in thread "main" java.lang.NoClassDefFoundError: <my client class> this class is in <TOMCAT_HOME>/webapps/soap/WEB-INF/classes/<my package> The compilation is OK. I put this <TOMCAT_HOME>/webapps/soap/WEB-INF/classes in the CLASSPATH (in case). I don't understand Phil > > Hi John, > > I think I get it! > > When i unpacked the soap.war file to put my classes in > <TOMCAT_HOME>/webapps/soap/WEB-INF/classes/packagename/, I forgot to set the > WebAppDeploy to 'soap' in my Apache configuration file ( it was set on > soap.war, so the classes could'nt be seen) > > > > > <context-param> > > <param-name>ConfigFile</param-name> > > <param-value>/WEB-INF/soap.xml</param-value> > > </context-param> > > > > This only worked as a context-param, I couldn't make it an init-param in > > the rpcrouter servlet. > > > My server is not standalone, so I didn't had to do this. > > > > Then in /WEB-INF/soap.xml I have:- > > > > <soapServer> > > <configManager value="org.apache.soap.server.XMLConfigManager" > > > <option name="filename" value="/WEB-INF/DeployedServices.xml" > > > </configManager> > > </soapServer> > I put this code in the web.xml file under soap/WEB-INF > (little mistake: </option> forgoten) > > When I restart Tomcat (v4.1), the service is keep deployed. > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
