Thanks for the tip.

I understand your first servlet tag, but I do not see why the
servlet-mapping tag is there. Shouldn't this be in the global web.xml file
in /conf.

Any idea why we have to do this "hack"

Ron

-----Original Message-----
From: Scott Murray [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 1:31 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3


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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to