You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by avi arora <ar...@gmail.com> on 2004/09/11 08:05:10 UTC

java.io.InterruptedIOException

Hi,
   I am using tomcat 4.0.5. I am getting the
java.io.InterruptedIOException in one of the context of my web
application. I am having the similar jsp file in another context which
uses the same libraries in that context. But there it works fine. Can
some one please suggest, some solution to this problem. I am attaching
the exception message below--
Thanks--


 java.io.InterruptedIOException: Read timed out
	at java.net.SocketInputStream.socketRead(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:85)
	at java.net.SocketInputStream.read(SocketInputStream.java:63)
	at java.io.InputStreamReader.fill(InputStreamReader.java:168)
	at java.io.InputStreamReader.read(InputStreamReader.java:244)
	at java.io.BufferedReader.fill(BufferedReader.java:134)
	at java.io.BufferedReader.readLine(BufferedReader.java:294)
	at java.io.BufferedReader.readLine(BufferedReader.java:357)
	at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
	at org.vovida.prov.psLib.HostInterface.sendRequest(HostInterface.java:73)
	at org.vovida.prov.psLib.PSInterface.sendRequest(PSInterface.java:77)
	at org.vovida.prov.psLib.SocketProvisioningInterface.getFieldsInDomain(SocketProvisioningInterface.java:194)
	at org.vovida.prov.util.ProvisioningServerWrapper.hasFeatures(ProvisioningServerWrapper.java:825)
	at org.vovida.prov.util.ProvisioningServerWrapper.describeUser(ProvisioningServerWrapper.java:157)
	at org.telverse.tollsaver.userutil.showuser(userutil.java:38)
	at org.apache.jsp.addUserResult$jsp._jspService(addUserResult$jsp.java:395)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:414)
	at org.apache.jsp.configureserver$jsp._jspService(configureserver$jsp.java:381)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:479)

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


Re: java.io.InterruptedIOException

Posted by Tim Funk <fu...@joedog.org>.
I don't know. It appears, the error is in vendor code, not tomcat code. (Or a 
configuration problem with respect to the vendor code)

-Tim

avi arora wrote:

> Hi,
>     But is there a way to correct it. The same library when used
> within another context of same installation of tomcat doesnot give
> this exception and works correctly (I just copied those libraries from
> that context to this new context and I started getting this exception.
> Infact I was not getting this exception few days back in this new
> context as  well, but I started getting it when I restarted my
> machine).
> Thanks.
> Avi
> 
> 
> 
> On Sat, 11 Sep 2004 10:20:40 -0400, Tim Funk <fu...@joedog.org> wrote:
> 
>>It looks like custom vendor code making an HTTP connection as part of its
>>processing.
>>       at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
>>
>>
>>-Tim
>>
>>
>>avi arora wrote:
>>
>>
>>>Hi,
>>>   I am using tomcat 4.0.5. I am getting the
>>>java.io.InterruptedIOException in one of the context of my web
>>>application. I am having the similar jsp file in another context which
>>>uses the same libraries in that context. But there it works fine. Can
>>>some one please suggest, some solution to this problem. I am attaching
>>>the exception message below--
>>>Thanks--
>>>
>>>
>>> java.io.InterruptedIOException: Read timed out
>>>      at java.net.SocketInputStream.socketRead(Native Method)
>>>      at java.net.SocketInputStream.read(SocketInputStream.java:85)
>>>      at java.net.SocketInputStream.read(SocketInputStream.java:63)
>>>      at java.io.InputStreamReader.fill(InputStreamReader.java:168)
>>>      at java.io.InputStreamReader.read(InputStreamReader.java:244)
>>>      at java.io.BufferedReader.fill(BufferedReader.java:134)
>>>      at java.io.BufferedReader.readLine(BufferedReader.java:294)
>>>      at java.io.BufferedReader.readLine(BufferedReader.java:357)
>>>      at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
>>>      at org.vovida.prov.psLib.HostInterface.sendRequest(HostInterface.java:73)
>>>      at org.vovida.prov.psLib.PSInterface.sendRequest(PSInterface.java:77)
>>>      at org.vovida.prov.psLib.SocketProvisioningInterface.getFieldsInDomain(SocketProvisioningInterface.java:194)
>>>      at org.vovida.prov.util.ProvisioningServerWrapper.hasFeatures(ProvisioningServerWrapper.java:825)
>>>      at org.vovida.prov.util.ProvisioningServerWrapper.describeUser(ProvisioningServerWrapper.java:157)
>>>      at org.telverse.tollsaver.userutil.showuser(userutil.java:38)
>>>      at org.apache.jsp.addUserResult$jsp._jspService(addUserResult$jsp.java:395)
>>>      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> 

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


Re: java.io.InterruptedIOException

Posted by avi arora <ar...@gmail.com>.
Hi,
    But is there a way to correct it. The same library when used
within another context of same installation of tomcat doesnot give
this exception and works correctly (I just copied those libraries from
that context to this new context and I started getting this exception.
Infact I was not getting this exception few days back in this new
context as  well, but I started getting it when I restarted my
machine).
Thanks.
Avi



On Sat, 11 Sep 2004 10:20:40 -0400, Tim Funk <fu...@joedog.org> wrote:
> It looks like custom vendor code making an HTTP connection as part of its
> processing.
>        at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
> 
> 
> -Tim
> 
> 
> avi arora wrote:
> 
> > Hi,
> >    I am using tomcat 4.0.5. I am getting the
> > java.io.InterruptedIOException in one of the context of my web
> > application. I am having the similar jsp file in another context which
> > uses the same libraries in that context. But there it works fine. Can
> > some one please suggest, some solution to this problem. I am attaching
> > the exception message below--
> > Thanks--
> >
> >
> >  java.io.InterruptedIOException: Read timed out
> >       at java.net.SocketInputStream.socketRead(Native Method)
> >       at java.net.SocketInputStream.read(SocketInputStream.java:85)
> >       at java.net.SocketInputStream.read(SocketInputStream.java:63)
> >       at java.io.InputStreamReader.fill(InputStreamReader.java:168)
> >       at java.io.InputStreamReader.read(InputStreamReader.java:244)
> >       at java.io.BufferedReader.fill(BufferedReader.java:134)
> >       at java.io.BufferedReader.readLine(BufferedReader.java:294)
> >       at java.io.BufferedReader.readLine(BufferedReader.java:357)
> >       at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
> >       at org.vovida.prov.psLib.HostInterface.sendRequest(HostInterface.java:73)
> >       at org.vovida.prov.psLib.PSInterface.sendRequest(PSInterface.java:77)
> >       at org.vovida.prov.psLib.SocketProvisioningInterface.getFieldsInDomain(SocketProvisioningInterface.java:194)
> >       at org.vovida.prov.util.ProvisioningServerWrapper.hasFeatures(ProvisioningServerWrapper.java:825)
> >       at org.vovida.prov.util.ProvisioningServerWrapper.describeUser(ProvisioningServerWrapper.java:157)
> >       at org.telverse.tollsaver.userutil.showuser(userutil.java:38)
> >       at org.apache.jsp.addUserResult$jsp._jspService(addUserResult$jsp.java:395)
> >       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

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


Re: java.io.InterruptedIOException

Posted by Tim Funk <fu...@joedog.org>.
It looks like custom vendor code making an HTTP connection as part of its 
processing.
	at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)


-Tim


avi arora wrote:

> Hi,
>    I am using tomcat 4.0.5. I am getting the
> java.io.InterruptedIOException in one of the context of my web
> application. I am having the similar jsp file in another context which
> uses the same libraries in that context. But there it works fine. Can
> some one please suggest, some solution to this problem. I am attaching
> the exception message below--
> Thanks--
> 
> 
>  java.io.InterruptedIOException: Read timed out
> 	at java.net.SocketInputStream.socketRead(Native Method)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:85)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:63)
> 	at java.io.InputStreamReader.fill(InputStreamReader.java:168)
> 	at java.io.InputStreamReader.read(InputStreamReader.java:244)
> 	at java.io.BufferedReader.fill(BufferedReader.java:134)
> 	at java.io.BufferedReader.readLine(BufferedReader.java:294)
> 	at java.io.BufferedReader.readLine(BufferedReader.java:357)
> 	at org.vovida.prov.psLib.HttpPSConnection.sendRequest(HttpPSConnection.java:175)
> 	at org.vovida.prov.psLib.HostInterface.sendRequest(HostInterface.java:73)
> 	at org.vovida.prov.psLib.PSInterface.sendRequest(PSInterface.java:77)
> 	at org.vovida.prov.psLib.SocketProvisioningInterface.getFieldsInDomain(SocketProvisioningInterface.java:194)
> 	at org.vovida.prov.util.ProvisioningServerWrapper.hasFeatures(ProvisioningServerWrapper.java:825)
> 	at org.vovida.prov.util.ProvisioningServerWrapper.describeUser(ProvisioningServerWrapper.java:157)
> 	at org.telverse.tollsaver.userutil.showuser(userutil.java:38)
> 	at org.apache.jsp.addUserResult$jsp._jspService(addUserResult$jsp.java:395)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


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