Re: And how about this mod_jk.log ?

2009-01-28 Thread Rainer Jung
Hi André, On 28.01.2009 19:15, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: And how about this mod_jk.log ? I see mod_jk messages as listed below (from mod_jk to client, and from mod_jk to Tomcat). Any chance of getting network

Re: Connecting Apache Tomcat to Apache

2009-01-28 Thread Rainer Jung
On 28.01.2009 22:58, André Warnier wrote: Mike Eller wrote: Ok, workers.properties is as follows: workers.tomcat_home=/usr/lib/apache-tomcat comment out or delete, obsolete workers.java_home=/usr/lib/jdk comment out or delete, no longer needed worker.list=worker1 good, and it matches my

Re: does this mod_jk.log look healthy?

2009-01-27 Thread Rainer Jung
Hi, On 27.01.2009 13:20, Arne Riecken wrote: Hi, please have a look at the mod_jk.log. Can anyone say if these info-entrys are normal or if the system is unhealthy? Or might the network be bad? These entrys come at least two times per hour. 1) All messages are info level, that's good. 2)

Re: disable behaviour for a worker in modjk

2009-01-19 Thread Rainer Jung
On 19.01.2009 13:40, gerhardus.geldenh...@gta-travel.com wrote: Hi We are interested to know what the exact behaviour of modjk is with regards to current running requests when you disable a worker in the web interface. Does it drop all requests currently being processed by that worker or would

Re: JK connector fails with long URLs

2009-01-15 Thread Rainer Jung
On 15.01.2009 14:53, br1 wrote: Additional info: - Machines are IIS 5 on Windows 2000 Server - Though the same happens on my XP laptop - The JK log shows this error message, with the line number varying between JK versions, here is the 1.2.27 one: [error] jk_isapi_plugin.c (1852): error while

Re: Problem with mod_jk installation

2009-01-08 Thread Rainer Jung
On 05.01.2009 13:09, samlin wrote: Hi I am using CentOS release 5.2 (Final) jdk1.5.0_16 httpd-2.2.3-11.el5_2.centos.4 tomcat-5.5.27 I tried compiling mod_jk.so I used tomcat-connectors-1.2.27-src.tar.gz resultant mod_jk.so was copied to /etc/httpd/modules/ directory -workers.properties

Re: Sudden and unexpected exception at Tomcat startup

2008-12-31 Thread Rainer Jung
On 28.12.2008 14:01, André Warnier wrote: Hi. Does someone have an idea of what is going as per the logfile catalina.out below ? What is this IOException all about ? This is a Tomcat 5.0.x under Suse Enterprise Linux 10.1, which had been working fine until now and suddenly logs this at

Re: [us...@httpd] Problem with mod_headers ?

2008-12-31 Thread Rainer Jung
On 31.12.2008 10:08, André Warnier wrote: Juha Laiho wrote: [...] Thanks, Juha. That helps me think in another direction. Maybe indeed in this case the mod_headers module does not get a chance to modify the response headers, because it is added before the mod_jk module, and mod_jk overrides it.

Re: Tomcat Not Releasing URL Connection

2008-12-31 Thread Rainer Jung
On 31.12.2008 02:44, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Not Releasing URL Connection The IBM JVM 1.5 and Tomcat 5.0.x are all that is available on the (official) Suse SLES 10 CD/DVD. I'm not suggesting that the OP replace the IBM JRE

Re: /* AJP with one exceptions

2008-12-22 Thread Rainer Jung
On 22.12.2008 13:27, Yuval Perlov wrote: I am trying to configure httpd-tomcat ajp bridge that will catch all requests except for one directory to be served from httpd. Ideally I'd like to map /* to the AJP except for one /staticcontent directory to be served from apache. Has anyone done this?

Re: /* AJP with one exceptions

2008-12-22 Thread Rainer Jung
nicely to check the resulting mounting in the status worker. If it still does not work, post versions and config. Regards, Rainer On Dec 22, 2008, at 3:37 PM, Rainer Jung wrote: On 22.12.2008 13:27, Yuval Perlov wrote: I am trying to configure httpd-tomcat ajp bridge that will catch all

Re: How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread Rainer Jung
Hi André, On 21.12.2008 23:28, André Warnier wrote: I have created (ok, copied from Chuck would be more exact) a tiny weeny little servlet. It's about 15 lines including comments. On my Windows PC, where I have a Sun JDK 1.6 and Tomcat 5.5 installed, the servlet compiles fine, with the

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread Rainer Jung
On 18.12.2008 13:07, André Warnier wrote: Rainer Jung wrote: Could you try the following patch: http://people.apache.org/~rjung/mod_jk-dev/patches/extension_crash.patch Thanks for any feedback on the patch. Many thanks for the patch, Rainer, but.. I hate to admit it, but despite being

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread Rainer Jung
to ship (or statically link them). Later you can use LD_LIBRARY_PATH to hook them into your compiled binary. Anyway..maybe you're better off installing Suse and just compile it :) On Thu, 2008-12-18 at 16:50 +0100, André Warnier wrote: Rainer Jung wrote: On 18.12.2008 13:07, André Warnier wrote

Re: Serious security problem with mod_jk?

2008-12-17 Thread Rainer Jung
On 16.12.2008 18:53, Payne, George (ghp5h) wrote: This is a problem I've seen reported on very old versions of mod_jk, but it seems (apparently) to have a new life in 1.2.27 and possibly other recent versions. If a user puts a double slash (http://mysite.com//myapp/myjsp.jsp) instead of a

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 17.12.2008 23:54, André Warnier wrote: Hi. Responding to my own earlier message, I think I have found what looks like a bug with the combination indicated, and a curious (to me) workaround. Summary : under Linux Suse Enterprise 10.1 using the Apache 2.2.3 (prefork) package of that

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce, but only if the request goes to a virtual server (VHost). I've

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 18.12.2008 00:31, André Warnier wrote: Rainer Jung wrote: On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce

Re: service.bat install failure (Windows, v 6.0.18)

2008-12-14 Thread Rainer Jung
it is worth elaborating some though. If anyone out there has influence on the build and/or documentation, I hope you will read further. 1. Rainer Jung suggested that the behavior difference I see between the two distros could be expained by line-ending differences/incompatibilities (particularly in config

Re: service.bat install failure (Windows, v 6.0.18)

2008-12-11 Thread Rainer Jung
Am 11.12.2008 05:19, schrieb Caldarale, Charles R: From: andrew [mailto:[EMAIL PROTECTED] Subject: Re: service.bat install failure (Windows, v 6.0.18) I did a completely clean extract of the 6.0.18 tar.gz archive I usually use the .zip for Windows, but it should be the same thing. I think

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - Service temporary unavailable

2008-12-11 Thread Rainer Jung
Am 11.12.2008 09:43, schrieb Jesse Klaasse: Rainer Jung-3 wrote: When using big heaps, you need to take extra effort to get your GC settings right. Do you have GC-Logs? What are the JVM options you use to start Tomcat? The JVM options: -Dcatalina.base=D:\tomcat -Dcatalina.home=D:\tomcat

Re: Can not fail over a web service call using mod_jk

2008-12-11 Thread Rainer Jung
a concurrent probing with a configurable test URL in a future mod_jk version. Caution: by default http status 500 does *not* put a worker into ERROR. Only if configured using fail_on_status as was assumed earlier in this discussion. Regards, Rainer -Original Message- From: Rainer Jung

Re: Can not fail over a web service call using mod_jk

2008-12-10 Thread Rainer Jung
Michael Ludwig schrieb: Rainer Jung schrieb am 09.12.2008 um 22:17:16 (+0100): I'm looking forward to httpd 2.4 with mod_luau aka mod_wombat, an embedded Lua interpreter that has access to httpd objects (like the request object) and will allow us to inject custom logic e.g. for balancing

Re: modjk windows connection_pool_size need to be sure

2008-12-10 Thread Rainer Jung
killbulle schrieb: Hi the list, i've two litlles question about using modjk on windows apache mpm_winnt(i'am not using windows for fun...) as i understand the documentation my worker.template.connection_pool_size=200 must be adequate with he the ThreadsPerChildin the windows mpm i have

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - Service temporary unavailable

2008-12-10 Thread Rainer Jung
Hi Jesse, Jesse Klaasse schrieb: After two months with a system running smoothly, we are currently experiencing the same problems again (albeit less often). A little update: - The system's memory has been upgraded to 16 GB, Tomcat's memory settings are Xms4096m and Xmx10240m now. When

Re: bad content type mod_jk 1.2.27

2008-12-09 Thread Rainer Jung
marcobalc schrieb: Hi, I have tested an other controller that return to a jsp with simple HTML. The last rows of this controller are ... log.debug(isCommitted?? +response.isCommitted()); Map m = new HashMap(); m.put(tutteListe, tutteListe); return new

Re: mod_jk initialization error

2008-12-09 Thread Rainer Jung
Abhi schrieb: Thanks Milan. This is how my apache2.conf looks LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so JkWorkersFile path to workers.properties/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevelerror JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount

Re: Can not fail over a web service call using mod_jk

2008-12-09 Thread Rainer Jung
Zeke schrieb: Hi, all: I configure a Apache with mod_jk as HTTP load balancer for a JBoss cluster. My cluster provide some web services. Of course, the URL in the web serice call by client is the URL of the load balancer's. If for some reason, the web service on a node is unavailable,

Re: Can not fail over a web service call using mod_jk

2008-12-09 Thread Rainer Jung
Zeke schrieb: Thank you very much, Rainer! Yes. My node accept the request first, then it will return 500 if the called web service is not available ...So mod_jk can not fail over the request in this situation. Do you have some suggestion for this situation? I really hope none of the calling

Re: Can not fail over a web service call using mod_jk

2008-12-09 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: From a design point of view do you feel that this is beyond the scope of mod_jk to buffer request bodies? From one point of view it does make sense to have the retry logic completely in mod_jk, but I can certainly understand the point of view to have retry logic on

Re: bad content type mod_jk 1.2.27

2008-12-09 Thread Rainer Jung
marcobalc schrieb: do you mean that I need to rebuild tomcat with a new log? Yes, but for Tomcat 6 that's really easy to do. Download the source, have Java 5 and ant ready, and call ant download and ant. Then you should be able to already find the compiled classes. You only need to add log

Re: bad content type mod_jk 1.2.27

2008-12-09 Thread Rainer Jung
marcobalc schrieb: Rainer thanks for support. Now I have build tomcat but is not clear for me what you mean with output of a stack Could you seggest wath line write. (I think the line should be added in this block of code) if( actionCode==ActionCode.ACTION_COMMIT ) { ... ... }

Re: Can not fail over a web service call using mod_jk

2008-12-09 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: [EMAIL PROTECTED] schrieb: From a design point of view do you feel that this is beyond the scope of mod_jk to buffer request bodies? From one point of view it does make sense to have the retry logic completely in mod_jk, but I can certainly understand the point

Re: bad content type mod_jk 1.2.27

2008-12-09 Thread Rainer Jung
Hi Marco, marcobalc schrieb: Hi, now I have the stacktrace but the problem is that the stack do not involve my classes :| java.lang.Throwable: Stack Info at org.apache.jk.core.MsgContext.action(MsgContext.java:263) at org.apache.coyote.Response.action(Response.java:183)

Re: Modjk add node at runtime

2008-12-08 Thread Rainer Jung
killbulle schrieb: Hi, i'am in new clustering config i still use modjk(1.2.27 works great for the momentl) Thanks. i ve just a litlle question in the worker.propertis how to add new cluster member at runtime ? or i have to prepare fake node with 0 loadbalancing for the future If you are

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
Hi Marco, marcobalc schrieb: i all, I have a problem with tomcat 6.0.18 Apache/2.2.9 mod_jk/1.2.27 Some times the content-type sent from my tomcat is ignored and the response have content type text/plain. For this reason some servlet that should return excel file and set the

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
if it is a static file, I expect that neither in your web.xml (Tomcat) nor in the Apache config there is an entry for .ic=application/excel. Regards, Rainer Rainer Jung-3 wrote: Hi Marco, marcobalc schrieb: i all, I have a problem with tomcat 6.0.18 Apache/2.2.9 mod_jk/1.2.27 Some times

Re: SSL/Apache and Proxy

2008-12-08 Thread Rainer Jung
Your configuration doesn't look like you are speaking HTTPS on Tomcat port 8443, but your Apache error looks like you configured httpd to proxy to an HTTPS port. So either enable HTTPS on Tomcat 8443 or tell Apache to talk HTTP to the backend. See also

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
Hi Marco, marcobalc schrieb: Hi, .ic is the extension mapped to the controllers of my spring webapp. The Excel is generated by a controller (servlet): this controller execute this instructions response.setContentType(application/excel);

Re: SSL/Apache and Proxy

2008-12-08 Thread Rainer Jung
Doctor Khumalo schrieb: OK, thanks. If I remove Tomcat from the equation, I can get HTTPS to work with Apache but when I try to start Tomcat and proxy the HTTPS request to Tomcat, it fails. So, enabling HTTPS on Tomcat 8443 like the following still fails: Connector port=8443

Re: mod_jk - ajp hangs indefinitely on some requests

2008-12-05 Thread Rainer Jung
Mark Thomas schrieb: Roy McMorran wrote: Roy McMorran wrote: Despite my misgivings, 1.1.5 seems to have helped. It's run my test script for about 30 minutes now without problems (previously would have hung by minute 3). However! My dev system (which was already running 1.1.15) still

Re: [OT] JK Connector problem

2008-12-05 Thread Rainer Jung
Christopher Schultz schrieb: If you've got Program Files already in the path, why not have Apache Group in there as well? ... Germans would love Apache Group without spaces ... MS localization translates Program Files into Programme, most likely because in German the words are always longer

Re: can mod_jk detect web service unavailable

2008-12-03 Thread Rainer Jung
Zeke schrieb: Hi: I have a JBOSS cluster which use Apache with mod_jk as HTTP load balancer. In my cluster, some nodes are deployed web service, but not all. For example, node 1 contains web servicebook_service, I can call the web service using URL http://www.node1.com/book_service;, but node

Re: JK Connector problem

2008-12-03 Thread Rainer Jung
nitingupta183 schrieb: Hi all, I am trying to integrate Apache server with Tomcat using mod_jk. I am folllowing the basic tutorials on this but still cant start the Apache server when I configure httpd.conf to load the mod_jk module. It says The requested operation has faiked!. I am not

Re: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Rainer Jung
Alexander Diedler schrieb: Hello everybody, I have installed many, many servers with Windows 2003 R2 x64 and Intel CPUs and IIS and Tomcat with ISAPI Connector and it works great. But now I have a hosting server with an AMD Opteron Quad Core 1352 2 ,1Ghz CPU and installed Windows 2003 Server

Re: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Rainer Jung
Michael McLeod schrieb: Hi, I have the same problem: I was trying to install propriety software which uses IIS and tomcat onto a 64 bit windows server. I got the DLL (1.2.27) from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.27/ but this did not cure my

Re: Can I specify virtual hosts in JKMounts?

2008-12-02 Thread Rainer Jung
Jonathan Mast schrieb: Thanks for the response, I didn't know JkMount directives could be placed within VirtualHost declarations. Older versions of mod_jk tolerated putting JkMount in the global server, not any vhost. All those mounts were automatically copied to all vhosts. Since a couple of

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: mod_jk 1.2.x (sorry, don't know the exact version) This is actually quite important when mod_jk is acting funny. Try this: $ strings /path/to/mod_jk.so | grep

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: This can happen a lot, if Tomcat has a configured connectionTimeout on the connector, but mod_jk has no timeout for idle connections. Again we would need the configuration, this time also the server.xml. The Connector tag of server.xml is this : !-- Define an AJP 1.3

Re: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Rainer Jung
Leon Rosenberg schrieb: We assume that the other tomcats didn't produce any thread dumps because our trigger happy system admins just sent the kill -9 too soon after the kill -3, and the jvm was overloaded. Well it's a wild guess, but i have no better one yet (unless jvm really locked up

Re: Connectors and apache with mpm worker

2008-11-22 Thread Rainer Jung
Martin Spinassi schrieb: On Fri, 2008-11-21 at 12:12 -0700, Filip Hanik - Dev Lists wrote: remove this worker.maintain=30 worker.worker1.connection_pool_size=1 for now, and just accept the defaults Filip Wow!! That just made the trick! Please, can you explain me how those

Re: Apache/mod_jk serves random files from tomcat

2008-11-14 Thread Rainer Jung
Jakob Ericsson schrieb: On Thu, Nov 13, 2008 at 8:17 PM, Rainer Jung [EMAIL PROTECTED] wrote: Jakob Ericsson schrieb: Upgrading to latest version of mod_jk solves the problem. As I said before, this on Windows 2003 Server running both httpd (2.0.59) and tomcat (6.0.13) on the same machine. We

Re: Apache/mod_jk serves random files from tomcat

2008-11-13 Thread Rainer Jung
Jakob Ericsson schrieb: Upgrading to latest version of mod_jk solves the problem. As I said before, this on Windows 2003 Server running both httpd (2.0.59) and tomcat (6.0.13) on the same machine. We upgraded all production machines this morning. Problem is in mod_jk 1.2.22 and is at least

Re: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Rainer Jung
Christopher Schultz schrieb: Try this: Write a filter that wraps the HttpServletResponde object with an HttpServletResponseWrapper object that you customize. Override the addCookie method like this: public void addCookie(Cookie c) { super.addCookie(c); new Throwable(Created

Re: Apache 6.0.16

2008-11-13 Thread Rainer Jung
dan lozano schrieb: Dear Kees Jan, Thanks for the info, I have verified that my existing Tomcat is offline. My existing Apache Tcat 5.5.25 binds to the port without incident, only the out of the box 6.0.16 is causing the problem, with the identical message as yours. I'm using netstat

Re: Monitoring Tomcat availability in a load balanced capacity

2008-11-13 Thread Rainer Jung
Adam Gordon schrieb: The 'wget' command allows the user to play with Cookies so our next step is to see if we can specify a fake JSESSIONID in cookie form to see if we can dictate to which server Apache will send us. As previously mentioned, we cannot simply put this on the URL as a parameter

Re: Configuring tomcat to log authentication events

2008-11-12 Thread Rainer Jung
Brian Gillan schrieb: We're using Rational Team Concert with Tomcat and authenticating with LDAP. I want to log authentication events for users accessing RTC so we can see who's authenticating, and if unsuccessfully, who they're trying to authenticate as. Is this just a matter of

Re: Apache/mod_jk serves random files from tomcat

2008-11-12 Thread Rainer Jung
Jakob Ericsson schrieb: -- Jakob Ericsson +46 704 533 627 11 nov 2008 kl. 22.37 skrev Christopher Schultz [EMAIL PROTECTED]: Jakob, Jakob Ericsson wrote: We are also experiencing this problem. Our setup is running Windows 2003 Server with Apache 2.0.59 (no prefork), mod_jk

Re: mod_jk 1.2.27 use_server_errors extension not working here

2008-11-07 Thread Rainer Jung
Please open an issue in Bugzilla. Sebastian schrieb: Hello, I'm in the process of integrating Tomcat with Apache httpd using the mod_jk Tomcat Connector. The just released mod_jk 1.2.27 seems to provide a solution for one of my open issues: the ability to use httpd's ErrorDocument instead

Re: absolute url only working - urget hel p needed

2008-11-07 Thread Rainer Jung
Srinivas Jonnalagadda schrieb: I need urget help configuring Apache HTTP Server 2.0.63, Tomact 5.5.9 and mod_jk1.2.26. Now i am inable to access with relative url and unless i give absolut servre name with port. For Example: http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp

Re: Problem with connectors

2008-11-07 Thread Rainer Jung
Martin Spinassi schrieb: I've been trying to implement apache2 + connectors + tomcat on our servers, put keep having disconnections from connectors and tomcat. Here I post some output from jk_mod_log: own, stopped or network problems (errno=110) [Fri Nov 07 16:32:18.585 2008]

Re: [cluster] httpd Loadbalancer issue

2008-11-07 Thread Rainer Jung
János Löbb schrieb: Hi, I have three machines with three different FQDN. Two has apache 2.2.9 on it with Tomcat 6.0.18 and with mod_jk. From this two one has three Tomcat instances running and it is a Mac, the other has one Tomcat instance and it is a PC. I use a web application for

Re: Tomcat 6.0.19 when?

2008-11-06 Thread Rainer Jung
Christopher Schultz schrieb: Søren, [EMAIL PROTECTED] wrote: Do anyone know when Tomcat 6.0.19 will be released? I''m working on a enterprise project, where i need to change the SessionName on my tomcat server (6.0.18). Do you mean the name of the JSESSIONID cookie? That's what it

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
Paul Pree schrieb: Hi All Apologies in advance if I'm not getting this right - I'm a newbie to the list. I have an issue using ISAPI_REDIRECT through IIS to Tomcat. For most Windows users the redirection works fine, but for users with large group memberships (approx 70+) they are

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
, but some with 50 could not. Group complexity (maybe even name length) definitely has an impact so it's not necessarily 'death at 70' but each test users has a working number that fails with the addition of one. Regards Paul -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
Paul Pree schrieb: Thanks Rainer I've attached a log recorded during one of these failing connects for TestUser. We stopped IIS, set logging to trace, cleared the log, started IIS, attempted one connect, then stopped. Unfortunately I don't have direct access to the failing site, but have

Re: Issues with Tomcat 5.5.25, isapi_redirect2.dll, IIS6, load balancer setup

2008-11-05 Thread Rainer Jung
Thomas Strauß schrieb: I have an issue with the isapi_redirect2 setup. I would like to drive the redirector with load balancing. Is it required to have a tomcat cluster for this setup? No, but you have to set jvmRoute according to the worker names for all nodes in your Tomcat farm. Cluster in

Re: Multiple IIS sites and ISAPI redirect problem

2008-11-05 Thread Rainer Jung
Mikko Pukki schrieb: Only other (real) change that I made was an update from 1.2.26 to 1.2.27. Once I started site again, everything worked as a charm. So it could be the update that helped. No idea why, and I have no chance to really confirm this, because the site is not mine (it is

Re: Thread Dumps/ Emailing Results...

2008-11-04 Thread Rainer Jung
Christopher Schultz schrieb: Also, in JDK 6 and above, there's another intriguing option: -XX:OnOutOfMemoryError=command That's pretty cool. For the time being, we're on JRE 1.5, so that's not an option. I'll look into it as we look forward to upgrading. The above will run an external

[ANN] Apache Tomcat JK 1.2.27 Web Server Connector released

2008-11-03 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.27 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as Apache HTTPD, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application server. This

Re: Problem to install APR Tomcat Native Library

2008-10-30 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: Yes, it is set to something like LD_LIBRARY_PATH=/opt/app/libtcnative/lib:/opt/app/apr/lib:$LD_LIBRARY_PATH The files are all world readable and even owned by the user running Tomcat. I just want to mention that I compiled both libs with another prefix than

Re: Tomcat 6.0 problems with LDAP ( connection gets blocked for 10 min)

2008-10-29 Thread Rainer Jung
Hisham Farahat schrieb: Dear All, I have stated this problem before, but maybe it was not clear. I will state it now hopefully more clearly. I have a tomcat server 6.0 running on a Windows server 2003, it needs to authenticate users using JNDI realm which connects to an LDAP server (

Re: Questions regarding MaxPermGen

2008-10-28 Thread Rainer Jung
Hi, Robert J Morman schrieb: Good afternoon. We run a portal solution on top of Tomcat 6.0.16 (and Java 1_5_16). We are running out of PermGen space for several instances of tomcat, which I believe could be some bad code we've received from our development team. To test a theory, I'd

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Rainer Jung
Wayne Bragg schrieb: my setup: WinXP Home Wed-Dev install of: Apache/2.2.3 (Win32) Tomcat 5 PHP 5.2.0 Before proceeding consider taking more recent minor versions, like 2.2.10, PHP 5.2.6 and you didn't tell us your Tomcat version. Your mod_jk below is 1.2.19,

Re: relation between Tomcat and Apache Commons

2008-10-24 Thread Rainer Jung
Petr Sumbera schrieb: Hi Tomcat gurus, The question I have is rather philosophical and not really technical (I'm evaluating Tomcat 6 integration into OpenSolaris). While compiling Tomcat 6.0.16 it requires: Apache Commons Daemon Apache Commons Collections Apache Commons DBCP Apache

Re: relation between Tomcat and Apache Commons

2008-10-24 Thread Rainer Jung
PetrS schrieb: Rainer Jung-3 wrote: And what about Eclipse JDT Runtime Binary? Are these also renamed into jasper-jdt.jar? The same reason? Here it's slightly different: The jar file used to include JDT is named non-standard, but the classes contained in it still have the original

Re: Multiple IIS sites and ISAPI redirect problem

2008-10-24 Thread Rainer Jung
Mikko Pukki schrieb: Hi, I have Tomcat installed on a server that already has Default Website configured for other use and I cannot use it to redirect to Tomcat. So I created another website that should listen to port 80 and authenticate users via AD authentication. After authentication

Tomcat connectors 1.2.27: tagging on Sunday

2008-10-24 Thread Rainer Jung
We plan to tag Tomcat connectors (mod_jk and isapi/nsapi redirector) on Sunday. If there are any more test results and observed problems. please let us know. I just updated the sources on http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source to the most recent revision (r707693), and

Re: Tomcat6+ISAPI+IIS+Integrated Authentication+Large User

2008-10-18 Thread Rainer Jung
Scrumpy Jack schrieb: Hi I'm trying to resolve an issue with Integrated Authentication when a user with a large Group Membership tries to access a site served by Tomcat via IIS ISAPI Redirect. For all other users, access is fine. For users with 70+ Windows groups, they are failing to be

Re: mod_jk configuration woes

2008-10-17 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: I have the following configuration (config files below) and am encountering the error “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong message format 0x4854 from 127.0.0.1:8082” when attempting to access a URL that matches one of my JKMounted

Re: NIO 100% CPU usage

2008-10-16 Thread Rainer Jung
Jerome Jar schrieb: Ronald, thread dumps contain the native ID of threads, and ps can output such IDs as well, so you can match the output together. Been there, done that. L flag for ps shows all threads and contains thread numbers, usually numerically starting above the PID, but IDs of

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-16 Thread Rainer Jung
One problem has already been found and fixed. There is a new source tarball available under http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.27-dev-705300/ The new extension feature has also been added to the docs:

Re: Tomcat Shutdown Port as Variable

2008-10-15 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Hi All - I have quite a few installs of Tomcat on the same server (same CATALINA_HOME, different CATALINA_BASE), and I am interested in making my configs a little more portable. I'm trying to make certain unique items in my server.xml variable ( ${variablename} ),

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-15 Thread Rainer Jung
Please join us in ensuring the quality of the forthcoming release by testing this snapshot. The source archives are in the same format as a release download, so easy to build. The last release is already 10 months old and there were important changes in the meantime. We hope we can make you

Re: Jakarta ISAPI errno=61

2008-10-14 Thread Rainer Jung
Matt Morten schrieb: We are currently experiencing an issue with Jakarta ISAPI Redirector 1.2.25, where our log is filling up with the following and our clients are receiving 503 errors: [Thu Sep 25 12:05:28.937 2008] [732:3700] [info] jk_ajp_common.c (891): Failed opening socket to

Re: Problem running TC 6.0.18 with CATALINA_BASE

2008-10-14 Thread Rainer Jung
Christopher Schultz schrieb: So, this appears to be my problem, but two things confuse me: 1. The command-line looks just fine to me in the first place. and The startup script contains some $variable and variable is empty if there is no logging.properties. The shell then gives an empty arg

Re: mod_proxy_balancer

2008-10-14 Thread Rainer Jung
AD schrieb: Hassan, Sorry about the copy/paste issue, i meant to use AJP My issue is that the tomcat app, seems to want to redirect to /myapp1/some/file.html for a 302 (as an example) which is causing the issue. is there a way around this ? This path gets back to apache which gets

Re: SSL Accelerator - Front ending Tomcat

2008-10-14 Thread Rainer Jung
Mike Koponick schrieb: Hello Everyone, I have not been a frequent administrator of Tomcat, but it seems that I am becoming one! So, Here is my setup, I using an SSL accelerator in front of a Tomcat server running two instances. When I try to access the website, the webserver (rightfully

Re: JK and IIS - troubles?

2008-10-10 Thread Rainer Jung
br1 wrote: I managed to schedule a few thread dumps (3, with a 5 seconds interval) and a Tomcat restart in case of troubles, and just implemented some more logging. I kept the faulty Tomcat app running all day. There were three failures today, but thanks to the logging I just added I can be

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Rainer Jung
Tim Potter wrote: Be kind, this is my first mailing to the usergroup. I'll do my best. This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy shortly. In the mean time, currently I'm running apache/2.2.4 with the mod_user module enabled, and people in the group using

Re: JK and IIS - troubles?

2008-10-10 Thread Rainer Jung
br1 wrote: Apologies, This one is much better, netstat shows 50 connections I don't know enough of Tomcat to understand if anything in this log could cause this issue.. Much better: You have a synchronization issue in your database connection pool. It seems you are using the c3p0 pool,

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Rainer Jung
I also added Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties / between /Host and /Engine in the conf/server.xml file The listeners are only needed if you want Tomcat to generate a mod_jk configuration for you.

Re: JK and IIS - troubles?

2008-10-05 Thread Rainer Jung
br1 schrieb: Rainer Jung-3 wrote: Yes, if the notion of worker is an IIS worker and not an isapi plugin worker. A plugin worker in the sense of a worker configuration item in workers.properties is 1:1 with a connection pool, and a connection pool doesn't create threads. It will grow at most

Re: Native library issue on RHEL5

2008-10-03 Thread Rainer Jung
, if adding /usr/local/apr/lib to your LD_LIBRARY_PATH shel environment variable in addition to java.lib.path helps? Regards, Rainer - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 2, 2008 3:27:02 PM Subject: Re

Re: JK and IIS - troubles?

2008-10-03 Thread Rainer Jung
br1 schrieb: Rainer Jung-3 wrote: That might be the reason for trouble. If things start to get slow, the web server gets filled by all thenew requests still coming in without answering fast enough the existing ones. This starts to make sense now. I have a few suggestions inline, I would

Re: JK and IIS - troubles?

2008-10-02 Thread Rainer Jung
br1 wrote: Rainer Jung-3 wrote: If so, what is your connection pool size? The default is 250, which is quite high. I did not go too far, it was the default, after some time I set it to 300 but this did not change anything. That might be the reason for trouble. If things start to get slow

Re: URL and mod_jk

2008-10-02 Thread Rainer Jung
Piller Sébastien wrote: Hi guys, in my project, I very often use absolute url. They have a form like: http://domain/foo/bar/resources/org.apache.wicket.Application//path/to/my/file.png I recently installed Apache and mod_jk. Are this kind of url valid to be served through mod_jk? Because

Re: Native library issue on RHEL5

2008-10-02 Thread Rainer Jung
John Ozarchuk schrieb: Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed

Re: Tomcat getting insufficient POST data

2008-10-01 Thread Rainer Jung
Stephen Nelson-Smith wrote: On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith [EMAIL PROTECTED] wrote: Testing: * Submitting straight to one of the new tomcat 6.0.16 machines, over http, works without fail - the XML is parsed. Ok so now it transpires that actually direct http to

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
br1 wrote: Dear all, I am experiencing a weird problem happening between IIS and Tomcat: it seems that the JK connector is hanging IIS. A badly behaving Tomcat app is filling up AJP connections due to some DB connection problems. Nothing strange so far, we had these kinds of problems

<    6   7   8   9   10   11   12   13   14   15   >