Hi Abhijat,

I think you can see the 3rd party stuff fine.

you aren't getting the line numbers on the stack traces because you don't have the source code, and the line number have been stripped from the 3rd party binaries.

The problem you're having doesn't look like a missing class issue.

cheers,
m.

On Friday, November 15, 2002, at 02:15 AM, Abhijat Thakur wrote:


Hi Martin,

I have the third party libraries in the docBase/WEB-INF/lib of my web
application. I believe that is the place from where tomcat will look for
any jar files. Is there any other place where the third party libraries
should be?

thanks

abhijat
-----Original Message-----
From: Martin Redington [mailto:m.redington@;ucl.ac.uk]
Sent: Thursday, November 14, 2002 6:03 PM
To: Tomcat Users List
Subject: Re: unknown source error


Hi Abhijat,

I think the "Unknown source" messages are because you don't have the
source for the third-party libraries, and the line numbers can't be
determined from the class files.

A ClassCastException usually occurs because you are trying to cast an
object to an incompatible class (e.g. because the target class is not a

parent class to the object's class).

Hope this helps ...

cheers,
Martin

On Friday, November 15, 2002, at 01:55 AM, Abhijat Thakur wrote:

We intergrated a third party SOAP server with Tomcat. All it involved

was adding an entry in the web.xml file for SOAP servers servlet.The
SOAP server does publlish the service but when i invoke the service
from the client it does call the service but any code executed
corresponding to the third party software in the web service throws a

ClassCastException and there are Unknown Source messages.

It gives Unknown source for any classes corresponding to the third
party software. Is it a class loading problem? what am i doing wrong?

thanks

abhijat

java.lang.ClassCastException:
org.apache.coyote.tomcat4.CoyoteRequestFacade
        at
com.bdna.pl.testing.TestingRemoteService.getIBMStockSymbol(Unknown So
urce)
        at java.lang.reflect.Method.invoke(Native Method)
        at electric.util.reflect.Invocation.execute(Unknown Source)
        at electric.util.reflect.Invocation.invoke(Unknown Source)
        at electric.service.object.ObjectService.invoke(Unknown
Source)
        at electric.net.soap.SOAPMessage.invoke(Unknown Source)
        at electric.net.soap.SOAPMessage.invoke(Unknown Source)
        at electric.net.soap.http.SOAPHTTPHandler.service(Unknown
Source)
        at electric.server.http.ServletServer.service(Unknown Source)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
        at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:193)
        at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.java:260)
        at org.apache.catalina.core.StandardPipeline
StandardPipelineValveContext.invokeNextStandardPipeline.java:643)
        at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:191)
        at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
        at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at

org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
96)
        at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:180)
        at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
        at

org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve.java:170)
        at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
        at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:172)
        at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:641)
        at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.java:174)
        at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invokeNext(StandardPipeline.java:643)
        at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at

org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:4
05)
        at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Connection(Http11Protocol.java:380)
        at

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
08)
        at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.java:533)
        at java.lang.Thread.run(Thread.java:484)




--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to