file descriptor (unix socket) leak with NIO handler

2012-01-06 Thread Arijit Ganguly
Hello, I have an application running under tomcat configured with Http11NioProtocol. I am noticing that under a high connection rate (not request rate) of about 100 connections/second, tomcat is leaks file handles corresponding to Unix sockets. I am using the lsof command to find the number of f

Re: migrating Tomcat 5.5 SSL Connector to 7.0

2012-01-06 Thread markt
Mark Lim wrote: >It seems that tomcat is trying the default JSSE implementation despite >the sslImplementationName attribute being set. Are there internal >precedence controls or does the classloader hierarchy matter or what? No, but what makes you assume what you are trying will work? You hav

Re: is der any default username for tomcat?

2012-01-06 Thread Brian Burch
On 07/01/12 00:59, Caldarale, Charles R wrote: From: charan raj [mailto:charanraj...@gmail.com] Subject: Re: is der any default username for tomcat? can any one tell me how to install multiple tomcat instance apart from c drive 1) Don't hijack threads. 2) Make at least a cursory attempt to

migrating Tomcat 5.5 SSL Connector to 7.0

2012-01-06 Thread Mark Lim
We are in the process of upgrading Tomcat 5.5 to Tomcat 7.0. These Tomcat deployments use a custom FIPS 140-2 certified JSSE implementation for their SSL Connectors. In Tomcat 5.5, the Connectors are configured like this: which works fine. ( a listener appears on 41443 and one can do H

Re: SSL Configuration Errors

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/6/12 5:19 PM, Mark Thomas wrote: > On 06/01/2012 22:12, Christopher Schultz wrote: >> Pid, >> >> On 1/6/12 4:30 AM, Pid wrote: >>> On 05/01/2012 18:22, Justin Larose wrote: truststoreFile="F:\Serena\Dimensions 2009 R2\Common Too

Re: SSL Configuration Errors

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 1/6/12 2:56 PM, Justin Larose wrote: > This Tomcat environment was setup long before I worked here, so I > am just upgrading from an older version to 7.0.23 and trying to not > use a self signed certificate. It's important for you to know

Re: SSL Configuration Errors

2012-01-06 Thread Mark Thomas
On 06/01/2012 22:12, Christopher Schultz wrote: > Pid, > > On 1/6/12 4:30 AM, Pid wrote: >> On 05/01/2012 18:22, Justin Larose wrote: >>> truststoreFile="F:\Serena\Dimensions 2009 R2\Common >>> Tools\Tomcat 7.0\conf\wcmdev-ssl.jks" > >> truststoreType has the default, you can remove it. truststo

Re: SSL Configuration Errors

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 1/6/12 4:30 AM, Pid wrote: > On 05/01/2012 18:22, Justin Larose wrote: >> truststoreFile="F:\Serena\Dimensions 2009 R2\Common Tools\Tomcat >> 7.0\conf\wcmdev-ssl.jks" > > truststoreType has the default, you can remove it. No, truststoreFile

Re: Tomcat Shutdown

2012-01-06 Thread Kamal Sheikh
Thanks Chuck. Will try that. Appreciate your help. On Fri, Jan 6, 2012 at 4:51 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Kamal Sheikh [mailto:kama...@gmail.com] > > Subject: Re: Tomcat Shutdown > > > I'm pasting some information from the logs: > > > # A fatal error

RE: Tomcat Shutdown

2012-01-06 Thread Caldarale, Charles R
> From: Kamal Sheikh [mailto:kama...@gmail.com] > Subject: Re: Tomcat Shutdown > I'm pasting some information from the logs: > # A fatal error has been detected by the Java Runtime Environment: > # Internal Error (safepoint.cpp:247), pid=306, tid=140562856904448 > # guarantee(PageArmed == 0) f

Re: Tomcat Shutdown

2012-01-06 Thread Kamal Sheikh
Thanks for the reply. I'm pasting some information from the logs: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (safepoint.cpp:247), pid=306, tid=140562856904448 # guarantee(PageArmed == 0) failed: invariant # # JRE version: 6.0_20-b20 # Java VM: OpenJD

RE: is der any default username for tomcat?

2012-01-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: is der any default username for tomcat? > It's not a cat whose name is "Tom": it's a male cat. > So, that would be "le chat" versus "la chat", right? No, it would be "le matou"; regardless, "chat" is always masculi

Re: mod_jk linux binaries

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 1/6/12 10:35 AM, Pid wrote: > On 06/01/2012 15:28, André Warnier wrote: >> Actually, the world was supposed to end (again) these days. But I >> just read in a newspaper that the event has been postponed, for >> technical reasons, until 21.12.2

Re: Tomcat Shutdown

2012-01-06 Thread Konstantin Kolinko
2012/1/7 Kamal Sheikh : > Hi, I'm new to this but please direct me if I'm posting to the wrong list. > > Our Tomcat has suddenly stopped working this morning and now wouldn't start > -- it responds simply by saying: "failed". What is in the logs? Maybe there is no free space on the harddrive? Ma

Re: mod_jk linux binaries

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Olivier, On 1/6/12 5:49 AM, Olivier MENUEL wrote: > But I wish to package the binaries with my application to > distribute them to my partners. I was hoping I could find binaries > for all environments (it will take me some time to build them on > eac

Re: is der any default username for tomcat?

2012-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/6/12 9:45 AM, André Warnier wrote: > For example, in Germany it could be Tom Katze, in France Tom Chat, > and Tom Gato for Spanish-speaking countries.. It's not a cat whose name is "Tom": it's a male cat. So, that would be "le chat" vers

Tomcat Shutdown

2012-01-06 Thread Kamal Sheikh
Hi, I'm new to this but please direct me if I'm posting to the wrong list. Our Tomcat has suddenly stopped working this morning and now wouldn't start -- it responds simply by saying: "failed". Is there anything going on with OpenJDK and Tomcat? Here's our configuration: Java: java version "1

Re: 7.0.22+ fd leak with APR/native

2012-01-06 Thread Konstantin Kolinko
2012/1/7 Mark Thomas : > On 06/01/2012 20:13, Konstantin Kolinko wrote: >> 2012/1/6 Mark Thomas : So it looks that not only the if(), but the whole r944518 change in AprEndpoint has to be reverted. >>> >>> That looks OK to me. I'll do that but run the TCKs as a double check. >>> >> >> I a

Re: 7.0.22+ fd leak with APR/native

2012-01-06 Thread Mark Thomas
On 06/01/2012 20:13, Konstantin Kolinko wrote: > 2012/1/6 Mark Thomas : >>> So it looks that not only the if(), but the whole r944518 change in >>> AprEndpoint has to be reverted. >> >> That looks OK to me. I'll do that but run the TCKs as a double check. >> > > I am running TestCometProcessor tes

Re: 7.0.22+ fd leak with APR/native

2012-01-06 Thread Konstantin Kolinko
2012/1/6 Mark Thomas : >> So it looks that not only the if(), but the whole r944518 change in >> AprEndpoint has to be reverted. > > That looks OK to me. I'll do that but run the TCKs as a double check. > I am running TestCometProcessor tests with this very change just now. ;) (My plan is to reen

Re: SSL Configuration Errors

2012-01-06 Thread Justin Larose
Pid wrote on 01/06/2012 04:30:30 AM: > From: Pid > To: Tomcat Users List > Date: 01/06/2012 04:31 AM > Subject: Re: SSL Configuration Errors > > > > connectionTimeout="2" > > redirectPort="8443" /> > > > >Are you actually using Client auth? This

Re: 7.0.22+ fd leak with APR/native

2012-01-06 Thread Mark Thomas
On 04/01/2012 13:59, Konstantin Kolinko wrote: > 2012/1/4 Konstantin Kolinko : >> >> 2. The >> processSocket(desc[n*2+1], SocketStatus.DISCONNECT); >> call just above the fixed line. >> >> It looks like a NOOP, because processSocket(long,SocketStatus) has an >> if() that does not mention SocketStat

Re: is der any default username for tomcat?

2012-01-06 Thread Gregor S.
On Fri, Jan 6, 2012 at 3:59 PM, Caldarale, Charles R wrote: >> From: charan raj [mailto:charanraj...@gmail.com] >> Subject: Re: is der any default username for tomcat? > > > Is it a full moon? > Over there: Definately YES. Cheers Gregor -- just because you're paranoid, don't mean they're not af

Re: mod_jk linux binaries

2012-01-06 Thread Pid
On 06/01/2012 15:28, André Warnier wrote: > Pid wrote: >> On 06/01/2012 15:16, Konstantin Kolinko wrote: >>> 2012/1/6 Pid : On 06/01/2012 15:06, André Warnier wrote: > Caldarale, Charles R wrote: >> Is it a full moon? >> > No, but it may be the start of a new semester somewhere

Re: mod_jk linux binaries

2012-01-06 Thread André Warnier
Pid wrote: On 06/01/2012 15:16, Konstantin Kolinko wrote: 2012/1/6 Pid : On 06/01/2012 15:06, André Warnier wrote: Caldarale, Charles R wrote: Is it a full moon? No, but it may be the start of a new semester somewhere. +1 It is near full moon. ;) One cite says it is "93% full". It will b

Re: is der any default username for tomcat?

2012-01-06 Thread János Löbb
On Jan 6, 2012, at 9:45 AM, André Warnier wrote: > Pid wrote: >> On 06/01/2012 06:24, srilaxmi deevela wrote: >>> is der any default username for tomcat? >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: mod_jk linux binaries

2012-01-06 Thread Pid
On 06/01/2012 15:16, Konstantin Kolinko wrote: > 2012/1/6 Pid : >> On 06/01/2012 15:06, André Warnier wrote: >>> Caldarale, Charles R wrote: Is it a full moon? >>> No, but it may be the start of a new semester somewhere. >> >> +1 >> > > It is near full moon. ;) One cite says it is "

Re: mod_jk linux binaries

2012-01-06 Thread Konstantin Kolinko
2012/1/6 Pid : > On 06/01/2012 15:06, André Warnier wrote: >> Caldarale, Charles R wrote: >>> >>> Is it a full moon? >>> >> No, but it may be the start of a new semester somewhere. > > +1 > It is near full moon. ;) One cite says it is "93% full". It will be 100% on January 9th. Best regards, Kons

Re: Tomcat and LDAP (handling password expiration)

2012-01-06 Thread sigzero
On Fri, Jan 6, 2012 at 10:11 AM, André Warnier wrote: > sigzero wrote: >> >> The scenario is that Tomcat (6) is sitting on Windows and it talks to >> an LDAP server sitting on Linux (RHEL). What is the best way to handle >> the Tomcat LDAP account password expiring? I know that the password >> nee

Re: Tomcat and LDAP (handling password expiration)

2012-01-06 Thread André Warnier
sigzero wrote: The scenario is that Tomcat (6) is sitting on Windows and it talks to an LDAP server sitting on Linux (RHEL). What is the best way to handle the Tomcat LDAP account password expiring? I know that the password needs to change on the LDAP and the Tomcat server.xml file needs to be up

Re: mod_jk linux binaries

2012-01-06 Thread Pid
On 06/01/2012 15:06, André Warnier wrote: > Caldarale, Charles R wrote: >> >> Is it a full moon? >> > No, but it may be the start of a new semester somewhere. +1 p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Tomcat and LDAP (handling password expiration)

2012-01-06 Thread sigzero
On Fri, Jan 6, 2012 at 10:05 AM, Konstantin Kolinko wrote: > 2012/1/6 sigzero : >> The scenario is that Tomcat (6) is sitting on Windows and it talks to >> an LDAP server sitting on Linux (RHEL). What is the best way to handle >> the Tomcat LDAP account password expiring? I know that the password

Re: is der any default username for tomcat?

2012-01-06 Thread Pid
On 06/01/2012 14:59, Caldarale, Charles R wrote: >> From: charan raj [mailto:charanraj...@gmail.com] >> Subject: Re: is der any default username for tomcat? > >> can any one tell me how to install multiple tomcat instance >> apart from c drive > > 1) Don't hijack threads. > > 2) Make at least

Re: is der any default username for tomcat?

2012-01-06 Thread Pid
On 06/01/2012 14:49, charan raj wrote: > Hi can any one tell me how to install multiple tomcat instance apart from c > drive 1. Don't top-post. 2. Don't hijack threads. 3. If you're going to reply to a thread, at least read it beforehand. 4. Particularly this: http://catb.org/~esr/faqs/smart-quest

Re: Tomcat and LDAP (handling password expiration)

2012-01-06 Thread Pid
On 06/01/2012 14:56, sigzero wrote: > The scenario is that Tomcat (6) is sitting on Windows and it talks to > an LDAP server sitting on Linux (RHEL). What is the best way to handle > the Tomcat LDAP account password expiring? I know that the password > needs to change on the LDAP and the Tomcat ser

Re: mod_jk linux binaries

2012-01-06 Thread André Warnier
Caldarale, Charles R wrote: Is it a full moon? No, but it may be the start of a new semester somewhere. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.o

Re: Tomcat and LDAP (handling password expiration)

2012-01-06 Thread Konstantin Kolinko
2012/1/6 sigzero : > The scenario is that Tomcat (6) is sitting on Windows and it talks to > an LDAP server sitting on Linux (RHEL). What is the best way to handle > the Tomcat LDAP account password expiring? I know that the password > needs to change on the LDAP and the Tomcat server.xml file need

RE: mod_jk linux binaries

2012-01-06 Thread Caldarale, Charles R
> From: charan raj [mailto:charanraj...@gmail.com] > Subject: Re: mod_jk linux binaries > can anyone tell how to configure multiple tomcat instance > other then c drive 1) Don't hijack threads. 2) Make at least a cursory attempt to read the Tomcat docs. 3) http://www.catb.org/~esr/faqs/smart-

RE: is der any default username for tomcat?

2012-01-06 Thread Caldarale, Charles R
> From: charan raj [mailto:charanraj...@gmail.com] > Subject: Re: is der any default username for tomcat? > can any one tell me how to install multiple tomcat instance > apart from c drive 1) Don't hijack threads. 2) Make at least a cursory attempt to read the Tomcat docs. 3) http://www.catb.

Tomcat and LDAP (handling password expiration)

2012-01-06 Thread sigzero
The scenario is that Tomcat (6) is sitting on Windows and it talks to an LDAP server sitting on Linux (RHEL). What is the best way to handle the Tomcat LDAP account password expiring? I know that the password needs to change on the LDAP and the Tomcat server.xml file needs to be updated. I see no g

Re: mod_jk linux binaries

2012-01-06 Thread charan raj
Hi can anyone tell how to configure multiple tomcat instance other then c drive On Fri, Jan 6, 2012 at 6:35 PM, Olivier MENUEL wrote: > Ok > Thank you > > > -Message d'origine- > De : Leon Kolchinsky [mailto:lkolc...@gmail.com] > Envoyé : vendredi 6 janvier 2012 12:02 > À : Tomcat Users

Re: is der any default username for tomcat?

2012-01-06 Thread charan raj
Hi can any one tell me how to install multiple tomcat instance apart from c drive On Fri, Jan 6, 2012 at 8:15 PM, André Warnier wrote: > Pid wrote: > >> On 06/01/2012 06:24, srilaxmi deevela wrote: >> >>> is der any default username for tomcat? >>> >>> --**--

Re: After installation of tomcat which url we need to give to web browser to run the home page of tomcat?

2012-01-06 Thread André Warnier
Pid wrote: On 06/01/2012 07:22, srilaxmi deevela wrote: After installation of tomcat which url we need to give to web browser to run the home page of tomcat? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: is der any default username for tomcat?

2012-01-06 Thread André Warnier
Pid wrote: On 06/01/2012 06:24, srilaxmi deevela wrote: is der any default username for tomcat? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org http

Re: Tomcat multiple instances runs as service from same exe file

2012-01-06 Thread Konstantin Kolinko
2012/1/6 Khailovsky, Igor : > P- > I investigated these documents before asked the question, but did not find > relevant answer. If you really know answer for my question, please specify it. You cannot run multiple services from the same exe. Moreover, the exe file name is used as a key to look u

RE: Tomcat multiple instances runs as service from same exe file

2012-01-06 Thread Khailovsky, Igor
P- I investigated these documents before asked the question, but did not find relevant answer. If you really know answer for my question, please specify it. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 06, 2012 11:41 To: Tomcat Users List Subject: Re: Tomc

RE: mod_jk linux binaries

2012-01-06 Thread Olivier MENUEL
Ok Thank you -Message d'origine- De : Leon Kolchinsky [mailto:lkolc...@gmail.com] Envoyé : vendredi 6 janvier 2012 12:02 À : Tomcat Users List Objet : Re: mod_jk linux binaries Hi, I think we had this discussion regarding rpm packages etc., several month ago (try to search archives). A

Re: mod_jk linux binaries

2012-01-06 Thread Leon Kolchinsky
Hi, I think we had this discussion regarding rpm packages etc., several month ago (try to search archives). AFAIK RedHat distributing mod_jk rpms with their JBoss product. Try to check with them or build your own ;) Leon Kolchinsky On Fri, Jan 6, 2012 at 21:49, Olivier MENUEL wrote: > Yes > >

RE: mod_jk linux binaries

2012-01-06 Thread Olivier MENUEL
Yes But I wish to package the binaries with my application to distribute them to my partners. I was hoping I could find binaries for all environments (it will take me some time to build them on each possible environment), like apache was doing with previous releases (for instance 1.2.31). Has a

Re: mod_jk linux binaries

2012-01-06 Thread Pid
On 06/01/2012 10:01, Leon Kolchinsky wrote: > Yes there is - > http://apache.mirror.aussiehq.net.au//tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.32-src.tar.gz 'src' ? p > Check out this page - http://tomcat.apache.org/download-connectors.cgi > > Cheers, > Leon Kolchinsky > > > > On F

Re: mod_jk linux binaries

2012-01-06 Thread Rainer Jung
On 06.01.2012 11:01, Leon Kolchinsky wrote: Yes there is - http://apache.mirror.aussiehq.net.au//tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.32-src.tar.gz These are the sources. For 1.2.32 there are indeed not binaries for Linux available. Building is simple and ensures compatibility wit

Re: mod_jk linux binaries

2012-01-06 Thread Leon Kolchinsky
Yes there is - http://apache.mirror.aussiehq.net.au//tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.32-src.tar.gz Check out this page - http://tomcat.apache.org/download-connectors.cgi Cheers, Leon Kolchinsky On Fri, Jan 6, 2012 at 20:54, Olivier MENUEL wrote: > Ok > Thank you very much >

RE: mod_jk linux binaries

2012-01-06 Thread Olivier MENUEL
Ok Thank you very much I was hoping I could find already compiled binaries (there are the 1.2.31 in the archives, but not the 1.2.32). I'll do that. Thanks -Message d'origine- De : Leon Kolchinsky [mailto:lkolc...@gmail.com] Envoyé : vendredi 6 janvier 2012 10:45 À : Tomcat Users List

Re: mod_jk linux binaries

2012-01-06 Thread Leon Kolchinsky
Hi, You can compile mod_jk and it's pretty straight forward (please use latest source, mine is just an example): 1. # yum install httpd httpd-devel gcc gcc-c++ 2. Go to http://tomcat.apache.org/download-connectors.cgi and download the source code: # wget http://apache.mirror.aussiehq.net.au//tomc

Re: Tomcat multiple instances runs as service from same exe file

2012-01-06 Thread Pid
On 05/01/2012 17:19, Khailovsky, Igor wrote: > Hi Jeff, > > Our application should provide ability to manage the application instances > dynamically (runs into separate Tomcat container). One of requirements is > using same execution in case multiple instances - option to provide to > customer

mod_jk linux binaries

2012-01-06 Thread Olivier MENUEL
Hi, Where can I find binaries for mod_jk 1.2.32 for linux httpd 2.2 ? I can find only windows/netware... Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.ap

Re: SSL Configuration Errors

2012-01-06 Thread Pid
On 05/01/2012 18:22, Justin Larose wrote: > Sorry. Comments removed. > > ___ No APR, nothing to see here, move along, move along... You can use an executor to provide a common thread pool for all linked connectors - to reduce the overhead of unused threads. >

Re: In order to use third party classes which environmental variable we need to set?

2012-01-06 Thread Pid
On 06/01/2012 07:28, srilaxmi deevela wrote: > In order to use third party classes which environmental variable we need to > set? http://catb.org/~esr/faqs/smart-questions.html p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: After installation of tomcat which url we need to give to web browser to run the home page of tomcat?

2012-01-06 Thread Pid
On 06/01/2012 07:22, srilaxmi deevela wrote: > After installation of tomcat which url we need to give to web browser > to run the home page of tomcat? > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For addit

Re: In order to give jre path while installing tomcat server which path we need to give?

2012-01-06 Thread Pid
On 06/01/2012 06:27, srilaxmi deevela wrote: > In order to give jre path while installing tomcat server which path > we need to give? > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional comma

Re: How many number of web-applications web-server can have

2012-01-06 Thread Pid
On 06/01/2012 06:25, srilaxmi deevela wrote: > hi users, > How many number of web-applications web-server can have? > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users

Re: is der any default username for tomcat?

2012-01-06 Thread Pid
On 06/01/2012 06:24, srilaxmi deevela wrote: > is der any default username for tomcat? > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > http://