Hi,

I am working on an application that involves applet-servlet communication.
The problem is that when Tomcat is listening at 8001, then I get an
exception when I do connection.getInputStream() in applet. When I switch to
port 8080, the problem gets solved. Heres the exception:

java.io.FileNotFoundException:
http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at WES.Agents.SiteDataLinkAGT.CallDataLinkServiceAtServer(
SiteDataLinkAGT.java:303)
at WES.Agents.SiteDataLinkAGT.establishOfficeSession(SiteDataLinkAGT.java
:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

What could be different when 8080 port is used and any other is used?
I am using the embedded version of tomcat 5.5.23.

regards,

Khurram

Reply via email to