Re: modjk apache response questions

2011-05-02 Thread Harsimranjit singh Kler
Hi Yes , it seems wrong configuration .New one is: worker.list=balancer #For tomcat 1 worker.worker1.type=ajp13 worker.worker1.host=10.58.116.20 worker.worker1.port=8009 worker.worker1.lbfactor=1 #For tomcat 2 worker2.worker2.type=ajp13 worker.worker2.host=10.58.116.20

RE: mojk and utf8 charset problem

2011-05-02 Thread Thierry Templier
Hello Matteo, Thanks very much for your answer but I didn't receive the end... As suggested, I tried both addresses and the result isn't the same. When using Tomcat directly, everything works fine and when accessing through modjk, I have problem with non latin1 characters... So I think that

Re: modjk apache response questions

2011-05-02 Thread André Warnier
Harsimranjit singh Kler wrote: Hi Yes , it seems wrong configuration .New one is: worker.list=balancer #For tomcat 1 worker.worker1.type=ajp13 worker.worker1.host=10.58.116.20 worker.worker1.port=8009 worker.worker1.lbfactor=1 #For tomcat 2 worker2.worker2.type=ajp13

Re: mojk and utf8 charset problem

2011-05-02 Thread Thierry Templier
Hi André, Thanks very much for your help! I checked difference between two access: - Using Apache / modjk / Tomcat that can't display correclty non latin1 characters - Directly using Tomcat that works fine Except characters that don't display correctly content are the same, especially meta

Re: mojk and utf8 charset problem

2011-05-02 Thread André Warnier
Thierry Templier wrote: Hi André, Thanks very much for your help! I checked difference between two access: - Using Apache / modjk / Tomcat that can't display correclty non latin1 characters - Directly using Tomcat that works fine Except characters that don't display correctly content are

Re: modjk apache response questions

2011-05-02 Thread Harsimranjit singh Kler
Hey Load balancing is perfect.Same number of requests are distributed among number of tomcats. Only thing what may possible some requests in queue like why only 500 requests proccessed. tool is able to hit concurrent requests,LB is disrtibuting among each tomcat as well.

Re: mojk and utf8 charset problem

2011-05-02 Thread André Warnier
Additional question : did you try it with different browsers ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problems deploying a servlet on ubuntu

2011-05-02 Thread David Smith
Sorry, try two. The first reply went directly to Karl because I was in the To field of his message. Please don't send directly to me. Post to the tomcat list and I will see it. Anyway ... this is what I sent to Karl: That looks right Can you post the contents of ch1/WEB-INF/web.xml?

Re: mojk and utf8 charset problem

2011-05-02 Thread Thierry Templier
Hello André, I made tests in both browsers: - Firefox 3.6.16 (linux) - Chrome 11.0.696.57 (linux) and I have the same behavior. Thierry Additional question : did you try it with different browsers ? - To unsubscribe,

Re: mojk and utf8 charset problem

2011-05-02 Thread Thierry Templier
Hello André, After having disabled compression at Apache level, things change a bit since now content from database is correctly displayed using JSTL (c:out value=(...) escapeXml=false/) but it's still not the case for content of JSP pages. I have however that at the beginning of JSP pages:

Re: Logrotate killing Tomcat

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 4/30/2011 12:57 AM, Thomas Freitag wrote: Hi Alex, On 04/29/2011 07:19 PM, Alex Carvalho da Silva wrote: I ran manually /usr/sbin/logrotate /etc/logrotate.conf and the aplication shutdown. Can mod_jk shutdown the tomcat? No it can

Re: pure tomcat failover (no loadbalacing)

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/30/2011 5:09 AM, Felix Schumacher wrote: The original req, as I understood it: tomcat1 \-- /abc* (active) |-- /def* (passive) tomcat2 \-- /abc* (passive) |-- /def* (active) If one of those tomcat servers shuts

Re: Expire sessions button in Tomcat Manager

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jakub, On 4/30/2011 9:19 PM, Jakub Królikowski wrote: In Tomcat Manager, on the application list, there is a button Expire sessions available only for /manager application. How should I configure tomcat to get this button for my application

Re: Tomcat 6 Struts 1.3

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cpanon, On 5/1/2011 7:31 PM, cpanon wrote: I have an odd but systemic problem with an otherwise working implementation. I am unable to get any technique to dynamically recalculate a page from an action. I have tried the following 1.

Re: modjk apache response questions

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 harsimran, On 5/1/2011 1:09 PM, Harsimranjit singh Kler wrote: Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) ServerLimit 30 StartServers 20 MaxClients 1500 MinSpareThreads 40 MaxSpareThreads 100

Re: mojk and utf8 charset problem

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, On 5/2/2011 4:31 AM, Thierry Templier wrote: meta http-equiv=CONTENT-TYPE content=text/html; charset=UTF-8/meta Just to be sure, I highly recommend coding your pages like this: meta http-equiv=CONTENT-TYPE content=text/html; charset=?=

Re: Tomcat stop responding without any reason

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kkazmierczyk, On 4/30/2011 5:10 PM, kkazmierc...@poczta.wp.pl wrote: I know what I can do in the future to diagnose it (gather thread dumps). The Java used is IBM JRE 5.0. Do you know what is the root cause of weird logs in jakarta_service.log

Re: Problem with connection pool

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 4/30/2011 6:58 AM, chris derham wrote: Finally managed to track the problem down to nested transactions - apparently spring doesn't support them. Once removed the problem went away Glad you got it figured out. What is a nested

Configuring a context specific JNDI/JDBC Realm

2011-05-02 Thread Mark Hoebeke
Hello, after Googling a lot across Tomcat docs and mailing lists, and finding no answer to my problem I decided to give it a try on the mailing list. So, I'm using Tomcat 6.0.26 and I'm developing an application relying on a Realm to authenticate users. The Realm is a DataSourceRealm pointing to

Re: pure tomcat failover (no loadbalacing)

2011-05-02 Thread Felix Schumacher
Am Montag, den 02.05.2011, 10:06 -0400 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/30/2011 5:09 AM, Felix Schumacher wrote: The original req, as I understood it: tomcat1 \-- /abc* (active) |-- /def* (passive) tomcat2 \--

Re: Tomcat 6 Struts 1.3

2011-05-02 Thread cpanon
Hi Christ, et. al Thanks here we go. It still seems there is something stopping the jsp processing on TC, after the first time. Yes, I know how foolish that sounds, sorry nonplused at this moment. action public ActionForward execute(ActionMapping mapping,

Re: Configuring a context specific JNDI/JDBC Realm

2011-05-02 Thread Mark Thomas
On 02/05/2011 17:11, Mark Hoebeke wrote: So, I'm using Tomcat 6.0.26 and I'm developing an application relying on a Realm to authenticate users. The Realm is a DataSourceRealm pointing to a JNDI Resource declared in the ${catalina.home}/conf/context.xml as follows : You almost certainly don't

Re: modjk apache response questions

2011-05-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 harsimran, On 5/1/2011 1:09 PM, Harsimranjit singh Kler wrote: Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) ServerLimit 30 StartServers 20 MaxClients 1500 MinSpareThreads

Re: Tomcat 6 Struts 1.3

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cpanon, On 5/2/2011 12:20 PM, cpanon wrote: It still seems there is something stopping the jsp processing on TC, after the first time. Yes, I know how foolish that sounds, sorry nonplused at this moment. I'm not even sure I understand what you

Re: mojk and utf8 charset problem

2011-05-02 Thread André Warnier
Thierry Templier wrote: Hello André, After having disabled compression at Apache level, things change a bit since now content from database is correctly displayed using JSTL (c:out value=(...) escapeXml=false/) but it's still not the case for content of JSP pages. I have however that at the

Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Varuna Seneviratna
Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at http://tomcat.apache.org/tomcat-5.5-doc/setup.html and configure Tomcat in order to create a Java Servlet Development Environment for me at my

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Pid
On 5/2/11 7:07 PM, Varuna Seneviratna wrote: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at http://tomcat.apache.org/tomcat-5.5-doc/setup.html and configure Tomcat in order to create a Java

Re: modjk apache response questions

2011-05-02 Thread Harsimranjit singh Kler
Yes .Three tomcats(500+500+500 each). Latest configuration . worker.list=balancer #For tomcat 1 worker.worker1.type=ajp13 worker.worker1.host=10.50.16.10 worker.worker1.port=8009 worker.worker1.lbfactor=1 #For tomcat 2 worker2.worker2.type=ajp13 worker.worker2.host=10.50.16.10

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Varuna Seneviratna
On 2 May 2011 23:43, Pid p...@pidster.com wrote: On 5/2/11 7:07 PM, Varuna Seneviratna wrote: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread André Warnier
Varuna Seneviratna wrote: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at http://tomcat.apache.org/tomcat-5.5-doc/setup.html and configure Tomcat in order to create a Java Servlet Development

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Varuna Seneviratna
On 2 May 2011 23:47, André Warnier a...@ice-sa.com wrote: Varuna Seneviratna wrote: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at http://tomcat.apache.org/tomcat-5.5-doc/setup.html and

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Hassan Schroeder
On Mon, May 2, 2011 at 11:16 AM, Varuna Seneviratna varunasenevira...@gmail.com wrote: I don't understand How to do the following Quote         Unix daemon If you're just setting up a local dev environment, I'd suggest you don't really need to bother with jsvc -- keep it simple. -- Hassan

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread André Warnier
Varuna Seneviratna wrote: On 2 May 2011 23:43, Pid p...@pidster.com wrote: On 5/2/11 7:07 PM, Varuna Seneviratna wrote: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.I am Unable to understand what is documented at

Re: Tomcat 6 Struts 1.3

2011-05-02 Thread cpanon
Hi Chris Thank you for your attention. What is odd and almost answers all the questions, leaving the BIG one, is that all three techniques work the first time. That means that all the resolving, mapping and substitution work. The proxy names are all resolved in the framset(not shown), tiles

Re: Logrotate killing Tomcat

2011-05-02 Thread Alex Carvalho da Silva
Hi Thomas, There isn't in /etc/logrotate.conf a script sending signals to the java process. I installed on the last Friday a new server with a new version of Centos 5.6. In that new server, the tomcat process didn't shutdown. On the Centos 5.5, the tomcat process has been shutdown by logrotate.

Async servlets and Tomcat 7 vs. mod_jk

2011-05-02 Thread Jess Holle
What are the limitations/requirements of using asynchronous servlets in Tomcat 7? We use Apache and mod_jk to balance load over multiple Tomcats. I note that there is no NIO AJP connector -- only BIO and APR. I have /no /interest in the native APR connectors -- as it's simply /*far* /too

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Yongqin Xu
Thank you, Chris, in catalina.properties file, I also saw shared.loader property, as you know, the TC7 doc says System, Common, and Webapp classloaders. If common.loader map to common classloader, what shared.loader get map to? And are those ${catalina.base} and ${catalina.home} built-in

Restarting Tomcat remotely

2011-05-02 Thread Asha K S
Hi, Can anybody please let me know if there is way to start/stop Tomcat remotely(Not start/stop of applications but server itself) Thanks, Asha

Re: Restarting Tomcat remotely

2011-05-02 Thread Darryl Lewis
I use the service command to start and stop tomcat i.e. service tomcat5 start service tomcat5 stop service tomcat5 restart On 3/05/11 2:29 PM, Asha K S a...@adobe.com wrote: Hi, Can anybody please let me know if there is way to start/stop Tomcat remotely(Not start/stop of applications but

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Caldarale, Charles R
From: Yongqin Xu [mailto:yong...@hotmail.com] Subject: RE: tomcat 7: is it possible to config tomcat common classloader to point to other location? If common.loader map to common classloader, what shared.loader get map to? Nothing, unless you change catalina.properties. Tomcat 5.5 and

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Yongqin Xu
I mean, can I define my own placeholder there? like ${foo.bar}, so that I don't have to hardcode catalina.propertiesto let TC include my external jars? Is there mapping like CATALINA_BASE - catalina.base, and CATALINA_HOME - catalina.home,or FOO_BAR - foo.bar? From:

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Caldarale, Charles R
From: Yongqin Xu [mailto:yong...@hotmail.com] Subject: RE: tomcat 7: is it possible to config tomcat common classloader to point to other location? I mean, can I define my own placeholder there? It's not a placeholder, it's a reference to a system property, evaluated when the .xml or

AW: Restarting Tomcat remotely

2011-05-02 Thread Alexander Diedler
If it is a Windows Server you can use the MMC vor Services to connect remotly to the Services and restart it. Gesendet von meinem Windows Phone - Ursprüngliche Nachricht - Von: Asha K S Gesendet: Dienstag, 3. Mai 2011 06:30 An: tomcat-u...@jakarta.apache.org Betreff: Restarting Tomcat