AW: server status reports long request times

2011-07-21 Thread Michael Südkamp
-Ursprüngliche Nachricht- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Mittwoch, 20. Juli 2011 11:06 An: Tomcat Users List Betreff: Re: server status reports long request times Hello Andre a certain client related to the entries in the client column of the mentioned server

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-21 Thread Ian Porter
Hi, I am not sure if this helps, but I was having problems with the ISAPI redirect with IIS, but with using the Application Request Routing part of IIS (have to install it) then got around using the ISAPI :) HTH Ian 2011/7/21 Markus Schönhaber tomcat-us...@list-post.mks-mail.de: 20.07.2011

Re: IIS 7.5 2008 Server

2011-07-21 Thread Ian Porter
Hi Pid, Thanks for the help, I got around this problem with using the Application Request Routing part of IIS so bypassed the ISAPI filter :) Thanks Ian On Wed, Jul 20, 2011 at 4:17 PM, Ian Porter i...@codingfriends.com wrote: Hi Pid, Here are my configuration files

Re: Availability of Tomcat 5.5.34

2011-07-21 Thread Sachin Mankapure
Thanks. I wanted to know *when* 5.5.34 will be available. I got the answer. Konstantin Kolinko wrote: 2011/7/20 msachin sachin.mankap...@gmail.com: Where can I get information about availability of Tomcat 5.3.34?  Thanks. Here: http://tomcat.apache.org/download-55.cgi

Re: ExtendedAccessLogValve, documentation

2011-07-21 Thread Konstantin Kolinko
2011/7/21 André Warnier a...@ice-sa.com: Hi. I just looked at this, and have the following questions/suggestions : 1) suffix 3) x-H(requestedSessionId): getGequestedSessionId (typo ?) Fixed in r1149104. 2) condition current: Turns on conditional logging. (...) suggestion:

RE: server status reports long request times

2011-07-21 Thread Caldarale, Charles R
From: Michael Südkamp [mailto:michael.suedk...@docware.de] Subject: AW: server status reports long request times We looked at thread dumps several times. The CPU charge was always reported for the VM Thread and we didn't know how this information could help us finding a problem on our

AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html *%D* - Time taken to process the request, in millis What does %D in the actually represent? Let's say the stack trace looks like: at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:403) at

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? On Thu, Jul 21, 2011 at 12:12 PM, Dan Checkoway dchecko...@gmail.comwrote:

Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Hi! I have a very simple web application (JSPhttp://www.coderanch.com/forums/f-50/JSP based), deployed on Tomcat webapps directory with a security constraint in order to protect an internal directory. Tomcat (7.0.12) is running behind Apache (2.2.17) web server (httpd). If I try to access to some

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Konstantin Kolinko
2011/7/21 Adrián Córdoba adr.cord...@gmail.com: *a blank page is displayed on Firefox navigator*. Do you have ROOT webapp deployed on your Tomcat? What is shown in access logs (in Tomcat one and in Apache HTTPD one)? I hope that you have them configured. Best regards, Konstantin Kolinko

RE: Tomcat behind Apache and security-constraint

2011-07-21 Thread Propes, Barry L
Sounds like Tomcat is running at port 8080 and not port 80? You don't show 8080 in your second Firefox navigator example. I've not heard of FF Navigator for the record, but I guess it's a flavor of their browsers or a euphemism for it. -Original Message- From: Adrián Córdoba

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread André Warnier
Adrián Córdoba wrote: Hi! I have a very simple web application (JSPhttp://www.coderanch.com/forums/f-50/JSP based), deployed on Tomcat webapps directory with a security constraint in order to protect an internal directory. Tomcat (7.0.12) is running behind Apache (2.2.17) web server (httpd). If

Re: Availability of Tomcat 5.5.34

2011-07-21 Thread Jim Jagielski
I am tempted to do a release next week... we seem to have enough to warrant it. On Jul 21, 2011, at 5:57 AM, Sachin Mankapure wrote: Thanks. I wanted to know *when* 5.5.34 will be available. I got the answer. Konstantin Kolinko wrote: 2011/7/20 msachin sachin.mankap...@gmail.com:

Tomcat Versions

2011-07-21 Thread Dark Before Dawn
Hi guys, I am reading this list for a few weeks now. And I wonder where the differences between different Tomcat versions ie 5.X , 6.X and 7.X are. Since versions for Tomcat 5 and 6 are still released from time to time. Are these maintenance releases only or for some linux distributions?

Re: Tomcat Versions

2011-07-21 Thread Thad Humphries
http://tomcat.apache.org/whichversion.html On Thu, Jul 21, 2011 at 1:27 PM, Dark Before Dawn dark.before.d...@gmail.com wrote: Hi guys, I am reading this list for a few weeks now. And I wonder where the differences between different Tomcat versions ie 5.X , 6.X and 7.X are. Since versions

Re: Tomcat Versions

2011-07-21 Thread Mark Thomas
On 21/07/2011 18:27, Dark Before Dawn wrote: Hi guys, I am reading this list for a few weeks now. And I wonder where the differences between different Tomcat versions ie 5.X , 6.X and 7.X are. Since versions for Tomcat 5 and 6 are still released from time to time. Are these maintenance

Re: Tomcat Versions

2011-07-21 Thread André Warnier
Dark Before Dawn wrote: Hi guys, I am reading this list for a few weeks now. And I wonder where the differences between different Tomcat versions ie 5.X , 6.X and 7.X are. Since versions for Tomcat 5 and 6 are still released from time to time. Are these maintenance releases only or for some

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Konstantin / Barry / André: Thank you for replay. 1- No important access log is showed for this issue. 2- I have ROOT webapp deployed in Tomcat. 3- I have Apache connected to Tomcat through JK Connector 1.2.32. (I want to say the web application works fine if I use an URL to Tomcat, but

Re: Destroyed sessions without timeout or logout

2011-07-21 Thread smarto
Thanks Rainer, yea, the stracktrace is helpful ;) it was my first thought, to call the stacktrace. But i withdraw it, because my guess was, that the events and there stacktrace are decoupled. I didn't even try it ... bad mistake Best regards, Martin On 20.07.2011 18:35, smarto

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread André Warnier
Adrián Córdoba wrote: ... JkMount /Andromeda/* worker1 Directory /opt/apache-tomcat-7.0.12/webapps/Andromeda Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost -

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread André Warnier
Addendum : This, which I missed earlier, is of course also a no-no, for the same reasons as explained earlier : DocumentRoot /opt/apache-tomcat-7.0.12/webapps/ see the remark in red here : http://tomcat.apache.org/connectors-doc/reference/apache.html André Warnier wrote: Adrián Córdoba

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Thank you, André. I know this Warning, but I want to serve static content with Apache web server and dynamic content with Tomcat. (The web application contains only links to other pages in the same application. It is a test application to learn.) In those conditions, with those settings, if an

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adrián, On 7/21/2011 3:28 PM, Adrián Córdoba wrote: Thank you, André. I know this Warning, but I want to serve static content with Apache web server and dynamic content with Tomcat. You can still do that without setting the DocumentRoot to your

upgrade 7.0.16 -- 7.0.19 causes JVM crash due to apr?

2011-07-21 Thread Ðavîd Låndïs
I just upgraded from 7.0.16 to 7.0.19 on Ubuntu. Downloaded Tomcat from main apache site. The JVM (jdk1.6.0_26) did not change. Consistently the process is crashing on me after a couple minutes using the server. Everything works fine in my apps for a few minutes then crash. It is something to do

Tomcat 7: Why is JDK needed ?

2011-07-21 Thread Bobi St
Hi there, why is Why is JDK needed also for Tomcat 7 ? Does it use a compiler, or why not simply using for example jre6 ?!? I have to install always extra JDK because of it ... Best regards,

Re: Tomcat 7: Why is JDK needed ?

2011-07-21 Thread Justin Randall
It uses the Java compiler for activities such as compiling JSPs into Servlets into Java class files. All versions of Tomcat require the JDK. Sent from my BlackBerry device -Original Message- From: Bobi St temporaryb...@yahoo.de Date: Thu, 21 Jul 2011 19:58:53 To:

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Thank you, Chris... I appreciate your tips. So, how to serve dynamic content with Tomcat and static one with Apache, all in the same web application, in secure way? Can you show me that or tell me a link to learn it? Now, users and passwords are in tomcat-users.xml file. When I get home, I'll try

Re: Tomcat 7: Why is JDK needed ?

2011-07-21 Thread Konstantin Kolinko
2011/7/22 Justin Randall ran...@hotmail.com: It uses the Java compiler for activities such as compiling JSPs into Servlets into Java class files. All versions of Tomcat require the JDK. Wrong. All currently supported versions (5.5, 6.0, 7.0) do not use JDK compiler by default even if it is

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adrián, On 7/21/2011 4:09 PM, Adrián Córdoba wrote: So, how to serve dynamic content with Tomcat and static one with Apache, all in the same web application, in secure way? Can you show me that or tell me a link to learn it? At least three ways:

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adrián, On 7/21/2011 3:28 PM, Adrián Córdoba wrote: Thank you, André. I know this Warning, but I want to serve static content with Apache web server and dynamic content with Tomcat. You can still do that without

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Pid
On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? Yes. There is an attribute. Have a nose around Tomcat using

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Can you point me in the right direction? I'm using 7.0.19, poked with JConsole before my original post and can't see anything that indicates a current count of accepted connections. I've looked at Connector, Engine, GlobalRequestProcessor, Host, ProtocolHandler, Server, Service...you name, I've

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Mark Thomas
On 21/07/2011 23:01, Pid wrote: On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? Yes. There is an

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Gotcha, makes sense. Thanks Mark! On Thu, Jul 21, 2011 at 6:52 PM, Mark Thomas ma...@apache.org wrote: On 21/07/2011 23:01, Pid wrote: On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Well... 1- I delete the Directory section from httpd.conf file. 2- I add JkMount /Andromeda worker1 to the virtual host. 3- I add dynamic content to index.jsp page So I proved the content is served by Tomcat. But I have the same problem: I cannot view the content of protected section of my web

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Igor Cicimov
Configure a mod_jk log file and see whats going on there On Jul 22, 2011 10:37 AM, Adrián Córdoba adr.cord...@gmail.com wrote: Well... 1- I delete the Directory section from httpd.conf file. 2- I add JkMount /Andromeda worker1 to the virtual host. 3- I add dynamic content to index.jsp page So I