RE: Need *faster* connection abort with mod_jk

2008-01-25 Thread Chris Hut
Hi Rainer, thanks so much for the reply, this is looks like just what we need! I tried your patch on 1.2.26 and unfortunately it did not quite work - still got the 30 second wait. I dug a little deeper with some debugging code and it looks like, in the case of a client abort, the code goes throug

Re: misconfigured log4j issue

2008-01-25 Thread Konstantin Kolinko
What exactly tomcat, log4j versions are you using? It may be a classloader issue. Some of them are occasionally found and fixed. That looks like commons-logging resorts to use log4j for the Digester class (instead of java logging aka juli for the server classes), but cannot find configuration.

Re: Need *faster* connection abort with mod_jk

2008-01-25 Thread Rainer Jung
Hi Chris, perfect, that makes sense! Yes, we are draining the backend connection before closing it down, and since in your case the backend is happy to go along and proceed streaming it's not just a question of capturing a few additional bytes. Mladen Turk added the connection draining a whi

Re: When cookies are disabled by the browser ?

2008-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Farhan, mfs wrote: \> I have got my web app deployed on the tomcat 6.0.13, I wonder what | configuration do i have to do so as to make tomcat (built-in http server) | handles the scenario where a user has disabled the cookies on the browser ? Tomcat

Re: Tomcat App becomes Unresponsive

2008-01-25 Thread tc
> -BEGIN PGP SIGNED MESSAGE- > > Are you using a connection pool? If so, which one? > I'm trying to figure this out. I don't see any evidence of one configured in the server.xml file. If not, I presume it would be a good idea for us to start using one? > You need to make sure that you

RE: Starting Tomcat with JMX support

2008-01-25 Thread Charlie Wingate
I'm an idiotI got itno bat file needed. Thank you charles. (needed to set the option. Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: Caldara

RE: Starting Tomcat with JMX support

2008-01-25 Thread Caldarale, Charles R
> From: Charlie Wingate [mailto:[EMAIL PROTECTED] > Subject: RE: Starting Tomcat with JMX support > > I found that, but am I calling that in a bat as switch > after the tomcat5.exe? I'll bite: why are you doing that? If you want to run Tomcat from a .bat script, startup.bat should be the one us

RE: Starting Tomcat with JMX support

2008-01-25 Thread Charlie Wingate
I found that, but am I calling that in a bat as switch after the tomcat5.exe? So it looks like Tomcat5.exe set CATALINA_OPTS="-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.j

RE: Starting Tomcat with JMX support

2008-01-25 Thread Caldarale, Charles R
> From: Charlie Wingate [mailto:[EMAIL PROTECTED] > Subject: Starting Tomcat with JMX support > > I was wondering how I would start Tomcat such that I can > actually access the Jconsole for the JVM powering it? It's in the doc: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html If you're m

Starting Tomcat with JMX support

2008-01-25 Thread Charlie Wingate
Hi All, I was wondering how I would start Tomcat such that I can actually access the Jconsole for the JVM powering it? I know my PID for the Java instance and I have found that "the management agent is not enabled on this process". How do I "enable"? ( I have googled b

Idle thread recovery?

2008-01-25 Thread Craig Berry
My tomcat 6.014 instance is configured with an HTTP 1.1 listener with maxSpareThreads="50", but after a period of heavy use that allocates 200 connector threads, when usage falls again the extra threads never seem to be shut down. I'd expect to eventually see the connector thread count fall to 50.

tomcat shutdown sequence causing null pointers in log4j

2008-01-25 Thread Dan Armbrust
We have an issue in log4j where the tomcat shutdown sequence is causing null pointers. Could someone take a look at this bug, and provide input if possible? http://issues.apache.org/bugzilla/show_bug.cgi?id=43867 Thanks - To st

misconfigured log4j issue

2008-01-25 Thread Dan Armbrust
This seems to be a fairly common problem, but doesn't appear to have a common solution. Any help appriciated... When I launch a webapp, which includes log4j, I get the following warning: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Plea

Re: comet end event

2008-01-25 Thread Peter Warren
I put up a war file at: http://www.nomad.org/comet_test.war. It includes the webapp, source for the comet servlet & client, and the server.xml file. Let me know if I missed anything. As I mentioned before, I've also used your cometgui.jar client and see the end event generated when using it as w

RE: Need *faster* connection abort with mod_jk

2008-01-25 Thread Chris Hut
Hi Rainer, thanks for the reply! > interesting use case :) Just trying to keep things entertaining around here :) > are you writing something back during the wait time, or are you simply doing processing on the backend? Yes, the long-running process (video rendering) is also streaming the vide

When cookies are disabled by the browser ?

2008-01-25 Thread mfs
Guys, I have got my web app deployed on the tomcat 6.0.13, I wonder what configuration do i have to do so as to make tomcat (built-in http server) handles the scenario where a user has disabled the cookies on the browser ? though that wouldnt be the case for most of the users but still if that is

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy

2008-01-25 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy that is correct, we thought of this scenario and decided that we wouldn't support it. Not unreasonable to avo

Re: jmxproxy server management problem

2008-01-25 Thread Tim Funk
I just checked again - there is no way to invoke an action with the jmxproxy. Just set/get values. This can be done via JMX, just not the jmxproxy servlet. So if you allow tomcat to be monitored via a real JMX tool - you should be able to do this. -Tim Константин Шумай wrote: Tim, thanks fo

Re: Need *faster* connection abort with mod_jk

2008-01-25 Thread Rainer Jung
Hi Chris, interesting use case :) mod_jk closes the backend connection as soon as the reply_timeout fires, or there is something to write back to the client and mod_jk detects, that the connection to the client can not be used any longer (browser stop, retry or click on another link). If th

RE: Server 2008 x64 + Java + Tomcat - does not work

2008-01-25 Thread Caldarale, Charles R
> From: mor_feusz [mailto:[EMAIL PROTECTED] > Subject: Re: Server 2008 x64 + Java + Tomcat - does not work > > 3) i have replaced Tomcat5.exe and Tomcar5w.exe with x64 > version but AMTx64 > 5) start and works, JAVA 1.6 x64 but Tomcat 5.5 no t 6 Try simply renaming the AMD64 versions to tomcat6

Re: jmxproxy server management problem

2008-01-25 Thread Константин Шумай
Tim, thanks for explanation. But I do not understand what for this functionality. Can you give me advice how to change server port on running server or restart Connector pogrammatically? nI have an aim to change server port. I do not find any information how to do this making use of Tomcats managem

Re: Too many open files exception under heavy load - need help!

2008-01-25 Thread Rainer Jung
Tobias Schulz-Hess wrote: Hi Rainer, Rainer Jung schrieb: Hi, 1) How many fds does the process have, so is the question "why can't we use all those 4096 fds configured", or is it "Where do those 4096 fdsused by my process come from"? The latter. We can actually see the 4096 fds are used (by p

Re: Server 2008 x64 + Java + Tomcat - does not work

2008-01-25 Thread mor_feusz
mor_feusz wrote: > > Hi all. > I have installed test x64 environment. Server 2008. I have installed > latest Tomcat as well (6.0) and latest Java (1.6). > I had ot install JAVA 32bit - Tomcat did not wanted to start. I know that > service is 32 bit (i can see in task manager *32 at the end) an

RE: Error encountered : JNDI on Tomcat 5.5 for Database Informix with Informix JDBC driver

2008-01-25 Thread Hehl, Thomas
We do this all of the time in test and production environments. We use Datasource in the web.xml. I went through your parameters and, assuming the values are correct, they look fine. We use port 7101, though. The invocation exception looks like the error I get when the ifxjdbc.jar is not on the cl

RE: anyone using JNDI connection pool for Informix Database on T omcat

2008-01-25 Thread Hehl, Thomas
I am on Informix 7 and 9 on tomcat 5.5 and 6. How can I help? -Original Message- From: Amitava Chakraborty [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 3:43 AM To: users@tomcat.apache.org Subject: anyone using JNDI connection pool for Informix Database on Tomcat Please help

Re: Too many open files exception under heavy load - need help!

2008-01-25 Thread Tobias Schulz-Hess
Hi Rainer, Rainer Jung schrieb: > Hi, > > 1) How many fds does the process have, so is the question "why can't > we use all those 4096 fds configured", or is it "Where do those 4096 > fdsused by my process come from"? The latter. We can actually see the 4096 fds are used (by port 8080 in CLOSE_WAI

Re: jmxproxy server management problem

2008-01-25 Thread Tim Funk
All you did was change the bean which contains the property. Now that the port property is 8081. You need to stop the Connector and restart it. I'm not sure if you can do this via the JMXProxy servlet. (Or if you can - if there are any odd unexpected side effects) -Tim Константин Шумай wrote:

Problems with tomcat and wss4j

2008-01-25 Thread Sandra Kosmalla
Hi, I have some problems with tomcat and wss4j. I programmed a servlet that recieves Soap-messages with signatures. The servlet checks the signature. In case of a valid signature the servlet removes it. The removeSignature gives me the error message "Signature is unvalid" even with valid signa

Re: Too many open files exception under heavy load - need help!

2008-01-25 Thread Rainer Jung
Hi, 1) How many fds does the process have, so is the question "why can't we use all those 4096 fds configured", or is it "Where do those 4096 fdsused by my process come from"? 2) CLOSE_WAIT means the remote side closed the connection and the local side didn't yet close it. What's you remote

RE: Tomcat 6 - Cluster error.

2008-01-25 Thread Raúl García
Hi Again, once again thanks for your time, but we still have problems, We applied the "keepAliveCount=0" param. and last Wednesday 23 Jan we restart both nodes. Around 11 hour after the startup, node 1 reports a new error, but both nodes are working perfectly. I cannot imagine why the member dis

Tomcat 6 with isapi_redirect-1.2.26.dll and IIS6 Invalid Verb Error

2008-01-25 Thread Mark Lange
Hi, I have installed tomcat 6 with isapi_redirect-1.2.26.dll on an w2003 server. The IIS server runs in IIS5 isolation mode. Frequently i get an invalid verb error when i request an tomcat served page. The iis logs shows something like this: 2008-01-16 09:44:19 195.xxx.xxx.xx 37157 62.xxx.xxx.73

anyone using JNDI connection pool for Informix Database on Tomcat

2008-01-25 Thread Amitava Chakraborty
Please help me . I want to make a JNDI connection pool for Informix Database on Tomcat. Thanks.. Amitava - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Server 2008 x64 + Java + Tomcat - does not work

2008-01-25 Thread mor_feusz
It might be a good idea. But it is quite "stable" version and i have no problems with all "componentd|". I am strugling with Tomcat and Java "only". On Solaris 10 works perfect. Java 1.6 and Tomcat6 - no problems at all I am trying to resolve this problem Robert David Kerber wrote: > > mor_fe

Re: Too many open files exception under heavy load - need help!

2008-01-25 Thread Rainer Traut
Tobias Schulz-Hess schrieb: For Linux, this can be done dynamically by launching (fron the OS prompt): echo "16384" >/proc/sys/fs/file-max When I do ~# cat /proc/sys/fs/file-max 203065 This setting is a kernel limit. This tells me, that (at least this specific setting) is already suf

Re: Server 2008 x64 + Java + Tomcat - does not work

2008-01-25 Thread mor_feusz
Yes I have tried this but it is not Tomcat 6. It does not work with tomcat 6 at all. We wanto to "go forward" and move all to Java 1.6 and tomcat 6 Last resource will be to "go back" to Tomcat5 I can not run Tomcat from BAT script (i do not know why but i am searching solutions) As soon As i wi

Re: Server 2008 x64 + Java + Tomcat - does not work

2008-01-25 Thread mor_feusz
But the problem is it is TOMCAT5 not tomcat 6 I have tried and it does not work Robert markt-2 wrote: > > mor_feusz wrote: >> Hi all. >> I have installed test x64 environment. Server 2008. I have installed >> latest >> Tomcat as well (6.0) and latest Java (1.6). >> I had ot install JAVA