Re: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Mladen Turk
On 03/19/2012 12:00 AM, Alex Samad - Yieldbroker wrote: Hi Sorry it failed for me, started up, but I got some error messages [Mon Mar 19 09:43:13.970 2012] [2096:2984] [error] service::jk_lb_worker.c (1172): Failed allocating AJP message buffer This is caused by unable to allocate the

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Hi Chris, Thank you so much for your analysis and relpies :) Now i downloaded the tcnative.jar from this link : http://download.nextag.com/apache//tomcat/tomcat-connectors/native/1.1.23/binaries/, i put it in my /lib directory, and as it's said in this link :

Need a sample server.xml file for the session replication using backup manager

2012-03-19 Thread Dhaval Jaiswal
Hi List, I am planning to implement the session replication using backup manager mode. We have 10 tomcats. we need in place where one node can work as a backup manager; on which we want to send all jsessions information from rest of the tomcats.

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Neil Munro
On 18 March 2012 18:04, Pid p...@pidster.com wrote: On 18/03/2012 13:34, Neil Munro wrote: snip As for moving my login and fail_login jsp to web-inf the pages could not be located and a had a go working in the web.xml file pointing to a path relative to /../web-inf/ or similar, I shall try

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) Don't top post. 2) Reply only to the list, not to individuals. Now i downloaded the tcnative.jar That won't help; the contents of that jar are already included in the standard Tomcat jars. Remove it

Re: FW: question on clustering Tomcat 7.0

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles, On 3/16/12 8:43 PM, charles didonato wrote: I have two tomcat instances on 1 machine, each with a different AJP connector port and manager application port. I have Apache webserver for load balancing. When I undeploy my web app from

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 3/17/12 7:16 PM, Terence M. Bandoian wrote: On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with 3rd-party OSS libraries that had been

Access local path of servlet

2012-03-19 Thread Gubler, Ruediger
Hello, can I get the local webapps path in a servlet? Yours RĂ¼diger

Re: Access local path of servlet

2012-03-19 Thread Jost Richstein
servletContext.getRealPath(dummy.htm), but make sure the content is not being made available from a |.war| archive without unpacking it. Original-Nachricht Betreff: Access local path of servlet Von: Gubler, Ruediger rgub...@init-ka.de An: users@tomcat.apache.org

RE: Access local path of servlet

2012-03-19 Thread Caldarale, Charles R
From: Gubler, Ruediger [mailto:rgub...@init-ka.de] Subject: Access local path of servlet can I get the local webapps path in a servlet? Not sure what you mean by local webapps path. If you mean the path in the local file system, you should be aware that the servlet spec is designed so

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/19/12 6:35 AM, Neil Munro wrote: This is the layout of my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;

AW: Access local path of servlet

2012-03-19 Thread Gubler, Ruediger
Hello, we are using a third party software which accesses files local on the server. We must send in our request the local path to this files (e.g. D:\myserver\webapps\data\thefiles\). My idea was to write a servelt which delivers me D:\myserver\webapps and the client application can add the

Re: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Mladen Turk
On 03/19/2012 12:00 AM, Alex Samad - Yieldbroker wrote: Hi [Mon Mar 19 09:43:53.266 2012] [2516:1892] [error] service::jk_lb_worker.c (1172): Failed allocating AJP message buffer Please use the newest build (#8) from http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/ There was a

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Hi, Sorry it'll be the first and the last time i send a private message to somebody, i didn't know the community's rules ! Well, now i downloaded the file you indicated me which is :

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Mark Thomas
On 19/03/2012 15:30, ayouB __ wrote: Hi, Sorry it'll be the first and the last time i send a private message to somebody, i didn't know the community's rules ! Well, now i downloaded the file you indicated me which is :

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) bin/tcnative-1.dll 32-bit version 2) bin/i64/tcnative-1.dll Itanium version 3) bin/x64/tcnative-1.dll x86-64 version Which one should i put in my : apache-tomcat-7.0.26\bin, knowing that i use

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Thanks Mark :) Which one should i put in my : apache-tomcat-7.0.26\bin, knowing that i use windows xp (32 bits) as OS ?! 1) Mark

Re: AW: Access local path of servlet

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ruediger, On 3/19/12 10:39 AM, Gubler, Ruediger wrote: we are using a third party software which accesses files local on the server. We must send in our request the local path to this files (e.g. D:\myserver\webapps\data\thefiles\). My idea was to

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Neil Munro
On 19 March 2012 14:36, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/19/12 6:35 AM, Neil Munro wrote: This is the layout of my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Still not working !! I downloaded Apache Tomcat 7.0.26 (again), i added the tcnative-1.dll in my : apache-tomcat-7.0.26\bin, i created a keystore file with this command : keytool -genkeypair -alias tomcat -keyalg RSA -keystore C:\mykeystore i put the file named mykeystore in my :

[ANN] Apache Tomcat Connectors 1.2.33 stability issue

2012-03-19 Thread Mladen Turk
The Apache Tomcat team wishes to draw your attention to stability issues that have been identified with the recent mod_jk 1.2.33 release. If you have not yet upgraded to mod_jk 1.2.33 we recommend that you wait for the mod_jk 1.2.34 release which is currently in progress. If you have upgraded and

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
I'm disturbed that i wrote things unlike what i think !! I want say : what things i'm supposed ... instead of what things i'm supported ... They didn't even talked ... instead of They even talked ... Thanks.

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Justin Larose
ayouB __ ayb-2...@hotmail.fr wrote on 03/19/2012 01:00:59 PM: From: ayouB __ ayb-2...@hotmail.fr To: users@tomcat.apache.org Date: 03/19/2012 01:01 PM Subject: RE: Configure SSL under Tomcat 7 Still not working !! I downloaded Apache Tomcat 7.0.26 (again), i added the tcnative-1.dll in

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Filip Hanik Mailing Lists
ok, keystore is for Java connectors. but you have chosen to use the APR connector. so you should use the certificate format that is used for that connector - Original Message - From: ayouB __ ayb-2...@hotmail.fr To: users@tomcat.apache.org Sent: Monday, March 19, 2012 11:00:59 AM

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
hi filip, Can you explain me more what certificate format is used with APR how can i get it please ! Thanks.

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Luciano Andress Martini
I know that you will think this is strange, but i prefer to use the apache2 as a proxy to the tomcat server creating this lines in a ssl virtualhost: ProxyPass / http://127.0.0.1:8080 ProxyPassReverse / http://127.0.0.1:8080 Yes the data will be encrypted. 2012/3/19, ayouB __

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 Can you explain me more what certificate format is used with APR how can i get it please ! Read the docs: http://tomcat.apache.org/tomcat-7.0-doc/apr.html#APR_Connectors_Configuration - Chuck THIS

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Hi, I'm asking you again, pleaase tell me from where and how they get these files : localhost.crt localhost.key !!! Thanks.

how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-19 Thread Colin Ingarfield
Hello, I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu x86_64. I would like to increase the logging from the pool to try and chase down connection timeouts. I added the following line to $CATALINA_BASE/conf/logging.properties: org.apache.tomcat.jdbc.pool.level=FINE (the

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/19/12 12:58 PM, Neil Munro wrote: Sorry about that mismatch, I totally missed that and have corrected it now. Stuck with version 2.3. Good (sort of). Spec version 2.3 is quite old. Every currently-supported version of Tomcat supports at

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayoub, On 3/19/12 1:51 PM, ayouB __ wrote: Can you explain me more what certificate format is used with APR how can i get it please ! APR uses PEM-formatted X.509 certificate format and keys are in separate text blocks. Use OpenSSL to generate

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luciano, On 3/19/12 1:58 PM, Luciano Andress Martini wrote: I know that you will think this is strange, but i prefer to use the apache2 as a proxy to the tomcat server creating this lines in a ssl virtualhost: ProxyPass / http://127.0.0.1:8080

RE: Tomcat, JSP and LDAP

2012-03-19 Thread Martin Gainty
i would make sure you're welcome-file and form-login-page and url-pattern are all located in the same spot welcome-file/WEB-INF/x/login.jsp/welcome-file form-login-page/WEB-INF/x/login.jsp/form-login-page url-pattern/WEB-INF/x/suites.jsp/url-pattern any reason why you're placing your jsps

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Alex Samad - Yieldbroker
Hi Thanks, looks like this one is the winner ! Alex -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, 20 March 2012 1:43 AM To: Tomcat Users List Cc: Alex Samad - Yieldbroker Subject: Re: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Alex Samad - Yieldbroker
Hi Mladen Q) can I presume that this new version will not interfere with an old version 1.2.32 ? as the mutex name used in this new one 1.2.34 wasn't used in 1.2.32 ? Alex -Original Message- From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] Sent: Tuesday, 20 March

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Alex Samad - Yieldbroker
-Original Message- From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] [snip] Hi Mladen Q) can I presume that this new version will not interfere with an old version 1.2.32 ? as the mutex name used in this new one 1.2.34 wasn't used in 1.2.32 ? This has me

Re: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Mladen Turk
On 03/20/2012 02:01 AM, Alex Samad - Yieldbroker wrote: This has me thinking and think I have found another bug. :) Our setup is IIS 7.5 setup as a Reverse proxy. We run PRD, UAT through here. Trying to treat this an infrastructure box. We have 2 in a NLB setup For each environment I have a

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-19 Thread Alex Samad - Yieldbroker
-Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, 20 March 2012 4:09 PM To: users@tomcat.apache.org Subject: Re: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33 On 03/20/2012 02:01 AM, Alex Samad - Yieldbroker wrote: