Are you trying to read a file in the same webapp or another? > -----Original Message----- > From: Farrukh Najmi [mailto:farr...@wellfleetsoftware.com] > Sent: Wednesday, March 28, 2012 4:34 PM > To: users@tomcat.apache.org > Subject: Accessing static resource during loading of webapp > > > I have a webapp that accesses some static resources during startup of > the webapp. On Glassfish 3.1.2 this works fine. However on Tomcat 7.0.26 > the webapp ciode gets a read timeout when it tries to do an HTTP GET > using a URLConnection to a static resource deployed in the same tomcat > instance. Is there a way to fix this? > > -- > Regards, > Farrukh Najmi > > Web: http://www.wellfleetsoftware.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org