RE: tomcat with apr and openssl gives ssl_error_rx_record_too_long

2011-04-04 Thread Lengyel Tamás
Hi! It was the SSLEngine=on in the connector. I missed it in the doc somehow and only set in the Listener. It's working now. Thanks Konstantin! Best regards, Tamas Lengyel -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, April 01, 2011 7:18 PM

Re: Problem with too many open db connections on Tomcat

2011-04-04 Thread Claus Hausberger
Hi Mark, thank you very much. This is extremely helpful!!! best wishes, Claus Original-Nachricht Datum: Fri, 01 Apr 2011 14:58:25 +0100 Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Problem with too many open db connections

Re: Windows Authentication: Issue 49318 vs 47679

2011-04-04 Thread André Warnier
Stefan Mayr wrote: Native SPNEGO in Tomcat sounds great. Waiting a little while depends on your scale of little. Is there already some development we can follow? Will this use Java GSS? I never figured out how to configure this with Tomcat. If you are in a hurry, you may want to have a

Re: Max value of MaxPermSize

2011-04-04 Thread abhishek jain
hi, I think the following line in /usr/local/jakarta/apache-tomcat-5.5.28/bin/catalina.sh if [ -r $CATALINA_HOME/bin/tomcat-juli.jar ]; then JAVA_OPTS=$JAVA_OPTS -server -Xms512m -Xmx512m -XX:MaxPermSize=1024m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

Re: linux users who unload from zip file can't start tomcat

2011-04-04 Thread Mark Thomas
On 02/04/2011 18:56, Robert P. J. Day wrote: #2: the advice is still wrong. there is a distinct difference between recommended and required. if you choose to defend what you *imagine* you're reading there, feel free. i, on the other hand, am criticizing (for good reason) what is *actually*

Re: a suggestion for documenting one's first jsp/servlet deployment

2011-04-04 Thread Mark Thomas
On 03/04/2011 13:20, Robert P. J. Day wrote: i'm still reading the deployment page so i'm sure i'll figure it out in short order, but any chance of something like that being added? In short, no chance. The longer answer comes in two parts. The first is that the Tomcat docs, with the

Re: a suggestion for documenting one's first jsp/servlet deployment

2011-04-04 Thread Robert P. J. Day
On Mon, 4 Apr 2011, Mark Thomas wrote: On 03/04/2011 13:20, Robert P. J. Day wrote: i'm still reading the deployment page so i'm sure i'll figure it out in short order, but any chance of something like that being added? In short, no chance. The longer answer comes in two parts. The

Re: Tomcat 7.0 Manager/Host Manager authentication via Tomcat Realms -- is it possible at all?

2011-04-04 Thread Mark Thomas
On 04/04/2011 06:09, Andrew Kolchoogin wrote: Nothing helps: all Google search results refers me either to UserDatabase Realm and conf/tomcat-users.xml (that is obviously works well -- I've tested it) or to realm authentication for THIRD-PARTY applications, that I'm not interested in.

AW: Solved: Issue with isapi_redirect-1.2.31 on IIS7 on Win2008R2

2011-04-04 Thread Thomas Strauß
For whom it may concern. The issue is solved. The problem were missing access rights to the folders containing the dll. The issue is, that we cannot see what rights were not sufficient. Adding the IIS site runner to admin group did not help, only adding read access for everyone made IIS read

Re: AW: Solved: Issue with isapi_redirect-1.2.31 on IIS7 on Win2008R2

2011-04-04 Thread André Warnier
Also to whom it may concern : The following, while not directly relevant to isapi_redirect.dll itself, may provide some clues about the loading or not of isapi filters under IIS 7.x. These are installation notes for another (quite useful) piece of software which acts as an isapi filter under

Re: linux users who unload from zip file can't start tomcat

2011-04-04 Thread Robert P. J. Day
On Mon, 4 Apr 2011, Mark Thomas wrote: On 02/04/2011 18:56, Robert P. J. Day wrote: #2: the advice is still wrong. there is a distinct difference between recommended and required. if you choose to defend what you *imagine* you're reading there, feel free. i, on the other hand, am

Re: problem with Tomcat 5.5.27

2011-04-04 Thread Gupta, Rangan
Hi I am running Tomcat 5.5.27 on Solaris 10. And I keep getting the following messages in the catalina out log. 04-Apr-2011 14:32:46 org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load

Re: url-pattern algorithm problem?

2011-04-04 Thread Cha
Below are all the url patterns that we have. servlet-mapping servlet-nameapp/servlet-name url-pattern*.htm/url-pattern url-pattern/en/*/url-pattern url-pattern/zh_TW/*/url-pattern url-pattern/zh_CN/*/url-pattern /servlet-mapping Here is the url http://example.com/en/yp/list/cat/10/1 that

RE: linux users who unload from zip file can't start tomcat

2011-04-04 Thread Jeffrey Janner
-Original Message- From: Robert P. J. Day [mailto:rpj...@crashcourse.ca] Sent: Monday, April 04, 2011 7:41 AM To: Tomcat Users List Subject: Re: linux users who unload from zip file can't start tomcat On Mon, 4 Apr 2011, Mark Thomas wrote: On 02/04/2011 18:56, Robert P. J. Day

Re: Tomcat 7.0 Manager/Host Manager authentication via Tomcat Realms -- is it possible at all?

2011-04-04 Thread Andrew Kolchoogin
Mark, hi there! 2011/4/4 Mark Thomas ma...@apache.org: This also looks OK, altough if you aren't interested in using the UserDatabaseRealm, why is it still configured? Just to test CombinedRealm functionality, althougth I've tried to deconfigure UserDatabase entirely -- it doesn't help,

RE: linux users who unload from zip file can't start tomcat

2011-04-04 Thread Jeffrey Janner
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, April 04, 2011 9:11 AM To: 'Tomcat Users List' Subject: RE: linux users who unload from zip file can't start tomcat -Original Message- From: Robert P. J. Day

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
The permgen is actually a section of the heap. So if you want a 1GB permgen, you'll need at least a 1GB heap size, but you better make it much bigger than that, since you'll need more room for all the little things, like variable, objects, etc. If you really need that large of a permgen, then

RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Max value of MaxPermSize The permgen is actually a section of the heap. Not really true. So if you want a 1GB permgen, you'll need at least a 1GB heap size Definitely not true. Although PermGen is managed as a heap,

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
Some of the answer below may be off. I was reading an IBM doc that quoted a sun doc that said permgen is part of heap. Jconsole lists it as non-heap. Also check that you have enough user-space memory left to allocate an entire GB to Tomcat. -Original Message- From: Jeffrey Janner

Re: Tomcat 7.0 Manager/Host Manager authentication via Tomcat Realms -- is it possible at all?

2011-04-04 Thread Mark Thomas
On 04/04/2011 15:13, Andrew Kolchoogin wrote: You won't see any error messages from DataSourceRealm until you try and use it and it fails. Trying to login is an usage attempt? It is gets as far as the DataSourceRealm, yes. Enabling debug logging for org.apache.catalina.realm should show you

Re: Max value of MaxPermSize

2011-04-04 Thread Mark Thomas
On 04/04/2011 15:40, Jeffrey Janner wrote: Some of the answer below may be off. I was reading an IBM doc that quoted a sun doc that said permgen is part of heap. Jconsole lists it as non-heap. Process heap != Java object heap When you see heap in in any JVM related context you need to be

How to limit tomcats thread consumption?

2011-04-04 Thread Michael Jerger
Hi all, last days I leased a virtual host at 1und1 (a german hoster). Unfortunately 1und1 found a new, creative way to limit the joy of using their VPH - they limit the number of operating-system processes to 256 processes in total. Thats quite a huge issue, because I want to operate two

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
Yea, Chuck, I had qualms about the statement, but had found the exact words in a doc. I sent a retraction while this came in. Sorry about continuing the confusion. Do you have any idea why he's having issues? My bet is he's out of allocatable user-space in his OS vm. -Original

RE: Max value of MaxPermSize

2011-04-04 Thread Jeffrey Janner
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, April 04, 2011 9:43 AM To: Tomcat Users List Subject: Re: Max value of MaxPermSize On 04/04/2011 15:40, Jeffrey Janner wrote: Some of the answer below may be off. I was reading an IBM doc that quoted a

RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Max value of MaxPermSize I was reading an IBM doc that quoted a sun doc that said permgen is part of heap. Which does not mean that it's included in the -Xmx settting, just that all the heap components are ... heaps.

RE: Max value of MaxPermSize

2011-04-04 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Max value of MaxPermSize Do you have any idea why he's having issues? Can't tell - the OP has provided no useful information, and instead of doing some analysis, appears to be taking a shotgun approach to problem

RE: How to limit tomcats thread consumption?

2011-04-04 Thread Caldarale, Charles R
From: Michael Jerger [mailto:jer...@jerger.org] Subject: How to limit tomcats thread consumption? they limit the number of operating-system processes to 256 processes in total. thread != process (Unless you're on a really old version of Linux.) Any idea how to cope with this silly

Re: How to limit tomcats thread consumption?

2011-04-04 Thread Michael Jerger
Hi, thread != process To be exact - numproc - Number of processes and kernel-level threads is limited. (Unless you're on a really old version of Linux.) ubuntu10.4 isn't really old .. I think ;-) Any idea how to cope with this silly process limit? 1) Are you sure you have a problem?

Re: How to limit tomcats thread consumption?

2011-04-04 Thread André Warnier
Michael Jerger wrote: Hi all, last days I leased a virtual host at 1und1 (a german hoster). Unfortunately 1und1 found a new, creative way to limit the joy of using their VPH - they limit the number of operating-system processes to 256 processes in total. a) are you sure ? Since,

RE: How to limit tomcats thread consumption?

2011-04-04 Thread Caldarale, Charles R
From: Michael Jerger [mailto:jer...@jerger.org] Subject: Re: How to limit tomcats thread consumption? Do you actually need to be running httpd? Is it doing anything useful? (Serving just static content isn't useful.) Executor name=tomcatDevThreadPool namePrefix=catalina-exec-

Basic question about using modjk connector

2011-04-04 Thread JAIN, ABHAY K (ATTSI)
I have downloaded apche-tomcat -6.0.32. I am trying to install modjk. Document for modjk installation refers to directories auto, jk, catalina under conf which I don't find. My question is how do they get created? - To

How to access MyWebApp from another computer through the internet

2011-04-04 Thread Yvan Hurtado
Hello, I have my web application working correctly with http://localhost:8080. Yet, I cannot access it from another computer trough internet. I've change 'localhost' to the computer's ip where tomcat 5.5.33 is installed: http://192.168.1.111:8080/myWebApp/ I'm new with tomcat so I dont know

how to configure a custom valve?

2011-04-04 Thread colin lloyd
I am using Tomcat 7.0 and need to pass some additional data to my JAAS login module during authentication with standard FORM logins. By default using the FORM login in the web application causes Tomcat to invoke the FormAuthenticator valve which only passes username and password to the login

Re: How to access MyWebApp from another computer through the internet

2011-04-04 Thread David kerber
On 4/4/2011 2:56 PM, Yvan Hurtado wrote: Hello, I have my web application working correctly with http://localhost:8080. Yet, I cannot access it from another computer trough internet. I've change 'localhost' to the computer's ip where tomcat 5.5.33 is installed:

RE: Basic question about using modjk connector

2011-04-04 Thread Caldarale, Charles R
From: JAIN, ABHAY K (ATTSI) [mailto:aj2...@att.com] Subject: Basic question about using modjk connector Document for modjk installation refers to directories auto, jk, catalina under conf which I don't find. What documentation is that? The real doc is here:

apache proxy reverse. redirect from http to https

2011-04-04 Thread Jorge Infante Osorio
Hi all. I have a reverse proxy in http://reverseproxy/ and I want to access to an internal node https://nodesecure:8443/ when I type http://reverseproxy/ in firefox. So part of my httpd.conf : ProxyPass / https://nodesecure:8443/ ProxyPassReverse /

Re: apache proxy reverse. redirect from http to https

2011-04-04 Thread André Warnier
Jorge Infante Osorio wrote: Hi all. I have a reverse proxy in http://reverseproxy/ and I want to access to an internal node https://nodesecure:8443/ when I type http://reverseproxy/ in firefox. So part of my httpd.conf : ProxyPass / https://nodesecure:8443/

RE: reverse proxy with SSO using CAS.

2011-04-04 Thread Jorge Infante Osorio
Hi Mark. -Mensaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: viernes, 25 de marzo de 2011 12:57 Para: Tomcat Users List Asunto: Re: reverse proxy with SSO using CAS. On 25/03/2011 16:35, Jorge Infante Osorio wrote: I have an issue in reverse proxy with apache,