From: Brian Le [mailto:[EMAIL PROTECTED]
Subject: Re: Apache Tomcat takes 3 to 4 browser request
clicks to wake up after being idle for 1-2 hours
Forgot to mention my box has 4gig of RAM.
Is power management enabled? Are parts of your box shutting down during
idle periods?
- Chuck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Caron wrote:
| I may need to make many such transfers to satisfy the request, so
| sendfile doesnt seem like it will work.
In this case, are you sure that HTTP is really the protocol for you?
It's not too difficult to write a NIO-based
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
| The url is not changed when I point to
| http://www.mydomain.com/login.html in browser. The .html is mapped to
| servlet. I expected it to change to https://
I think David identified part of the problem: your XML is not set
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
From: Dalia,Keith A - TO-DITT1 [EMAIL PROTECTED]
Subject: Changing the webapp classpath
I was wondering if there was a way to alter the default
webapps classpath.
There's an undocumented capability within Tomcat that provides what
you're asking for. (Since it's undocumented, I would assume
I was wondering if there was a way to alter the default webapps
classpath. We use several different .jars in our deployments and would
like to create a directory structure under the web_inf/lib directory.
By default the webapps classloader only looks in web_inf/classes and
web_inf/lib. Any help
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
| I think this is worth submitting a security issue request on tracker,
| to ask that, at least, the container links the requester IP to the
| session.
I'm pretty sure that nobody will want to do this -- at least not
1.
What Eclipse configuration will you know? I can show you.
2.
Launching Tomcat with the listener class loaded by the system classloader
would be
a simple way to cause this.
How to avoid this?
There is not enough detail about your
Totally agree with everything brien says below.
I also run a web site with a large number of media objects. I've been
involved in filing system and media projects for many years both in
research and production capacity.
The slight increase in complexity of the solution to maintain the media
Hello,
I am new to struts. can any one give me some tips or good links to
configuring tomcat and struts in eclipse 3.0
. I have been trying to find some websits that can provide me the
steps without much luck.
Thanks in advance
Murali
not broken, corrected. the java doc says
setValue
public void *setValue*(String
http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html newValue)
Assigns a new value to a cookie after the cookie is created. If you
use a binary value, you may want to use BASE64 encoding.
So, I would place the Loader in the web.xml that ships with my webapp?
In the past I've only used the Context in the server.xml when defining
virtual sites.
Thanks.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 2:58 PM
To: Tomcat
Thanks Konstantin for you prompt response.
Is the solution identified? I don't find it anywhere on google.
-Original Message-
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 11:25 AM
To: Tomcat Users List
Subject: Re: Incorrect cookie value in
Hi,
I am trying to implement the catalina.out log rotation in the development
environment (for now and will implement to other environments once I figure
this out) using log4j. I am running apache-tomcat version 5.5.25 and
downloaded the apache-log4j-1.2.15 and commons-logging-1.1.1. I
Hello,
We upgraded to tomcat 5.5.26 from 5.0.28 and now its returning incorrect
cookie value.
We are setting user email/id in a cookie to remember the user, as follows
Cookie cookie = new Cookie(Constants.COOKIE_NAME, [EMAIL PROTECTED]);
On doing cookie.getValue(), tomcat 5.5.26 just
I think I solved my problem. For every context launched in Tomcat, I need
to create a blank directory with the same name as the context. This has
somehow stopped the 404.2 errors. I had put a directory in there for
examples for a different exercise, and for some reason it works.
I don't
Thank you Peter and Len, trying your advise right now.
Forgot to mention my box has 4gig of RAM.
- Original Message
From: Peter Crowther [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, February 11, 2008 8:55:21 AM
Subject: RE: Apache Tomcat takes 3 to 4
From: Brian Le [mailto:[EMAIL PROTECTED]
So how do I make Tomcat responsive to website visitors after
1-2 hours of no visitors?
Web server setup:
Suse Linux 10.3 - text based, minimal install
Apache 2.2.8 - mpm_worker, compiled front end using mod_jk
1.2.26 Tomcat connector, default
Hello,
Issue:
Apache Tomcat takes 3-4 browser request clicks to wake up after being idle
for 1-2 hours.
Tomcat is very responsive after Apache and Tomcat server startup also after
doing my 3-4 browser request clicks to the website to wake up Tomcat.
However, after 1-2 hours of being idle
There is not enough detail about your Eclipse configuration to make much of a
guess. Basically the exception says that the ServletRequestListener class is
not visible to one of the listener classes loaded in your web.xml. Either
because it's missing (which seems not to be the case), or
Hi - sorry if this is a repost as I found my email wasn't properly validated,
We have a set-up of Apache 2 and Tomcat 5 on our dev server (running Debian). I
have a VirtualHost set up that has a JkMount in it that corresponds to a Tomcat
webapp (so far so standard), like JkMount /*webapp*
Christopher Schultz a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
| I think this is worth submitting a security issue request on tracker,
| to ask that, at least, the container links the requester IP to the
| session.
I'm pretty sure that nobody will want
we made a correction, if you read the javadoc, that is an invalid value
for a v0 cookie.
do a cookie.setVersion(1);
Filip
Sushil Vegad wrote:
Hello,
We upgraded to tomcat 5.5.26 from 5.0.28 and now its returning incorrect
cookie value.
We are setting user email/id in a cookie to
I guess the cause is the same as for tomcat 6.0.16.
See messages entitles Cookies are broken in 6.0.16?.
http://www.nabble.com/Cookies-are-broken-in-6.0.16--to15369118.html
-
To start a new topic, e-mail: users@tomcat.apache.org
This worked perfectly.
Thank you very much for your patience and help.
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, February 11, 2008 5:09 PM
Subject: RE: Out of Memory Errors when upgrading from 5.0.27
Ooops, my fault! I've read and replied too fast (maybe because it's Monday? :-))
Of course this shouldn't be done with *two domain names* only with
two host names in the same domain... I suppose it won't work in
actual browsers but if it does I let you all know...
Sorry
Jan
Hassan Schroeder
On Feb 11, 2008 5:00 AM, Jan Mönnich [EMAIL PROTECTED] wrote:
You can get one certificate with both domain names in the Subject
Alternative Name of the Certificate. All modern browsers can handle that
and you can use just one Certificate for both domains. That's the
workaround we are
Are there any errors in the Tomcat logs? Are the requests even getting
to the Tomcat server? You can have Apache, Tomcat and mod_jk log all
requests to see if they're getting lost somewhere. Also check if
there's a problem with the database (if you're using one).
As a stop-gap, you could write a
Chuck,
I updated the server.xml for this user to be:
Host name='www.domain.com'
debug='0'
appBase='/home/user/html'
unpackWARs='true'
autoDeploy='false'
Ok thank you, that's what I was afraid on...
My only problem is that I use a special web framework, I'll try to see
how I can load resource from out of the app in that framework.
Thank you again for your confirmation
David Smith a écrit :
If you want to retain modifications like this, your
Hi. I have a web app with standard form authentication and a custom
JDBCRealm. Now, I need to enable client certificate authentication, and
be able to use both authentication mechanisms (certificates when the
user sends them, and standard login form when he doesn't).
I don't know if this is
Sorry guy. Maybe someone else can provide such updates. I'd have to
write it as I've never had the need for such functionality.
--David
persistence k wrote:
Thanks Mr.David .
Will you please send me a sample start up script to handle renaming or
deleting the old catalina.out file.
If you want to retain modifications like this, your only option is to
deploy the exploded webapp. I would encourage you to store the uploaded
files in another folder outside your webapp which would make updating
your webapp cleaner, easier to manage.
--David
Sébastien Piller wrote:
Is it at
Is it at least possible? Or is the only way to fix my issue to upload
only exploded files (so Tomcat will not redeploy the app)?
Anybody has an idea?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe,
Thanks Mr.David .
Will you please send me a sample start up script to handle renaming or
deleting the old catalina.out file.
Regards,
Persistence
On 2/11/08, David Smith [EMAIL PROTECTED] wrote:
Then you should modify the startup script to handle renaming or deleting
the old file before
Hello people,
First, I would like to thank you all for your work on this great
project. Tomcat is, was, and will be my favourite webapp server from a
long time ;)
I never need to do a lot with its internal configuration, but now I'm
asking myself if the following stuff could be done:
I
catalina.out is just the sink for System.out and System.err, it's not
managed by logging facilities. It's not even seen by jvm, as the
redirection is done in the startup script (using the shell ''
redirector). If you configure a log4j logger for tomcat that uses an
other file (see below our
I am guessing... Somewhere in the script there should be a catalina.out
to append to catalina.out. Change that to catalina.out so that the old
file is automatically rewritten. Or else you may use rotatelogs program
that comes with apache http server. See
Hello,
I know that this list isn't for web developping but I have impression that
maybe tomcat makes problems so I'm writting here ...
I made very simple web application. Namely on the main page there is list of
records (list.jsp). I can create new record, edit and delete.
So when user
39 matches
Mail list logo