Hi,
I just installed Apache soap 2.2 on Weblogic 5.1.0 sp6 (NT 4.0 sp6) and
tried to run COM sample, but i also have encountered the same identical
problem of Jinhua!!!
But i have set the environment PATH variable to include the full path of the
Apache soap lib directory where ComProvider.dll is located. The execution
of:
[command line] c:\soap-2_2\samples\com\client>java samples.com.client.Addit
3 4
shows a system windows alert "the dynamic dll MSVCRTD.dll not found.....".
So (after have found the module o internet..) i have copied this dll in the
\winnt\system directory of the server, but the second time the execution of
command line have generated another system windows alert "the dynamic dll
MSVCP60D.dll not found....."
So (after have found the module o internet..) then I have copied this dll in
the \winnt\system directory of server, but this time the system message was
"the procedure Entry point __lc_collate_cp was could not be located in the
dynamic link library MSVCRTD.dll"
Could someone point out what might went wrong?
Thank you
Danny
-----Messaggio originale-----
Da: Rick Rineholt [mailto:[EMAIL PROTECTED]]
Inviato: marted� 21 agosto 2001 13.16
A: [EMAIL PROTECTED]
Oggetto: Re: COM Pluggable Provider
One of the problems that frequently occurs is not having the DLL
COMProvider.dll in your path. This is usually located in lib directory
of the SOAP distribution. This directory needs to be in your path
environment
variable.
>Hi,
>I just installed Apache soap 2.2 and tried to run COM sample. The
>deployment of the sample COM objects were fine. However, when I tried to
>submit the Addit and Sum requests, I saw the following errors.
>Could someone point out what might went wrong?
>Thank you
>Jinhua
>
>[command line] D:\javaUtils\soap-2_2\samples\com\client>java
>samples.com.client.Addit 3 4
>[Response]
>Ouch, the call failed:
>Fault Code = SOAP-ENV:Server.Exception:
>Fault String = initlog
>[command line] D:\javaUtils\soap-2_2\samples\com\client>java
>samples.com.client.Sum 4
>[Response]
>Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
>msg=Unsupported response content type "text/html", must be: "text
>/xml". Response was:
><h1>Error: 500</h1>
><h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet
>Error:</b><br><pre>javax.servlet.ServletException: Error building response
>envelope: java.lang.NullPointerException
>at
>org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,
>Compiled Code)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>at org.apache.tomcat.core.Handler.service(Handler.java:286)
>at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
9
>7)
>at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
C
>onnectionHandler.java:210)
>at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
>Compiled Code)
>at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
>Compiled Code)
>at java.lang.Thread.run(Thread.java:479)
></pre>
>]
>at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
>at org.apache.soap.rpc.Call.invoke(Call.java:212)
>at samples.com.client.Sum.main(Sum.java:111)
Rick Rineholt
"The truth is out there... All you need is a better search engine!"
[EMAIL PROTECTED]