Tomcat hangs on startup

2009-09-21 Thread RogerV
I'm running Tomcat 6.0.18 on Debian Linux (Lenny). Tomcat is configured to start automatically through the init process, but it hangs using 95+% of the CPU and won't respond to /etc/init.d/tomcat stop. I have to kill the process. I've tried manually starting it as root with /etc/init.d/tomcat star

Re: Problem with Tomcat 6 cluster

2009-09-21 Thread Sumedh Sakdeo
Hi Jason, Copied the file content here: [Mon Sep 14 13:58:08 2009][2436:4032] [info] mod_jk.c (2825): mod_jk/1.2.26 initialized [Mon Sep 14 13:58:09 2009][2436:4032] [info] mod_jk.c (2825): mod_jk/1.2.26 initialized [Mon Sep 14 13:58:11 2009][3572:3316] [info] mod_jk.c (2825): mod_jk/1.2.26 initi

Re: Multiple JSESSIONIDs different subdomain

2009-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 9/21/2009 5:23 AM, Rainer Jung wrote: > On 21.09.2009 00:45, Christopher Schultz wrote: >> >> Struts will get whatever session Tomcat hands to it, so this is really a >> Tomcat question: the current version of Tomcat will take all available

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/21/2009 5:45 AM, André Warnier wrote: > Sylvie Perrin wrote: >> Christopher, >> >> Here is the stack trace of the FileNotFoundException: >> >> java.io.FileNotFoundException: /home/me/mountDir/fichi��.txt (No such >> file or directory) [sn

Re: Whole file missing

2009-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 btodd, On 9/21/2009 4:12 PM, btodd_22 wrote: > I am using Suse 11.1 with apache tomcat/5.5.9. FWIW, that version of Tomcat is quite old. The latest stable 5.5 version is 5.5.28. You should upgrade as soon as it is convenient for you. Be sure to read

tomcat6 and allowLinking problems

2009-09-21 Thread Daniel Blumenthal
I'm trying to use symlinks during development, but for some reason the allowLinking attribute doesn't seem to be working for me. I'm using Tomcat6 on a Mac Mini. First, I added it to my application's META-INF/context.xml file: ... That didn't work, so I added it to $CATALINA_HOME/conf/conte

RE: tomcat6 + apache 2.2 mod_jk - Help

2009-09-21 Thread Paul S
I restarted all the servers and was able to get it working. Thanks all. > Date: Sat, 19 Sep 2009 01:02:08 +0200 > From: rainer.j...@kippdata.de > To: users@tomcat.apache.org > Subject: Re: tomcat6 + apache 2.2 mod_jk - Help > > On 18.09.2009 19:29, Paul S wrote: > > I have installed mod_jk 1.2

Whole file missing

2009-09-21 Thread btodd_22
Hi all, Here is a perplexing issue that has happened to me and still have not been able to find a log file nor any web engine search i do that leads to an answer. I am using Suse 11.1 with apache tomcat/5.5.9. Now my frustrating issue is that I was testing a web app in the morning, went and too

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread André Warnier
Sylvie Perrin wrote: André, Thank you for your help but I can't follow your main recommendation, ie. avoid using non US-ASCII names. Actually, file names are part of information my servlet have to process and they cannot be changed. I am not the "owner" of these names and I must deal with the

http://blog.covalent.net/roller/covalent/entry/20070308

2009-09-21 Thread Martin Gainty
filips link is 404 http://blog.covalent.net/roller/covalent/entry/20070308 ? looking for some recent TC6 benchmarks (preferrably against glassfish) Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht is

RE: Virtual host configuration - best practise?

2009-09-21 Thread George Sexton
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 18, 2009 3:26 PM > To: Tomcat Users List > Subject: Re: Virtual host configuration - best practise? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > George, > > On

RE: Virtual host configuration - best practise?

2009-09-21 Thread Jeffrey Janner
Someone correct me if I'm wrong, but just changing server.xml does not require an "immediate" restart of Apache, correct? Hepabolu could use the host-manager to add his hosts on-the-fly, and then add the necessary changes to the server.xml so that the next time he does restart his server/Tomcat, th

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread ramzi khlil
Sylvie, I suggest you to create a mapping until you find a solution. In your application, put the origianl file name as friendly name and save the file without accent. So, when user list the files, you show him the friendly name, but when you load a file use the mapping entry to get the file name

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread Sylvie Perrin
André, Thank you for your help but I can't follow your main recommendation, ie. avoid using non US-ASCII names. Actually, file names are part of information my servlet have to process and they cannot be changed. I am not the "owner" of these names and I must deal with them. Sylvie. André War

RE: Security Constraint conflict

2009-09-21 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Security Constraint conflict > > I suggest that the Servlet Spec be revised by a German engineer, to the > effect that everything not specifically allowed is forbidden. Or we could try the quantum physics interpretation: "Everything wh

Re: Security Constraint conflict

2009-09-21 Thread André Warnier
Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Security Constraint conflict The logical union of 'no methods' and 'some methods' is 'some methods', isn't it? But... Yes, except the spec says the operation is *not* a union when a constraint has no roles. Rather

RE: Security Constraint conflict

2009-09-21 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Security Constraint conflict > > The logical union of 'no methods' and 'some methods' is 'some methods', > isn't it? But... Yes, except the spec says the operation is *not* a union when a constraint has no roles. Rather than an "or" effect,

Re: Security Constraint conflict

2009-09-21 Thread Pid
On 21/09/2009 01:20, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Security Constraint conflict On 9/18/2009 9:47 PM, Bill Barker wrote: I haven't checked the Servlet 3 spec, but with earlier versions, the union process is to give you t

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread André Warnier
Sylvie Perrin wrote: Christopher, Here is the stack trace of the FileNotFoundException: java.io.FileNotFoundException: /home/me/mountDir/fichi��.txt (No such file or directory) Sylvie, maybe what appears above shows the origin of the problem, and explains what I was trying previously to tel

Re: Multiple JSESSIONIDs different subdomain

2009-09-21 Thread Rainer Jung
On 21.09.2009 00:45, Christopher Schultz wrote: > Theparanoidone, > > On 9/18/2009 11:45 PM, Theparanoidone Theparanoidone wrote: >> Thank you; that's pretty close to what I am looking for (as it relates to >> mod-jk): > >> As a follow up question, it seems safe to assume that tomcat will >> rec

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread Sylvie Perrin
Christopher, Here is the stack trace of the FileNotFoundException: java.io.FileNotFoundException: /home/me/mountDir/fichi��.txt (No such file or directory)     at java.io.FileInputStream.open(Native Method)     at java.io.FileInputStream.(FileInputStream.java:106)     at SambaMoun