Re: How to set restrictions on the retreival of files from some directories

2005-11-18 Thread Ben Souther
I just tested on 5.0.28 and can't see anything under WEB-INF. Are you using Tomcat as a standalone or with a connector? On Fri, 2005-11-18 at 14:15, Brian Buchanan wrote: Upgrade. In a short test on two of my servers, 5.0.28 on windows has this WEB-INF. vulnerability, but 5.5.7 did not.

RE: Many questions are left unanswered.

2005-12-16 Thread Ben Souther
Maybe you could keep an eye on the list and help out with some of those 'unanswered' questions. :) On Fri, 2005-12-16 at 07:30, Prathibha, Bharathi wrote: Hi Jan, I actually found the answer to my question . There was a small problem in Tomcat 5.0's source code(in

Re: Tomcat 5.5.12 less robust than 5.0.28?

2006-01-27 Thread Ben Souther
I'm meeting the dude in Middleton @ 11:00 AM Sat. You still want to go? If so, I can be at your place around 10:00. Jess's coming too. On Fri, 2006-01-27 at 11:32, Mark Birenbaum wrote: I had a similar sounding problem (although I experienced it with all versions of Tomcat). (Forgive me if

Re: FW: Filter

2007-08-20 Thread Ben Souther
Look at RequestDispatcher.forward. All of this takes place on the server and doesn't change the URL. http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html#forward(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse) On Mon, 2007-08-20 at 11:35, Hehl, Thomas wrote:

RE: FW: Filter

2007-08-20 Thread Ben Souther
the doFilter()? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 12:39 PM To: Tomcat Users List Subject: Re: FW: Filter Look at RequestDispatcher.forward. All of this takes place on the server and doesn't change the URL. http://java.sun.com/j2ee

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
Tip #8: You tell the users about the tomcat-users.xml file for adding the role info but never tell them where to enter the RemoteAddrValve in order to restrict IPs. On Tue, 2007-08-21 at 10:57, Shane Witbeck wrote: David, Thanks for your comments. I've added them to the blog post for

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
The connector entries are also case sensitive: connector port=8009 ... Should be Connector port=8009 ... On Tue, 2007-08-21 at 13:55, Shane Witbeck wrote: Good point. I've updated the entry to be more specific. Thanks! On 8/21/07, Ben Souther [EMAIL PROTECTED] wrote: Tip #8: You

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
From: Christopher Schultz I also agree with David and, uh, David, that #6 is a little dubious. Yes, moving shared libraries into the common/lib directory will save you some memory, but it creates a management headache when it comes to version numbers, WAR

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Ben Souther
It depends on which operating system you're using and how you've installed Tomcat. Can you tell us which it is? On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: Thanks for this info,... How do I implement this tip? #18. Use the -server JVM option. This enables the server JVM, which

Re: URL mangling

2007-08-22 Thread Ben Souther
So now I'm trying to see if there's a way to mangle these urls dynamically on the security server instead so that I can use the same JSP for everything. I tried using a filter, but that works ONLY for the actual request itself. Filters evidently don't see requests for images or stylesheets,

RE: URL mangling

2007-08-22 Thread Ben Souther
the original one, nothing for the images and stuff. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 9:03 AM To: Tomcat Users List Subject: Re: URL mangling So now I'm trying to see if there's a way to mangle these urls dynamically

RE: URL mangling

2007-08-23 Thread Ben Souther
that starts with my servlet. I coded all JSPs to use relative paths. Can I tell mod_jk to forward everything with a relative path to tomcat as well? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 9:10 PM To: Tomcat Users List

Re: Tomcat looses POST parameters

2007-08-27 Thread Ben Souther
One thing that you've go on your side, as far as isolating the problem is concerned, is that Tomcat is a busy project and has thousands of users. If it had a bug that caused it to miss or drop form parameters hundreds or thousands of apps would be breaking right now and this, the dev list, and

Re: [OT/RANT] Quartz

2007-09-10 Thread Ben Souther
Hehe. It's amazing what you can do with one line of code using cron and wget. On Thu, 2007-09-06 at 17:43, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doesn't anyone know how to use cron anymore? Sheesh... - -chris Andrew Hole wrote: I can't find

Re: Session Monitoring tool?

2007-01-22 Thread Ben Souther
What kind of information are you looking for? If it's application specific data, it wouldn't be difficult to write something yourself. I have a sample app that shows the users logged in to the system, how long they've been active, when the session times out, and what the last page they've hit

Re: Console Output

2009-03-17 Thread Ben Souther
cd into the $CATALINA_HOME/logs directory and type: tail -f * On Tue, 2009-03-17 at 13:41 -0400, Mighty Tornado wrote: Hi, I am running Tomcat on Mac OS X. How can I see output on the console of the command line? For example, if I would like to put System.out statements in the code and

Re: Missing Request Parameters

2006-07-28 Thread Ben Souther
Since all webapps rely on request parameters, I'd say this would be a huge bug if it were one. So huge that it would render Tomcat unusable for any commercial grade application. Such a bug would fill this list with hundreds or thousands of complaints. Since we're not seeing those complaints,

Re: Tomcat supported versions

2010-07-13 Thread Ben Souther
How do you define supported? Tomcat is an open source project. There is no support, other than the help you can get on this list. I've heard of companies that offer support for Tomcat for a fee. You would have to check with them to see which versions they currently support. On Tue,

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-19 Thread Ben Souther
On Thu, 2010-08-19 at 12:45 +0200, André Warnier wrote: Yawar Saeed Khan/ITG/Karachi wrote: Hi, I have developed a web application using jsp and servlets with oracle database. and with Tomcat also ? Look in the subject line. :) The application is working fine on

Re: Service doesn't get inited.

2010-08-30 Thread Ben Souther
Does your service implement ServiceLifecycle? I believe the init method is part of that interface. On Mon, 2010-08-30 at 10:33 -0700, Kannan Jayaprakasam wrote: I have an axis2 aar webservice deployed in Tomcat. The serviceClass's init(ServiceContext) method doesn't at all get called.

Re: Expression language not working

2010-08-31 Thread Ben Souther
Look at the top of your deployment descriptor (web.xml) and see if the version is 2.4 or better. On Aug 31, 2010, at 8:35 AM, abhishek jain wrote: On Tue, Aug 31, 2010 at 5:48 PM, Mark Thomas ma...@apache.org wrote: On 31/08/2010 12:52, abhishek jain wrote: Hi friends, I have a

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Ben Souther
The most common cause of this, that I've seen is the failure to properly close all database connections. If you're using the container managed connection pooling, it is possible that restart your app won't free the ram consumed by any orphaned connections. Without seeing everthing you're doing

Re: explaining server.xml

2011-03-31 Thread Ben Souther
This is the best place to go for an explanation of all of the elements in server.xml http://tomcat.apache.org/tomcat-7.0-doc/config/index.html On Mar 31, 2011, at 7:45 AM, Kaushal Shriyan wrote: Hi, Can someone please help me understand about various tag and definition in server.xml

RE: Permanent servlet in TC7

2012-07-27 Thread Ben Souther
On Thu, 2012-07-26 at 19:54 +, Chip McVey wrote: So I'm looking for a guarantee that no automatic destroys will happen going forward just because Tomcat decides to do it on its own. If it is instructed to shutdown/undeploy/unload by some outside system or by a human user, that's fine, I'm

Re: Context fails to load during start of Tomcat, and stalls tomcat startup

2012-10-18 Thread Ben Souther
Is it possible that the context in question depends on another context in your setup for something during startup? Do you have something in a context listener (or a servlet that gets deployed on startup) that makes a web service call to another context in your system during initialization? If

Re: Context fails to load during start of Tomcat, and stalls tomcat startup

2012-10-19 Thread Ben Souther
- this should be easily tested via tcpdump I guess. /Steffen On 10/18/12 5:00 PM, Ben Souther b...@souther.us wrote: Is it possible that the context in question depends on another context in your setup for something during startup? Do you have something in a context listener