Re: distributed session manager with infinispan

2011-11-28 Thread jean-frederic clere
On 11/27/2011 06:44 PM, Zdeněk Henek wrote: Hi, I have created prototype of distributed session manager which uses infinispan to distribute session state. The code is available here: https://github.com/zvrablik/tomcatInfinispanSessionManager Would anybody have time to discuss the prototype or

Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Óscar Frías Barranco
Hi. I want to start Tomcat 6.0.33 (running on port 80) from the command line of a non-root user. I have set the setuid flag in the jsvc binary to convert the non-root user to root at the time of execution. Then the jsvc binary is executed with the --user tomcat parameter. The thing is that the

Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread André Warnier
Óscar Frías Barranco wrote: Hi. I want to start Tomcat 6.0.33 (running on port 80) from the command line of a non-root user. I have set the setuid flag in the jsvc binary to convert the non-root user to root at the time of execution. Then the jsvc binary is executed with the --user tomcat

Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Konstantin Kolinko
2011/11/28 Óscar Frías Barranco ofr...@gmail.com: Hi. I want to start Tomcat 6.0.33 (running on port 80) from the command line of a non-root user.  I have set the setuid flag in the jsvc binary to convert the non-root user to root at the time of execution.  Then the jsvc binary is executed

Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Óscar Frías Barranco
Thanks for your replies. At the end I include the logs from the beginning. (by the way, I cannot use sudo because I would like to restart tomcat from a non-interactive script) Nov 28, 2011 2:41:41 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native

struts temporarly moved-why?

2011-11-28 Thread Gabor Gyorkei
Hello, I just upgraded from tomcat5.5 to 6, and everything works expect one thing: links like host/app/somthing.do;jsessionid=XYZ does not work. If I remove the jsessionid part, than struts works fine, but with that tomcat answers a 302 temporarily moved message and gives a link

Re: Erratic Response Types When Tomcat Fronted by Apache httpd

2011-11-28 Thread Jonathan Rosenberg
An update to close this issue: After fiddling with many other things, I finally updated from 7.0.6 to 7.0.22. That fixed the issue. The behavior was very strange inconsistent. Apparently randomly, most AJP requests to Tomcat would come back with incorrect Content-type. As you can imagine,

Tomcat None Page Pool creeps up until OS crashes

2011-11-28 Thread Doron Tsur
Hi All I've been having an issue in one of our production servers. The Non Paged Pool creeps up slowly until the system hangs and than crash. Tomcat: 6.0.16 Java: 1.5.16 OS: Windows Server 2003 R2 SP2 This is a production server that uses high bandwidth. Poking around Poolmon.exe I was able to

Tomcat-7.0.23 startup deadlocks

2011-11-28 Thread Zampani, Michael
Hi, I'm trying to upgrade an existing webapp installation from 7.0.22 - 7.0.23. On startup, it appears to deadlock, with the threads stuck in ContainerBase.setRealm HostConfig.deployDirectories ContainerBase.startInternal server.xml and thread dump attached. Note that I do not define any Realms

RE: Tomcat-7.0.23 startup deadlocks

2011-11-28 Thread Zampani, Michael
Looks like the attachments didn't all make it. Trying again Hi, I'm trying to upgrade an existing webapp installation from 7.0.22 - 7.0.23. On startup, it appears to deadlock, with the threads stuck in ContainerBase.setRealm HostConfig.deployDirectories ContainerBase.startInternal

Re: Tomcat-7.0.23 startup deadlocks

2011-11-28 Thread markt
Zampani, Michael zamp...@amazon.com wrote: Hi, I'm trying to upgrade an existing webapp installation from 7.0.22 - 7.0.23. On startup, it appears to deadlock, with the threads stuck in ContainerBase.setRealm HostConfig.deployDirectories ContainerBase.startInternal server.xml and thread dump

Re: Tomcat user roles

2011-11-28 Thread Bill Wang
Thanks for everyone who replied me. I successfully did it. Now on-call team can stop/start the tomcat instances by themselves, but with other action,such as deploy, undeploy, check server status, they will get access denied . * * That's perfect. Here I have the last question, what's the reload

RE: Tomcat-7.0.23 startup deadlocks

2011-11-28 Thread Zampani, Michael
-Original Message- From: ma...@apache.org [mailto:ma...@apache.org] Sent: Monday, November 28, 2011 4:02 PM To: Tomcat Users List Subject: Re: Tomcat-7.0.23 startup deadlocks Zampani, Michael zamp...@amazon.com wrote: Hi, I'm trying to upgrade an existing webapp installation

RE: System.out is not going to catalina.out

2011-11-28 Thread Chris Moore
Thanks to everyone that offered suggestions. I upgraded to Tomcat 7. I tried various logging options, and all kinds of changes to logging.properties. I tried changing the way the Tomcat daemon is started. I tried running Tomcat in the foreground instead of as a daemon. In the end it turned out

increase in file descriptor use from Tomcat 7.0.21 to 7.0.23

2011-11-28 Thread Mike Wertheim
I have a web app that has been running on Tomcat 7.0.21 with APR 1.4.2 and Tomcat Native 1.1.20 on 64-bit Java 1.6.0.23 on CentOS Linux. I upgraded half of my servers to Tomcat 7.0.23 and left the other half at 7.0.21. I copied the modified server.xml, context.xml and web.xml files from the

Re: struts temporarly moved-why?

2011-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor, On 11/28/11 9:28 AM, Gabor Gyorkei wrote: I just upgraded from tomcat5.5 to 6, and everything works expect one thing: links like host/app/somthing.do;jsessionid=XYZ does not work. If I remove the jsessionid part, than struts works fine,

Re: Tomcat-7.0.23 startup deadlocks

2011-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 11/28/11 7:28 PM, Zampani, Michael wrote: Things certainly seem to stop moving forward. If I attach JProfiler, I see two threads waiting on the same lock, but I'm not familiar enough with the application to know if it's a 'real'

Re: Tomcat None Page Pool creeps up until OS crashes

2011-11-28 Thread Pid *
On 28 Nov 2011, at 18:09, Doron Tsur qbal...@gmail.com wrote: Hi All I've been having an issue in one of our production servers. The Non Paged Pool creeps up slowly until the system hangs and than crash. Tomcat: 6.0.16 So the latest release is 6.0.33. Yours is over 3 years old. Java: