Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Mladen Turk
Andy Wang wrote: Rainer Jung wrote: Ahh. I see, I think maybe I was misunderstanding Mladen then. I thought that just building with VS2005 would result in some level of multiple msvcrt library confusion. If, we build our own Apache, and our own mod_jk, and our own everything else up the t

Re: Application monitoring

2009-06-05 Thread steve rieger
Hyperic and zabbix -Original Message- From: Chetan Chheda Date: Fri, 5 Jun 2009 19:19:21 To: Subject: Application monitoring All, What are you using for production monitoring and alerting for JVM & apache based applications? I am referring to proactively monitoring and alertin

Application monitoring

2009-06-05 Thread Chetan Chheda
All, What are you using for production monitoring and alerting for JVM & apache based applications? I am referring to proactively monitoring and alerting of apache utilization(workers, requests etc), tomcat utilization(threads, heap, etc) , tracking Java methods, JSPs , servlets and also t

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 02:05, Rainer Jung wrote: > On 06.06.2009 01:35, Jason Joseph wrote: >> Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets >>> in order to make the flush also effective for httpd. >>> >>> >> Just realized I didn't disable caching before I did that last test, >>

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 01:35, Jason Joseph wrote: > > Rainer Jung wrote: >>> JkOptions +FlushHeader +FlushPackets >>> >> >> in order to make the flush also effective for httpd. >> >> > Just realized I didn't disable caching before I did that last test, > heres the image with caching disabled. > >

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 23:34, Jason Joseph wrote: > Rainer Jung wrote: >> On 05.06.2009 22:04, Christopher Schultz wrote: >> >>> Chuck, >>> >>> On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >>> > From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent > connections with mod_jk/

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread André Warnier
So it seems I put my foot (feet ?) in my mouth about the single browser connection. The rest of what I wrote is generally true though, just consider two connnections instead of one then (per window I suppose, although I'm not sure of that either).

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Jason Joseph
Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets in order to make the flush also effective for httpd. Just realized I didn't disable caching before I did that last test, heres the image with caching disabled. http://207.7.102.90/~thecorp/apache-ajp-withflush-nocache.jpg Its

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Jason Joseph
Rainer Jung wrote: On 05.06.2009 22:04, Christopher Schultz wrote: Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent connections with mod_jk/apache/tomcat The only time when a browser would fire off "simultaneo

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-05 Thread Mark Thomas
Mondain wrote: > Mark,Thanks for the patch; it works like a champ! Now how can I use this > with future releases of Tomcat? Will I have to reapply it each time? Thanks for testing. Assuming it gets the necessary 3 +1s, it will be in 6.0.21 onwards. Mark

RE: Tomcat relative path

2009-06-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat relative path > > See these resources for an interesting read: > http://www.stevesouders.com/blog/2009/05/12/sharding-dominant-domains/ Yes, it was the sharding one that the OP was trying to use, but that wasn

Re: Context failed to load due to previous error

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arvind, On 5/29/2009 7:38 AM, S Arvind wrote: > Recently in our Tomcat 6 , when we restart the tomcat we are getting the > problem such as > *Context[/] failed to load due to previous error. * > listenerstart cannot be loaded , something like that

Re: Tomcat relative path

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/28/2009 9:25 PM, Caldarale, Charles R wrote: >> From: tcwarrior [mailto:sr_s...@yahoo.com] >> Subject: Tomcat relative path >> >> We had a consultant tell us since we have 49 images >> loading on our homepage we should change this so >> p

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 22:04, Christopher Schultz wrote: > Chuck, > > On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent >>> connections with mod_jk/apache/tomcat >>> >>> The only time when a browser would fire off "simultaneous" >>> r

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I just noticed something else: the two firebug examples provided in the OP have wildly differing primary response sizes: the direct-to-Tomcat one has a 16KiB response while the via-httpd response is a mere 4KiB. Jason, can you provide two sample

Re: Centos 5 OS not releasing memory Tomcat6

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc, You haven't yet provided any proof that any memory (at all) is allocated to "Tomcat 6". Could you maybe show us some output of "top" or "ps" or something like that? If you're convinced that it's an OS problem, why not ask someone at CentOS? -

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent >> connections with mod_jk/apache/tomcat >> >> The only time when a browser would fire off "simultaneous" >> requests, is

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-05 Thread Mondain
Mark,Thanks for the patch; it works like a champ! Now how can I use this with future releases of Tomcat? Will I have to reapply it each time? Paul On Fri, Jun 5, 2009 at 11:25 AM, Mark Thomas wrote: > Mondain wrote: > > Mark,I'm perfectly ok with building the source and would be glad to test >

RE: Hibernate

2009-06-05 Thread Martin Gainty
one of n number Databases to choose from in $HIBERNATE_HOME/etc/hibernate.properties you can enable the properties for the DB entry by removing # in 1st column or disable the properties of the DB by placing a # in 1st column as in this example ## HypersonicSQL is enabled by default hibernate.di

RE: Hibernate

2009-06-05 Thread Chris Lenart
THANKS -Original Message- From: Jason Pyeron [mailto:jpye...@pdinc.us] Sent: Friday, June 05, 2009 1:29 PM To: 'Tomcat Users List' Subject: RE: Hibernate Mail the hibernate users list, and I will help there. https://lists.jboss.org/mailman/listinfo/hibernate-users > -Original M

RE: Hibernate

2009-06-05 Thread Jason Pyeron
Mail the hibernate users list, and I will help there. https://lists.jboss.org/mailman/listinfo/hibernate-users > -Original Message- > From: Chris Lenart [mailto:clen...@comcast.net] > Sent: Friday, June 05, 2009 14:13 > To: users@tomcat.apache.org > Subject: Hibernate > > I am le

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-05 Thread Mark Thomas
Mondain wrote: > Mark,I'm perfectly ok with building the source and would be glad to test > your patch. Great! Here it is: https://issues.apache.org/bugzilla/show_bug.cgi?id=47316#c3 Mark - To unsubscribe, e-mail: users-unsubs

Hibernate

2009-06-05 Thread Chris Lenart
I am learning Hibernate and doing examples from a book. I have all of the jars the book has, but can't import perstistence.*. It will HSQL too. Which jar ha S this? Thanks Chris Lenart

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-05 Thread Mondain
Mark,I'm perfectly ok with building the source and would be glad to test your patch. Paul On Fri, Jun 5, 2009 at 10:08 AM, Mark Thomas wrote: > Mondain wrote: > > The "fix" didn't work, I still see the same error. I set the same name on > > the Service and the Engine now, previously the Service

RE: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: concurrent connections with mod_jk/apache/tomcat > > The only time when a browser would fire off "simultaneous" > requests, is if there were several windows or frames open, > each making its own connection, and requests on it. Not true

Re: Having trouble with Tomcat 6.0.20 embedded in Red5

2009-06-05 Thread Mark Thomas
Mondain wrote: > The "fix" didn't work, I still see the same error. I set the same name on > the Service and the Engine now, previously the Service (Embedded) did not > have a name set. Here is the relevant portion of the code: > embedded = new Embedded(); > embedded.createLoader(originalClassLoade

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread André Warnier
Jason Joseph wrote: Christopher Schultz wrote: .. lots of things .. I can't imagine that MaxRequestsPerChild would contribute to this problem. Maybe if you had MaxRequestPerChild set to 1 I might believe it, but you have it set to "0" which means "children never die". Wouldn't MaxRequestPer

RE: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Martin Gainty
Andy try Unix2Dos TextFile http://www.softpedia.com/get/System/File-Management/Unix2Dos.shtml --attempt at building mod_jk (libhttpd.dll first) i cannot get libhttpd.dll to build (dependency to apache2/mod_jk) Configuration: libhttpd - Win32 Release Creati

RE: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Deploying .war-file in Tomcat 5.5 > > I disagree with Chuck's complaint about this packaging: it actually > looks quite sane to me: system-installed stuff goes into > /usr/share/tomcat5.5/webapps and probably has XML

Re: tomcat connector manipulation

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/27/2009 6:14 PM, Caldarale, Charles R wrote: >> From: xalia...@freemail.gr [mailto:xalia...@freemail.gr] Subject: >> tomcat connector manipulation >> >> Is there a way to be able to handle at first the one connector >> ( (high prior.) and

Re: [SECURITY] CVE-2009-0580 Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 6/5/2009 12:14 PM, Mark Thomas wrote: > Christopher Schultz wrote: >>> For the JDBC and DataSource Realms, earlier versions (5.5.0 to 5.5.5 and >>> 4.1.0 to 4.1.31 with the DataSource Realm introduced in 4.1.17) are >>> vulnerable. >> I'm afr

Re: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kai, On 6/5/2009 9:04 AM, Kai Behncke wrote: > Thank you very much. > When I just did "apt-get install tomcat 5.5" and I copied the .war file then > to /var/lib/tomcat5.5/webapps > > it`s unpacked without any problems. So, the webapps directory is r

Re: [SECURITY] CVE-2009-0580 Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Mark Thomas
Christopher Schultz wrote: >> For the JDBC and DataSource Realms, earlier versions (5.5.0 to 5.5.5 and >> 4.1.0 to 4.1.31 with the DataSource Realm introduced in 4.1.17) are >> vulnerable. > > I'm afraid I still don't understand the vulnerability in 5.5's > DataSourceRealm (the one I actually look

Re: custom header

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/5/2009 11:59 AM, André Warnier wrote: > you should be able to do that with a servlet filter at the Tomcat > level. +1 At first read, it sounded like the OP was trying to set a header in mod_jk so that Tomcat could read it. But it looks l

Re: custom header

2009-06-05 Thread André Warnier
Anthony J. Biacco wrote: Is there a way to set a custom HTTP header from tomcat/mod_jk for the AJP connector? Short of changing the tomcat/mod_jk source code, that is. I have requests go from apache -> mod_jk -> tomcat, multiple servers, and I want to see in a Response header what tomcat my reque

Re: [SECURITY] CVE-2009-0580 Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 6/5/2009 7:03 AM, Mark Thomas wrote: > Christopher Schultz wrote: >> Mark, >> >> On 6/3/2009 11:42 AM, Mark Thomas wrote: >>> CVE-2009-0580: Tomcat information disclosure vulnerability >> I know I'm likely to get a vague response, but could y

Re: [SECURITY] CVE-2009-0580 UPDATED Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Mark Thomas
David kerber wrote: > Mark Thomas wrote: > ... >> 5.5.x users should do one of the following: >> - upgrade to 5.5.28 when released >> - apply this patch http://svn.apache.org/viewvc?rev=781379&view=rev >> 4.1.x users should do one of the following: >> - upgrade to 4.1.40 when released >> - appl

Re: APR is not working

2009-06-05 Thread Mohamedin
Thanks a lot for your fast reply (Both of you) It was the random number generator Setting SSLEngine to off fixed the problem And I don't need the SSL since it is handled by apache using mod_jk Thanks again, Mohamedin - Original Message - From: "Mladen Turk" To: "Tomcat Users List"

Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Andy Wang
Rainer Jung wrote: Mladen might like to elaborate more, but in short: MS binaries need a Microsoft Visual C++ Runtime library to run with. Those are called msvcrt. The library version used is determined during the dynamic linking done with visual studio. Now if you use an extensible application

Re: [SECURITY] CVE-2009-0580 UPDATED Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread David kerber
Mark Thomas wrote: ... 5.5.x users should do one of the following: - upgrade to 5.5.28 when released - apply this patch http://svn.apache.org/viewvc?rev=781379&view=rev 4.1.x users should do one of the following: - upgrade to 4.1.40 when released - apply this patch http://svn.apache.org/viewv

Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Rainer Jung
On 05.06.2009 16:43, Andy Wang wrote: > Mladen, Rainer, > Thanks for pointing out the crlf thing, I discovered that myself last > night and was going to update this thread this morning but you beat me > to it. :) > > I just automatically, use the tarballs since I'm normally a Unix guy. I > figur

Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Andy Wang
Mladen, Rainer, Thanks for pointing out the crlf thing, I discovered that myself last night and was going to update this thread this morning but you beat me to it. :) I just automatically, use the tarballs since I'm normally a Unix guy. I figure this out when I inadvertently used the Apache

Re: ISAPI incorrect function

2009-06-05 Thread dljohnson69
That was the problem, I had edited the http instead of the AJP connector section in the server.xml. It now does a redirect. I'll play with the load balancer and other connector info. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > dl, > > On 6/4/2009 10:

Re: APR is not working

2009-06-05 Thread Mladen Turk
Mohamedin wrote: Then when I started tomcat the log shows the following lines and then nothing (It hangs) 05.06.2009 14:15:46 org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. 05.06.2009 14:15:46 org.apache.catalina.core.AprLifecycl

RE: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Caldarale, Charles R
> From: Kai Behncke [mailto:kai-behn...@gmx.de] > Subject: Re: Deploying .war-file in Tomcat 5.5 > > it`s unpacked without any problems. But if I call then > http://www.mysite.de:8180/my_servlet I don`t see anything in the > browser?? You need to include the name of your webapp in the URL; the w

Re: APR is not working

2009-06-05 Thread Rainer Jung
On 05.06.2009 15:40, Mohamedin wrote: > Dear everybody, > > I am trying to install APR for tomcat 6.0.18 on debian > I did the following: > > apt-get install libapr1-dev libssl-dev > cd tomcat-native-1.1.16-src/jni/native > ./configure --with-apr=/usr/bin/apr-1-config > --with-java-home=/usr/lib/

ADMINISTRATOR: PLEASE READ

2009-06-05 Thread Alexander Ryan
The "unsubscribe" feature for this list appears to be broken. Kindly unsubscribe me. Thank you. ~Alex Alex Ryan's Facebook profile > -Original Message- > From: Mohamedin [mailto:mohame...@easy-dialog.info] > Sent: Friday, June 05, 2009 9:40 AM > To: Tomcat Users List > Subject: APR is no

APR is not working

2009-06-05 Thread Mohamedin
Dear everybody, I am trying to install APR for tomcat 6.0.18 on debian I did the following: apt-get install libapr1-dev libssl-dev cd tomcat-native-1.1.16-src/jni/native ./configure --with-apr=/usr/bin/apr-1-config --with-java-home=/usr/lib/jvm/java-1.5.0-sun --prefix=/usr/lib/catalina make m

Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Rainer Jung
On 04.06.2009 01:33, Andy Wang wrote: > Hi all, > I was able to get mod_jk building fine using Makefile.vc, but couldn't > get the .dsp file loaded into Visual Studio 2005. Anyone know if > there's a trick to this, or should I just not care (it does build and > seem to work fine with the Makefile)

RE: Service Specific Error 0

2009-06-05 Thread Caldarale, Charles R
> From: aditya darbha [mailto:adityadar...@gmail.com] > Subject: Re: Service Specific Error 0 > > However for a 64 bit wrapper of Tomcat, an error pops up > saying Loading Error > "Cannot Find the File specified [prunsrv.c]" You must use the 64-bit wrapper with a 64-bit JVM, and the 32-bit wrapp

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 23:59, dljohnson69 wrote: > Yes, tomcat is running. The IIS was shutdown by me on that log reference. > Latest log, server.xml and worker.properties here. > > workers.properties > worker.list=wlb > > worker.wlb.type=ajp13 > worker.wlb.host=localhost > worker.wlb.port=8010 > >

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 19:27, dljohnson69 wrote: > The isapi.log is the only one I know of (maybe the same)let me know if the > name of any other logs you think would help. Here is the error part of the > isapi.log > > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [info] > ajp_connection_tcp_get_message::jk_

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 16:42, dljohnson69 wrote: > I now have a simple workers.properties and uri file with the latest 1.2.28 > redirector but no matter what I try I only get "incorrect function" returned > to the browser. 1st error in log is > [error] jk_shm_calculate_size::jk_shm.c (120): Could not get m

Re: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Kai Behncke
Hi Marcus, >On Debian you should put it in /var/lib/tomcat5.5/webapps. Thank you very much. When I just did "apt-get install tomcat 5.5" and I copied the .war file then to /var/lib/tomcat5.5/webapps it`s unpacked without any problems. But if I call then http://www.mysite.de:8180/my_servlet I

RE: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Kai Behncke
Hi Peter, first of all thank you for your reply. Peter Crowther wrote: > >> From: Kai Behncke [mailto:kai-behn...@gmx.de] >> I have installed Tomcat with apt-get install tomcat5.5 tomcat5.5-admin >> tomcat5.5-webapps > >>From which we can assume you're running on Debian, rather than one of th

RE: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Peter Crowther
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Marcus Better > On Debian you should put it in /var/lib/tomcat5.5/webapps. Ah - thanks, Marcus. Debian's rather odd symlinking policy strikes again! - Peter

Re: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kai Behncke wrote: > Tomcat is running and I copy a .war file in > /usr/share/tomcat5.5-webapps/ROOT/ On Debian you should put it in /var/lib/tomcat5.5/webapps. (And if you run Debian squeeze you can install the tomcat6 package.) Cheers, Marcus --

Re: With APR, getRemoteHost() returns NULL for unknown clients?

2009-06-05 Thread Paul Seed
Thanks Mark, I've filed bug #47319. https://issues.apache.org/bugzilla/show_bug.cgi?id=47319 Cheers - Paul. From: Mark Thomas To: Tomcat Users List Sent: Friday, 5 June, 2009 12:12:07 Subject: Re: With APR, getRemoteHost() returns NULL for unknown clients?

RE: Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Peter Crowther
> From: Kai Behncke [mailto:kai-behn...@gmx.de] > I have installed Tomcat with apt-get install tomcat5.5 tomcat5.5-admin > tomcat5.5-webapps >From which we can assume you're running on Debian, rather than one of the many >other platforms on which Tomcat runs? > The default webapps-deirectoy is n

Deploying .war-file in Tomcat 5.5

2009-06-05 Thread Kai Behncke
Dear users, I have installed Tomcat with apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps The default webapps-deirectoy is now: /usr/share/tomcat5.5-webapps/ROOT/ Tomcat is running and I copy a .war file in /usr/share/tomcat5.5-webapps/ROOT/ But how is this .war-file unpacked/dep

[SECURITY] CVE-2009-0580 UPDATED Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Updated to clarify affected versions as they vary for each affected Realm. CVE-2009-0580: Tomcat information disclosure vulnerability Severity: Low Vendor: The Apache Software Foundation Versions Affected: MemoryRealm: Tomcat 4.1.0 to 4.1.39 Tomc

Re: [SECURITY] CVE-2009-0580 Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread Mark Thomas
Christopher Schultz wrote: > Mark, > > On 6/3/2009 11:42 AM, Mark Thomas wrote: >> CVE-2009-0580: Tomcat information disclosure vulnerability > > I know I'm likely to get a vague response, but could you provide some > more info about this issue? I'm sorry you have that impression. As I hope you

Re: With APR, getRemoteHost() returns NULL for unknown clients?

2009-06-05 Thread Mark Thomas
Paul Seed wrote: > Any ideas on how to debug this further? I had a quick look in the APR source > but couldn't find any reference to getRemoteHost or enableLookups so I'm not > sure where this side effect is coming from. I'd be happy to collect more > info and file a bug report if necessary.

Re: Tomcat 6.0.18 and APR

2009-06-05 Thread Mark Thomas
Lush, David wrote: > I've downloaded the binaries from > http://tomcat.heanet.ie/native/1.1.12/binaries/ First off, get the latest (1.1.16) binaries from here (heatnet.ie is an old location): http://tomcat.apache.org/download-native.cgi and have tried both > win32 and win64 (just in case I was b

Re: Tomcat 6.0.18 and APR

2009-06-05 Thread Mladen Turk
Lush, David wrote: Hi all, I've downloaded the binaries from http://tomcat.heanet.ie/native/1.1.12/binaries/ and have tried both win32 and win64 (just in case I was being stupid! ;)). Well, on win2k you will definitely need the win32 binaries. Main Tomcat page (tomcat.apache.org) has a nice Do

With APR, getRemoteHost() returns NULL for unknown clients?

2009-06-05 Thread Paul Seed
Hello, After searching in all the usual places for a problem I'm having with Tomcat/APR and reverse lookups, I haven't found anything similar, so maybe someone on the list can help... My setup is a RedHat 5 server (32 bit) running Tomcat 6.0.20 with Tomcat Native 1.1.16 libraries and Sun JDK

Tomcat 6.0.18 and APR

2009-06-05 Thread Lush, David
Hi all, I'm currently trying to get the APR working on the following system; Using CATALINA_BASE: E:/apache-tomcat-server6.0 Using CATALINA_HOME: E:/apache-tomcat-server6.0 Using CATALINA_TMPDIR: E:/apache-tomcat-server6.0\temp Using JRE_HOME:E:/jdk1.5.0_12 Serve

org.apache.tomcat.sendfile.support attribute returned via getAttribute() but name not returned via getAttributeNames()

2009-06-05 Thread Chris Markle
Hi, Probably missing something simple here but I can't figure it out... I have pretty much just modified a simpel hello world servlet as I start to play around with NIO sendfile support. I am using Tomcat 6.0.20. I am trying to check for the org.apache.tomcat.sendfile.support which says I can use