AW: server status reports long request times

2011-07-21 Thread Michael Südkamp
> That sounds like you looked at ps or similar output, not a thread dump. Take > an actual JVM thread dump and see where the worker threads are during the > busy periods. Wrong, to identify the thread in question I looked with Sysinternals Process Explorer which thread ID caused the 100% CPU.

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" 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 proved the cont

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: 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 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 connections are

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 a

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 t

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: 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 setti

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 7: Why is JDK needed ?

2011-07-21 Thread Konstantin Kolinko
2011/7/22 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. > Wrong. All currently supported versions (5.5, 6.0, 7.0) do not use JDK compiler by default even if it is available. See

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 s

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 Date: Thu, 21 Jul 2011 19:58:53 To: Subject: Tomcat 7: Why is JDK needed ? Hi

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,

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 th

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

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 u

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 wrote

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread André Warnier
Adrián Córdoba wrote: ... JkMount /Andromeda/* worker1 Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all - ... May be, I have a configuration mistake. Yes, a big one above. Wethe

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 w

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 doesn't

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 li

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

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 versi

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? Cheer

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 : >>> >>> Where can I

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 (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). I

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 [mailto:

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Konstantin Kolinko
2011/7/21 Adrián Córdoba : > *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 --

Tomcat behind Apache and security-constraint

2011-07-21 Thread Adrián Córdoba
Hi! I have a very simple web application (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 som

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 wrote: > http://tomcat.apache.org/tomcat-7.0-doc/config/val

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 org.apache.

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 ou

Re: ExtendedAccessLogValve, documentation

2011-07-21 Thread Konstantin Kolinko
2011/7/21 André Warnier : > 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: > Intuitive

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 : >> >> Where can I get information about availability of Tomcat 5.3.34?  Thanks. > > Here: > http://tomcat.apache.org/download-55.cgi > http://tomcat.apache.org/whichv

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 wrote: > Hi Pid, > > Here are my configuration files > > isapi_redirect.properties > > extension_u

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 : > 20.07.2011 23:02, Falzone.Matthew: > >> Didn't