You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron Day <ro...@ronday.cc> on 2002/11/30 05:47:02 UTC

tomcat 4.1.12 much slower than Tomcat 4.0.3

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
I don't get why someone answers another person's request for assistance 
with their own request, but what do I know.  The one I am answer is the 
first guy.  You may need to reboot your Tomcat.  That happened to me 
once.  4.1.12 is not slower.  Sometimes I have found that if Tomcat is 
accessed while it is building, some strange things happen and I don't have 
a clue what, of course, but I have gotten the same "run about 10 times 
slower" phenomenon.  I would say 40 times actually, in one case.  Anyway, 
rebooting fixed if for me, for what that is worth.

At 12:36 AM 11/30/2002 -0600, you wrote:
>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 <ro...@ronday.cc> 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- 
>>unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: <mailto:tomcat-user- 
>>help@jakarta.apache.org>
>>
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
Okay, Steve.  Don't know why you answered Ron's question with yours.  Must 
have hit the wrong switch?  You need to give more information.  Where is 
your JSP, for example.  Is this the index.jsp you are talking about, or 
some other situation?  With no information, answering is impossible.  Micael

At 12:36 AM 11/30/2002 -0600, you wrote:
>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 <ro...@ronday.cc> 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- 
>>unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: <mailto:tomcat-user- 
>>help@jakarta.apache.org>
>>
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
This is just to allow initialization prior to runtime in the applications, 
in case you need specific values before that.

At 05:00 PM 11/30/2002 -0500, you wrote:
>The servlet tag:
>******************
>    <servlet>
>       <servlet-name>home</servlet-name>
>       <servlet-class>home</servlet-class>
>       <load-on-startup>1</load-on-startup>
>    </servlet>
>***************************
>is just something I came up with after reading the Chapter 5 document on
>moreservlets.com. This solved the slowness problem for me (NOTE: my app is
>all servlets and no JSP's, so I don't know how this affects JSP's).
>
>My solution may be violating all kinds of security issues...I am a novice
>with Tomcat and am just feeling my way as I go along (actually I expected to
>be thrashed by someone ;-) who is more expert). I am still in the process of
>reading the rest of Ch. 5.
>
>RE: but I do not see why the servlet-mapping tag is there:
>Ron you are correct...I did this as my first solution and it worked. I
>subsequently read that it can be done globally, rather than in each
>individual web.xml, but I haven't got around to changing it yet (and may
>never change it, as the current solution works and I agree with Shakespeare:
>"Striving to better, oft we mar what's well."
>
>Scott Murray
>
>----- Original Message -----
>From: "micael" <ca...@harbornet.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Saturday, November 30, 2002 3:53 PM
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
> > Okay, Murray, give it up!
> >
> > At 02:45 PM 11/30/2002 -0600, you wrote:
> > >I didn't figure it out, Scott Murray did, I'm waiting for his
>explanation.
> > >
> > >Ron
> > >
> > >-----Original Message-----
> > >From: micael [mailto:caraunltd@harbornet.com]
> > >Sent: Saturday, November 30, 2002 2:38 PM
> > >To: Tomcat Users List
> > >Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
> > >
> > >
> > >How did you ever figure this out, Ron?
> > >
> > >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:ronday@ronday.cc]
> > > >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:burrus1@swbell.net]
> > > >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 <ro...@ronday.cc> 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->
> > > > unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail: <mailto:tomcat-user->
> > > > help@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >--
> > > >Steven Burrus
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >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:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> > 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:
><ma...@jakarta.apache.org>
> > For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
You should turn that invoker off, Murray.  It is a security hole.  Read the 
release notes to your Tomcat 4.1.12.  You can get to your servlets by 
declaring them individually in your xml.

At 05:00 PM 11/30/2002 -0500, you wrote:
>The servlet tag:
>******************
>    <servlet>
>       <servlet-name>home</servlet-name>
>       <servlet-class>home</servlet-class>
>       <load-on-startup>1</load-on-startup>
>    </servlet>
>***************************
>is just something I came up with after reading the Chapter 5 document on
>moreservlets.com. This solved the slowness problem for me (NOTE: my app is
>all servlets and no JSP's, so I don't know how this affects JSP's).
>
>My solution may be violating all kinds of security issues...I am a novice
>with Tomcat and am just feeling my way as I go along (actually I expected to
>be thrashed by someone ;-) who is more expert). I am still in the process of
>reading the rest of Ch. 5.
>
>RE: but I do not see why the servlet-mapping tag is there:
>Ron you are correct...I did this as my first solution and it worked. I
>subsequently read that it can be done globally, rather than in each
>individual web.xml, but I haven't got around to changing it yet (and may
>never change it, as the current solution works and I agree with Shakespeare:
>"Striving to better, oft we mar what's well."
>
>Scott Murray
>
>----- Original Message -----
>From: "micael" <ca...@harbornet.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Saturday, November 30, 2002 3:53 PM
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
> > Okay, Murray, give it up!
> >
> > At 02:45 PM 11/30/2002 -0600, you wrote:
> > >I didn't figure it out, Scott Murray did, I'm waiting for his
>explanation.
> > >
> > >Ron
> > >
> > >-----Original Message-----
> > >From: micael [mailto:caraunltd@harbornet.com]
> > >Sent: Saturday, November 30, 2002 2:38 PM
> > >To: Tomcat Users List
> > >Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
> > >
> > >
> > >How did you ever figure this out, Ron?
> > >
> > >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:ronday@ronday.cc]
> > > >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:burrus1@swbell.net]
> > > >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 <ro...@ronday.cc> 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->
> > > > unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail: <mailto:tomcat-user->
> > > > help@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >--
> > > >Steven Burrus
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > > ><ma...@jakarta.apache.org>
> > > >
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >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:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> > 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:
><ma...@jakarta.apache.org>
> > For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Scott Murray <sm...@murraycom.com>.
The servlet tag:
******************
   <servlet>
      <servlet-name>home</servlet-name>
      <servlet-class>home</servlet-class>
      <load-on-startup>1</load-on-startup>
   </servlet>
***************************
is just something I came up with after reading the Chapter 5 document on
moreservlets.com. This solved the slowness problem for me (NOTE: my app is
all servlets and no JSP's, so I don't know how this affects JSP's).

My solution may be violating all kinds of security issues...I am a novice
with Tomcat and am just feeling my way as I go along (actually I expected to
be thrashed by someone ;-) who is more expert). I am still in the process of
reading the rest of Ch. 5.

RE: but I do not see why the servlet-mapping tag is there:
Ron you are correct...I did this as my first solution and it worked. I
subsequently read that it can be done globally, rather than in each
individual web.xml, but I haven't got around to changing it yet (and may
never change it, as the current solution works and I agree with Shakespeare:
"Striving to better, oft we mar what's well."

Scott Murray

----- Original Message -----
From: "micael" <ca...@harbornet.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, November 30, 2002 3:53 PM
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3


> Okay, Murray, give it up!
>
> At 02:45 PM 11/30/2002 -0600, you wrote:
> >I didn't figure it out, Scott Murray did, I'm waiting for his
explanation.
> >
> >Ron
> >
> >-----Original Message-----
> >From: micael [mailto:caraunltd@harbornet.com]
> >Sent: Saturday, November 30, 2002 2:38 PM
> >To: Tomcat Users List
> >Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
> >
> >
> >How did you ever figure this out, Ron?
> >
> >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:ronday@ronday.cc]
> > >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:burrus1@swbell.net]
> > >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 <ro...@ronday.cc> 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->
> > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail: <mailto:tomcat-user->
> > > help@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > >--
> > >Steven Burrus
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >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:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> >For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
> 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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
Okay, Murray, give it up!

At 02:45 PM 11/30/2002 -0600, you wrote:
>I didn't figure it out, Scott Murray did, I'm waiting for his explanation.
>
>Ron
>
>-----Original Message-----
>From: micael [mailto:caraunltd@harbornet.com]
>Sent: Saturday, November 30, 2002 2:38 PM
>To: Tomcat Users List
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
>How did you ever figure this out, Ron?
>
>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:ronday@ronday.cc]
> >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:burrus1@swbell.net]
> >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 <ro...@ronday.cc> 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->
> > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:tomcat-user->
> > help@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >--
> >Steven Burrus
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>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:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
So, I guess I am confused.  Murray's suggestion did not help?

At 03:46 PM 11/30/2002 -0600, you wrote:
>Micael
>
>not start-up but running webapps..........
>
>My original post, still happening
>
>**********************************
>
>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:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
Looks like my problem is a IE6 problem.
When I run on Netscape (4.75) it is very fast. !!!

Heard of any IE issues ???? crazy I know, its html by then.

-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Monday, December 02, 2002 11:44 AM
To: Tomcat Users List
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3




On Mon, 2 Dec 2002, Ron Day wrote:

> Date: Mon, 2 Dec 2002 11:37:32 -0600
> From: Ron Day <ro...@ronday.cc>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
> Craig, thanks for suggeations but.....
>
> Not 15 seconds, but 10 times slower than 4.0.3
>
> what puzzles me is that environment is identical except that I use 4.1.12
> version rather than 4.0.3
>
> No other changes between versions and when I go back to 4.0.3 performance
> improves.
>

Well, obviously nobody has had any useful ideas based on this description
of the problem :-).  The next step would be to create a sample webapp
illustrating the difference for you, and letting some other people try it.
That's the only way I can see to track down what's causing this.

> ron
>

Craig


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 2 Dec 2002, Ron Day wrote:

> Date: Mon, 2 Dec 2002 11:37:32 -0600
> From: Ron Day <ro...@ronday.cc>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
> Craig, thanks for suggeations but.....
>
> Not 15 seconds, but 10 times slower than 4.0.3
>
> what puzzles me is that environment is identical except that I use 4.1.12
> version rather than 4.0.3
>
> No other changes between versions and when I go back to 4.0.3 performance
> improves.
>

Well, obviously nobody has had any useful ideas based on this description
of the problem :-).  The next step would be to create a sample webapp
illustrating the difference for you, and letting some other people try it.
That's the only way I can see to track down what's causing this.

> ron
>

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
Craig, thanks for suggeations but.....

Not 15 seconds, but 10 times slower than 4.0.3

what puzzles me is that environment is identical except that I use 4.1.12
version rather than 4.0.3

No other changes between versions and when I go back to 4.0.3 performance
improves.

ron

-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Monday, December 02, 2002 11:26 AM
To: Tomcat Users List
Subject: Re: tomcat 4.1.12 much slower than Tomcat 4.0.3




On Mon, 2 Dec 2002, Ron Day wrote:

> Date: Mon, 2 Dec 2002 10:24:26 -0600
> From: Ron Day <ro...@ronday.cc>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
> Hi,
>
> I have tried re-installing Tomcat 4.1.12 , moving to JDK1.4.1, but:
>

15 second delays sound like something wierd with your DNS server (perhaps
you've got access logging enabled?) or database.  There's nothing in
Tomcat that would do this -- and, in fact, most users see a performance
boost, especially with JSP pages that use lots of custom tags.

Craig

> My original post, still happening: This is post.....
>
> **********************************
>
> I just installed Tomcat 4.1.12.
>
> But now my tomcat 4.0.3 webapps run about 10-20 times slower.
> These are my class exercises, ranging from small single servlets to medium
> projects.
>
> Anyone have any ideas as to why this may be.
>
> I did not change anything, and it happens for jsp's and servlets !!!
>
> It seems that the tomcat examples work fine !!!!!
>
> **********************************
>
> ron
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 2 Dec 2002, Ron Day wrote:

> Date: Mon, 2 Dec 2002 10:24:26 -0600
> From: Ron Day <ro...@ronday.cc>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
> Hi,
>
> I have tried re-installing Tomcat 4.1.12 , moving to JDK1.4.1, but:
>

15 second delays sound like something wierd with your DNS server (perhaps
you've got access logging enabled?) or database.  There's nothing in
Tomcat that would do this -- and, in fact, most users see a performance
boost, especially with JSP pages that use lots of custom tags.

Craig

> My original post, still happening: This is post.....
>
> **********************************
>
> I just installed Tomcat 4.1.12.
>
> But now my tomcat 4.0.3 webapps run about 10-20 times slower.
> These are my class exercises, ranging from small single servlets to medium
> projects.
>
> Anyone have any ideas as to why this may be.
>
> I did not change anything, and it happens for jsp's and servlets !!!
>
> It seems that the tomcat examples work fine !!!!!
>
> **********************************
>
> ron
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
Hi,

I have tried re-installing Tomcat 4.1.12 , moving to JDK1.4.1, but:

My original post, still happening: This is post.....

**********************************

I just installed Tomcat 4.1.12.

But now my tomcat 4.0.3 webapps run about 10-20 times slower.
These are my class exercises, ranging from small single servlets to medium
projects.

Anyone have any ideas as to why this may be.

I did not change anything, and it happens for jsp's and servlets !!!

It seems that the tomcat examples work fine !!!!!

**********************************

ron



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
Micael

not start-up but running webapps..........

My original post, still happening

**********************************

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
Do you mean the time it takes to start 4.1.12?

At 03:26 PM 11/30/2002 -0600, you wrote:
>Yes, I'm aware of that. I was more interested in Scotts servlet tag. Even
>more I am hoping someone has a better way to get my 4.1.12 install working
>correctly (at same speed as 3.0.4).
>
>ron
>
>-----Original Message-----
>From: micael [mailto:caraunltd@harbornet.com]
>Sent: Saturday, November 30, 2002 2:55 PM
>To: Tomcat Users List
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
>Ron,
>
>You should look at:
>
>http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg33723.html
>
>Micael
>
>At 02:45 PM 11/30/2002 -0600, you wrote:
> >I didn't figure it out, Scott Murray did, I'm waiting for his explanation.
> >
> >Ron
> >
> >-----Original Message-----
> >From: micael [mailto:caraunltd@harbornet.com]
> >Sent: Saturday, November 30, 2002 2:38 PM
> >To: Tomcat Users List
> >Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
> >
> >
> >How did you ever figure this out, Ron?
> >
> >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:ronday@ronday.cc]
> > >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:burrus1@swbell.net]
> > >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 <ro...@ronday.cc> 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->
> > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail: <mailto:tomcat-user->
> > > help@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > >--
> > >Steven Burrus
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >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:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>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:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
Yes, I'm aware of that. I was more interested in Scotts servlet tag. Even
more I am hoping someone has a better way to get my 4.1.12 install working
correctly (at same speed as 3.0.4).

ron

-----Original Message-----
From: micael [mailto:caraunltd@harbornet.com]
Sent: Saturday, November 30, 2002 2:55 PM
To: Tomcat Users List
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3


Ron,

You should look at:

http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg33723.html

Micael

At 02:45 PM 11/30/2002 -0600, you wrote:
>I didn't figure it out, Scott Murray did, I'm waiting for his explanation.
>
>Ron
>
>-----Original Message-----
>From: micael [mailto:caraunltd@harbornet.com]
>Sent: Saturday, November 30, 2002 2:38 PM
>To: Tomcat Users List
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
>How did you ever figure this out, Ron?
>
>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:ronday@ronday.cc]
> >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:burrus1@swbell.net]
> >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 <ro...@ronday.cc> 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->
> > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:tomcat-user->
> > help@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >--
> >Steven Burrus
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>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:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
>For additional commands, e-mail:
<ma...@jakarta.apache.org>

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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
Ron,

You should look at:

http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg33723.html

Micael

At 02:45 PM 11/30/2002 -0600, you wrote:
>I didn't figure it out, Scott Murray did, I'm waiting for his explanation.
>
>Ron
>
>-----Original Message-----
>From: micael [mailto:caraunltd@harbornet.com]
>Sent: Saturday, November 30, 2002 2:38 PM
>To: Tomcat Users List
>Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
>
>
>How did you ever figure this out, Ron?
>
>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:ronday@ronday.cc]
> >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:burrus1@swbell.net]
> >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 <ro...@ronday.cc> 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->
> > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:tomcat-user->
> > help@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >--
> >Steven Burrus
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> >For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>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:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
I didn't figure it out, Scott Murray did, I'm waiting for his explanation.

Ron

-----Original Message-----
From: micael [mailto:caraunltd@harbornet.com]
Sent: Saturday, November 30, 2002 2:38 PM
To: Tomcat Users List
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3


How did you ever figure this out, Ron?

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:ronday@ronday.cc]
>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:burrus1@swbell.net]
>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 <ro...@ronday.cc> 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->
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user->
> help@jakarta.apache.org>
> >
> >
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
>For additional commands, e-mail:
<ma...@jakarta.apache.org>

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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
How did you ever figure this out, Ron?

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:ronday@ronday.cc]
>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:burrus1@swbell.net]
>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 <ro...@ronday.cc> 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-> 
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-> 
> help@jakarta.apache.org>
> >
> >
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
Won't this just begin the whole problem with security again?

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:ronday@ronday.cc]
>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:burrus1@swbell.net]
>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 <ro...@ronday.cc> 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-> 
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-> 
> help@jakarta.apache.org>
> >
> >
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Redirecting requests back to the webserver from tomcat

Posted by Prashanth Pushpagiri <pr...@yahoo.com>.
Hi

Is there a way to redirect a request that comes to
tomcat back to the main webserver (IIS or Apache
etc.). I want to use tomcat to verify the existence of
a session and then send it back to IIS to serve the
page out. Is this possible?

Thanks
Prashanth

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


deploying a WAR file without restarting? and Cookie Name problem in 3.2.1

Posted by Jan-Michael Ong <jm...@adobe.com>.
Greetings Tomcat Users Group,

I'm hoping that you can help me here. I've purchased the "Prof. Apache 
Tomcat" book and searched through the archives but I'm unable to get any 
meaningful results for the following two questions:

1. JBoss allows for "hot deployment"--that is if I get my terms right--the 
ability for an instance to use a new WAR file or java class without 
restarting. Is this possible in Tomcat? Would you be so kind to point to 
any source of reference out there? I'm just familiarizing myself with JBoss 
and according to its documentation its also possible to "hot deploy" to one 
instance and have it propagate through its siblings. Is this scenario 
possible in Tomcat?

2. I've read that in 3.2.4 the "Cookie name path is a reserved token" error 
was fixed that was present in previous versions such as 3.2.1. What and/or 
how exactly was it fixed? I guess I can try to do a recursive diff between 
the two source trees but I don't even know what to look for. Any 
suggestions on how to find this elusive problem will be greatly appreciated.

Thanks in advance and I hope to hear from you.

Regards,

Jan-Michael


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by simon <to...@sydneybluegum.com>.
Ron,
            Just some ramblings/thing I have been thinking about.      

            I had performance problems with jakarta-james on win2000 
which did not happen on linux,
            james dev guy fixed it.

            So I was wondering what OS and java are you using.
            Are you using a database in your code?


            I have problems with starting tomcat as a service on win2000 
with jdk1.4.1.
            Had to manually remove the old service which was created 
when I was using jdk1.3.1.
            Then every thing was ok

            Are you having the same problem with one on the examples 
that comes with tomcat?

            Could you put some debug with timestamps in your code.

            Do you have a low memory problem with swaping happening.

            You can check your created dates and time for files in the 
work directory to see if  when your jsp were last complied.

Good luck.
Regards,
Simon

           

           



            


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Struts-Console-3.1 causes windows to reboot ???

Posted by Ron Day <ro...@ronday.cc>.
Anyone else see this strange behavior.....

downloaded Struts-console-3.1 to c:\
double click console.bat or run command line...
windows shuts down, then reboots.....

Win 2000 sp3
jdk 1.4.1

anyone, or is my machine cookoo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
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:caraunltd@harbornet.com]
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:ronday@ronday.cc]
>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:burrus1@swbell.net]
>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 <ro...@ronday.cc> 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->
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user->
> help@jakarta.apache.org>
> >
> >
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
>For additional commands, e-mail:
<ma...@jakarta.apache.org>

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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by micael <ca...@harbornet.com>.
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:ronday@ronday.cc]
>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:burrus1@swbell.net]
>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 <ro...@ronday.cc> 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-> 
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-> 
> help@jakarta.apache.org>
> >
> >
>
>
>
>--
>Steven Burrus
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
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:smurray@murraycom.com]
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:ronday@ronday.cc]
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:burrus1@swbell.net]
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 <ro...@ronday.cc> 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-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
>
>



--
Steven Burrus

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Scott Murray <sm...@murraycom.com>.
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:ronday@ronday.cc]
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:burrus1@swbell.net]
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 <ro...@ronday.cc> 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-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
>
>



--
Steven Burrus

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
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:burrus1@swbell.net]
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 <ro...@ronday.cc> 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-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
>
>



--
Steven Burrus

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Steven Burrus <bu...@swbell.net>.
 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 <ro...@ronday.cc> 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- 
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user- 
> help@jakarta.apache.org>
>
>



-- 
Steven Burrus

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>