aspose file tools*
The moose likes Java in General and the fly likes FileNotFoundException in Tomcat based application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "FileNotFoundException in Tomcat based application" Watch "FileNotFoundException in Tomcat based application" New topic
Author

FileNotFoundException in Tomcat based application

Amit K Chaudhari
Greenhorn

Joined: Jun 18, 2012
Posts: 1
Friends,

I am getting the following error randomly when I run my application. I am using Eclipse's tomcat since the war file creation is not really working for me. What could be the possible causes of this error? What could be the file that it is not able to find. Usually, when I get this error, I delete the tomcat server and create a new one. That works very well; however, I cannot do it everytime.

java.io.FileNotFoundException: http://Computer Name:8080/testrunner/clientstatemanager?action=setConfiguredState&testsessionid=902
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at edh.qa.web.servlet.TestSessionSetupServlet.setClientConfigured(TestSessionSetupServlet.java:217)
at edh.qa.web.servlet.TestSessionSetupServlet.doPost(TestSessionSetupServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: FileNotFoundException in Tomcat based application