Re: Need an option to severe socket connections between mod_jk and ajp connector after request/response cycle.

2005-09-28 Thread Rainer Jung
Please witch over to tomcat-user for discussion. This is not really a developer issue. === My previous comments (bugzilla) === First hints from my side: reduce to equal number of apache and tomcat instances, configure F5 with rule that sends URLs with session cookie or jsessionid in URL to the

Re: JK 1.2.15 Release plan?

2005-09-27 Thread Rainer Jung
I encourage you for voting 1.2.15 as stable. Mladen Turk wrote: > Anyhow, I would like that we vote this (1.2.15) version as stable, > because it's a bug-fix release over the 1.2.14 stable. - To unsubscribe, e-mail: [EMAIL PROT

Re: Releasing JK 1.2.15

2005-09-23 Thread Rainer Jung
Hi Peter, Mladen and all others, I would like to follow Mladens suggestion from earlier this month to create a list of precise use cases for the load balancing, failover and administrative downtime scenarios. I think from that we might end up by a better understandable overal lb design. I expect,

Re: Releasing JK 1.2.15

2005-09-21 Thread Rainer Jung
Both users tried with CVS head and the patch works for IRIX and Solaris. No objections to releasing. > Hi, > > There has been couple of major bug fixes > against 1.2.14, see: > http://jakarta.apache.org/tomcat/connectors-doc/changelog.html > > They have been fixed in the CVS, and since > couple of

Re: Releasing JK 1.2.15

2005-09-19 Thread Rainer Jung
Hi, I think the changes are important enough for a release. I explicitely CC the two users who experienced the core dump (bugzilla 36525) and I hope they can also check validity of the fix. We have built CVS HEAD without problems, but since we usually don't built with optimization turned on I

Questions about MemoryUserDatabase

2005-08-04 Thread Rainer Jung
Hi, for the patch 36020 I had a look at MemoryUserDatabase and although the patch is already committed (Thanks!) I wanted to discuss a few things: 1) The close() for the MemoryUserDatabase is never called, especially not during shutdown of tomcat. Anyone with a good hint, where to look for ad

Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung
to be written during startup). Rainer Remy Maucherat wrote: Rainer Jung wrote: Hi, I wonder, why /org/apache/catalina/users/MemoryUserDatabaseFactory.java saves the MemoryUserDatabase directly after opening it: public Object getObjectInstance(Object obj, Name name, Context na

Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung
Hi, I wonder, why /org/apache/catalina/users/MemoryUserDatabaseFactory.java saves the MemoryUserDatabase directly after opening it: public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception { ... // Return the configured datab

Wrong index.html on Tomcat Documentation Website

2005-07-29 Thread Rainer Jung
The page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html is missing position "23) APR" in the listed User Guide menu. Any subpage includes number 23 on it's own submenu. It is also included in the 5.5.10 download, only missing on the internet top level doc page. Please add 23) APR a

Unclear 5.0 release status

2005-05-28 Thread Rainer Jung
Hi, the release status of TC 5.0 is a little unclear: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/status.html states: Tomcat 5.0.29 was released on October 6th, 2004. Work on the 5.0 branch is primarily for maintenance and bug fixes. It is still considered the best branch for production use

Re: Tagging JK 1.2.9 on 3/17/2005

2005-03-20 Thread Rainer Jung
the packet sniff. - without any stress on the target system the connect alredy comes back with rc/errno=0 (success) and no select is done. Regards, Rainer > Rainer Jung wrote: >> I could help with Solaris info. If you tell me, what you are interested >> in, I can do some te

Re: Tagging JK 1.2.9 on 3/17/2005

2005-03-17 Thread Rainer Jung
>> 2) The test in configure about functionality of the timeouts is broken. >> The test program does not compile under Solaris, because it needs >> "-lsocket". > > Can you provide a patch for that? How about: *** configure.in.orig Thu Mar 17 17:00:36 2005 --- configure.inThu Mar 17 21:28

Re: Tagging JK 1.2.9 on 3/17/2005

2005-03-17 Thread Rainer Jung
h setsockopt. Since this doesn't change the result in the end, it might also be corrected after 1.2.9. 3) in common/jk_connect.c in method jk_is_socket_connected the second argument "timeout" is never used. 4) Still need to test functionality of socket_timeout under Solaris. Regards, R

Re: Tagging JK 1.2.9 on 3/17/2005

2005-03-17 Thread Rainer Jung
detail info for load balancing worker and single worker. Regards, Rainer Mladen Turk wrote: Rainer Jung wrote: Hi, I could help with Solaris info. If you tell me, what you are interested in, I can do some tests. Build, socket_timeout and JkShmFile. Regards, Mladen. ---

Re: Tagging JK 1.2.9 on 3/17/2005

2005-03-17 Thread Rainer Jung
Hi, I could help with Solaris info. If you tell me, what you are interested in, I can do some tests. Regards, Rainer Mladen Turk wrote: Mark Thomas wrote: I suspect that most of them are invalid/already fixed bug would be grateful if you could take a look. Hi, Yes, most are fixed. Other I simpl

Re: mod_jk release policy - was: JK 1.2.9-dev test results

2005-02-18 Thread Rainer Jung
So I don't see the point of forking 1.3. Both config and core features are the same. Of course some advanced configuration properties where changes, lot new added, but from the outside its still old mod_jk. OK, understood from below. I agree concerning JNI deprecation. But read comments about loca

mod_jk release policy - was: JK 1.2.9-dev test results

2005-02-17 Thread Rainer Jung
Hi, first: thanks a lot to Mladen for adding all the beautiful features [and removing CRLF :) ]. Big leap forward! I think that until Monday we were still in the progress of adding features, and fixing bugs. 1.2.8 changed a lot internally, but most was functionally compatible to 1.2.6. Release

Re: [VOTE] Proposed API change to the Manager interface

2005-02-09 Thread Rainer Jung
I have the impression you fixed the jvmRoute in the new Session(-Id) in ManagerBase, but not in DeltaManager? Even when the context is distributable one might prefer to stick the session to the node where it now originates. Furthermore: I did not really understand the use case of emptySessionPath,

Re: [VOTE] Proposed API change to the Manager interface

2005-02-08 Thread Rainer Jung
Upgrading mod_jk would be possible (not too complicated), but I'm afraid we are going to break other products we don't control the way we do with mod_jk. mod_jk is a good example to see, why it's not unlikely that changes would be needed for other balancers. Rainer Remy Maucherat wrote: Filip Hanik

Re: [VOTE] Proposed API change to the Manager interface

2005-02-08 Thread Rainer Jung
forward, and never goes wrong. The only time it goes wrong is for AOL users who can change gateway between HTTP and HTTPS Filip - Original Message - From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Developers List" Sent: Tuesday, February 08, 2005 10:39 AM

Re: [VOTE] Proposed API change to the Manager interface

2005-02-08 Thread Rainer Jung
I'm afraid that change will have negative implications: The jvmRoute is used to enable routing decisions by balancing components. All these components usually support routing either COOKIE-based or URI-based. In the URI-based case it is more or less the only clean way to include the jvmRoute in

Re: [VOTE] Proposed API change to the Manager interface

2005-02-07 Thread Rainer Jung
Both Cluster Managers (Delta and SimpleTcpReplication) extend ManagerBase but override createSession(). Maybe Filip or Peter can check how to make them long-time compatible with your proposal? > Managers extending ManagerBase should work and compile as before with no changes unless they override

Improving jk_uri_worker_map in mod_jk

2004-12-11 Thread Rainer Jung
Hi, while trying to improve parts of the mod_jk documentation I made some observations concerning mod_jk's jk/native/common/jk_uri_worker_map.c I wanted to discuss. I'm willing to provide patches but wanted to get some opinions first. I find the JkMount worker map decision code very difficult to

Re: Releasing JK1.2.7

2004-11-29 Thread Rainer Jung
+1 Although not being a commiter I want to support your work with an informal +1. I appreciate calling it 1.2.7-beta due to the amount of code being changed. Rainer Mladen Turk wrote: Hi, There has been lots of changes in the JK, and I'd like to tag and release 1.2.7-beta tomorrow. Any objection

Re: Question about new mod_jk jk_lb_worker.c

2004-11-16 Thread Rainer Jung
cess. Inside apaches CustomLog rotatelogs works, but there is no obvious way to combine CustomLog with JkLogFile. Mladen Turk wrote: David Rees wrote: Rainer Jung wrote, On 11/14/2004 7:31 AM: 0) Any ideas on rotating the mod_jk log file? Use cronolog http://cronolog.org/ or the rotatelogs program i

Re: Question about new mod_jk jk_lb_worker.c

2004-11-16 Thread Rainer Jung
I would be pleased to use rotatelogs, but it doesn't work with mod_jk.log (at least not last time I checked). David Rees wrote: Rainer Jung wrote, On 11/14/2004 7:31 AM: 0) Any ideas on rotating the mod_jk log file? Use cronolog http://cronolog.org/ or the rotatelogs program included

Re: Question about new mod_jk jk_lb_worker.c

2004-11-14 Thread Rainer Jung
Forgot to attach the patch for the overload feature. It is attached now.*** mod_jk.c.1.52 Sun Nov 14 15:00:20 2004 --- mod_jk.c.1.52.overload Sun Nov 14 15:18:59 2004 *** *** 38,43 --- 38,46 #include "util_script.h" #include "util_date.h" #include "http_conf_g

Re: Question about new mod_jk jk_lb_worker.c

2004-11-14 Thread Rainer Jung
Hi Mladen, 0) Any ideas on rotating the mod_jk log file? >> 4) Open Problem > This should work now with the latest patches. Excellent! Actually I tried to understand the new principles. Using an old style paper computer I can see that the values for lb_value are periodic. But I must confirm, th

Re: Question about new mod_jk jk_lb_worker.c

2004-11-12 Thread Rainer Jung
, but working with a constant was not really solving the problem. It looks like one should virtually add load to a worker, even during it's error time, so that it will get normal load after recovering. Thanks for any comments! Rainer Mladen Turk wrote: > Rainer Jung wrote: > >>

mod_jk enhancement discussion

2004-11-09 Thread Rainer Jung
eally solving the problem. It looks like one should virtually add load to a worker, even during it's error time, so that it will get normal load after recovering. Thanks for any comments! Rainer Mladen Turk wrote: Rainer Jung wrote: Hi Mladen, hi everyone, i have a proposal for a slight enhan

Enhancement: mod_jk-Logging

2004-11-08 Thread Rainer Jung
Hi Mladen, hi everyone, i have a proposal for a slight enhancement concerning the log format of mod_jk. Maybe you could consider including it in your recently revised code. It contains only changes to jk_util.c and I attach a patch relativ to version 1.32 of the file. 1) Include the log level of

Re: cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common JkMX.java

2004-09-03 Thread Rainer Jung
Hi, thanks for accepting the authentication patch for the mx4j JMX adapter. Are you going to apply it to the 5.0 branch too? That would be nice. Have a nice weekend Rainer Jung - To unsubscribe, e-mail: [EMAIL PROTECTED

Enhancement: mod_jk-Logging

2004-08-31 Thread Rainer Jung
ive/common/jk_util.c revision 1.28. I hope this is still up to date. Thank's for considering. Rainer Jung --- jk_util.c Tue Jul 13 15:58:10 2004 +++ jk_util.c.new Thu Aug 12 18:11:50 2004 @@ -85,6 +85,14 @@ const char * jk_log_fmt = JK_TIME_FORMAT; +int log_level_max = 3; +stat

RFE: Basic auth jmx http adapter

2004-08-29 Thread Rainer Jung
code n JkMx.java to parse 3 additional configuration options from jk2.properties to the connector: mx.authMode mx.authUser mx.authPassword The patch is very local and simple. It is based on the newest version of JkMX.java. Thank for considering. Rainer Jung % diff -w -c JkMX.java.orig JkMX.java

Documentation hint: getting rid of JMX HTTP adaptor errors

2004-08-29 Thread Rainer Jung
on to the endorsed directory of tomcat. Furthermore the previously missing data now is included in the result pages. Thanks for considerung Rainer Jung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [VOTE] 4.1.31 maintenance release

2004-08-23 Thread Rainer Jung
I think there is no clear explanation of the TC4 support situation on the tomcat web site. Maybe to be fair to users you should start by adding statements, that TC 5 is the preferred version and TC 4 is soon to be supported only for major bugs and security patches. Furthermore you could explici

Re: Tomcat 5.0.28 release

2004-08-13 Thread Rainer Jung
oduct installation and runtime instance. Rainer Jung kippdata informationstechnologie George Sexton wrote: How about stopping support for that scenario? I mean drop the CATALINA_BASE versus CATALINA_HOME feature, (or set them to always equal each other, if we want to leave them in the code base)

Re: [proxy] New implementation ready for testing

2004-08-12 Thread Rainer Jung
Concerning session stickyness: is the following scenario possible with your mod_proxy, at least in the future? We support a critical high load application which is running in a two cell environment. We replicate via TC cluster locally inside each cell (2 TCs) but not over the boundaries of the

Enhancement: mod_jk-Logging

2004-08-12 Thread Rainer Jung
I have a proposal for a slight enhancement concerning the log format of mod_jk. 1) Include the log level of a message in the log line. That should be easy and is very helpful to find relevant messages. It is pretty standard. 2) Include the PID of the logging process in the log file. That helps

Re: Dynamic updates and Apache v2.0

2004-07-27 Thread Rainer Jung
Graham Leggett wrote: Ideally tomcat should be able to pass to httpd info like "hey, there is a new server in the pool, and it's called foo" or "do me a favour, I'm being taken out of the pool, so don't send me any new requests". Config of httpd would be as simple as ProxyPass /myWebapp ajp://s

TC 5: Support for multiple Coyote JK-Pools

2004-07-26 Thread Rainer Jung
ss is still alive. Any plans (or work already done) to refactor JkMain/JkMX for 5.next? Rainer Jung Exception during start: 2004-07-26 12:37:58,929 (main) org.apache.jk.common.JkMX/ERROR: Can't load the MX4J http adapter javax.management.InstanceAlreadyExistsException: Http:name=HttpAdaptor

Re: [PATCH] JK and load-balanced POSTs

2004-07-21 Thread Rainer Jung
Henri Gomez wrote: Thanks to check if it works for you with the latest jk in CVS... ... and I think we expect the new 1.2.6 release soon. So either wait for the new release - or even better: send feedback on the CVS as soon as possible. ---

Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-14 Thread Rainer Jung
As I started the discussion thread on releasing mod_jk 1.2.6 a few days ago, I would also prefer to have the stable code released and not adding new features. Releasing 1.2.6 as-is would already be benefitial to many people. Henri: thank you very much for preparing the release. For post-1.2.6 r

Ready for mod_jk 1.2.6 release?

2004-07-07 Thread Rainer Jung
purposes people need an official release. The last changes in the native jk code is more then 6 weeks old and there is no code change activity at the moment. So this might be a good point in time to release mod_jk 1.2.6. Looking forward for positive feedback Rainer Jung

Re: Any synchronization issues with SMP?

2004-07-02 Thread Rainer Jung
TC clustering uses GZIP(In|Out)putStream in replication. I don't know, if there is buffering on top. Filip? Rainer Martin Schulz wrote: OT: The following is advice to servlet developers rather than container developers. For what it's worth, just be careful when you use GZIP(In|Out)putStream, si

Re: Any synchronization issues with SMP?

2004-06-23 Thread Rainer Jung
.1_09). In this stack dump you should be able to figure out, in which methods most of your threads stay and what the status is. Is there native code included (via JNI)? Any synchronization done in the application itself? Are you using Tomcat clustering? Which JVM? Sincerely Rainer Jung Martin Schulz

TC Cluster: does SmartQueue fit into DeltaManager

2004-04-05 Thread Rainer Jung
Rainer Jung kippdata informationstechnologie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Ever increasing heap size with Tomcat 3.2.3 !!!

2001-12-19 Thread Rainer Jung
ht give an indication. You only need to put tomcat there, you can still leave IIS on Windows as the webserver. Rainer Jung At 17:31 19.12.01 , you wrote: >Make sure you don't have lots of logging turned on. Tomcat logs message >don't get written to the log files immediately. They go int

Re: Session problems in Apache.

2001-08-31 Thread Rainer Jung
technical details about your setup. Rainer Jung At 12:01 27.08.01 , you wrote: >Hi. > >We are developing a crucial site with payment options. > >We need to do server side session handling a lot. >We have implemented the same using JSP/Bean and default sessionobjects of >the webse

Some Tomcat JSP Performance Numbers

2001-06-07 Thread Rainer Jung
s Size of Output Clients Performance 100 530 JSP/sec 200 370 JSP/sec Again seperated, but variable Number of CPUs, no Sleep, 25 Bytes Size of Output CPUs Performance 4 500 JSP/sec 2 510 JSP/sec 1 415 JSP/sec Rainer Jung kippdata informationstechnologie GmbH Bornheimer

AJP14 Suggestion

2001-06-06 Thread Rainer Jung
make sure the response belongs to the right request. In the apache 1.3 szenario, the id would have to be generated by mod_jk! Any comments? Rainer Jung kippdata informationstechnologie GmbH Bornheimer Straße 33a 53111 Bonn Tel.: 0228/98549-0 Fax: 0228/98549-50 email: [EMAIL PROTECTED]

Re: URI Rewritng using Apache/mod_ssl..the old story

2001-05-30 Thread Rainer Jung
tly from tomcat you would have to prepare to use the protocol handlers any way. Rainer Jung At 08:49 30.05.01 , you wrote: >I have just installed TC3.2.2 final, and URI Rewiting won't work over >mod_ssl >and apache. >without ssl it works fine, also. >I have set the TOMCAT_HOM

Re: missing content-length from the header, Apache/Tomcat/AJP12 Connector spins out of control

2001-05-21 Thread Rainer Jung
Hi, did you get any answers? I would be very interested if anybody investigated your problem. If not consider logging a bug tu bugzilla. Rainer Jung At 18:33 20.05.01 , you wrote: >Hi! > >it will be best if I describe our configuration at first: > >We are running Solaris 7,

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Rainer Jung
If 100 is a constraint for the pool size, it should be stated in the Tomcat User's manual, since there it is explained how to increase the pool, but no max is given. I observed Exceptions when using more than 100 threads in the pool, coming from one or two arrays which have fixed size 100 in t

Patch suggestions mod_jk/ajp13

2001-04-22 Thread Rainer Jung
Hello Henri, I participated in the mod_jk fdatasync discussion on Friday. I have 4 more mod_jk/ajp13 patches on my personal wishlist. The first three (these are mod_jk patches) apply to 3.2.2 as well as to 3.3-milestone2. The fourth (which is the tomcat ajp13 patch) is already fixed in 3.3, b

Re: fdatasync in mod_jk

2001-04-20 Thread Rainer Jung
operating systems and the data will be visible to other processes looking at the file although it is not already physically on the disk). I think the file system is the right layer to use and the fflush call is already in the code right before the fdatasync. Rainer Jung At 15:34 20.04.01 , you wrote

Logging Memory Leak 3.2.2-beta2

2001-04-11 Thread Rainer Jung
page directive: <%@ page session="false" %> X Any comments? Sincerely Rainer Jung kippdata informationstechnologie GmbH Bornheimer Straße 33a 53111 Bonn Tel.: 0228/98549-0 Fax: 0228/98549-50 email: [EMAIL PROTECTED]