Re: Using Tomcat7 JDBC Connection Pool

2012-02-10 Thread Pid
On 09/02/2012 17:24, Amit wrote: Comment below On 09-Feb-2012, at 10:18 PM, Pid p...@pidster.com wrote: On 09/02/2012 16:21, Amit wrote: Any thoughts on the first point about executing multiple SQL queries on physical connection creation? I have no idea if it'll work, but I'd try:

Re: clarification on Correct error in fix for 49683

2012-02-10 Thread Pid
On 09/02/2012 23:42, Janne Jalkanen wrote: Just to confirm - 7.0.25 seems to solve the problem for the most part. Most part? So there is still a leak? p /Janne On 24 Jan 2012, at 10:53, Janne Jalkanen wrote: Been running 7.0.25 in production now for a day and the fd leak seems at

Fw: Problems with LDAP authentication

2012-02-10 Thread Lev A KARATUN
Does anybody have an idea?.. Hi again. So, my boss told me that it's insecure to give anyone the password to view tomcat's logs and that should be an authentication based on Active Directory. I've been reading

Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-10 Thread Andres Aguado
Hi, today I'm very happy because now it's working fine. Finally, server.xml has these new lines Listener className=org.apache.catalina.mbeans.JMXAdaptorLifecycleListener namingPort=48657 port=8999 host=server-ip / and catalina startup script has these new lines set

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Felix Schumacher
Am 10.02.2012 11:43, schrieb Lev A KARATUN: Does anybody have an idea?.. Hi again. So, my boss told me that it's insecure to give anyone the password to view tomcat's logs and that should be an authentication

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 10:43, Lev A KARATUN wrote: Does anybody have an idea?.. Hi again. So, my boss told me that it's insecure to give anyone the password to view tomcat's logs and that should be an

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Lev A KARATUN
Pid, sorry, my english is not very good. What do you mean by raised that particular issue too? That variable should be ${catalina.base}. Actually, there is no variable in the config file, and it works pretty fine.. I just did not want to insert the full path from / to the logs folder into

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Lev A KARATUN
Please see my answers below. Best Regards, Karatun Lev, Felix Schumacher felix.schumac...@internetallee.de wrote on 10.02.2012 15:31:43: Felix Schumacher felix.schumac...@internetallee.de 10.02.2012 15:32 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat

Not able to get threadcount and thread busy metrices in Tocat 7.0

2012-02-10 Thread Mendiratta, Shashank
Hi , I am facing a problem. We used to monitor tomcat JVM and used to monitor current ThreadCount and current Threadbusy Recently we upgraded from tomcat 6.0 to tomcat 7.0.16 and we are not able to get these metrices . On digging in we found that in tomcat6.0 the thread pool metrices were

Re: Not able to get threadcount and thread busy metrices in Tocat 7.0

2012-02-10 Thread Pid
On 10/02/2012 13:03, Mendiratta, Shashank wrote: Hi , I am facing a problem. We used to monitor tomcat JVM and used to monitor current ThreadCount and current Threadbusy Recently we upgraded from tomcat 6.0 to tomcat 7.0.16 and we are not able to get these metrices . On digging in we

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 11:53, Lev A KARATUN wrote: Pid, sorry, my english is not very good. What do you mean by raised that particular issue too? We mentioned that allowing uncontrolled access to the logs was a bad idea. Your boss appears to agree. That variable should be ${catalina.base}.

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 12:54, Lev A KARATUN wrote: Please see my answers below. Best Regards, Karatun Lev, Felix Schumacher felix.schumac...@internetallee.de wrote on 10.02.2012 15:31:43: Felix Schumacher felix.schumac...@internetallee.de 10.02.2012 15:32 Please respond to Tomcat Users

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Lev A KARATUN
Pid p...@pidster.com 10.02.2012 17:35 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re: Fw: Problems with LDAP authentication On 10/02/2012 12:54, Lev A KARATUN wrote: Please see my answers below.

Not able to get threadcount and thread busy metrices in Tomcat 7.0

2012-02-10 Thread Mendiratta, Shashank
Hi , I am facing a problem. We used to monitor tomcat JVM and used to monitor current ThreadCount and current Threadbusy Recently we upgraded from tomcat 6.0 to tomcat 7.0.16 and we are not able to get these metrices . On digging in we found that in tomcat6.0 the thread pool metrices were

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread André Warnier
Lev A KARATUN wrote: ... I've been reading the manuals for some time, and configured my Tomcat the following way: $CATALINA_BASE/conf/Catalina/localhost/myapp.xml Context antiResourceLocking=false privileged=true docBase=$CATALINA_BASE/logs reloadable=true ... That's why Felix said

programmatically determining connector startup failures

2012-02-10 Thread Erick Lichtas
Hi everyone, I'm using tomcat 6.0.32 on Windows 7. I have an application where I programmatically start and stop a separate web application from within an already running tomcat application. I do this by creating a new StandardService, setting the server as

Re: Path parameters and getRequestURI

2012-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 2/8/12 4:34 PM, Mark Thomas wrote: On 08/02/2012 21:25, Christopher Schultz wrote: Unfortunately, the servlet spec is far from clear on how path parameters should be handled. I hope to get clarity in 3.1 with [1] In fact, it might

Re: mod_jk and URL rewriting/proxying?

2012-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 2/10/12 2:20 AM, Casper Wandahl Schmidt wrote: Well at least I don't have to restart tomcat for the changes to take effect :) Maybe I would take some time to look at how tomcat reads from server.xml and how the host-manager works and

Re: Not able to get threadcount and thread busy metrices in Tomcat 7.0

2012-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shashank, On 2/10/12 8:42 AM, Mendiratta, Shashank wrote: I am facing a problem. We used to monitor tomcat JVM and used to monitor current ThreadCount and current Threadbusy Recently we upgraded from tomcat 6.0 to tomcat 7.0.16 and we are not

Re: programmatically determining connector startup failures

2012-02-10 Thread Mark Thomas
On 10/02/2012 15:38, Erick Lichtas wrote: Hi everyone, I'm using tomcat 6.0.32 on Windows 7. I have an application where I programmatically start and stop a separate web application from within an already running tomcat application. I do this by creating a new StandardService, setting the

RE: programmatically determining connector startup failures

2012-02-10 Thread Erick Lichtas
Mark, Thanks for the reply! I am aware that there are changes to this in Tomcat 7 and will definitely get there, but will wait until we move to JSF 2.x (which is hopefully sooner than later). Unfortunately the start flag in the Connector will be true if connector.start() is called,

Tomcat 5.5.35 as Windows Service Java Opts

2012-02-10 Thread Smith, Mitchell
Hi, I am trying to configure some additional parameters for a tomcat installation Tomcat5.5.35 Windows Server 2003 Due to the nature of the WebService to be hosted on this tomcat installation I would like to increase the Eden heap size. With my previous Linux Implementations adding

Re: mod_jk and URL rewriting/proxying?

2012-02-10 Thread Pid *
On 10 Feb 2012, at 07:21, Casper Wandahl Schmidt kalle.pri...@gmail.com wrote: Den 09-02-2012 22:02, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 2/9/12 1:43 PM, Casper Wandahl Schmidt wrote: Den 09-02-2012 19:36, Caldarale, Charles R skrev: From:

RE: controlling Server Authentication only vs Mutual authentication

2012-02-10 Thread Sanjeev Sharma
Found a solution to this. In case anyone is interested in, I gave my server two IP addresses and used two connectors with the two IP address in the address= field of the connectors. I set one of them to clientAuth=true and the other clientAuth=false. I do have to do a redirect from one to

Re: Tomcat 5.5.35 as Windows Service Java Opts

2012-02-10 Thread André Warnier
Smith, Mitchell wrote: Hi, I am trying to configure some additional parameters for a tomcat installation Tomcat5.5.35 Windows Server 2003 32-bit ? JVM 32-bit ? Due to the nature of the WebService to be hosted on this tomcat installation I would like to increase the Eden heap size. With

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Felix Schumacher
Am Freitag, den 10.02.2012, 16:54 +0400 schrieb Lev A KARATUN: Felix Schumacher felix.schumac...@internetallee.de wrote on 10.02.2012 15:31:43: Felix Schumacher felix.schumac...@internetallee.de 10.02.2012 15:32

Configuring Tomcat 6 to only start the default manager webapp

2012-02-10 Thread Matthew Marleau
Hi, I was wondering if anyone knew how to configure Tomcat (6.0.26) to only start the default app when the Tomcat service starts. I have many webapps deployed so that they are accessible when I need them and I don't have to re-deploy/configure them later, but I don't like that they all start