Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Gregor Schneider
What in the documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) is the part you don't understand? Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Zak Mc Kracken
Gregor Schneider wrote: What in the documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) is the part you don't understand? Thanks for replying. Maybe it's me, but what I gather from the documentation is that it's not possible to combine the two filters as I want, i.e.:

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Zak Mc Kracken
Gregor Schneider wrote: What in the documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) is the part you don't understand? Thanks for replying. Maybe it's me, but what I gather from the documentation is that it's not possible to combine the two filters as I want, i.e.:

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread André Warnier
Zak Mc Kracken wrote: [...] Let's try this another way. You want to allow requests from either www.somewhere.com, or one or more IP addresses, and block all the rest. First, filtering requests on the base of a DNS hostname is expensive : it forces Tomcat to do a reverse DNS lookup. That

RE: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: RemoteAddrValve and RemoteHostValve What I'm getting at, is that if you want to accept requests from www.somewhere.com It's not clear to me whether the OP wants to check the origin or the destination; the original description: if

how to compile tomcat source

2009-02-28 Thread h iroshan
Dear All, I am new to Apache Tomcat. Can any body explain me to how to compile the source code of Apache Tomcat 5.5. Thank You. Best regards. H. Iroshan.

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Zak Mc Kracken
Thank you all for replies and detailed explanation. Now I understand what's happening. My specific problem is restrict a single web application to clients coming from localhost only. This was not working (everything blocked): Context Valve

Re: how to compile tomcat source

2009-02-28 Thread Markus Schönhaber
h iroshan: I am new to Apache Tomcat. Can any body explain me to how to compile the source code of Apache Tomcat 5.5. http://tomcat.apache.org/tomcat-5.5-doc/building.html But: if you're new to Tomcat, what makes you think it's necessary for you to build it from source? Regards mks

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread André Warnier
Zak Mc Kracken wrote: ..., although it seems to imply that RemoteHostValve should be avoided (isn't DNS reverse lookup cached?) Well, I suppose it probably is, at some level. At the level of the Remote Host Valve possibly, if the designers thought about it, or else at some underlying level.

Re: how to compile tomcat source

2009-02-28 Thread h iroshan
Dear mks, Sorry, you have miss understand me . Actually I have used Tomcat binary so many times. But I never compile the tomcat source before .I like to see tasks happening inside the Tomcat. Any way thank for your quick response it help me lot . Regards H Iroshan On Sun, Mar 1, 2009 at

error while building tomcat 5.5

2009-02-28 Thread h iroshan
Dear All, I tried to build the Tomcat 5.5 source with ant 1.7 and SVN 1.5 . while building I faced with following error . BUILD FAILED /home/iroshan/Documents/sources/tomcatBuild/build.xml:67: The following error occurred while executing this line:

Re: error while building tomcat 5.5

2009-02-28 Thread Alan Chaney
Do you have write permission to the following directory as the user you are using to do the build? You may have to 'su' or 'sudo' or change the access permissions on /usr/share/java to allow the build script to write to it. Regards Alan Chaney h iroshan wrote:

Re: error while building tomcat 5.5

2009-02-28 Thread Markus Schönhaber
h iroshan: I tried to build the Tomcat 5.5 source with ant 1.7 and SVN 1.5 . while building I faced with following error . BUILD FAILED /home/iroshan/Documents/sources/tomcatBuild/build.xml:67: The following error occurred while executing this line:

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Gregor
marc, do i understand you correct that you only whant to accept requests from localhost? next: wouldn't authorization solve your problem? rgds gregor Am 28.02.2009 um 19:14 schrieb Zak Mc Kracken zakmc...@yahoo.it: Thank you all for replies and detailed explanation. Now I understand

serializing session in DB

2009-02-28 Thread Amit Chandel
Hi Group, I am trying to deploy a tomcat cluster. I was able to set up a test tomcat cluster using in-memory replication with version 6.0.10, but my session data is too much (almost 5 GB per tomcat instance, and using 2 nodes in cluster both instances will require 10GB of RAM to hold session

Re: how to compile tomcat source

2009-02-28 Thread h iroshan
Dear mks, Thank you very much, you saved my time . Now it works. Best Regards, H Iroshan On Sun, Mar 1, 2009 at 12:48 AM, Markus Schönhaber tomcat-us...@list-post.mks-mail.de wrote: h iroshan: I am new to Apache Tomcat. Can any body explain me to how to compile the source code of

instance has been stopped. could not load oracle.toplink.essentials...

2009-02-28 Thread Thufir
I can't quite predict with certainty when this error will occur: 86899 Feb 28, 2009 10:05:50 PM org.apache.catalina.loader.WebappClassLoader loadClass 86900 INFO: Illegal access: this web application instance has been stopped already. Could not load