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 but when I am trying to Start the tomcat sercice it Displays message like " The apache tomcat service on local computer started and then stopped . Some services stopped automaticaly if they

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 si

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 desc

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

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 si

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

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 n

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 - http://enigmail.mozd

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: 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 wrote: > On Sun, Nov 1, 2009 at 9:32 AM, Dean Hiller wrote: > > > http://t

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 particul

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 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 Why do you think

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... but the doc says path HAS to be saasmain. Doc also says docBase can't be inside appBase which is wh

Re: servlet mappings

2009-11-01 Thread Mark Thomas
Peter Crowther wrote: > 2009/10/30 Caldarale, Charles R : >> 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 web service witho