You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2002/11/26 18:42:23 UTC

[Announce] JK 1.2.1 released

Hi to all,

mod_jk 1.2.1 has been released and is available at :

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/

For now binaries are available for :

- Linux i386 (Apache 1.3 with/without SSL, Apache 2.0 with SSL)
- iSeries (Apache 2.0.39 for OS/400 V5R1/V5R2)

Other platforms ports should follow shortly.

Changes between JK 1.2.1 and JK 1.2.0 :

* Don't send initial chunk for chunked encoding,
   fix bugzilla report #14282
   [costin]

* Add perl scripts for analyzing mod_jk logs and
   generating graphs/reports
   [glenn]

* Make JK honor the CanonicalHost directive.
   [hgomez]

* Log cleanup
   [costin]

* Fix typos in jk xdocs/docs
   [hgomez]

* Add JkRequestLogFormat to Apache 2.0
   [hgomez]

* Final patches to make JK iSeries compliant
   [hgomez]


Regards


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


Re: Bezerk - tomcat calls JSP twice ?

Posted by Jacob Kjome <ho...@visi.com>.
At 03:53 AM 12/2/2002 +0000, you wrote:
>If a Filter makes a call to a page using for example 
>RequestDispatcher.forward("/Products/index.jsp"), will that request 
>dispatcher bypass any filters, or will it still be subject to all filter 
>rules ?

The filters will be bypassed.  Quoting Craig R. McClanahan....

"If your app uses a request dispatcher, you'll find that filters
   and authentication are *not* applied to the dispatched request.
   They are only applied on the original request from the client."

Jake 

Re: Bezerk - tomcat calls JSP twice ?

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

On Mon, 2 Dec 2002, Stephen Riek wrote:

>
> If a Filter makes a call to a page using for example
> RequestDispatcher.forward("/Products/index.jsp"), will that request
> dispatcher bypass any filters, or will it still be subject to all filter
> rules ?
>

In Servlet 2.3 (i.e. Tomcat 4.x), Filters are not invoked when you do a
RequestDispatcher.forward() or RequestDispatcher.include().  They are only
invoked on the original request.

In Servlet 2.4 (i.e. Tomcat 5), you can use an additional web.xml
configuration element that requests filters even on RD calls.  For
backwards compatibility, the default behavior will continue to be omitting
them.

>
> Stephen.
>

Craig


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


Re: Bezerk - tomcat calls JSP twice ?

Posted by Stephen Riek <st...@yahoo.co.uk>.
Thanks for the reply Paul. 
> Might be the hangover - I get correct output when I follow your steps and 
> refresh with the parameter still in the URL and without too. I use Tomcat 
> 4.1.12.
> My output with the parameter in the URL:
> 
> JSP PAGE DEBUGGING ************************************ 1
> JSP : request PARAMETER set in URL : helloworld
> JSP : pathSuffix : helloworld
> JSP PAGE DEBUGGING ************************************ 2
> JSP : request PARAMETER set in URL : helloworld
> JSP : pathSuffix : helloworld

Right, which is what I would expect, and what I used to get in my webapps.

I used Filters in my current webapp (which is exhibiting the bizarre behaviour) previously and the Filters used RequestDispatchers. However, I've since removed the filters. 

OK, I just solved it - I completely deleted the "work" directory of Tomcat and restarted Tomcat and now it seems to be working correctly. Sorry for the noise :(

Can I please check the following then,

If a Filter makes a call to a page using for example RequestDispatcher.forward("/Products/index.jsp"), will that request dispatcher bypass any filters, or will it still be subject to all filter rules ? 

Sorry for the noise. I don't know why I was getting the strange results. Even if a Filter was being cached in 'work' (even after restarting Tomcat), it shouldn't have been called at all because I'd removed all the Filter-mappings from web.xml

Stephen.

 


 




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Re: Bezerk - tomcat calls JSP twice ?

Posted by Paul Yunusov <py...@rogers.com>.
On Sunday 01 December 2002 10:23 pm, Stephen Riek wrote:
> I'm either still suffering from the effects of Saturday night or really
> didn't understand something about Tomcat, because the following has me
> completely surprised and unable to explain.
> I have a very very simple JSP "/Products/index.jsp" as follows -
> <%
> int i = 1;
> System.out.println("JSP PAGE DEBUGGING ************************************
> " + i); String pathSuffix = null;
> if (request.getParameter("pathSuffix")!=null) {
>  pathSuffix = request.getParameter("pathSuffix");
>  System.out.println("JSP : request PARAMETER set in URL    : " +
> pathSuffix); }
> System.out.println("JSP : pathSuffix                      : " +
> pathSuffix); %>
>
> I open the page /Products/index.jsp?pathSuffix=helloworld in my browser
> and the following appears at the Tomcat console -
>
> JSP PAGE DEBUGGING ************************************ 1
> JSP : request PARAMETER set in URL    : helloworld
> JSP : pathSuffix                      : helloworld
>
> No surprise so far.
>
> But then I change 'i' from 1 to 2 in the JSP and hit browser "refresh"
> and the following appears in the Tomcat  console -
>
> JSP PAGE DEBUGGING ************************************ 2
> JSP : request PARAMETER set in URL    : helloworld
> JSP : pathSuffix                      : helloworld
>
> JSP PAGE DEBUGGING ************************************ 2
> JSP : pathSuffix                      : null
>
> What on earth is happening here in the last 2 lines ? Is the JSP being
> called twice ?
>
> Further testing has shown that this occurs:
>
> a. If I do not change the JSP and issue the same request to the JSP,
>     which makes me suspect it is related to caching somehow.
> b. Even if I change the JSP, but the request parameter is the same.
>
> This is completely and utterly bizarre. Any output to the browser is
> NOT duplicated so it doesn't appear to have much effect but it's very
> worrying for me, not being able to explain it.
>
> Could somebody please shed light on this ? Or am I still hungover ?
>
> Stephen.
>
>
>
>
> ---------------------------------
> With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
> your needs

Might be the hangover - I get correct output when I follow your steps and 
refresh with the parameter still in the URL and without too. I use Tomcat 
4.1.12.
My output with the parameter in the URL:

JSP PAGE DEBUGGING ************************************ 1
JSP : request PARAMETER set in URL    : helloworld
JSP : pathSuffix                      : helloworld
JSP PAGE DEBUGGING ************************************ 2
JSP : request PARAMETER set in URL    : helloworld
JSP : pathSuffix                      : helloworld

Paul

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


Bezerk - tomcat calls JSP twice ?

Posted by Stephen Riek <st...@yahoo.co.uk>.
I'm either still suffering from the effects of Saturday night or really didn't
understand something about Tomcat, because the following has me completely
surprised and unable to explain. 
I have a very very simple JSP "/Products/index.jsp" as follows - 
<%
int i = 1;
System.out.println("JSP PAGE DEBUGGING ************************************ " + i);
String pathSuffix = null;
if (request.getParameter("pathSuffix")!=null) {
 pathSuffix = request.getParameter("pathSuffix");
 System.out.println("JSP : request PARAMETER set in URL    : " + pathSuffix);
}
System.out.println("JSP : pathSuffix                      : " + pathSuffix);
%>

I open the page /Products/index.jsp?pathSuffix=helloworld in my browser
and the following appears at the Tomcat console - 

JSP PAGE DEBUGGING ************************************ 1
JSP : request PARAMETER set in URL    : helloworld  
JSP : pathSuffix                      : helloworld

No surprise so far.  

But then I change 'i' from 1 to 2 in the JSP and hit browser "refresh" 
and the following appears in the Tomcat  console -  

JSP PAGE DEBUGGING ************************************ 2
JSP : request PARAMETER set in URL    : helloworld
JSP : pathSuffix                      : helloworld

JSP PAGE DEBUGGING ************************************ 2
JSP : pathSuffix                      : null

What on earth is happening here in the last 2 lines ? Is the JSP being
called twice ? 

Further testing has shown that this occurs:

a. If I do not change the JSP and issue the same request to the JSP, 
    which makes me suspect it is related to caching somehow. 
b. Even if I change the JSP, but the request parameter is the same.

This is completely and utterly bizarre. Any output to the browser is 
NOT duplicated so it doesn't appear to have much effect but it's very
worrying for me, not being able to explain it. 

Could somebody please shed light on this ? Or am I still hungover ?

Stephen.




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Re: set enviroment variables on linux

Posted by Marcel St�r <ma...@frightanic.com>.
Jack_-_Ganzha wrote:
> How can i set a enviroment variable on linux using kde interface?

Global variables:
Edit file /etc/profile with whatever editor you like (e.g. KEdit). To set
CATALINA_HOME write the following:

CATALINA_HOME=/path/to/your/tomcat/installation/root/directory
export CATALINA_HOME

User specific variables:
Edit each user's .bash_profile file which can normally be found in
/home/username


Marcel


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


Re: set enviroment variables on linux

Posted by Pascal Platteeuw <pa...@swing.be>.
I would say :  open a terminal, go to /etc/login (or something like that)
modify the script to add your environment variables and then reboot...
Normally this should do what you want...

Friendly,

Pascal
----- Original Message -----
From: "Jack_-_Ganzha" <ja...@ieg.com.br>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Cc: <to...@jakarta.apache.org>
Sent: Saturday, November 30, 2002 3:42 AM
Subject: set enviroment variables on linux


> How can i set a enviroment variable on linux using kde interface?
>
>
>
> --
> 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>.
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>


tomcat 4.1.12 much slower than Tomcat 4.0.3

Posted by Ron Day <ro...@ronday.cc>.
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>


set enviroment variables on linux

Posted by Jack_-_Ganzha <ja...@ieg.com.br>.
How can i set a enviroment variable on linux using kde interface?



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


set enviroment variables on linux

Posted by Jack_-_Ganzha <ja...@ieg.com.br>.
How can i set a enviroment variable on linux using kde interface?



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