Re: issues starting Tomcat 6.0.18 when CATALINA_BASE does not match CATALINA_HOME

2008-08-06 Thread Rainer Jung
Mark Thomas schrieb: [EMAIL PROTECTED] wrote: And thats it. I have confirmed tomcat starts just fine when BASE matches HOME. I experimented with copying catalina.sh from 6.0.16 into 6.0.18's bin directory, and the server then starts as expected. However, I can't seem to find what in

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Rainer Jung
See also http://marc.info/?t=12180313421r=1w=2 Regards, Rainer Zemian Deng schrieb: Hi Mark, I am away from a computer now. But the steps I gave to reproduce out of default download is only 4 steps!!! You can't see error using that? I guess I can check the log for the stacktrace later.

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Rainer Jung
a ticket open on those threads. Should I create one? On Wed, Aug 6, 2008 at 11:14 AM, Rainer Jung [EMAIL PROTECTED]wrote: See also http://marc.info/?t=12180313421r=1w=2 Regards, Rainer Zemian Deng schrieb: Hi Mark, I am away from a computer now. But the steps I gave

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-07 Thread Rainer Jung
. -Zemian Rainer On Wed, Aug 6, 2008 at 5:45 PM, Rainer Jung [EMAIL PROTECTED] wrote: Are we sure, that you experience the same problem? In other words, is CATALINA_HOME/conf/logging.properties missing in your setup and does the suggested workaround to catalina.sh solve the problem for you

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. That was 44494. But 44494 has an 8KB limit and also it's very

Re: Apache / mod_jk / Jboss-tomcat weirdness

2008-08-08 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: We're running a web environment using RHEL 4, Apache 2.0.52 with Worker MPM, mod_jk 1.2.20 and jboss/tomcat application servers (Jboss 4 / tomcat55). There's a firewall between our web and application servers, and I have read about mod_jk and firewalls (i.e.

Re: How to set jvmRoute outside of server.xml

2008-08-17 Thread Rainer Jung
Bill Shaffer schrieb: Hi: I am trying to find a way to set the jvmRoute without putting it in my server.xml. I'm using 6.0.18. I've found a couple of things: The Tomcat config reference System Properties section says I can set it on the java command line with a -DjvmRoute option. This did

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread Rainer Jung
First before trying to find the right configuration, upgrade! Version 1.2.8 is s old and whatever hints you get on how to use the redirector, you'd always need to find out, which of those are true for 1.2.8. We are at 1.2.26, just use that version. André Warnier schrieb: dOE wrote: I

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-22 Thread Rainer Jung
Thanks, that's good to know, and I don't believe I've seen that in the docs anywhere. There's surely a lot to improve in the docs, mainly the HowTo pages, but the Reference guide is fairly complete. Page http://tomcat.apache.org/connectors-doc/reference/workers.html says: Some directives

Re: Newer version of mod_jk much slower than 1.2.13

2008-08-22 Thread Rainer Jung
Can you throw our the load balancer and retry with only one direct worker? That would be helpful. Also: please post your platform (type/version) and your JK directives (for Apache). The 7 seconds is by far to long for 50KB. Regards, Rainer

Re: IIS6 Tomcat6 Integration Question!

2008-08-22 Thread Rainer Jung
francin wrote: I can't configure Tomcat with IIS web server with the tomcat-connector! My server's os is 64bit Windows2003, IIS is 6, Tomcat is 6. I tried to download the file isapi_redirect-1.2.26.dll (64bit version),add it as an ISAPI filter, and I added the directory which

Re: R: Newer version of mod_jk much slower than 1.2.13

2008-08-22 Thread Rainer Jung
I get rid of the balancer and set in apache configuration file: JkMount /eltbinj/* ajp13w_01_01 With the 1.2.13 the result is obviously the same high speed (I unset the lang for not italian (lucky) people): ... 13:13:00 (630.19 KB/s) - `/dev/null' saved [53048] With the 1.2.26 the

Re: R: R: Newer version of mod_jk much slower than 1.2.13

2008-08-22 Thread Rainer Jung
Hi Leandro, Leandro Dardini schrieb: LoadModule jk_module modules/mod_jk.so JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel info OK About the trace level, full it is over 700Kbyte (gzipped), I send it directly to you. Thank you very much

Re: mod_jk not forwarding URI with escaped protocol string to Tomcat

2008-08-25 Thread Rainer Jung
Hi James, tsaojk schrieb: Hi Folks, I am experiencing an rather odd issue with mod_jk not forwarding from Apache to Tomcat for my web application. Basically, I have configured mod_jk to forward everything under a webapp to Tomcat and things are working fine for 'regular' URI's e.g.

Re: mod_jk help!

2008-08-28 Thread Rainer Jung
WillF wrote: I am currently using mod_jk as the connector and I have Apache as a front for tomcat5 by adding something like JkMount /helloworld/* ajp13 to the httpd.conf So when I go to www.domain.com/helloworld/ it forwards the request to tomcat and looks for the webapp who's context path is

Re: mod_jk help!

2008-08-28 Thread Rainer Jung
would make things easier for something like this? Easier for changing the request URLs and fixing Redirect and Cookie paths. Not easier with respect to wrong links in request pages themselves. Regards, Rainer Rainer Jung-3 wrote: WillF wrote: I am currently using mod_jk as the connector

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread Rainer Jung
David Smith wrote: Yes, remove all copies except one and that one should be in the common/lib directory. It has to be in common/lib to essentially be visible to both tomcat internal code as well as all the webapps. There can't be a copy anywhere else in tomcat because ... well I'll let

Re: Balancing solution which allows graceful partial node migrations

2008-08-28 Thread Rainer Jung
Nikola Milutinovic wrote: Hi all. This is just a question out of curiousity. Is there a balancer solution that can allow for controlled migration/upgrade of nodes? To explain, suppose you have Apache/mod_jk and you have N Tomcats in balance over that setup, same web application on all of them.

Re: Issue in connecting to tomcat via Apache

2008-08-29 Thread Rainer Jung
Without any JkMount nothing will be sent to Tomcat. You need to keep e.g. JkMount /examples/* worker1 in you configuration. If you are using a virtual host in Apache, the JkMount must be inside the virtual host. Your mod_jk log file indicates, that during that test you didn't have any JkMount

Re: Issue in connecting to tomcat via Apache

2008-08-29 Thread Rainer Jung
Vasanth Kumar ravi schrieb: Rainer, I was able to resolve the issue...and the root cause was simple... it was my mistake... in the conf file I had mentioned /examples/* worker1 I was trying to access the link as http://localhost/examples which is supposed to be http://localhost/examples/

Re: Tomcat connector receives 404, IIS logs 200

2008-09-01 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Are you sure you don't have something like this in your Tomcat's web.xml: error-page error-code404/error-code location/Failure.jsp/location /error-page What response do you get in browser when you try to access a resource that does not exist on TC, after by-passing

Re: mod_jk is not getting compile on centos 5.2 64-bit

2008-09-05 Thread Rainer Jung
Hi Ankush, mod_jk configure uses ${APXS} -q PREFIX to see if it works, where ${APXS} is what you gave to --with-apxs. You can try that directly, and see if it works, or if your apxs is broken: /usr/sbin/apxs -q PREFIX Regards, Rainer ankush grover schrieb: Hi Friends, I am trying to

Re: [newbie] connectionTimeout value for AJP Connector

2008-09-10 Thread Rainer Jung
Bill Barker schrieb: Stacey Jones [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am a new member on tomcat mailing list. For tomcat 5.5 - Is there a recommended value for connectionTimeout attribute? How to decide this value? The documentation says : The number of

Re: Problem with Apache, Tomcat, mod_jk

2008-09-10 Thread Rainer Jung
Lars 'Levia' Wesselius schrieb: 2008/9/10 Steve Ochani [EMAIL PROTECTED] Send reply to: Tomcat Users List users@tomcat.apache.org Date sent: Wed, 10 Sep 2008 19:17:24 +0200 From: Lars 'Levia' Wesselius [EMAIL PROTECTED] To: users@tomcat.apache.org Subject:Problem with

Re: Problem with Apache, Tomcat, mod_jk

2008-09-10 Thread Rainer Jung
Lars 'Levia' Wesselius schrieb: 2008/9/10 Rainer Jung [EMAIL PROTECTED] Lars 'Levia' Wesselius schrieb: 2008/9/10 Steve Ochani [EMAIL PROTECTED] Send reply to: Tomcat Users List users@tomcat.apache.org Date sent: Wed, 10 Sep 2008 19:17:24 +0200 From: Lars 'Levia' Wesselius [EMAIL

Re: Problems Configuring APR Based Native Libraries for Tomcat

2008-09-10 Thread Rainer Jung
Nicholas Schuetz schrieb: I am trying to compile APR native library for Tomcat. When I run the configure I get messages like this: # ./configure --prefix=/opt/tomcat/apr-connector --with-apr=/usr/bin/apr-1-config --with-ssl=/usr checking build system type... i686-pc-linux-gnu checking host

Re: Problem with Apache, Tomcat, mod_jk

2008-09-11 Thread Rainer Jung
I created JkMounts for my own servlet: JkMount /SiteReview|/* ajp13 and it worked! This means that every problem has been resolved now, though I'm wondering, as in the previous message, can I easily deploy applications using the manager, or would I have to add the JkMounts all the time? And I'm

Re: tomcat_trend.pl script is showing Unknown log entry for mod_jk

2008-09-24 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Hi Ankush, As far as I know that scripts is not really maintained any more and need a fair amount of tweaking. I might be wrong though. That's true. What kind of statistics do you want to produce? Nowadays it's more convenient to not use JkRequestLogFormat (which

Re: Problem with AJP connector

2008-09-25 Thread Rainer Jung
Woytasik Joe wrote: We are running IIS6 and Tomcat 6, with the AJP connector forwarding traffic from IIS to Tomcat. Everything has been working well until we started running some load tests. When we ramp up our testing we start to see the following errors in the connector log. [Wed Sep 24

Re: Tomcat manager 'list' command - why does it return html markup

2008-09-26 Thread Rainer Jung
sk1ds wrote: Hi all probably a silly question from a newbie but... According to the doco http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Introduction HERE I says I should be able to use the Manager web application using A minimal version using HTTP requests only which is

Re: ${user.home} and other server.xml tags accepted by Tomcat?

2008-09-28 Thread Rainer Jung
Maxim Veksler schrieb: Hello list, I'm looking for a way to make my tomcat configuration more dynamic without resorting to editing xm files. I considering doing this by using parameter substitution. I've seen from the SSL guide that tomcat will accept configurations like ${user.home}.

Re: ${user.home} and other server.xml tags accepted by Tomcat?

2008-09-28 Thread Rainer Jung
Maxim Veksler schrieb: On Sun, Sep 28, 2008 at 2:37 PM, Rainer Jung [EMAIL PROTECTED] wrote: Maxim Veksler schrieb: Hello list, I'm looking for a way to make my tomcat configuration more dynamic without resorting to editing xm files. I considering doing this by using parameter substitution

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

Re: Error 503 on shutting down instance of failover cluster

2008-10-01 Thread Rainer Jung
Mårten Svantesson wrote: Hi, This is actually a question regarding the combination of JBoss 4.0.2RC1 with Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope this is the correct forum. mod_proxy_ajp got several patches during the last couple of httpd releases. Although

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
br1 schrieb: Rainer, Thank you for your reply. My main question here is: is it normal that that a faulty application takes down the whole site? Yes, unfortunately that's a common source for trouble. If an app doesn't finish processinf a request, e.g. because it wais without timeout for

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
Rainer Jung-3 wrote: My main question here is: is it normal that that a faulty application takes down the whole site? Yes, unfortunately that's a common source for trouble. If an app doesn't finish processinf a request, e.g. because it wais without timeout for some other service, or runs

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: 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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

[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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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);

  1   2   3   4   5   6   7   8   9   10   >