On 14.07.2009 04:34, Madhuri Patwardhan wrote:
Did you read the docs page about timeouts:
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
If you are very concerned about timeouts, use version 1.2.28, because it
has an additional socket_connect_timeout.
> connect_timeout and
On Mon, 2009-07-13 at 13:00 -0400, Christopher Schultz wrote:
>
> > As
> > Mikolaj Rydzewski said, you could perform a HTTP request using a
> > different JSESSIONID cookie or a ;jsessionid URL rewriting.
>
> This is possible.
>
> It's also possible to use a SessionListener to maintain your own
"Christopher Schultz" wrote in message
news:4a5be03c.7050...@christopherschultz.net...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> David,
>
> On 7/13/2009 8:50 PM, David Smith wrote:
>> If you look at all the third party repackages of tomcat that fail,
>> you'll see a theme -- symlinks
Thanks for the prompt reply. What is APR? (please pardon my ignorance. I am new
to this.)
connect_timeout and preprost_timeout what would be the typical values?
something like "5000" or less/more?
I also wonder if I specify prepost_timeout then it would mean now each request
would take that
> While I agree with your recommendation for using a more sophisticated
> build/deployment process, I disagree with your reasoning. Java and/or
> Tomcat should not have any problem reading files via symlinks. As far as
> I know, Java's I/O API does not have the ability to distinguish between
> symb
i faced same problem...
i'm now ok...
i'm not sure, if it works for you.. try once it- put "msvcr71.dll" into bin
directory of your tomcat..
i hope it would be useful to you..
On Tue, Jul 14, 2009 at 10:42 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED
Hi,
Thanks for the prompt reply. I mean 19 tomcat instances (mod_jk workers)
managed with load balancer worker.
I want to configure the timeout values so that hung tomcat is detected and
failover happens without users suffering. I completely understand that this
would be dependent on the app
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat 5.5.23 keeps starting threads until OS runs out of
> memory
>
> I'm surprised you're not hitting a thread maximum in the OS
> and halting the JVM.
I'm not aware of any hard limit in Windows; regardless, hittin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 7/7/2009 2:44 PM, André Warnier wrote:
> Dunno, but I have this nagging not-quite-sure memory tidbit :
>
running ./configure --with-apxs=/usr/apache2/bin/apxs
>
> I have not compiled mod_jk very often, but isn't there something like
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hung,
On 7/13/2009 2:21 PM, Bui, Hung (CDPH-DDWEM) wrote:
> I am using Tomcat 6.0.18. This morning I found that the Tomcat server
> was not running. I tried to start the service and got this error.
> Please help. Thank you.
>
> [2009-07-13 11:02:57
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rahman,
On 7/13/2009 9:13 AM, Rahman Akhlaqur wrote:
> Hi
>
> I am having an issue with Tomcat starting too many selector threads.
> I have got some stack trace info about these threads as below:
>
> SelectorThread
> sun.nio.ch.PollArrayWrapper.pol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Evan,
On 7/13/2009 7:08 PM, Evan Smith wrote:
> Case closed. Turns out my build was churning out both commons-net-1.4
> AND commons-net-2.0, resulting in a conflict.
That'll do it.
Good luck configuring all those security allowances :)
- -chris
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Madhuri,
On 7/13/2009 9:09 PM, Madhuri Patwardhan wrote:
> What should be the practical values for connect_timeout,
> prepost_timeout and reply_timeout in a production environment where
> traffic is considerable and a load balancer is used with 19 wor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 7/13/2009 8:50 PM, David Smith wrote:
> If you look at all the third party repackages of tomcat that fail,
> you'll see a theme -- symlinks cause problems in java. I would highly
> recommend you find a way to maintain that config file via t
Hi,
What should be the practical values for connect_timeout, prepost_timeout and
reply_timeout in a production environment where traffic is considerable and a
load balancer is used with 19 workers?
Thanks,
Madhuri
-
David Smith wrote:
> John Willemin wrote:
>
>> Tomcat 6.0.16
>> Linux 2.6.18
>> JDK 1.6.0_05
>>
>> Imagine a webapp like this:
>> /index.jsp
>> /WEB-INF
>> -web.xml (of course)
>> -/classes
>> --ConfigFile.txt
>> -/lib
>> --MyConfigLoader.class
>>
>> If I want to load ConfigFile.txt into an Inpu
John Willemin wrote:
> Tomcat 6.0.16
> Linux 2.6.18
> JDK 1.6.0_05
>
> Imagine a webapp like this:
> /index.jsp
> /WEB-INF
> -web.xml (of course)
> -/classes
> --ConfigFile.txt
> -/lib
> --MyConfigLoader.class
>
> If I want to load ConfigFile.txt into an InputStream from inside my
> webapp, all I h
Hi
I am having an issue with Tomcat starting too many selector threads. I have got
some stack trace info about these threads as below:
SelectorThread
sun.nio.ch.PollArrayWrapper.poll0 ( native code )
sun.nio.ch.PollArrayWrapper.poll ( PollArrayWrapper.java:74 )
sun.nio.ch.WindowsSelectorImpl
> Tomcat 6.0.16
> Linux 2.6.18
> JDK 1.6.0_05
>
> Imagine a webapp like this:
> /index.jsp
> /WEB-INF
> -web.xml (of course)
> -/classes
> --ConfigFile.txt
> -/lib
> --MyConfigLoader.class
... and imagine that .class file is inside a .jar file :) Sorry about that.
John
--
Tomcat 6.0.16
Linux 2.6.18
JDK 1.6.0_05
Imagine a webapp like this:
/index.jsp
/WEB-INF
-web.xml (of course)
-/classes
--ConfigFile.txt
-/lib
--MyConfigLoader.class
If I want to load ConfigFile.txt into an InputStream from inside my
webapp, all I have to do is this:
InputStream configStream =
th
charliehnabble wrote:
I debated putting this in a separate thread, but there seems to be so much
expertise focused on this thread:
What if I WANT chunked?
I have a device that sends http POST header and xml request payload in one
packet. Tomcat responds chunked. However when an intervening rout
Case closed. Turns out my build was churning out both commons-net-1.4
AND commons-net-2.0, resulting in a conflict. Hence, when I ran it
from Tomcat I saw the problem, and when I ran it from my test in
eclipse, I did not.
Thanks for your help Chris.
Evan
On Jul 13, 2009, at 2:10 PM, Evan
Holy smokes, the thing doesn't run at all if I turn the security
manager on. No doubt I should be running with one, but I'm afraid
that's chasing after an altogether different problem, at the moment.
I'm hesitant to go fix that until I've figured out this issue first.
Any other ideas?
Tha
On Jul 13, 2009, at 3:47 PM, Caldarale, Charles R wrote:
From: Lucas Vickers [mailto:lucasvick...@gmail.com]
Subject: Logging of memory / thread activity
I have an issue where Tomcat shuts down without reason.
So this is in some universe without causality? Must be quantum
effects.
Someo
I debated putting this in a separate thread, but there seems to be so much
expertise focused on this thread:
What if I WANT chunked?
I have a device that sends http POST header and xml request payload in one
packet. Tomcat responds chunked. However when an intervening router decides
to split the
Hi, Pid! How are you?
As I said, we now have a working solution, currently in tests, but so
far so good.
Nevertheless this is always a good exercice to better understand the
inner workings of our fellow Tom, the cat!
Cheers!
On 7/13/09, Pid wrote:
> On 13/7/09 20:51, Ivo Silva wrote:
>> Hi aga
On 13/7/09 20:57, Vida Luz Arista wrote:
Hi All
We have a application running on Apache Tomcat, but the performance is very
slow, the application was developer in netbeans, but now is runing in the
server is very slow.
Which versions of: Tomcat, OS?
How much memory on your dev machine, how m
On 13/7/09 20:51, Ivo Silva wrote:
Hi again, Christopher!
Yes, but that is the last resort!
We are still testing this approach but all is working as expected.
The main reason to adopt this is to provide the possibility to deploy
the legacy application in a portal environment (as a portlet) and
Thanks for the response, Chris.
No security manager, as I'm running into the errors in dev. I will try
running it under a security manager, and explicitly configure
catalina.policy to account for this connection. I'll let you know what
I find.
Evan
On Jul 13, 2009, at 10:06 AM, Christop
Hi All
We have a application running on Apache Tomcat, but the performance is very
slow, the application was developer in netbeans, but now is runing in the
server is very slow.
We need suggestion to make tuning en the apache tomcat.
Regards.
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
On 7/13/2009 2:22 PM, Lucas Vickers wrote:
> I have an issue where Tomcat shuts down without reason. When receiving a
> light to moderate load that involves MySql database work tomcat shuts down
> without error.
>
> I get the message
> "INFO
Hi again, Christopher!
Yes, but that is the last resort!
We are still testing this approach but all is working as expected.
The main reason to adopt this is to provide the possibility to deploy
the legacy application in a portal environment (as a portlet) and to
allow instatiation whitout requiri
well, tomcat shows no logged errors :) There is a reason, I just have not
yet figured it out.
I will take a look, thank you!
On Mon, Jul 13, 2009 at 3:47 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Lucas Vickers [mailto:lucasvick...@gmail.com]
> > Subject: Logging of
> From: Lucas Vickers [mailto:lucasvick...@gmail.com]
> Subject: Logging of memory / thread activity
>
> I have an issue where Tomcat shuts down without reason.
So this is in some universe without causality? Must be quantum effects.
> Is there any product / methodology for periodically
> loggin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
On 7/13/2009 2:37 PM, Lucas Vickers wrote:
> I see two jsvc instances of Tomcat that are identical.
>
> Why would there be two identical instances of Tomcat running via jsvc? Is
> this correct?
What happens if you look at the processes as a t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivo,
On 7/13/2009 2:28 PM, Ivo Silva wrote:
> I cannot use a request parameter because the "legacy" application is
> inside an iframe.
> If I passed it as a request parameter in the iframe it would only work
> the first time, because once you click a
I am troubleshooting an issue with Tomcat unexpectedly shutting down.
I am analyzing the running processes on my system.
I see two jsvc instances of Tomcat that are identical.
I see multiple httpd processes.
I believe httpd are worker threads, is this true?
Why would there be two identical insta
Hello, Christopher!
I cannot use a request parameter because the "legacy" application is
inside an iframe.
If I passed it as a request parameter in the iframe it would only work
the first time, because once you click a link inside the iframe the
parameter wouldn't be there.
Remember that the tric
Hello,
I have an issue where Tomcat shuts down without reason. When receiving a
light to moderate load that involves MySql database work tomcat shuts down
without error.
I get the message
"INFO main org.apache.coyote.http11. Http11BaseProtocol - Pausing Coyote
HTTP/1.1 on http-8080"
This is con
Hi,
I am using Tomcat 6.0.18. This morning I found that the Tomcat server
was not running. I tried to start the service and got this error.
Please help. Thank you.
[2009-07-13 11:02:57] [994 prunsrv.c] [error] Failed creating java
C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll
[20
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Evan,
On 7/10/2009 4:43 PM, Evan Smith wrote:
> What's puzzling is that I have tested this exact code inside and outside
> Tomcat, on several different machines. On every machine, it connects and
> lists files on the FTP server successfully every time
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote:
> I don't know if you can/should change other HttpSession directly.
You might be able to on an older servlet container, but this portion of
the API has been deprecated and will ca
I don't know if you can/should change other HttpSession directly. As
Mikolaj Rydzewski said, you could perform a HTTP request using a
different JSESSIONID cookie or a ;jsessionid URL rewriting.
On Mon, 2009-07-13 at 16:33 +0200, Yves Glodt wrote:
> Unfortunately what the blog above descr
On 13.07.2009 15:04, Simon Kulessa wrote:
> Hello,
>
> I am trying to configure IIS 7.0 and Tomcat 6.0.18 with the JK 1.2.28
> Connector.
> OS is Windows Server 2008 64bit.
>
> I have followed the tutorial from http://www.iisadmin.co.uk/?p=72
> but all i get is a 404 error. It seems that the isap
nitingautam wrote:
> I am using JAVA 1.4.2_17-b06
> I face this issue sometimes only. Now days coming regularly :(
> how to fix then
How about
a) reading what Chris wrote when you asked this question
b) doing what he suggests
c) posting the results you get
Mark
> Christopher Schultz-2 wrote:
>
I am using JAVA 1.4.2_17-b06
I face this issue sometimes only. Now days coming regularly :(
how to fix then
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> To whom it may concern,
>
> (Marked as OT since this is a JVM issue, not a Tomcat issue).
>
> On
Unfortunately what the blog above describes does not seem to work anymore...:
HttpSessionContext sc = request.getSession().getSessionContext();
HttpSession userSession = sc.getSession(sessionId);
userSession.setAttribute("myObject", cr);
It silently fails with an exception at the last line, an ex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
(Marked as OT since this is a JVM issue, not a Tomcat issue).
On 7/9/2009 11:01 AM, nitingautam wrote:
> In my web application i am using ldap authentication. I am using tomcat 5.5
> with jdk 1.4. From some days when I try to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shaun,
On 7/13/2009 1:06 AM, Shaun Qualheim wrote:
> Basically. We could clear things up a little bit though, just going to
> https:// right away:
>
> client -- https:443 --> lb --> http:81 --> apache --> mod_jk --> 1 of 3
> tomcats.
Yeah, this m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shah,
On 7/13/2009 8:13 AM, Shah, Dhaval wrote:
> I'm trying to upgrade from Tomcat 5.0 to Tomcat 6.0. The Problem I'm
> facing is that my application uses an interface ValveContext which is
> missing in Tomcat 6.0. Any idea how can I get this functio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Siomara,
On 7/11/2009 10:31 PM, siom...@portosdobrasil.gov.br wrote:
> Filef= new File(filename);
> response.setContentType( (mimetype != null) ? mimetype :
> "application/octet-stream" );
If the content type
Rainer Jung-3 wrote:
>
>
> You might want to look at Bloch's book "Effective Java", which has a
> section called "Avoid finalizers". The page
>
> http://java.sun.com/developer/technicalArticles/javase/finalization/
>
> also has some introductory material.
>
> The dbcp pool for instance has
Hello,
I am trying to configure IIS 7.0 and Tomcat 6.0.18 with the JK 1.2.28
Connector.
OS is Windows Server 2008 64bit.
I have followed the tutorial from http://www.iisadmin.co.uk/?p=72
but all i get is a 404 error. It seems that the isapi_redirector.dll is
not loaded.
Let me explain what
Thanks for telling. I found another way (deprecated) in the mean time:
http://javasolution.blogspot.com/2007/08/getting-session-object-using-session-id.html
2009/7/13 Mikolaj Rydzewski :
> Yves Glodt wrote:
>>
>> is it possible to "open" a different HttpSession than my "own" (if
>> it's session-i
Yves Glodt wrote:
is it possible to "open" a different HttpSession than my "own" (if
it's session-id is known), and set an attribute in that session?
You can perform HTTP request with session cookie explicity set.
--
Mikolaj Rydzewski
--
Hello,
is it possible to "open" a different HttpSession than my "own" (if
it's session-id is known), and set an attribute in that session?
Best regards,
Yves
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For addi
On 13.07.2009 13:59, acastanheira2001 wrote:
> Hi,
>
> Apache has an internationalized error page system configured on errors.conf.
> I use apache and tomcat on the same machine, so I would like that tomcat use
> the same error page config.
>
> Any ideas?
>
> Thanks,
> Andre
Likely not exactly
Hello,
I'm trying to upgrade from Tomcat 5.0 to Tomcat 6.0. The Problem I'm facing is
that my application uses an interface ValveContext which is missing in Tomcat
6.0. Any idea how can I get this functionality (provided by ValveContext) in
Tomcat 6.0.
The invokeNext(request, response) method
Hi,
Apache has an internationalized error page system configured on errors.conf.
I use apache and tomcat on the same machine, so I would like that tomcat use
the same error page config.
Any ideas?
Thanks,
Andre
--
View this message in context:
http://www.nabble.com/How-to-use-the-error-page-c
On 13.07.2009 11:31, Raphael Neve wrote:
>
> Rainer Jung-3 wrote:
>>
>> [...]
>>
>> Yup, and the code run by the finalizer makes a network call (likely to
>> the database), which seems to be a very bad pattern. Finalizers are not
>> a great idea by themselves, but one needs to keep them as simple
Rainer Jung-3 wrote:
>
>
> [...]
>
> Yup, and the code run by the finalizer makes a network call (likely to
> the database), which seems to be a very bad pattern. Finalizers are not
> a great idea by themselves, but one needs to keep them as simple as
> possible. Doing network communication in
On 13.07.2009 11:05, Raphael Neve wrote:
>
> Rainer Jung-3 wrote:
>> TP-Processor16 owns lock at 0x73a71c40 and thus blocks TP12, TP5 and TP1.
>>
>> TP16 and TP2 both wait for lock 0x73a71dd0. The thread holding this lock
>> is not in your dump.
>>
>> Since the lock is of type
>> org.firebirdsql.g
Rainer Jung-3 wrote:
>
> TP-Processor16 owns lock at 0x73a71c40 and thus blocks TP12, TP5 and TP1.
>
> TP16 and TP2 both wait for lock 0x73a71dd0. The thread holding this lock
> is not in your dump.
>
> Since the lock is of type
> org.firebirdsql.gds.impl.wire.isc_db_handle_impl, it seems eith
On 13.07.2009 10:12, Raphael Neve wrote:
> Hello all,
>
> I have a problem with a web application using Tomcat 5.5.27 under Fedora
> Linux and database Firebird 2.1.
>
> The application runs fine for a day or so, then I begin getting blocked
> threads. Eventually, the heap space runs out and the
On 13.07.2009 06:51, Shaun Qualheim wrote:
> All --
>
> Is there any way that scheme and/or proxyPort attributes in
> server.xml can add significantly to processing time? We're noticing
> that 2 identical servers, 1 that is straight http, and 1 that is
> behind an ssl offloader with scheme=https
On 11.07.2009 00:41, Dan Ganny wrote:
> I am really desperate to need some help with a weird customer issue.
> The IIS ISAPI redirector log excerpt is posted below.
>
>
>
> The URI printed out in the log is
> '/24.220.76.4http://24.220.76.4/CCPROChat/CPChatRequest.jsp'. This is
> obviously inval
Hello all,
I have a problem with a web application using Tomcat 5.5.27 under Fedora
Linux and database Firebird 2.1.
The application runs fine for a day or so, then I begin getting blocked
threads. Eventually, the heap space runs out and the application grinds to a
halt.
I realise this may be
On 13.07.2009 02:28, Will Glass-Husain wrote:
> Thanks Christopher,
>
> I'll upgrade to the latest mod_jk and look at the timeout params.
> We'll see if that helps.
Since you can easily reproduce, it would be a interesting and easy test,
to deactivate the tcnative/APR connector and recheck, wheth
On 10.07.2009 07:31, Aneesha Pant wrote:
> We have configured 2 tomcats with 1 Apache on the same box, but during
> performance testing, we are continuously getting these errors in the
> mod_jk log
> Please help
Since 111 on most OSes is "connection refused", I am guessing you got
OutOfmemoryError
69 matches
Mail list logo