Hi,

i tried so:

Error: 500
Location: /soap/servlet/rpcrouter
Internal Servlet Error:

java.lang.NoClassDefFoundError: javax/mail/MessagingException
        at
org.apache.soap.server.http.RPCRouterServlet.init(RPCRouterServlet.java:173)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
        at org.apache.tomcat.core.Handler.init(Handler.java:215)
        at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
        at org.apache.tomcat.core.Handler.service(Handler.java:254)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)


the using Classpath is:

Using CLASSPATH: C:\jdk1.3.1\jre\lib\ext;
C:\Programme\Java\Soap\lib\soap.jar; C
:\Programme\Java\Soap\jaf-1.0.1\activation.jar;
C:\Programme\Java\Soap\javamail-
1.2\mail.jar;
C:\Programme\Java\Soap\Xerces-J-tools.1.4.3\tools\xerces.jar;..\cl
asses;..\lib\jaxp.jar;..\lib\servlet.jar;..\lib\ant.jar;..\lib\parser.jar;..
\lib
\webserver.jar;..\lib\jasper.jar;c:\jdk1.3.1\lib\tools.jar

the directories are right.

if i use this classpath:

C:\Programme\Java\Soap\javamail-1.2\mail.jar;C:\Programme\Java\Soap\jaf-1.0.
1\activation.jar;
C:\Programme\Java\Soap\Xerces-J-tools.1.4.3\tools\xerces.jar

rpcRouter is ok, but the same old problem...

mfg alex


> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 30. August 2001 11:40
> An: [EMAIL PROTECTED]
> Betreff: Rif: AW: Problems with tomcat and SOAP
> 
> 
> 
> i think your problem is the environment classpath.
> 
> when i have installed apache in nt 2000, i have read many installation
> guide (from internet) and the result is that i have a conflit with the
> classpath. the important think is to do with attention this operation.
> 
> ma CLASSPATH variable in windows is this
> .;D:\jdk\jre\lib\ext;D:\soap\soap22\lib\soap.jar;D:
> \soap\javamail12\mail.jar;D:\soap\jaf101\activation.jar;D:
> \soap\xerces142\xerces.jar
> 
> i have JAVA_HOME and TOMCAT_HOME variables and in the PATH 
> variable i have
> add D:\soap\soap22
> 
> my tomcat.bat file have
> 
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
> set _CP=%CLASSPATH%;%CP%
> 
> after all, i have some problems again. this is because i had 
> two file to
> delete in the tomcat/bin directory: parser.jar and jax.jar.
> 
> federico
> 
> 
> 
>                                                               
>                                                            
>                     "Elsholz, Alexander"                      
>                                                            
>                     <Alexander.Elsholz@ps-sa        Per:    
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>      
>                     ngross.de>                      Cc:       
>                                                            
>                                                     Oggetto:  
>    AW: Problems with tomcat and SOAP                       
>                     08/30/2001 11:22 AM                       
>                                                            
>                     Per favore, rispondere a                  
>                                                            
>                     soap-user                                 
>                                                            
>                                                               
>                                                            
>                                                               
>                                                            
> 
> 
> 
> Hi,
> 
> 
> > -----Urspr�ngliche Nachricht-----
> > Von: Glaessl, Danilo [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 30. August 2001 11:19
> > An: '[EMAIL PROTECTED]'
> > Betreff: AW: Problems with tomcat and SOAP
> > it seems as if your deploying your services under the context
> > "apache-soap"
> > not "soap". So when you're calling
> > http://localhost:8080/soap/servlet/rpcrouter tomcat will not
> > answer as you
> > expect. Please test
> > http://localhost:8080/apache-soap/servlet/rpcrouter.
> 
> this is my URL: "http://pcaes:8080/apache-soap/servlet/rpcrouter";
> 
> 
> > This should probably work.
> > And if you want to call ServiceManagerClient use the fully
> > qualified name
> > org.apache.soap.server.ServiceManagerClient. This is quite
> > long, so best put
> > the whole call into a batch file.
> 
> i tried this, but it doesn't work. Then i thought i go in 
> this directory
> und
> try it there, but it doesn't work... It couldn't be a 
> ClassPath-Problem
> 
> > I hope this will solve your problems,
> 
> no, but thanks for your fast answer...
> 
> >
> > -----Urspr�ngliche Nachricht-----
> > Von: Elsholz, Alexander [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 30. August 2001 10:58
> > An: '[EMAIL PROTECTED]'
> > Betreff: Problems with tomcat and SOAP
> >
> >
> > Hi,
> >
> > to develop a "Hello World" Soap i installed tomcat and SOAP:
> >
> > 1. Tomcat downloaded
> > 2. set JAVA_Home
> > 3. Change line 104 in tomcat.bat (swap CP and Classpath)
> > 4. Download SOAP
> > 5. Copy SOAP.war to tomcat/webapps
> > 6. Copy xcerces, mail and activation to tomcat/lib
> > 7. start tomcat
> > 8. to test: http://localhost:8080/soap/servlet/rpcrouter
> > SOAP RPC Router
> > Sorry, I don't speak via HTTP GET- you have to use HTTP POST
> > to talk to me.
> > 9. want to see the list of deployed services...
> > 10. change to
> > C:\Programme\Java\tomcat\webapps\soap\WEB-INF\classes\org\apac
> > he\soap\server
> > >
> > 11. java ServiceManagerClient
> > http://localhost:8080/soap/servlet/rpcrouter
> > list
> > exception in thread "main" java.lang.NoClassDefFoundError:
> > ServiceManagerClient
> > but i was in the right directory
> >
> > C:\Programme\Java\tomcat\webapps\soap\WEB-INF\classes\org\apac
> > he\soap\server
> > >dir
> >
> >  Datentr�ger in Laufwerk C: ist DRIVE_C
> >  Datentr�gernummer: 395C-380D
> >
> >  Verzeichnis von
> > C:\Programme\Java\tomcat\webapps\soap\WEB-INF\classes\org\apach
> > e\soap\server
> >
> > 29.08.2001  14:34       <DIR>          .
> > 29.08.2001  14:34       <DIR>          ..
> > 29.08.2001  14:34       <DIR>          http
> > 29.08.2001  14:34                2.195 BaseConfigManager.class
> > 29.08.2001  14:34                2.336 DefaultConfigManager.class
> > 29.08.2001  14:34               15.186 DeploymentDescriptor.class
> > 29.08.2001  14:34                  831 DOMFaultListener.class
> > 29.08.2001  14:34                1.060 ExceptionFaultListener.class
> > 29.08.2001  14:34                2.211 InvokeBSF.class
> > 29.08.2001  14:34                3.306 MessageRouter.class
> > 29.08.2001  14:34                6.171 RPCRouter.class
> > 29.08.2001  14:34                  356 ServerConstants.class
> > 29.08.2001  14:34                2.678 ServerUtils.class
> > 29.08.2001  14:34                6.197 ServiceManager.class
> > 29.08.2001  14:34                7.122 ServiceManagerClient.class
> > 29.08.2001  14:34                  817 SMTP2HTTPBridge$1.class
> > 29.08.2001  14:34                1.226 SMTP2HTTPBridge$2.class
> > 29.08.2001  14:34                5.965 SMTP2HTTPBridge.class
> > 29.08.2001  14:34                  187 SOAPEventListener.class
> > 29.08.2001  14:34                  631 SOAPFaultEvent.class
> > 29.08.2001  14:34                  272 SOAPFaultListener.class
> > 29.08.2001  14:34                1.066 SOAPFaultRouter.class
> > 29.08.2001  14:34                1.143 TypeMapping.class
> > 29.08.2001  14:34                4.953 TypeMappingSerializer.class
> > 29.08.2001  14:34                3.631 XMLConfigManager.class
> >               22 Datei(en)         69.540 Bytes
> >                3 Verzeichnis(se),      17.162.240 Bytes frei
> >
> > 12. deploy a Service with the admin-tool:
> > Service urn:Hello deployed.
> > in the Console: SOAP Service Manager: Unable to read
> > 'DeployedServices.ds':
> > assuming fresh start
> > 13. copy the classfile to webapps in tomcat-directory
> > 14. restart tomcat
> > 15. start the Client:
> >
> > on the Console:
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx( 
> /examples )
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx(  )
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx( /test )
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx( /soap )
> > 2001-08-30 10:57:24 - ContextManager: Adding context Ctx( /hello )
> > 2001-08-30 10:57:25 - PoolTcpConnector: Starting
> > HttpConnectionHandler on
> > 8080
> > 2001-08-30 10:57:25 - PoolTcpConnector: Starting
> > Ajp12ConnectionHandler on
> > 8007
> > 2001-08-30 10:57:32 - Ctx(  ): 404 R(  +
> > /apache-soap/servlet/rpcrouter +
> > null)
> > null
> >
> > on the Client:
> > Caught SOAPException (SOAP-ENV:Client): Connection shutdown:
> > JVM_recv in
> > socket input stream read
> >
> > What are my mistakes??? Its a simple helloWorld from a tutorial at
> > JavaWorld.com.
> >
> > I use tomcat 3.2.3 and SOAP 2.2
> >
> > pleas help...
> >
> > alex
> >
> 
> 
> 
> 

Reply via email to