Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

2010-09-30 Thread Rainer Jung
On 30.09.2010 10:33, Hans Magne Helland wrote: Have you tried running it on a 64-bit JVM? I will try that on a test server, and see if things work out as it should! From a very recent consulting job (performance and stability problems with the BMC Remedy Midtier application): Yes, it uses a

Re: session won't timeout

2010-09-30 Thread Rainer Jung
On 30.09.2010 07:13, Caldarale, Charles R wrote: From: Jing Chen [mailto:jin...@yahoo.com] Subject: Re: session won't timeout The results are different - in one case, the session is destroyed after 30 minutes; but in another case, the session stay active. First, look in Tomcat's logs to see

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread Rainer Jung
On 27.09.2010 15:42, jmorati...@dit.upm.es wrote: Many thanks Caldarale. I'm working with tomcat 6, but a I was looking so quickly for an answer that I didn't realise that it was the tomcat 3.2 user manual, but that explained me what happened. I think thatWatchedResource will help me for this

Re: session won't timeout

2010-09-27 Thread Rainer Jung
On 27.09.2010 20:16, Jing Chen wrote: Hi, I have a web app running on JBoss. I have made sure the following: 1. /jbossweb-tomcat55.sar/conf/web.xml to set the session timeout as 30 minutes: session-config session-timeout30/session-timeout /session-config 2. I am using

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-26 Thread Rainer Jung
On 15.09.2010 11:02, Pid wrote: On 14/09/2010 23:35, André Warnier wrote: Pid wrote: On 14/09/2010 16:17, Steve Ryder wrote: java.security.AccessControlException: access denied (java.io.FilePermission /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read) When I first

Re: Tomcat Logging Not Working Properly

2010-09-26 Thread Rainer Jung
On 24.09.2010 16:05, Donald Winston wrote: I can't get logging to work properly with tomcat(. The file handler prefix works but anything below INFO does not show up in the log! What could be wrong? I declare the logger in my classes like the following: private static Logger logger =

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 09:05, John Baker wrote: On Tuesday 07 September 2010 06:28:33 you wrote: On 09/06/2010 11:59 PM, John Baker wrote: What's jk_maintain? Function that maintains the workers (closes excess connections inactive for a long time) Anyhow, like Rainer said, if that's the case you

Re: Best practice for running Tomcat on port 80

2010-09-07 Thread Rainer Jung
On 07.09.2010 09:40, Pid wrote: On 07/09/2010 06:14, jan gestre wrote: On Tue, Sep 7, 2010 at 1:02 PM, Wesley Achesonwesley.ache...@gmail.com wrote: On Tue, Sep 7, 2010 at 4:34 AM, jan gestreipcopper...@gmail.com wrote: I'm using the latest 6.0.29 binary distribution, and I don't have an

Re: Apache AJP to 4 TCs

2010-09-07 Thread Rainer Jung
See remarks inline. On 07.09.2010 10:01, Andrew Bruno wrote: Fair enough Pid, here it is: Windows 2008 R2 64 Bit Java(TM) SE Runtime Environment (build 1.6.0_17-b04) / Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode) Tomcat 6.0.28 Apache 2.2.15 mod_jk-1.2.30-httpd-2.2.3.so AB

Re: Unable to acheive load balcing using mod_jk

2010-09-07 Thread Rainer Jung
On 07.09.2010 11:15, Mladen Turk wrote: On 09/07/2010 11:02 AM, Amol Puglia wrote: Hello Team, Below are the details of workers.properties file and httpd.conf file. # lists the workers by name worker.list=tomcat1, tomcat2, tomcat3, loadbalancer This should be worker.list=loadbalancer

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 11:36, John Baker wrote: Rainer, Is this acceptable? I am using a tail and an egrep to match the various statements you wish to see. if it's missing anything, plesae let me know what to add to the grep. Yes, that's better! [Tue Sep 07 10:20:20.617 2010]

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 12:29, Mladen Turk wrote: On 09/07/2010 12:09 PM, Rainer Jung wrote: Are we sure, that those log lines are correct? This was generated by mod_jk 1.2.30 without any code changes, right? The other option would be to set JkWatchdogInterval 60 In that case wc_maintain would happen

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 12:32, John Baker wrote: Rainer, On Tuesday 07 September 2010 11:09:46 you wrote: I don't like socket_timeout ... worker.basic.socket_timeout=90 but I would like socket_connect_timeout. The next two are possibly a bit short, because if the backend e.g. does a Java Garbage

Re: Unable to acheive load balcing using mod_jk

2010-09-07 Thread Rainer Jung
On 07.09.2010 12:40, Amol Puglia wrote: Hello Team, After making changes to worker list as mentioned in the below mail. worker.list=loadbalancer. We are noticing following messages in the log files and we are getting 500 error messages while accessing URL. [Tue Sep 07 12:34:52.904 2010]

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 12:40, Rainer Jung wrote: On 07.09.2010 12:32, John Baker wrote: Rainer, On Tuesday 07 September 2010 11:09:46 you wrote: I don't like socket_timeout ... worker.basic.socket_timeout=90 but I would like socket_connect_timeout. The next two are possibly a bit short, because

Re: Unable to acheive load balcing using mod_jk

2010-09-07 Thread Rainer Jung
On 07.09.2010 17:04, Brett Delle Grazie wrote: On Tue, 2010-09-07 at 11:15 +0200, Mladen Turk wrote: On 09/07/2010 11:02 AM, Amol Puglia wrote: Hello Team, Below are the details of workers.properties file and httpd.conf file. # lists the workers by name worker.list=tomcat1, tomcat2,

Re: Tomcat Connectors - Dynamic reloading of workers

2010-09-07 Thread Rainer Jung
Can you please add an enhancement issue in bugzilla and attach the patch. That way it doesn't get lost and we can easily find it. Thanks! Rainer On 07.09.2010 19:36, Ruslan Gainutdinov wrote: Thanks, JkShmSize helps. However this solution does not seems to be flexible enough. No way to tell

Re: 2 second delays in mod_jk while maintaining workers

2010-09-07 Thread Rainer Jung
On 07.09.2010 19:46, John Baker wrote: Where can I find documentation on JkWatchdog? General documntation on mod_jk: http://tomcat.apache.org/connectors-doc/ JK directives: http://tomcat.apache.org/connectors-doc/reference/apache.html workers.properties:

Re: logging in problem in Tomcat 7

2010-09-06 Thread Rainer Jung
On 06.09.2010 12:51, Subrat Kumar Pattnaik wrote: I can not login to Apache Tomcat 7 managerplease tell me the configuration See: http://tomcat.apache.org/migration.html#Manager_application Regards, Rainer - To

Re: Errant slow request

2010-09-06 Thread Rainer Jung
On 05.09.2010 22:36, Kevin wrote: Hi Rainer, On 9/5/2010 12:55 AM, Rainer Jung wrote: Can you share the Java thread dumps? If locking is involved, implementations are not necessarily fair. This can lead to such behaviour, especially when locks start to become overloaded. Here is a ZIP

Re: Tomcat Connectors - Dynamic reloading of workers

2010-09-06 Thread Rainer Jung
On 06.09.2010 22:04, Ruslan Gainutdinov wrote: Thanks for info, I`ll check it out tomorrow. AFAIK, on windows, it is not shared memory but some sort of pool. Isn`t it dynamically grows when needed? No. Until version 1.2.26 you had to configure a fixed max size, from which the needed memory

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread Rainer Jung
On 06.09.2010 19:56, Mladen Turk wrote: On 09/06/2010 04:16 PM, John Baker wrote: I've set the Jk logging to trace and you can see the debug statements and the 2s delays: Do you use NFS share by any chance to store the mod_jk log directory data? I didn't look at the code now, but the 2

Re: Errant slow request

2010-09-05 Thread Rainer Jung
On 05.09.2010 04:19, Kevin wrote: Hi, I'm using Apache Bench (ab) to send 1,000 requests with a concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, 2010-09-03) which uses request.startAsync() and Executors.newFixedThreadPool(10) to do the work and return a few bytes of

Re: [OT] clear text keystore password in server.xml

2010-09-04 Thread Rainer Jung
On 02.09.2010 18:55, Pid wrote: On 02/09/2010 17:31, Christopher Schultz wrote: Pid, On 9/2/2010 11:51 AM, Pid wrote: ..lots of info is available by JMX, once the server is up. In Java 6 you can attach to the process locally, without having to configure the JMX ports because it injects the

Re: Phantom Sessions

2010-09-04 Thread Rainer Jung
On 03.09.2010 00:20, Paul Szynol wrote: Hi, Chris, Thanks for your response. I do get those requests, but it seems they always generate standard user agent information, which I then store in the associated session object. These session objects don't have any user agent information--that's why

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-09-02 Thread Rainer Jung
On 02.09.2010 07:12, takanobu watanabe wrote: Hello Rainer, Thanks detailed explain. and now I use jconsole to measuring. But when jconsole try to connect remote target host, JVM down. Probably it is not tomcat issue,I think. Yeah, looks like a JVM issue. If you file a bug there, provide the

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Rainer Jung
On 02.09.2010 13:39, Brett Delle Grazie wrote: Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk:

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread Rainer Jung
On 31.08.2010 10:34, takanobu watanabe wrote: Hello, What is default value of CATALINA_OPTS at apache-tomcat-6.0.29 ? It means No configure catalina.sh as same as value of CATALINA_OPTS just expand tomcat. Because I try to run tomcat lean physical memory condition(128Mb only with armv5). When

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread Rainer Jung
On 31.08.2010 13:14, takanobu watanabe wrote: Thank you very much Rainer. Tomcat itself doesn't need much memory and you should be able to run it with less than 64MB Heap (plus Perm) I recognized 64MB= Am + Bm from your advice. Is my recognized correct ? ---example catalina.sh---

Re: High CPU Utilization

2010-08-30 Thread Rainer Jung
On 30.08.2010 11:47, Honey Bajaj wrote: Hello, I have tomcat 5.5.9 running on CentOS 4.8, I have to restart my tomcat instance every alternate day and after every 2 or 3 restarts I can see a high cpu utilization (i.e. almost double of the normal) whereas there is no change in application

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-27 Thread Rainer Jung
On 26.08.2010 23:29, Wesley Acheson wrote: On Sat, Aug 21, 2010 at 12:12 PM, Pidp...@pidster.com wrote: On 20/08/2010 22:40, Wesley Acheson wrote: I'm a bit lost with this thread. Are people suggesting I should submit a patch. I really wouldn't know where to begin looking. That's where the

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
On 27.08.2010 14:17, Thiago Locatelli da Silva wrote: Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running tomcat 6.0.29. The problem is that I was given only two servers to do this, what gave me only one option: run the apache in one of these

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
the solution was? Upgrading Apache, using the backend server URLs in ProxyPassReverse, something else? Regards, Rainer Rainer Jung escreveu: On 27.08.2010 14:17, Thiago Locatelli da Silva wrote: Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running

Re: multiple instances on a server

2010-08-27 Thread Rainer Jung
On 27.08.2010 21:58, Wesley Acheson wrote: On Fri, Aug 27, 2010 at 9:41 PM, Pidp...@pidster.com wrote: On 27/08/2010 18:51, Wesley Acheson wrote: I think the reason for doing this in ruby is that ruby is single threaded, I've been told. The JVM isn't. I'm raising an eyebrow. Huh?

Re: pick load

2010-08-26 Thread Rainer Jung
On 26.08.2010 03:28, Alexandre Chapellon wrote: Hello, I'm quite new to tomcat and have an old webapps running on tomcat 4.1 and jvm 1.4.2 with apach2.2 in front ofthem (using modjk). I'm trying to get ready for a comming pick load I will have to face. I Try to do some benchmark using ab and

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Rainer Jung
On 26.08.2010 17:24, Chefo wrote: Hi again and thanks for the quick responses. What bothers me in the WebappClassLoader is the fact that before it checks its repositories (lib folder and classes) and asks its parent class loader, it will first attempt to load a class from the system class

Re: pick load

2010-08-26 Thread Rainer Jung
On 26.08.2010 21:00, Alexandre Chapellon wrote: Le jeudi 26 août 2010 à 09:25 +0200, Rainer Jung a écrit : On 26.08.2010 03:28, Alexandre Chapellon wrote: Hello, I'm quite new to tomcat and have an old webapps running on tomcat 4.1 and jvm 1.4.2 with apach2.2 in front ofthem (using modjk

Re: Tomcat Version Numbers

2010-08-25 Thread Rainer Jung
On 25.08.2010 20:57, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/25/2010 11:15 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers why not have a tag progression that

Re: logging from a filter

2010-08-20 Thread Rainer Jung
On 20.08.2010 11:43, David Goodenough wrote: How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. The init() of the filter is called with a FilterConfig argument, from which you get a

Re: How can i tell how much of allocated heap is being used?

2010-08-19 Thread Rainer Jung
On 18.08.2010 20:41, laredotornado wrote: Hi, I'm using Tomcat 6.0.26, Java 1.6 on Linux kernel 2.6.18-164.11.1.el5. I'm trying to figure out if there if we can figure out how much of our allocated heap memory is actually being used. Grateful for any thoughts you might have, - Dave Caution

Re: Tomcat sessions issue?

2010-08-19 Thread Rainer Jung
To add the obvious: Use your browser to have a look at your JSESSIONID cookies (and any other cookies of the same name used by both apps) after loging in to LifeRay and after loging in to Alfresco. Write down domain and path properties and see whether they conflict (whether one of the cookies

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Rainer Jung
On 18.08.2010 22:45, Igor Galić wrote: org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:1269) This means, that you specified userPattern='...' in your realm configuration. And you since your pattern looks like '(uid={0})(...)' it is probably wrong. You have specified

Re: Tomcat sessions issue?

2010-08-19 Thread Rainer Jung
On 19.08.2010 09:25, Pid wrote: On 19/08/2010 04:50, Christopher Schultz wrote: Robin, On 8/18/2010 5:57 PM, Robin Diederen wrote: That's interesting to say the least. I agree with André's assessment: you have a cookie collision. See below for hints for removing the conflict. Without

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Rainer Jung
On 19.08.2010 18:55, Igor Galić wrote: Use it as you like. As Rainer has hinted, the apache wiki would be a good place for documentation :) Excellent. Thank you very much, will do that. URL: http://wiki.apache.org/tomcat/ :)

Re: Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 20:27, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party application. This application is configured to display some company internal information when accessing the page directly without

Re: Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 21:17, li...@cgi-net.ch wrote: On Thu, 19 Aug 2010 20:57:57 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 19.08.2010 20:27, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Rainer Jung
Hi Igor, On 15.08.2010 16:14, Igor Galić wrote: Hi folks, I'm running Hudson in Tomcat 6.0.29 on Debian/Squeeze/amd64 with i.ga...@pheme /opt/tomcat6 % java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread Rainer Jung
On 12.08.2010 10:45, HANDE CANORUÇ wrote: I am using mod jk in order to connect tomcat and glassfish 3.1. In the mod_jk log file I am getting these errors; [info] ajp_send_request::jk_ajp_common.c (1178): Socket 24 is not connected any more (errno=-1) [info]

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 15:59, Angelo Chen wrote: Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 20:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angelo, On 8/12/2010 9:59 AM, Angelo Chen wrote: I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it:

Re: Rewrite URLs inside HTML pages?

2010-08-11 Thread Rainer Jung
On 09.08.2010 03:28, Leon Kolchinsky wrote: On Thu, Aug 5, 2010 at 18:26, Rainer Jungrainer.j...@kippdata.de wrote: On 05.08.2010 03:30, Leon Kolchinsky wrote: # JkRequestLogFormat set the request format JkRequestLogFormat %w %V %T Unrelated: Don't like the JkRequestFormat. Instead

Re: 2 POST requests to underlying Server

2010-08-11 Thread Rainer Jung
On 10.08.2010 09:38, Karthik Nanjangude wrote: Hi Spec Java 1.5 O/s : Linux APP Server: JBOSS4.2.1 (Tomcat built with) HTTP Server : apache_2.2.11 [ With out SSL ] Mod library: mod_jk-1.2.28-httpd-2.2.X.so LB 1 Apache : 1 JBOSS:Port of application Question :

Re: Tomcat 6 does not respond or freeze after startup

2010-08-06 Thread Rainer Jung
On 05.08.2010 22:52, T. Gau wrote: Hello, @Thread dumps: I attached some current thread.Directly after startup and after Tomcat stops responding. Sorry, no idea here. Nothing obvious wrong in those dumps. Regards, Rainer -

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-06 Thread Rainer Jung
Just in case you didn't yet realize: the changelog is public: http://tomcat.apache.org/tomcat-6.0-doc/changelog.html 6.0.29 has only 5 changes that were relevant for the changelog. Three of them link to an issue that can be viewed publicly, one is a pure enhancement, and the one fix without a

Re: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Rainer Jung
On 04.08.2010 22:54, T. Gau wrote: Hello, I have executed 'netstat -anopb tcp' with the following result: TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 3436 [java.exe] I could not find another

Re: Rewrite URLs inside HTML pages?

2010-08-05 Thread Rainer Jung
Comments inline On 05.08.2010 03:30, Leon Kolchinsky wrote: Hi, Hmm. Interesting. Of course I'd like to make it work with simple configuration or/and with JkHTTPSIndicator. I'm just not clear on how to make this simple configuration. As I've said there is no SSL handling on the server side.

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Rainer Jung
See inline On 05.08.2010 15:15, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Rainer, Thanks again for being patient with me. I've seen some different behavior this morning. When I am trying to access my page, I get Service Temporary Unavailable, which is better than what I was

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
On 04.08.2010 18:07, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: I am trying to get Tomcat and IIS configured on my secure web server (SSL) so that I can access my deployed web application via https and NOT over http. Connection to non-SSL works, but I cannot have that connection

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
show up after you solved your worker configuration problem. Until now your IIS doesn't even talk to Tomcat. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, August 04, 2010 1:38 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.18

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, August 04, 2010 3:40 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.18/ IIS 6.0 /SSL On 04.08.2010 20:58, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Jung, I'm still getting the errors. Why

Re: Rewrite URLs inside HTML pages?

2010-08-03 Thread Rainer Jung
Did you notice, that our expectation is you won't need any page rewriting when using JkHTTPSIndicator? Regards, Rainer On 03.08.2010 08:45, Leon Kolchinsky wrote: Thanks for your help Rainer/Felix, I've tested several options including mod_substitute and mod_sed and it seems that

Re: Rewrite URLs inside HTML pages?

2010-08-02 Thread Rainer Jung
On 02.08.2010 06:31, Leon Kolchinsky wrote: Hello, I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http (v.2.2.3 ) using mod_jk. We have 2 of those Tomcat servers running on different machines. We also configured load balancer (CISCO CSM) which we want to use for SSL

Re: Rewrite URLs inside HTML pages?

2010-08-02 Thread Rainer Jung
Hi Felix, hope you are doing well! On 02.08.2010 11:46, Felix Schumacher wrote: Hi Rainer, On Mon, 02 Aug 2010 10:00:57 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 02.08.2010 06:31, Leon Kolchinsky wrote: Hello, I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http

Re: Session ID changes when a node goes down

2010-07-31 Thread Rainer Jung
On 31.07.2010 15:06, Mark Thomas wrote: On 31/07/2010 13:58, Oscar Segarra Rey wrote: Hi, We are developing a web application wich uses session listeners and such kind of stuff in order to control which users are loged in every time. Nevertheless we have experienced a developement problem due

Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread Rainer Jung
On 28.07.2010 01:01, Robinson, Eric wrote: 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Rainer Jung
On 26.07.2010 21:48, Leinartas, Michael wrote: So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by

Re: Tomcat AJP vs mod_jk's max_pool_size

2010-07-23 Thread Rainer Jung
On 23.07.2010 04:07, Imran Khan wrote: Hi, I am currently using apache tomcat 5.5 using mod_jk to connect with apache 2.2. I am curious to understand how the AJP 1.3 connector works. Basically I would like to know if maxThreads attribute has the same meaning with the AJP connector as it does

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread Rainer Jung
On 23.07.2010 19:43, Robinson, Eric wrote: We've observed tomcat5 shutting down seemingly by itself recently. This morning I saw this in the log: - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Any way to tell why tomcat is shutting down? Maybe something from this recent

Re: Cluster session failover question

2010-07-22 Thread Rainer Jung
On 22.07.2010 16:19, Darren Kukulka wrote: Hi Tomcatters, Just a quick question regarding Apache Web Server load balancing down to Tomcat cluster. We have a number of 2-node Tomcat 6.0.20 clusters, all configured as peer to peer pairs, on the same subnet with no real network oddities mesh

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
On 22.07.2010 17:02, John A Parker wrote: Using apache-tomcat-6.0.28... We are encountering issue with catalina.sh stops IF we use a variable to set the SHUTDOWN port. e.g.: CATALINA_OPTS = ...-Dco.shutdown.port=8104 ... server.xml =... !- Server

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
On 22.07.2010 17:24, David Fisher wrote: If you look at catalina.sh you will see that stop does not include CATALINA_OPTS: $_RUNJAVA $JAVA_OPTS \ -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath $CLASSPATH \ -Dcatalina.base=$CATALINA_BASE \ -Dcatalina.home=$CATALINA_HOME \

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-22 Thread Rainer Jung
On 22.07.2010 19:31, Brett Delle Grazie wrote: Hi, I'm using RHEL5.5 (Up-to-date) Apache httpd-2.2.3 (from RHEL) with mod_proxy/mod_proxy_ajp Tomcat 6.0.28 (binary distribution from apache). Tomcat native libs (1.1.20, compiled) I have a question regarding AJP connectors and SSL Our

Re: using Apache as a front end for Tomcat

2010-07-20 Thread Rainer Jung
On 20.07.2010 15:30, André Warnier wrote: James Godrej wrote: On your blog http://myunster.com/blog/10.html at step number 8 you mentioned to create worker.properties there a variable is workers.tomcat_home and workers.java_home I think that both of these variables/properties have been

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-16 Thread Rainer Jung
On 04.07.2010 04:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
On 16.07.2010 12:55, Rocky Chak wrote: Hi, Thanks for the reply. Here are my answers. OS: RHEL 5 S/w: Apache 2.2.15, Mod_jk 1.2.x, Jboss 4.2.1GA - Yes, I am able to reproduce the situation ( actually this situation is consistent not going away) Can you reproduce without much other load?

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
. Rainer Jung-3 wrote: Checking the MAC addresses revealed, those packets were not coming rom the browser, but instead from some other network security device. Thi device decided the traffic was malicious and send a reset packet. The traffic was not going through the device, it simply sniffed

Re: No members active in cluster group

2010-07-15 Thread Rainer Jung
On 15.07.2010 10:08, Andrew Bruno wrote: Hello all, I am having problems in getting clustering to work in a windows server 2008 environment using tomcat 6.0.20 java 1.5 I get the No members active in cluster group message on both tomcats. The engine element on the first tomcat is: Engine

Re: 404 with mod_jk

2010-07-15 Thread Rainer Jung
On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all

Re: Apache + Mod-jk + Jboss Problem

2010-07-15 Thread Rainer Jung
On 15.07.2010 15:23, Rocky Chak wrote: Hi, I have a application using Apache 2.2.15, Mod_jk and Jboss 4.2.1. Apache and Jboss Running fine till now. Suddenly there is an issue of slow browsing and later it stopped serving pages. We moved to backup server and now trying to fix this one. When

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 04:57, Michael Powe wrote: Hello, Thank you for the reply. See below for comments. On Wed, Jul 14, 2010 at 12:37:05AM +0200, Rainer Jung wrote: On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 14:37, Konstantin Kolinko wrote: 2010/7/14 Michael Powemich...@trollope.org: VirtualHost localhost (...) #JkMount /host-manager ajp13 #JkMount /host-manager/* ajp13 JkMount /TlTaggerTest/*.jsp worker1 /VirtualHost The VirtualHost section was created by the

Re: i have a quick jk trace question

2010-07-14 Thread Rainer Jung
On 14.07.2010 16:50, fredk2 wrote: Hi, I am looking at a trace a friend made which raised my curiosity: [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace] ajp_read_into_msg_buff::jk_ajp_common.c (1188): enter [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace]

Re: 404 with mod_jk

2010-07-13 Thread Rainer Jung
On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all

Re: running tomcat behind an apache reverse proxy

2010-07-12 Thread Rainer Jung
On 12.07.2010 19:00, Mark Thomas wrote: On 12/07/2010 17:53, Tapas Mishra wrote: but the application is not generating URLs properly.I have not written so it is not possible for me to change any thing in it. The application is generating URLs like this: GET /library/skin/default/portal.css GET

Re: Error: Invalid or unreadable WAR file : error in opening zip file

2010-07-09 Thread Rainer Jung
On 09.07.2010 15:21, Fernando Morgenstern wrote: Hello, I'm running the following version of tomcat: Server version: Apache Tomcat/6.0-snapshot Server built: Nov 15 2009 11:02:53 Server number: 6.0.0.0 OS Name:Linux OS Version: 2.6.24-9-pve Architecture: i386 JVM Version:

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20 seconds!). I

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
to change any existing code or similar of the webapp. Regards, Rainer Rainer Jung-3 wrote: On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .* /bad-browser.shtml [L,E=no-jk

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-02 Thread Rainer Jung
On 02.07.2010 02:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, that I'm not 100% sure about the case, where you try to rewrite a request

Re: Mod_jk: Uri * is invalid. Uri must start with /

2010-07-02 Thread Rainer Jung
On 02.07.2010 14:50, Matteo Turra wrote: I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm in load balancing. In the mod_jk.log I get a line like this each second. [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is invalid. Uri must start with / I checked

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Rainer Jung
On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to use mod_rewrite to

Re: JK connector and extra characters showing up

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered from tomcat. I believe they are from the JK connector when it breaks up the content

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:26, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 6/30/2010 6:20 PM, Nikita Tovstoles wrote: I'd like to make session cookie domain-wide, and ignore subdomains - in Tomcat 6. You could use the emptySessionPath=true setting in

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 01:48, George Sexton wrote: I'm trying to get the ISAPI redirector working on IIS 7.0 running under Windows Server Data Center 64-bit. When I make a request, I get served the isapi_redirector.dll. Here's the detailed information. IIS is running in 32 bit mode. I have

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 13:10, Gabriel Tabares wrote: have you also set de directive in de workers.properties I suggested? in your case that should look like worker.pub-app01.domain=pub-app01 etc My apologies, I am doing 10 things at the time and missed that bit. I now have made the change and it

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Rainer Jung
On 30.06.2010 15:43, Pid wrote: On 30/06/2010 14:13, Michael Rodov wrote: this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web* So the clue there

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:18, János Löbb wrote: workers.properties --- ps=/ worker.list=pub-app01, pub-app02, pub-app03, pub-app04, pub-app05, pub-lb worker.pub-app01.type=ajp13 worker.pub-app01.host=app01 worker.pub-app01.port=8009 worker.pub-app01.socket_keepalive=1

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:57, George Sexton wrote: I'm using IIS 7.0 so that step would not apply. Sure? The docs talk about version 6 because that was the last time they were updated. Rainer - To unsubscribe, e-mail:

Re: questions on documentation for configuring AJP connector

2010-06-29 Thread Rainer Jung
On 28.06.2010 22:06, Rumpa Giri wrote: We are trying to upgrade to the latest connector. While going through the worker properties variables to set we have few questions regarding the following - Please do also grab the source tarball. In version 1.2.30 it contains an example configuration

<    1   2   3   4   5   6   7   8   9   10   >