I tried your suggestion several times, and rebooted as well, but still no improvement. I can run a simple one form,one servlet example in both tomcat 4.0.3 and 4.1.12 with no code changes. In 4.0.3 the response is instantaneous, but in 4.1.12 it takes 10-15 seconds for response, and does this on all subsequent submissions of form. A strange problem !!!
ron -----Original Message----- From: micael [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 30, 2002 4:38 PM To: Tomcat Users List Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3 Ron, the first solution (load on startup) is just for servlets that have a load of detail to do the first time they start up and has nothing to do with our situation. The second part (servlet-mapping) is just creating a security problem that the release notes explained should not be done. I had the problem you had, and as I said, I solved it by rebooting Tomcat and cleaning out the work directory. I was working at the time with linux RedHat and had to make sure the work file was completely cleared as well. I don't know what happened, but it was with 4.1.12 and it happened twice. Both times, restarting Tomcat worked. Why, I don't know. Micael At 02:30 PM 11/30/2002 -0500, you wrote: >Ron, > >I had the same problem, and fixed it with this same web.xml for all my apps >(this goes in the WEB-INF dir of each app): > >***************************** ><?xml version="1.0" encoding="ISO-8859-1"?> > ><!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> ><web-app> > <servlet> > <servlet-name>home</servlet-name> > <servlet-class>home</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>invoker</servlet-name> > <url-pattern>/servlet/*</url-pattern> > </servlet-mapping> ></web-app> >************************** > >I found that if I preloaded the first servlet (in my case, home) everything >ran OK after that. > >Scott > > >-----Original Message----- >From: Ron Day [mailto:[EMAIL PROTECTED]] >Sent: Saturday, November 30, 2002 11:03 AM >To: Tomcat Users List >Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3 > > >What does this have to do with my problem . > >I am getting tired of seeing your pleas for help. Please buy a book !! > >R > >-----Original Message----- >From: Steven Burrus [mailto:[EMAIL PROTECTED]] >Sent: Saturday, November 30, 2002 12:36 AM >To: Tomcat Users List >Subject: Re: tomcat 4.1.12 much slower than Tomcat 4.0.3 > > > I need some help/assistance right away with trying to see a JSP in my >browser!! All that I get for my efforts is a cryptic server error msg. >[404] message saying that the requested resource couldn't be found! > > >On Fri, 29 Nov 2002 22:47:02 -0600, Ron Day <[EMAIL PROTECTED]> wrote: > > > I just installed Tomcat 4.1.12. > > > > But now my tomcat 4.0.3 webapps run about 10 times slower. > > > > Anyone have any ideas as to why this may be. > > > > I did not change anything, and it happens for jsp's and servlets !!! > > > > ron > > > > > > -- > > To unsubscribe, e-mail: <mailto:tomcat-user-> > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:tomcat-user-> > [EMAIL PROTECTED]> > > > > > > > >-- >Steven Burrus > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> Micael ------------------------------------------------------- This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>