Re: aliases attribute tomcat7

2012-05-17 Thread Pid
On 17/05/2012 06:41, Michael Ravits wrote: Hi Everybody, I just can't get this to work. Installed Tomcat 7.0.21 on ubuntu 11 using apt-get. I deployed ROOT.war and then went on to configure aliases. Tried adding the attribute in: Obvious question: what exactly did you try? p

Re: aliases attribute tomcat7

2012-05-17 Thread Michael Ravits
Hey Pidster, This is the tag I've used: Context aliases=/img/images=/home/michaelr/images,/img/thumbs=/home/michaelr/thumbs/Context It could have been a permissions problem but I gather that if docBase works, this must work as well permission wise. Thanks, Michael 2012/5/17, Pid

Re: tomcat slowing down

2012-05-17 Thread Christian Kaufhold
Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: On 05/16/2012 05:35 PM, Christian Kaufhold wrote: its not intentional but the myfaces App runs on the

[ANN] Apache Tomcat Connectors 1.2.36 released

2012-05-17 Thread Mladen Turk
The Apache Tomcat Project is proud to announce the release of version 1.2.36 of Apache Tomcat Connectors. This version fixes few bugs found in 1.2.35 release. Full details of these changes and new features, are available in the Apache Tomcat Connectors changelog:

Re: tomcat slowing down

2012-05-17 Thread Christian Kaufhold
Hi Warren, thanx, but I think session size is not an issue with 30 users since Tomcat has about 2 GB memory. But who knows, do you know a way to check the size of a session in tomcat? christian Am 17.05.2012 um 00:44 schrieb Warren Bell: Here is a good link explaining some of the pros and

Re: tomcat slowing down

2012-05-17 Thread Pid *
On 17 May 2012, at 07:42, Christian Kaufhold kaufhol...@googlemail.com wrote: Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? JMeter p Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: On

Re: tomcat slowing down

2012-05-17 Thread Mikolaj Rydzewski
On 17.05.2012 09:29, Christian Kaufhold wrote: But who knows, do you know a way to check the size of a session in tomcat? Psi probe allows to peek into the session (not exactly the size). http://psi-probe.googlecode.com/svn/wiki/Features/session-attributes.png -- Mikolaj Rydzewski

RE: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-17 Thread Martin Gainty
¿dos casos del tomcat en Cluster? 2 TC instances in Cluster? Saludos desde EEUU, Martín __ Porfavor ..no altere esta communicacion..Gracias Please..do not alter this communication..Thank You Date: Wed, 16 May 2012 00:32:43 +0200 From:

Tomcat 4.0 Tomcat 6.0 AuthenticatorBase

2012-05-17 Thread Sekar, Vasanth
Hello- We have a custom form authenticator that runs on tomcat 4.0. Now, we have a need to migrate that into tomcat 6.0. There are compilation errors with the following. import org.apache.catalina.HttpRequest; import org.apache.catalina.HttpResponse; I looked at the tomcat 6.0 API and found that

How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.: http://www.docjar.com/html/api/org/apache/catalina/realm/JNDIRealm.java.html It looks like there's a bunch of debug

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.: http://www.docjar.com/html/api/org/apache/catalina/realm/JNDIRealm.java.html It

Re: tomcat slowing down

2012-05-17 Thread Konstantin Kolinko
2012/5/17 Mikolaj Rydzewski m...@ceti.pl: On 17.05.2012 09:29, Christian Kaufhold wrote: But who knows, do you know a way to check the size of a session in tomcat? Psi probe allows to peek into the session (not exactly the size).

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread André Warnier
oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the messages such as would be output by the following code in

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread David kerber
On 5/17/2012 12:57 PM, André Warnier wrote: oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the messages such

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.:

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:21 PM, oh...@cox.net wrote: Here's a partial stripped down version of my server.xml Try copy/paste instead of attaching: the list strips many types of attachments. So, how do I enable the output from the JNDIRealm? You need

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm part in context.  I guess that it's in the Engine? So, how do I enable the output from the JNDIRealm?

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm part in context.  I guess that it's in

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Lobb, Janos
On May 17, 2012, at 12:57 PM, André Warnier wrote: oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/17/12 12:57 PM, André Warnier wrote: Give it up. The Tomcat logging implementation and its documentation (with the exception of the AcccesLogValve) are totally impenetrable to mere mortal human beings. Or those not willing to take

Re: Tomcat 4.0 Tomcat 6.0 AuthenticatorBase

2012-05-17 Thread Mark Thomas
On 17/05/2012 16:31, Sekar, Vasanth wrote: Hello- We have a custom form authenticator that runs on tomcat 4.0. Now, we have a need to migrate that into tomcat 6.0. There are compilation errors with the following. import org.apache.catalina.HttpRequest; import

Re: aliases attribute tomcat7

2012-05-17 Thread Michael Ravits
Hi, It is really strange, most of the time tomcat seems to just ignore these context files I put. But if I change the alias path to a directory which doesn't exist and then make a change in another context file, tomcat tries to reload the second file and the first one and then complains about

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:56 PM, oh...@cox.net wrote: I think that the code snippet I sent earlier was the wrong one, but it seems like I still should have gotten some output logging for the following code from JNDIRealm.java? 1003 } catch

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:56 PM, oh...@cox.net wrote: I think that the code snippet I sent earlier was the wrong one, but it seems like I still should have gotten some output logging

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 4:59 PM, oh...@cox.net wrote: Christopher Schultz ch...@christopherschultz.net wrote: Why do you think that a NamingException is being caught? I didn't say that I didn't think that the exception was not being caught, but

RE: Tomcat 4.0 Tomcat 6.0 AuthenticatorBase

2012-05-17 Thread Sekar, Vasanth
Good evening Mark, Thanks for confirming the first part of the request. I did try your below suggestion already associate(ssoId, request.getSession(true)); The method associate(String, Session) in the type authenticatorbase is not applicable for the arguments (String, HttpSession). The method

Isapi redirector log file is always empty - IIS 7.5 - Tomcat 7.0.26 - Isapi 1.2.30 - Win2008 R2

2012-05-17 Thread ann ramos
Hi, I have set up our system to do SSO.  The setup works fine because whenever the user access the system, they are automatically logged in to the system. Following are the steps that I used to set up Isapi: 1. Manually created the folders Apache Software Foundation\Jakarta Isapi Redirector.