Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread jehan4324
try to change shutdown port in the server.xml -- View this message in context: http://old.nabble.com/Tomcat-Shutting-Down-by-Itself--tp29249881p29293203.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-28 Thread Ivan
Thanks, Mark, if you mean the method getRealPath in BaseDirContext, I have checked it. ---> public String getRealPath(String name) { if (!aliases.isEmpty()) { AliasResult result = findAlias(name); if (result.dirContext != null) { return result.dirCon

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-28 Thread Mark Thomas
On 28/07/2010 14:11, Ivan wrote: > Thanks, if possible, could you please show me where it is ? I am really > interested in those details :-) BaseDirContext Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

RE: [OT] java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad

2010-07-28 Thread Kuga
Hi, Thanks for the quick response, much appreciated: -bash-4.0# /usr/local/jre/bin/java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode) Please let me know if you would like to see the Providers list. I h

RE: [OT] java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad

2010-07-28 Thread Caldarale, Charles R
> From: Kuga [mailto:kvisagam...@infoblox.com] > Subject: Re: [OT] java.security.NoSuchAlgorithmException: No > implementation for AES/CBC/NoPad > > We are using Java 1.6.0_17. Are you absolutely certain? > I dont see the "Cipher.PBEWithMD5AndDES" in the providers list It's there in the standar

Re: [OT] java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad

2010-07-28 Thread Kuga
Hi, We are using Java 1.6.0_17. I dont see the "Cipher.PBEWithMD5AndDES" in the providers list, as a result the Security.getProvider("Cipher.PBEWithMD5AndDES") is returning NULL. Is there a way to generate these providers? or am I missing something in that environment. I am using Linux Fedora 12.

RE: connector config for debug scenario

2010-07-28 Thread Rick . Wellman
So, simple; you rock. I think a dummy JSP in the existing app should work, eh? (rhetorical unless the answer is no) awesome! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, July 28, 2010 1:02 PM To: Tomcat Users List Subject: RE: connecto

RE: connector config for debug scenario

2010-07-28 Thread Caldarale, Charles R
> From: Rick.Wellman [mailto:rick.well...@kiewit.com] > Subject: RE: connector config for debug scenario > > Hmmm, I'll consider this thread closed but if you have any ideas on how > I might force requests to the same thread, then I'm all ears. Have a dummy webapp that simply does Thread.sleep()

RE: connector config for debug scenario

2010-07-28 Thread Rick . Wellman
p.s. FWIW, I just noticed this message in my logs also :( |TOMCAT|WARN |2010-07-28 12:58:53,135|maxThreads setting (1) too low, set to 10 -Original Message- From: Rick.Wellman [mailto:rick.well...@kiewit.com] Sent: Wednesday, July 28, 2010 12:59 PM To: Tomcat Users List Subject: RE: con

RE: connector config for debug scenario

2010-07-28 Thread Rick . Wellman
Thanks for the correct answer but bad one ;-) Hmmm, I'll consider this thread closed but if you have any ideas on how I might force requests to the same thread, then I'm all ears. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, July 28, 2

RE: connector config for debug scenario

2010-07-28 Thread Caldarale, Charles R
> From: Rick.Wellman [mailto:rick.well...@kiewit.com] > Subject: RE: connector config for debug scenario > > Apache Tomcat/5.5.27 > http-12080 > Max threads: 10 Min spare threads: 1 Max spare threads: 1 > Current thread count: 3 Current thread busy: 3 Yes, 5.5 has a minimum value for maxThreads o

RE: connector config for debug scenario

2010-07-28 Thread Rick . Wellman
My bad; I actually had copied that from the server status page and forgot to paste into my message: === Apache Tomcat/5.5.27 http-12080 Max threads: 10 Min spare threads: 1 Max spare threads: 1 Current thread count: 3 Current thread busy: 3 ... = -Or

RE: Tomcat Shutting Down by Itself?

2010-07-28 Thread Robinson, Eric
> So we definitely know the process is gone and not that > it is only no longer responding? I'm not 100% certain. I did... netstat -an|grep ":3057"|grep LISTEN ..and nothing came back. From that we at least know that the process was no longer listening on its assigned port. Then I *t

RE: connector config for debug scenario

2010-07-28 Thread Caldarale, Charles R
> From: Rick.Wellman [mailto:rick.well...@kiewit.com] > Subject: connector config for debug scenario > > Is it possible to configure the http connector for only > one thread ever? Care to give us a hint about which Tomcat version you're referring to? - Chuck THIS COMMUNICATION MAY CONTAIN CO

connector config for debug scenario

2010-07-28 Thread Rick . Wellman
Is it possible to configure the http connector for only one thread ever? I am trying to do so but having problems... it seems to not allow a value less than the default of ten(10) threads. Any ideas? Here is the config I am trying*: * I have tried other values in the threads section,

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-28 Thread Ivan
Thanks, if possible, could you please show me where it is ? I am really interested in those details :-) 2010/7/28 Mark Thomas > On 28/07/2010 03:12, Ivan wrote: > > Yes, Caldarale, I do agree that in the spec, there is no word about > whether > > the file should exist (or I miss something anywhe

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-28 Thread Mark Thomas
On 28/07/2010 03:12, Ivan wrote: > Yes, Caldarale, I do agree that in the spec, there is no word about whether > the file should exist (or I miss something anywhere ?), and the spec is > always ambigurous :-) > As I said in my last post, what makes me feel confusing is that, with > current implemen

Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread Rainer Jung
On 28.07.2010 01:01, Robinson, Eric wrote: 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat start