Re: Different behavior between Tomcat service installation Tomcat console mode

2011-08-03 Thread Mladen Turk
On 08/03/2011 07:03 AM, Alexandre Terrasson wrote: Hi, thanks guys, 2/ The Jar of my driver is located in the Tomcat lib folders. The driver is not only a jar, I had to installed it as an odbc source, with some dll and some entries in windows registry. So you must ensure that LOCAL_SERVICE

Sharing session between different webapps under same tomcat

2011-08-03 Thread Jany Jose
Hi, We are using tomcat 6.0.26. For one use case we want to re-use the session objects created in one web application in another web application which are running under the same tomcat. Please let me know is it supported and if yes how to achieve that. Thanks Jany

Re: Sharing session between different webapps under same tomcat

2011-08-03 Thread Mark Thomas
On 03/08/2011 07:23, Jany Jose wrote: Hi, We are using tomcat 6.0.26. For one use case we want to re-use the session objects created in one web application in another web application which are running under the same tomcat. Please let me know is it supported and if yes how to achieve that.

Re: Finding user name without authentication

2011-08-03 Thread Vibhor Kumar Agarwal
Addendum : In the above, I was assuming a) that the webserver you are talking about is Tomcat b) that you mean a configuration where Tomcat is accessed directly by the user browser (as opposed to a configuration where Tomcat is behind some other front-end system). In case (b),

Re: Missing files for Apache and Log4J

2011-08-03 Thread A Df
Hello Mates: I got the log file to work however, it does not have the date appended like the usual Tomcat Logs and does not creating a rolling daily file. I also wanted to have control over the usual logs that Tomcat produced so I combined your instructions with those from this other website

RE: Stuck at making jsvc while installing tomcat

2011-08-03 Thread Caldarale, Charles R
From: Mladen Turk [mailto:mt...@apache.org] Subject: Re: Stuck at making jsvc while installing tomcat Similar errors continues to the end. I thought it might be some problem with my gcc compiler. Fix your compiler, and yes, please don't ask how, cause you won't get the answer here.

Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Dante Bell
Hi, I hope this is going to the right people. Sorry that I don't have the version numbers except that they are on Apache pre-fork 1.2. In their stress test, tomcat is not killing/reclaiming threads fast enough and eventually (after 3 hours) it runs out of threads and locks up. OS is Solaris

RE: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Caldarale, Charles R
From: Dante Bell [mailto:dantepasqu...@cocoanet.us] Subject: Tomcat not releasing threads on Solaris 10 In their stress test, tomcat is not killing/reclaiming threads fast enough and eventually (after 3 hours) it runs out of threads Tomcat does not create arbitrary, temporary threads, nor

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-03 Thread eurotrans-Verlag
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, July 26, 2011 6:15 PM To: Tomcat Users List Subject: Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32 You should also null-out the reference to Tomcat's output

Re: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Dante Bell
I do have a stack dump, but don't have enough experience to understand it. Seems that all threads are waiting: java.lang.Thread.State: WAITING (on object monitor) Size of compressed stack dump is 20k. Is that OK to attach so someone can help look at it? Danté On 08/03/2011 08:44 AM,

RE: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Caldarale, Charles R
From: Dante Bell [mailto:dantepasqu...@cocoanet.us] Subject: Re: Tomcat not releasing threads on Solaris 10 Seems that all threads are waiting: java.lang.Thread.State: WAITING (on object monitor) It's the rest of the trace for each thread that would be interesting. Size of compressed

Parallel Deployment

2011-08-03 Thread Adrian Stabiszewski
Hi! I find the new Tomcat 7 feature Parallel Deployment very interesting. Unfortunately IMHO it is more complicated than it could be. As I understand it, you have to add the version number after two hashes (##). The version will then be compared as a String. This scheme doesn't fit with my

Re: Parallel Deployment

2011-08-03 Thread Mark Thomas
On 03/08/2011 16:11, Adrian Stabiszewski wrote: Hi! I find the new Tomcat 7 feature Parallel Deployment very interesting. Unfortunately IMHO it is more complicated than it could be. As I understand it, you have to add the version number after two hashes (##). The version will then be

AW: Parallel Deployment

2011-08-03 Thread Adrian Stabiszewski
As I understand it, you have to add the version number after two hashes (##). The version will then be compared as a String. This scheme doesn't fit with my versioning system which uses Maven as build system which uses a hyphen as version separator. Is there some Interface in Tomcat I

Re: Missing files for Apache and Log4J

2011-08-03 Thread Mark Eggers
- Original Message - From: A Df abbey_dragonfor...@yahoo.com To: Tomcat Users List users@tomcat.apache.org; Mark Eggers its_toas...@yahoo.com Cc: Sent: Wednesday, August 3, 2011 3:17 AM Subject: Re: Missing files for Apache and Log4J Hello Mates: I got the log file to work

Re: AW: Parallel Deployment

2011-08-03 Thread Mark Thomas
On 03/08/2011 19:29, Adrian Stabiszewski wrote: As I understand it, you have to add the version number after two hashes (##). The version will then be compared as a String. This scheme doesn't fit with my versioning system which uses Maven as build system which uses a hyphen as version

Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-08-03 Thread Alejandro Henao González
Thanks to all. The problem was the static hashmap. I removed the static keyword to the variable and problem solved. - Mensaje original - De: Christopher Schultz ch...@christopherschultz.net Para: Tomcat Users List users@tomcat.apache.org Enviados: Lunes, 1 de Agosto 2011 20:11:27

Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the -user option to change to the application user. I use the option -outfile and -errfile to specify where to direct stdout and stderr, catalina.out and catalina.err in my

Re: Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
Just in case is needed I use Tomcat 6.0.32 and jsvc 1.0.5 running under Java 1.6.0_24 On Wed, Aug 3, 2011 at 4:11 PM, Jorge Medina cerebrotecnolog...@gmail.com wrote: I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the -user

Re: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Dante Bell
I put the cleansed information on my blog (which got totally messed up with the latest WP upgrade, but that's a different issue!!) Click on this url for config files and for the thread dump: http://wp.me/plPvN-ai I've check bugzilla and this issue seems to be different to the other bugs when

Re: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Igor Cicimov
Maybe try to use cachesize ajp13 property in worker.properties together with cache_timeout to limit the apache thread count towards tomcat. If cachesize is not set, the connection cache support is disabled. So sounds like cache_timeout doesn't have any effect if cachesize isn't set. Igor On

503 error - service not available

2011-08-03 Thread Dave Filchak
Not sure what happened here. The app was working just fine until today. I am getting a 503 Service temporarily unavailable error when trying to connect to a tomcat site using Apache as the front end and mod_jk connectors. I have verified that tomcat is running on the correct ports

Re: 503 error - service not available

2011-08-03 Thread Igor Cicimov
Obviously apache can't connect to tomcat. Any firewall/load balancer changes maybe done last night between apache and tomcat? Can you access tomcat apps bypassing apache? Can you telnet to tomcat server on the tomcat port from the apache? Any errors in the tomcat log? Have you tried restarting

Re: Sharing session between different webapps under same tomcat

2011-08-03 Thread Ron McNulty
Hi Jany I think it is possible to share sessions across contexts. Portal applications need to do this. Try http://jee-bpel-soa.blogspot.com/2009/06/session-sharing-in-apache-tomcat.html Regards Ron - Original Message - From: Jany Jose jany.j...@gmail.com To: Tomcat Users List