tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartsch Axel <Axel.Bart...@srit.siemens.fr>
Subject forwarding to JSP + session not found in JSP
Date Tue, 27 Feb 2001 16:51:52 GMT
Hi,

I am using TOMCAT 3.2 (I guiess 3.2 means 3.2.1).

When a servlet forwards a request to a JSP
using
        ServletContext sc = getServletContext();
        RequestDispatcher rd = sc.getRequestDispatcher("/common/index.jsp");
        rd.forward(req,resp);

always this exception arrives:


2001-02-27 05:44:50 - ContextManager: SocketException reading request, ignored -
 java.net.SocketException: Connection reset by peer: JVM_recv in socket input st
ream read
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:90)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:190)
        at java.io.BufferedInputStream.read(BufferedInputStream.java, Compiled C
ode)
        at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA
dapter.java, Compiled Code)
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ
letInputStream.java, Compiled Code)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle
tInputStream.java, Compiled Code)
        at javax.servlet.ServletInputStream.readLine(ServletInputStream.java, Co
mpiled Code)
        at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt
pRequestAdapter.java:129)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:195)
        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)

Additionally: the session, created in the servlet is not found in the JSP

Who can help?


Axel            Lannion/France


Mime
View raw message