Re: problems faced in deploying servlet

2013-04-09 Thread Jason Brittain
Hi all. On Tue, Mar 19, 2013 at 4:43 PM, Mark Eggers wrote: > On 3/19/2013 1:05 PM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 > > [snip] > Go get a copy of "Tomcat: The Definitive Guide" by Jason Brittain (who >> happens to lurk on this list, FYI) > > Y

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
David, Here's an example application that has a CounterServlet that counts hits for example... Here are the classes that I used - CounterServlet - just counts number of hits, calls MyCounter.incrementAndGet() static method - MyCounter - class that implements the counter (static calls to reset cou

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
On Tue, Apr 9, 2013 at 3:46 PM, David kerber wrote: > > Is there a "restart" command available? Obviously I need to do some more > research now that you've gotten me started. > > David, I don't think you can "restart" Tomcat JVM process. Why do you want to do that? What are you trying to do? Ma

Re: websockets holding on to threads.

2013-04-09 Thread Mark Thomas
On 08/04/2013 15:32, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 4/8/13 8:30 AM, Caldarale, Charles R wrote: From: Anton Piatek1 [mailto:anton.pia...@uk.ibm.com] Subject: Re: websockets holding on to threads. My thinking about it being a bug is that

Re: connectors - what are JK, AJP, APR

2013-04-09 Thread Jakub 1983
yes, it was very helpful, great thanks. On Tue, Apr 9, 2013 at 6:20 PM, André Warnier wrote: > Oh my.. > > Jakub 1983 wrote: > >> ) >> http://tomcat.apache.org/**tomcat-7.0-doc/config/ajp.htmlstates: >> >> The *AJP Connector* element rep

Re: Tomcat form auth not using filters

2013-04-09 Thread Sergio Vieira Rolanski
Problem solved. I will keep an eye open for that possible hibernate/request problem. Thank you for the help. Sergio - Mensagem original - De: "Sergio Vieira Rolanski" Para: "Tomcat Users List" Enviadas: Terça-feira, 9 de Abril de 2013 8:18:26 Assunto: Re: Tomcat form auth not using fi

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread David kerber
On 4/9/2013 3:39 PM, Neven Cvetkovic wrote: Hey David, Just one clarification - I assume TC refers to Apache Tomcat, and not "tcat" (mulesoft) or "tc server" (vmware). Yes, that's correct. "TC" = "Apache Tomcat" You could create a script that uses JMX to connect to each one of the instanc

Re: Monitoring multiple tomcat instances from single app

2013-04-09 Thread Neven Cvetkovic
Hey David, Just one clarification - I assume TC refers to Apache Tomcat, and not "tcat" (mulesoft) or "tc server" (vmware). You could create a script that uses JMX to connect to each one of the instances and polls for certain MBeans that have access to your runtime data (your counters). You could

Monitoring multiple tomcat instances from single app

2013-04-09 Thread David kerber
My system has several instances of TC 7.0.22, running on windows server 2008 R2, and JRE 6.0.27. And yes, I know both TC and Java could use an update... The TC instances are all running the same webapp, as a Windows service, though not all have the exact same version of the webapp. Each is

Re: connectors - what are JK, AJP, APR

2013-04-09 Thread André Warnier
Oh my.. Jakub 1983 wrote: ) http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html states: The *AJP Connector* element represents a *Connector* component that communicates with a web connector via the AJP protocol. This is used for cases where you wish to invisibly integrate Tomcat into an exi

Re: Better SSL connector setup

2013-04-09 Thread André Warnier
Harris, Jeffrey E. wrote: Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 09, 2013 10:01 AM To: Tomcat Users List Subject: Re: Better SSL connector setup -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 4/9/

connectors - what are JK, AJP, APR

2013-04-09 Thread Jakub 1983
) http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html states: The *AJP Connector* element represents a *Connector* component that communicates with a web connector via the AJP protocol. This is used for cases where you wish to invisibly integrate Tomcat into an existing (or new) Apache install

Re: tomcat jmx disabled by default ?

2013-04-09 Thread Neven Cvetkovic
On Tue, Apr 9, 2013 at 10:15 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neven, > > On 4/7/13 3:15 PM, Neven Cvetkovic wrote: > > Mark, > > > > When connecting to local jmx, connection is not over the network > > interface

Re: tomcat jmx disabled by default ?

2013-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 4/7/13 3:15 PM, Neven Cvetkovic wrote: > Mark, > > When connecting to local jmx, connection is not over the network > interface but through local Java process that you need to have > access to. So I doubt that is Jakub's problem here. >

Re: configuration of db

2013-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/7/13 11:58 AM, David Kerber wrote: > On 4/7/2013 11:32 AM, aishani wrote: >> SIR WHEN I RE-START MY STARTUP BAT FILE AGAIN DB CONNECTION >> ESTABLISHED. PLEASE GUIDE ME WHAT I HAVE TO CONFIGURE IN MQSQL. >> >> THANKS > > Please don't t

RE: Better SSL connector setup

2013-04-09 Thread Harris, Jeffrey E.
Chris, > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, April 09, 2013 10:01 AM > To: Tomcat Users List > Subject: Re: Better SSL connector setup > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jeffrey, > > On 4/9/13 8:17 AM

Re: Better SSL connector setup

2013-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 4/9/13 8:17 AM, Harris, Jeffrey E. wrote: > > >> -Original Message- From: André Warnier >> [mailto:a...@ice-sa.com] Sent: Tuesday, April 09, 2013 6:04 AM To: >> Tomcat Users List Subject: Re: Better SSL connector setup >> >> C

RE: Better SSL connector setup

2013-04-09 Thread Harris, Jeffrey E.
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Tuesday, April 09, 2013 6:04 AM > To: Tomcat Users List > Subject: Re: Better SSL connector setup > > Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Martin, > > > > On 4

Re: Tomcat form auth not using filters

2013-04-09 Thread Sergio Vieira Rolanski
Hi, Thank you, I will test this later. I'm using a threadlocal to open session/transaction, does that forwarded request happens in the same thread as the original request? Sergio - Mensagem original - De: "Christopher Schultz" Para: "Tomcat Users List" Enviadas: Segunda-feira, 8 de Ab

Re: Better SSL connector setup

2013-04-09 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 4/8/13 8:25 PM, Martin Gainty wrote: Identification of keys and supported ciphers are an important for Key Exchange But before that happensThe certificates attributes are the only means the CA-Authority can v