RE: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-01 Thread Imad Hachem
Dear Team, After setting a Tomcat Cluster of 2 nodes on separate machine, Session replication is working very fine except one library objects (QueryCrypt.jar included in this Web Project) having a Hashmap where we store Users SESSION ID. After one node shutdown, this Hashmap object is

Re: servlet mappings

2009-11-01 Thread Mark Thomas
Peter Crowther wrote: 2009/10/30 Caldarale, Charles R chuck.caldar...@unisys.com: Note that several servlet containers silently implement enhancements to the spec that simply cause confusion and limit portability. ... and are handy for some real-world use cases, such as creating a RESTful

how to configure multiple urls with app not starting twice

2009-11-01 Thread Dean Hiller
I have been going off this documentation... http://tomcat.apache.org/tomcat-4.1-doc/html-manager-howto.html which is a bit confusing. I really want to do something like this... Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true

Re: how to configure multiple urls with app not starting twice

2009-11-01 Thread Hassan Schroeder
On Sun, Nov 1, 2009 at 9:32 AM, Dean Hiller d...@alvazan.com wrote: http://tomcat.apache.org/tomcat-4.1-doc/html-manager-howto.html Why such an ancient version of Tomcat? ALSO, I want my files to be saasmain.war, timecard.war, not ROOT.war as well.  I could cheat and do the ROOT.war path

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-01 Thread A. Rothman
I've opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48097 with a sample jsp that recreates the error. Mark Thomas wrote: A. Rothman wrote: A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a

Re: how to configure multiple urls with app not starting twice

2009-11-01 Thread Dean Hiller
actually, I am using 6.0.16google yielded me that docs from searching the web. Anyway to maintain the war file name so we can tell what war file is what? thanks, Dean On Sun, Nov 1, 2009 at 9:46 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sun, Nov 1, 2009 at 9:32 AM, Dean

Re: [OT] Hammers and nails (was Re: A question about log-rotationon catalina.out)

2009-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/31/2009 4:59 AM, André Warnier wrote: I know, someone is going to say that one shouldn't mess around in a nuclear power plant if one hasn't read the manual. Oddly enough, Sun's Java source (that is, the source code to the .java files

Re: [OT] Hammers and nails (was Re: A question about log-rotation on catalina.out)

2009-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/31/2009 9:53 AM, André Warnier wrote: Fortunately, this is not about to happen to java programmers. Zing! - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla -

Re: Bad file descriptor serving static file

2009-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch, On 10/31/2009 11:59 AM, Mitch Claborn wrote: Yes, I know that struts normally serves that, but I had to patch one of the struts files, so tomcat is serving it instead. FWIW, if the client is requesting it via HTTP, Tomcat is serving it no

RE: how to configure multiple urls with app not starting twice

2009-11-01 Thread Caldarale, Charles R
From: Dean Hiller [mailto:dean.hil...@gmail.com] Subject: Re: how to configure multiple urls with app not starting twice actually, I am using 6.0.16 Then please, please use the doc for the that level, not the ancient version you have been referring to. Anyway to maintain the war file name

Will tomcat allow me to configur access to a single folder?

2009-11-01 Thread Josh Gooding
Unlike Apache HTTPD, can Tomcat be configured to allow access to a single directory? I am looking at writing a bit of code to be able to upload spare files to a section on the webserver, and then be able to view them and d/l them. Writing the code for the upload is not hard, but just wondering

Re: Will tomcat allow me to configur access to a single folder?

2009-11-01 Thread Mark Thomas
Josh Gooding wrote: Unlike Apache HTTPD, can Tomcat be configured to allow access to a single directory? I am looking at writing a bit of code to be able to upload spare files to a section on the webserver, and then be able to view them and d/l them. Writing the code for the upload is not

RE: Will tomcat allow me to configur access to a single folder?

2009-11-01 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Will tomcat allow me to configur access to a single folder? Can I configure tomcat so that everytime someone went to the /external site dump section, it would ask for credentials? Read section 12 of the servlet spec for a

starting tomcat from ant not working

2009-11-01 Thread Dean Hiller
I have tried from ant and programmed up a main class to start tomcat via catalina.bat start and tried catalina.bat start from ant as well. Lastly, I finally tried directly running the exact command that catalina.bat start tries to run and then ended up with classnotfound which makes no sense since

Tomcat 6 And SSL Configuration

2009-11-01 Thread Nilesh Patil
I am trying to Configure SSL with tomcat 6. But I did following setting in tomcat's conf/ server.xml Connector protocol=org.apache.coyote.http11.Http11Protocol port=85 minSpareThreads=5 maxSpareThreads=75 enableLookups=true disableUploadTimeout=true