Re: Configuring IIS to use the JK ISAPI redirector plugin when URL paths are different

2013-04-24 Thread Rainer Jung
- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, April 24, 2013 2:03 AM To: users@tomcat.apache.org Subject: Re: Configuring IIS to use the JK ISAPI redirector plugin when URL paths are different On 24.04.2013 06:53, Beavers, Melinda K (Kay) wrote: We have installed

Re: Access-log ordering

2013-04-19 Thread Rainer Jung
On 18.04.2013 23:58, Christopher Schultz wrote: Mark is of course right. Adding some info here concerning your log format: We are using the following format string: %a %t quot;%rquot; %s %D The value of %t is the interesting one, of course, but it's resolution is only in seconds, and we are

Re: Apache Accessing Tomcat Issue

2013-03-31 Thread Rainer Jung
On 30.03.2013 21:53, Chris Arnold wrote: See above and ended up having to comment this out as it is not supported in the version of mod_jk i am using. Apache finally started after commenting those out and changing the port. And i can now access http://share.domain.com Ranier, thank you for

Re: Apache Accessing Tomcat Issue

2013-03-30 Thread Rainer Jung
On 30.03.2013 12:43, Chris Arnold wrote: Here is the modified virtualhost file: VirtualHost *:80 ServerName share.domain.com #RewriteEngine On #RewriteCond %{REQUEST_URI} !^/share/ #RewriteCond %{HTTPS} on #RewriteRule ^/. http://share.domain.com/share/ [P]

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 00:24, Chris Arnold wrote: Apache Tomcat/7.0.30 on SLES11 SP2. I am trying to configure access to a webapp using http://share.domain.com. This webapp uses port 8080 and works fine from inside the LAN. However, we have an apache2 server acting as a proxy and we want users to

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 13:10, Chris Arnold wrote: On 29.03.2013 00:24, Chris Arnold wrote: # The following line mounts all JSP files and the /servlet/ uri to tomcat #JkMount /servlets-examples/servlet/* ajp13 JkMount /share/*.jsp ajp13 Note that you only forward JSP-Requests here. might

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 18:02, Chris Arnold wrote: This thread is getting kinda messy so i am going to snip a bunch of stuff and answer your latest info. Good. So mod_proxy is loaded but you don't want to use it to access alfresco, instead just mod_jk, right? Then don't use any ReWriteRule with the

Re: [tomcat 5.5.26] why are not all log4j.properties files parsed

2013-03-27 Thread Rainer Jung
On 26.03.2013 18:42, Mark Eggers wrote: 1. Put the right information in your subject 2. Upgrade 3. Don't post attachments - add the information inline 4. No, context loading order is not guaranteed or enforced 5. Check your applications' log files to see what format is used 6. Try using XML

Re: Where does Tomcat log the logAbandoned information?

2013-03-23 Thread Rainer Jung
On 22.03.2013 16:12, Pid wrote: On 22/03/2013 15:02, Julien Martin wrote: Hi Pid, Is there any other config I need to add (for instance to log4j.properties) in order for the logAbandoned logging to occur? Actually, you're right this is DBCP inside your app - so you might need to look in an

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-15 Thread Rainer Jung
On 12.03.2013 11:58, David Kumar wrote: We got the connection_pool_timeout from here: https://community.jboss.org/wiki/OptimalModjk12Configuration I will have a look on the other recommended options Pick a source download of mod_jk. It contains an example configuration that should work

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-15 Thread Rainer Jung
On 14.03.2013 10:04, David Kumar wrote: Hey, thanks for note.. Attached you can find a new list. So, java is keeping these connections in close_wait. close_wait for an AJP connection seen from Tomcat means the other side - mod_jk - has closed the connection, but not Tomcat. This is often

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-15 Thread Rainer Jung
On 15.03.2013 11:47, André Warnier wrote: Rainer Jung wrote: On 14.03.2013 10:04, David Kumar wrote: Hey, thanks for note.. Attached you can find a new list. So, java is keeping these connections in close_wait. close_wait for an AJP connection seen from Tomcat means the other side

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-15 Thread Rainer Jung
On 15.03.2013 11:57, David Kumar wrote: It could be, that your requests in Tomcat got stuck and Tomcat still is in the state of working on the requests, therefore keeping the connection open to send back stuff finally, whereas mod_jk has already timed out. To check for that, take a couöple of

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-15 Thread Rainer Jung
On 15.03.2013 15:44, David Kumar wrote: Hey Rainer, attached you can find a Threaddump. Just rename it to .zip. I'm not sure waht all the stuff at the dump means. but I'm sure you know.. :-) It got stripped by the list. Can you post it somewhere and make the URL available? Regards, Rainer

Re: Is mod_jk's status-worker XML output as intended?

2013-03-03 Thread Rainer Jung
On 02.03.2013 15:52, Christopher Schultz wrote: All, Motivated by seeing Rainer's presentation at ApacheCon 2013, Monitoring Apache Tomcat and the Apache Web [1], I started looking at mod_jk's status worker - particularly the XML output as I believe it will be the easiest format to parse

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-03-03 Thread Rainer Jung
On 03.03.2013 15:44, Christopher Schultz wrote: André, On 2/27/13 3:59 AM, André Warnier wrote: If I understand the original post correctly, the whole point would be to know, at the httpd level, which worker (Tomcat) actually processed this request, right ? If so, why not have the desired

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 09:59, André Warnier wrote: And from Schwaben too... I feel a bit naive after all the sophisticated technical stuff above, in suggesting the following, but how about : If I understand the original post correctly, the whole point would be to know, at the httpd level, which

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 12:16, André Warnier wrote: Hi. Before you do that, you may want to have another look at this page : http://tomcat.apache.org/connectors-doc/reference/apache.html and in particular the section at the end labeled : Using SetHandler and Environment Variables I use this way of

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Rainer Jung
On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the http-response. I tried to

Re: Problem with nsapi_redirect.so (1.2.37) on iPlanet 7.0.15 and Solaris 11

2013-02-19 Thread Rainer Jung
On 19.02.2013 16:36, Andy Wang wrote: On 02/19/2013 12:11 AM, Mladen Turk wrote: On 02/18/2013 10:47 PM, Andy Wang wrote: If I execute startserv as the non-privileged user rather than root or do this on Solaris 10, no problems. Any ideas why systhread_start (this is an iPlanet NSAPI

Re: getRequestURI() in relation to Connector.URIEncoding

2013-02-18 Thread Rainer Jung
On 17.02.2013 23:00, Mike Wilson wrote: Mark Thomas wrote: On 17/02/2013 16:54, André Warnier wrote: Mike Wilson wrote: snip/ Example 2: path /ä in binary Unicode GET /.. [0xC3,0xA4] request.getRequestURI() - /.. [0xC3,0xA4] request.getPathInfo() - /ä snip/ I believe that

Re: getRequestURI() in relation to Connector.URIEncoding

2013-02-18 Thread Rainer Jung
On 17.02.2013 23:57, André Warnier wrote: Mike Wilson wrote: Mark Thomas wrote: On 17/02/2013 16:54, André Warnier wrote: Mike Wilson wrote: snip/ Example 2: path /ä in binary Unicode GET /.. [0xC3,0xA4] request.getRequestURI() - /.. [0xC3,0xA4] request.getPathInfo() - /ä snip/

Re: Tomcat does not accept connections from Safari on iPad vs an SSL connector with JSSE ciphers

2013-02-18 Thread Rainer Jung
On 18.02.2013 22:59, Giuseppe Sacco wrote: A side note: is it possibile to put tomcat behind a web server and make the latter encrypt in SSL? This would imply that communication between the web server and tomcat would be in clear, but how do I create the connector proxy* information? I may

Re: mod_jk errors errno=110 and errno=115

2013-02-17 Thread Rainer Jung
On 14.02.2013 14:17, Philippe Bossu wrote: We have a mod_jk in version 1.2.28 with Apache 2.16 fronting a Tomcat server in version 6 on JDK6. We are facing long response times and timeouts from time to time. Mod_jk log files show the following errors: [][X] [error]

Using comments.apache.org for our live docs

2012-11-07 Thread Rainer Jung
Cross posting intentionally, because our long time users list supporters might want to comment as well. A few months ago a new Web Server committer, Daniel Gruno, suggested to use a commenting system as part of the online documentation. He wanted to include the disqus system. Some of his

Re: IIS 7.5 + AJP Connector

2012-09-12 Thread Rainer Jung
On 12.09.2012 01:52, Alex Samad - Yieldbroker wrote: okay.. worked it out. Seems like I had the application pool set to no .net framework... and integrated pipeline NOT classic. But it seem if you don't set a .net it uses the old IIS6 ISAPI reg settings ! So now I have set .net framework to 4

Re: IIS 7.5 + AJP Connector

2012-09-10 Thread Rainer Jung
On 10.09.2012 09:00, Alex Samad - Yieldbroker wrote: [snip] Whatever you are seeing, note that unknown attributes will go through silently. So the fact that there is no complaint about the configuration during startup does not mean the attributes actually make sense. You can check the

Re: IIS 7.5 + AJP Connector

2012-09-09 Thread Rainer Jung
On 08.09.2012 23:35, Alex Samad - Yieldbroker wrote: Hi Sorry, I spoke to soon this is my config. I set this in my template worker.template.connection_pool_size=1000 and use the template to create 2 workers and add the 2 workers to a cluster I am guessing from my testing that the cluster

Re: IIS 7.5 + AJP Connector

2012-09-09 Thread Rainer Jung
On 09.09.2012 22:16, Alex Samad - Yieldbroker wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Sunday, 9 September 2012 7:03 PM To: users@tomcat.apache.org Subject: Re: IIS 7.5 + AJP Connector On 08.09.2012 23:35, Alex Samad - Yieldbroker wrote: Hi

Re: Tuning session replication on clusters

2012-09-06 Thread Rainer Jung
On 06.09.2012 15:10, kharp...@oreillyauto.com wrote: ... This actually didn't surprise me after I discovered how large the sessions were. Using JMX (VisualVM) I watched the Heap size on my two servers as I tested 7000 sessions. Heap climbed approximately 1GB. When I restarted node2, I

Re: When will be the tomcat version 7.0.30 released

2012-09-06 Thread Rainer Jung
On 06.09.2012 16:56, Sunny Mittal wrote: I upgraded to tomcat 7.0.29 version and found that it has some Out of Memory issues. So we are planning to wait and upgrade to 7.0.30. Can you tell what is the release date for tomcat 7.0.30? Current expectation is between hours and very few days.

Re: Tuning session replication on clusters

2012-09-06 Thread Rainer Jung
On 06.09.2012 16:57, Rainer Jung wrote: On 06.09.2012 15:10, kharp...@oreillyauto.com wrote: ... This actually didn't surprise me after I discovered how large the sessions were. Using JMX (VisualVM) I watched the Heap size on my two servers as I tested 7000 sessions. Heap climbed

Re: When will be the tomcat version 7.0.30 released

2012-09-06 Thread Rainer Jung
On 06.09.2012 17:01, Rainer Jung wrote: On 06.09.2012 16:56, Sunny Mittal wrote: I upgraded to tomcat 7.0.29 version and found that it has some Out of Memory issues. So we are planning to wait and upgrade to 7.0.30. Can you tell what is the release date for tomcat 7.0.30? Current expectation

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

2012-09-04 Thread Rainer Jung
On 04.09.2012 05:37, Ferdie Romero wrote: On Sep 4, 2012 11:25 AM, Ferdie Romero ferdierom...@gmail.com wrote: On Sep 3, 2012 10:43 PM, Ferdie Romero ferdierom...@gmail.com wrote: On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 03.09.2012 15:46, Ferdie

Re: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-04 Thread Rainer Jung
On 04.09.2012 08:35, Shailendra Singh wrote: Hi, We are using 64 bit Tomcat 6.0.35 with windows 2008 R2 (64 bit JVM 1.6.0_33) and facing memory leak issues(OutOfMemoryError ) after a short interval of time( ~30 minutes). We deploy a web application on this version of tomcat and while working

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

2012-09-03 Thread Rainer Jung
On 03.09.2012 12:48, Ferdie Romero wrote: We are compiling tomcat connector 1.2.37 over tomcat 7.0.23 and apache 2.2.22 and System is hp ic: B.11.24 ia64. Unfortunately, we are encountering the version mismatch error. This libtool 2.4.2 but the definition of this LT_INIT comes from an older

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

2012-09-03 Thread Rainer Jung
On 03.09.2012 15:46, Ferdie Romero wrote: The exact step is make and the error is I guess you are running configure first? How does your configure command look like? Does it automatically find your apxs or apxs2 or do you give the path to it as a configure flag? What does apxs -q LIBTOOL

Re: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Rainer Jung
Hi John, On 28.08.2012 01:25, Lowman, John Mr CTR USA AMC wrote: I hope someone out there has some insight regarding the problem that I'm about to describe. All custom request header fields that are added via the SiteMinder policy server are being stripped (intentionally or accidentally)

Re: Too many connections in keepalive state in jk threadpool

2012-08-23 Thread Rainer Jung
On 23.08.2012 09:50, marcobuc wrote: Hi, we are experiencing a very similar problem with the difference that we are using mod_proxy_ajp instead of mod_jk to connect Apache with tomcat. As for mod_jk, the connection is done to the 8009-jk port opened by a connector configured in tomcat server.xml

Re: %{xxx}t not working

2012-08-21 Thread Rainer Jung
On 20.08.2012 21:46, John Byrne wrote: I've tried both 7.0.29 and 7.0.8. The feature wans introduced in 7.0.17. I tried your format string with current 7.0 head which should be identical to 7.0.29 w.r.t. access log and it did work for me. There were no changes in the (self-contained) access

Re: problems with mod_jk 1.2.32 and Jetty 6.1.26

2012-08-21 Thread Rainer Jung
On 21.08.2012 10:34, Veit Guna wrote: Hi. I'm using Atlassian Fisheye 2.7.15 (uses Jetty 6.1.26) under Ubuntu 12.04 with mod_jk 1:1.2.32-1 and Apache 2.2.22-1ubuntu1. After I upgraded mod_jk from 1.2.31 to 1.2.32 Jetty isn't working anymore throwing the exception below. Any ideas why that is

Re: AjpNio Invalid message received on header

2012-08-06 Thread Rainer Jung
On 06.08.2012 23:39, Yasser wrote: I am using Tomcat 7.0.29 fronted with Apache 2.2.22 modproxy. Configured Ajp as the protocol in httpd.conf and AjpNioProtocol in server.xml. After the server starts, the logs are filled with the following message: *Severe: Invalid message received with

Re: Large webapps in 7.0.29 and Annotation Scanning not respecting metadata-complete

2012-08-01 Thread Rainer Jung
On 01.08.2012 09:51, Mark Thomas wrote: On 01/08/2012 02:53, andreas palsson wrote: Good morning. After upgrading to 7.0.29, one of my larger webapps could no longer be deployed due to OutOfMemoryError. As far as I know, this is related to the new feature of annotation scanning which was

Re: Large webapps in 7.0.29 and Annotation Scanning not respecting metadata-complete

2012-08-01 Thread Rainer Jung
On 01.08.2012 18:10, Andreas Pålsson wrote: I have been thinking about this issue all day, and I think the specification needs more work on this area. There is certainly no need for a container to wade through hundreds maybe even thousands of classes in search of something that does not exist.

Re: Large webapps in 7.0.29 and Annotation Scanning not respecting metadata-complete

2012-08-01 Thread Rainer Jung
On 01.08.2012 18:52, Rainer Jung wrote: Mark, is there a way we can influence the EG to change this? I'm not Mark and don't want to preempt any answer from him, but there is the following public discussion available: http://java.net/jira/browse/SERVLET_SPEC-36 and http://java.net/jira

Re: PDF Download problem tomcat = 7.0.27

2012-08-01 Thread Rainer Jung
On 01.08.2012 09:54, André Warnier wrote: Konstantin Kolinko wrote: 2012/8/1 Jose María Zaragoza demablo...@gmail.com: The Content-Length header in the above 206 response is not from Tomcat. Tomcat's DefaultServlet does not calculate the whole size of the parts and does not set

Re: Happy Birthday, Chuck!

2012-07-26 Thread Rainer Jung
On 26.07.2012 15:46, Gregor S. wrote: Hi Chuck, thanks again for your valuable comments on this list, and keep it up! Cheers! +2 ! Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Problem with tomcat and jk module

2012-07-25 Thread Rainer Jung
On 24.07.2012 12:37, Piotr Wąchała wrote: Hi, Maybe someone can help me with my tomcat problem. Hope that wont be a big problem for you. Im observing that our client are disconnected from server, that is very bad situation. In jklogfile.log [Tue Jul 24 08:43:22 2012] [17466:47245693265248]

Re: issue with iis 7.5 ajpconnector

2012-07-25 Thread Rainer Jung
On 25.07.2012 13:23, Alex Samad - Yieldbroker wrote: Hi Andre Apologies for the sparseness. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, 24 July 2012 5:14 PM To: Tomcat Users List Subject: Re: issue with iis 7.5 ajpconnector [snip] Just to

Re: issue with iis 7.5 ajpconnector

2012-07-25 Thread Rainer Jung
... with the latest release version I'm not pretending that your problems will be fixed by a newer version but analyzing a problem on the basis of a non-released (broken) version seems inefficient. Thanks for updating. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Rainer Jung
On 23.07.2012 12:00, Nikhil Dhankani wrote: Hi, I am trying to configure CSRFPreventionFilter with the below code in my web.xml. filter filter-nameCSRF/filter-name filter-classorg.apache.catalina.filters.CsrfPreventionFilter/filter-class /filter filter-mapping

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Rainer Jung
On 23.07.2012 13:38, Mark Thomas wrote: On 23/07/2012 11:10, Rainer Jung wrote: The cluster needs to be able to serialize sessions in order to replicate them over the network. The message indicates, that the sesison attribute org.apache.catalina.filters.CSRF_NONCE used by the CSRF filter

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread Rainer Jung
On 20.07.2012 00:10, James Lampert wrote: Theoretically, I've ironed out the bugs concerning which JVMs Tomcat will run under, but it still isn't coming up. The STDOUT from attempting to start Tomcat is as follows: /wintouch/tomcat/bin/catalina.sh: 001-0019 Error found searching for command

Re: service() failed with http error 413 - error log message from isapi_redirect.log file

2012-07-17 Thread Rainer Jung
On 17.07.2012 06:15, ann ramos wrote: Thanks Tim for your quick reply. I have already increased the max_packet_size to the maximum allowable value way way before and it still comes up: worker.wlb.max_packet_size=65536 You need to increase the size on the Tomcat side to. Just the Request

Re: OOME while expanding a war with tomcat 7.0.29 but not with tomcat 7.0.28

2012-07-16 Thread Rainer Jung
On 16.07.2012 19:35, Mark Thomas wrote: CRANFORD, CHRIS chris.cranf...@setech.com wrote: The OOME I am getting is coming from Heap, and that's even giving Tomcat 1GB of maximum heap. The instance seems to start successfully outside of the MyEclipse environment; however inside MyEclipse it

Re: Question about Tomcat6 IIS in windows.

2012-06-22 Thread Rainer Jung
On 21.06.2012 18:31, Chris Limina wrote: I'm in a position where I'm trying to upgrade legacy websites to the latest version of tomcat/windows/iis to help improve performance. Old environment: 2003 server, IIS 7 Current environment: Windows Web Server 2008 R2 64bit IIS 7.5 Apache Tomcat

Re: poller error: tomcat 7.0.28, native 1.1.24, apr 1.3.3

2012-06-22 Thread Rainer Jung
On 22.06.2012 06:51, Jesse Farinacci wrote: Greetings, I'm encountering a problem migrating to apache tomcat 7.0.28 with IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled). Here is the relevant log information: 22-Jun-2012

Re: Creating separate log for each request

2012-06-21 Thread Rainer Jung
On 20.06.2012 23:35, Lahiru Gunathilake wrote: Hi Jeff, Thanks for the response, actually my requirement is to make the life easier for the admin, and if something goes wrong he has an ID of the request which failed (This is not a system which is getting millions of http requests) and then he

Re: Failed allocating AJP message buffer

2012-06-21 Thread Rainer Jung
On 21.06.2012 00:26, Pierre Ayotte wrote: Hello everyone, We are experimenting HTTD.EXE crash on Windows 2008 R2 x64 and each time we see a bunch of error Failed allocating AJP message buffer and then one message All tomcat instances failed, no more workers left (see below). The HTTPD.EXE

Re: Jakarta ISAP Redirector

2012-06-14 Thread Rainer Jung
informationstechnologie GmbH Tel: 0228 98549 -0 Bornheimer Str. 33aFax: 0228 98549 -50 53111 Bonn www.kippdata.de HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417 Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann

Re: Connectors: Using JK_ROUTE env var with disabled worker in load balancer

2012-06-12 Thread Rainer Jung
On 09.06.2012 09:24, Ruslan Gainutdinov wrote: Hello! I am trying to use JK_ROUTE to forward all traffic to some worker which are disabled. Disabled workers does not allow new sessions, but I think if I set it explicitly, it should be used? SetEnvIf Remote_Addr 10\.0\.0\.1 JK_ROUTE=SERVER-5

Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-06-04 Thread Rainer Jung
On 29.05.2012 17:03, Kevin wrote: Hi We have a cluster of tomcat servers being used on a very high volume website. We've noticed that for the first 5-6 hours after an application re-load that Full GC will run every 2 minutes pausing the application for anywhere between 5 and 20 seconds. After

Re: mod_jk recovery when tomcat killed

2012-05-26 Thread Rainer Jung
On 10.05.2012 11:24, Agnieszka Allstar wrote: Obviously this has sth to do with the fact that in A case the mod_jk.log says the request is recoverable, whereas in B case it's unrecoverable but I can't really tell what's the cause after looking at mod_jk src. Just in case you are still

Re: multiple mod_jk server mappings and JSESSIONID

2012-04-28 Thread Rainer Jung
On 28.04.2012 16:52, Mike Wilson wrote: I need to set up a configuration where a site's path space gets distributed over two servers and I'm looking at using mod_jk like this: Apache httpd mod_jk workers.properties workerA - serverA workerB - serverB

Re: chunked encoding

2012-03-26 Thread Rainer Jung
On 25.03.2012 23:55, Alex Samad - Yieldbroker wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, 26 March 2012 8:47 AM To: Tomcat Users List Subject: Re: chunked encoding On 25/03/2012 08:54, Alex Samad - Yieldbroker wrote: [snip] 1.

Re: Want to confirm fix of a security vulnerability

2012-03-10 Thread Rainer Jung
On 09.03.2012 23:19, Jayant Sane wrote: Pardon the re-post but I just wanted some kind of ack from the Tomcat dev team on the following. Has the Tomcat WAR deployment directory traversal... issue as detailed in http://securitytracker.com/id/1023504 been fixed in version 7.0.023? As I

Re: Non page pool issue will not go away, please help.

2012-03-09 Thread Rainer Jung
On 09.03.2012 18:19, Doron Tsur wrote: Hi Guys, A while back I've addressed you guys with the non paged pool issue. Most people advised upgrading the java/tomcat. We did just that and the issue is still happening. We are investigating a lot of directions of memory leaks in the environment with

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Rainer Jung
On 06.03.2012 18:21, Pid * wrote: On 6 Mar 2012, at 08:16, André Warniera...@ice-sa.com wrote: Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of

Re: Too many connections in keepalive state in jk threadpool

2012-03-03 Thread Rainer Jung
interval cpings. Cping before rquests and after opening connections are fine (improves stability and reduces the likeliness of race conditions). HTH Rainer Jung - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat suddenly dies

2012-02-28 Thread Rainer Jung
On 28.02.2012 19:47, Carl Kabbe wrote: Chuck and Chris, Thanks for your replies. Below is some information to your questions/suggestions: Check the kernel logs (e.g., /var/log/messages, /var/log/warn), not just the Tomcat ones. Also, look for a JVM dump file (hs_err_pid*.log) I have and

Re: SSLProtocol with TLSv1+SSLv3 or SSLv3+TLSv1 does not work APR based Apache Tomcat Native 1.1.20 or 1.1.22

2012-02-21 Thread Rainer Jung
On 21.02.2012 21:41, Mark Anthony wrote: Referring to http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslcontext.c?r1=1149279view=log there something thats broke that does not support TLSv1+SSLv3. No it didn't break it. Tomcat Version 6.0.35 APR Details : INFO: Loaded

Re: ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-20 Thread Rainer Jung
On 20.02.2012 18:45, Konstantin Preißer wrote: Hi all, I'm using Tomcat 7.0.25 (running on a Oracle JDK 1.7.0_03) on a Windows Server 2008 (32-Bit), with IIS 7.0 and the ISAPI 1.2.32 connector (with chunked encoding enabled) to pass HTTP requests to Tomcat. Since IIS 7.0, there is a

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Rainer Jung
On 17.02.2012 09:41, Purvis Robert (NHS CONNECTING FOR HEALTH) wrote: I have found that some versions of mod_jk 1.2 don’t work. I use 1.2.14.1 with Apache 2.0.52, and Tomcat 5.5.23. When I tried going up to a higher version of mod_jk then the connection to Tomcat was ignore, as if there was

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Rainer Jung
On 17.02.2012 16:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- On 2/17/12 3:41 AM, Purvis Robert (NHS CONNECTING FOR HEALTH) wrote: 1.2.14.1 is not a valid version number for Apache mod_jk. All historic versions of mod_jk can be downloaded directly from the Apache web site:

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Rainer Jung
On 17.02.2012 16:19, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/16/12 3:24 PM, André Warnier wrote: A correct request should have at least 2 lines such as line 1 : GET /mywebapp/... HTTP/1.1(could also be POST instead of GET) then: .. (any number

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Rainer Jung
On 17.02.2012 16:26, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/16/12 1:29 PM, modjkl...@comcast.net wrote: I took all JkMounts inside the VirtualHost tags and placed them outside these tags, and above them added

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Rainer Jung
On 17.02.2012 17:43, David N. Smith wrote: On Feb 17, 2012, at 10:27 AM, André Warniera...@ice-sa.com wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/16/12 1:29 PM, modjkl...@comcast.net wrote: I took all JkMounts inside the

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Rainer Jung
On 16.02.2012 17:55, modjkl...@comcast.net wrote: original message is below--- Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a remote Linux

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Rainer Jung
On 16.02.2012 21:24, André Warnier wrote: modjkl...@comcast.net wrote: Thanks Andre, I'd still be interested is there's a way to have mod_jk only check for traffic coming into mydomain.com for folder /mywebapp. I think the current solution checks all domains, such as mydomain2.com and

Re: desperate for help to set up straightforward mod_jk connection between Apache2 webserver and web container

2012-02-12 Thread Rainer Jung
On 12.02.2012 01:44, modjkl...@comcast.net wrote: For example, if a socket connection is established and AJP transmission occurs, even though it's only one way, would GlassFish have to be listening for this to happen? Would GlassFish have to reply via AJP to establish a socket? That sort of

Re: jkstatus page

2012-02-12 Thread Rainer Jung
On 13.02.2012 00:47, Alex Samad - Yieldbroker wrote: Hi I was wondering if somebody could explain NameAct State D F M V Acc Err CE RE Wr Rd BusyMax Con Route RR Cd Rs LR LE [S] worker1

Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-09 Thread Rainer Jung
On 09.02.2012 13:51, Andres Aguado wrote: Hi Guys! First of all, I want to be grateful for help. I'm (very) newbie with apache-tomcat world, level 1 (I've installed Tomcat sucessfully once ;-) ) Well, I've a Tomcat 5.5.27 version with an application in production environment and i've

Re: mod_jk and URL rewriting/proxying?

2012-02-09 Thread Rainer Jung
On 09.02.2012 19:07, Casper Wandahl Schmidt wrote: Hi List I have a quick question (I hope). I'm using mod_jk to forward from Apache httpd 2.2.8 to tomcat 7.0.20 (Ubuntu 8.04). I think I saw something on this list some time ago but can't remember what it was really about (the real issue was

Re: problems with performance with IIS 7.5 and Tomcat Connector

2012-02-02 Thread Rainer Jung
On 02.02.2012 10:04, Alex Samad - Yieldbroker wrote: I have 2 x W2k8r2 + NLB (Network load balancing) + IIS 7.5 + Tomcat Plugin = 2 x RHEL 6.1 + Jboss 7 (I think). (not setup in JBoss cluster mode) We have a .net client that talks to the IIS and then onto Jboss. We have been running some

Re: ThreadLocals, context listeners and classloader leaks

2012-01-28 Thread Rainer Jung
On 26.01.2012 18:00, Jess Holle wrote: On 1/26/2012 10:38 AM, Mark Thomas wrote: OK. ThreadLocals have no place in a web application. Period. If a programmer insists on using them, then it is their responsibility to clean up the mess they leave behind. Tomcat's memory leak detection and

Re: [OT] Inspecting JMX

2012-01-28 Thread Rainer Jung
On 26.01.2012 19:32, Christopher Schultz wrote: Now I'm trying to get similar information using a command-line tool that is very simple called check_jmx -- it's a plug-in for Nagios. It appears that this tool does not support the attach API and so it looks like I'll have to enable remote JMX,

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-28 Thread Rainer Jung
On 28.01.2012 07:27, Caldarale, Charles R wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service Haven't yet figured out why the ${catalina.base} references in logging.properties aren't

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-28 Thread Rainer Jung
On 28.01.2012 00:38, Pid wrote: On 27/01/2012 23:25, Caldarale, Charles R wrote: From: David Rees [mailto:dree...@gmail.com] Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization Hmm, yes, the systems I've checked running Java 1.7.0_02 list /dev/urandom as the

Re: Is SSL keystore with AJP connector possible?

2012-01-18 Thread Rainer Jung
On 19.01.2012 00:09, mandg wrote: I'm working on Apache Tomcat/6.0.33 running in Windows 2003 and have been asked to setup SSL. Looking at the server.xml file, I see that the AJP/1.3 connector is configured and not APR. Like a good newbie that I am with Tomcat, I followed the Tomcat

Re: static content not served for non-root apps via mod_jk

2012-01-14 Thread Rainer Jung
On 14.01.2012 04:17, Eric P wrote: Hi all, I'm having trouble getting Apache to serve static content (jpg, css, js, etc.) for Tomcat apps via mod_jk for any application except the ROOT Tomcat app. The ROOT app shows static content just fine. I have the following Apache settings attempting

Re: mod_jk linux binaries

2012-01-06 Thread Rainer Jung
On 06.01.2012 11:01, Leon Kolchinsky wrote: Yes there is - http://apache.mirror.aussiehq.net.au//tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.32-src.tar.gz These are the sources. For 1.2.32 there are indeed not binaries for Linux available. Building is simple and ensures compatibility

Re: Different session id per page

2011-12-31 Thread Rainer Jung
On 31.12.2011 18:37, Caldarale, Charles R wrote: From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] Subject: Re: Different session id per page If there was a way to tell TC to use / as the path, that would work in this case. Look at the sessionCookiePath attribute forContext and see if

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Rainer Jung
Chuck, On 22.12.2011 14:07, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: High memory consumption caused by BLOCKED Threads Fix your app so that it releases the locks (probably synchronized sections) on the SimpleDateFormat objects. Read the

Re: stack traces in the log become one line

2011-12-21 Thread Rainer Jung
On 21.12.2011 08:32, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/20/11 4:31 PM, Rainer Jung wrote: If you really want to get the stacks in all cases, you can set the JVM start flag: -XX:-OmitStackTraceInFastThrow I'm

Re: Mysterious request edirect with value exchange

2011-12-20 Thread Rainer Jung
On 20.12.2011 15:07, uwe.hellm...@t-systems.com wrote: It is a webformular. The java code should this fragment. final String username = req.getParameter(username); String uParam = ; if (StringUtils.isBlank(username) == false) { uParam = u=.concat(username); }

Re: Do any of the Tomcat LDAP-type realms support no password authentication?

2011-12-05 Thread Rainer Jung
On 02.12.2011 17:49, André Warnier wrote: oh...@cox.net wrote: oh...@cox.net wrote: André Warnier a...@ice-sa.com wrote: oh...@cox.net wrote: ... Connector port=8009 protocol=AJP/1.3 redirectPort=8443 tomcatAuthentication=false / That is correct. The false means that Tomcat will

Re: Do any of the Tomcat LDAP-type realms support no password authentication?

2011-12-05 Thread Rainer Jung
On 05.12.2011 10:42, oh...@cox.net wrote: André Warniera...@ice-sa.com wrote: oh...@cox.net wrote: ... Rainer Jungrainer.j...@kippdata.de wrote: Although this thread has moved forward towards the role topic, I want to give some infos about the user forwarding by mod_jk. Some of

Re: Single POST request being handled twice

2011-11-27 Thread Rainer Jung
On 19.11.2011 06:07, Jeremy wrote: OK, we figured it out. It's a case of too many timeout settings and not having a real DevOps person on hand. There was an obvious error message in Apache's mod_jk.log that I failed to correlate with the problem because I misread the timestamp on one of the

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-27 Thread Rainer Jung
On 27.10.2011 06:02, Anantaneni Harish wrote: -Original Message- From: Anantaneni Harish Sent: Wednesday, October 26, 2011 3:01 PM To: Tomcat Users List Subject: RE: cannot read complete HTTP request body. It reads only 8192 characters Thanks for your response. The issue is

Re: Make Errors for JK-1.2.32 solaris/sparc

2011-10-24 Thread Rainer Jung
On 24.10.2011 19:24, Ben wrote: Beryle Simmons Beryle.Simmons at RaymondJames.com writes: Just checking to see in anyone had any thoughts on this one. -- I normally use the solaris/sparc binary for mod_jk,

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