ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread Alexander Diedler
Hello @ll, I have installed a new Windows 2008 R2 x64 Server with IIS7 and Tomcat 6.0.32 x64 Edition. We use SSO Authentication from IIS to the Tomcat. Suddenly, we got on some clients, but not on every client (that´s stupid!) the following error: Request Entity Too large! The HTTP method

Re: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread André Warnier
Alexander Diedler wrote: Hello @ll, I have installed a new Windows 2008 R2 x64 Server with IIS7 and Tomcat 6.0.32 x64 Edition. We use SSO Authentication from IIS to the Tomcat. Which SSO mechanism ? Suddenly, we got on some clients, but not on every client (that´s stupid!) the following

Re: problem with session replication in tomcat 5.5.23

2011-10-05 Thread Gabriele Faelli
Really any idea? Il giorno 04/ott/2011 19:13, Gabriele Faelli gabriele.fae...@gmail.com ha scritto: Hi all, I'm running tomcat 5.5.23 on two RHEL 5.6. I'm having big trouble making the session replication working across these two nodes. I configured a cluster and it looks like working: each

AW: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread Alexander Diedler
Hello, We use the IIS integrated (Windows) domain authentication, which is passed to the Tomcat and then we check the given String with our user database in the app and if username and password match, the user was automatically logged in (SSO). Greetings Alexander -Ursprüngliche

Re: AW: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread André Warnier
Alexander Diedler wrote: Hello, We use the IIS integrated (Windows) domain authentication, which is passed to the Tomcat and then we check the given String with our user database in the app and if username and password match, the user was automatically logged in (SSO). Ok, basically thanks.

Re: AW: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread André Warnier
Addendum : can you increase the log level of isapi_redirect on the IIS server, and try again ? it may show us a bit more about what is happening. André Warnier wrote: Alexander Diedler wrote: Hello, We use the IIS integrated (Windows) domain authentication, which is passed to the Tomcat and

AW: AW: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread Alexander Diedler
Hello, Please find below the full loglevel from isapi with level debug for the single request to access a url/jci/ Yes, you are right. In the header will only be the username and domain passed to the application. In the application we make a request to query the NTLM with the given username and

Re: AW: ISAPI Redicect - Request Entitiy too large

2011-10-05 Thread chris derham
Alexander, If you are using authorisation header, then you are using SPNGEO. This header encodes the users group membership in the authorisation header. By default tomcat has an 8k maximum header, whilst users belonging to many groups can have an authorisation token that can swell to larger than

Regarding Catalina/Tomcat MBeans attributes/operations description

2011-10-05 Thread akshay hiremath
Hi, Can anyone tell me where can I get the Catalina MBeans field description. I mean what exactly particular attribute of particular MBean is providing. e.g. In ThreadPool There are two attributes in Mbean http-8080 1. currentThreadCount 2. currentThreadsBusy I'm not able to understand what

Cocoon - Tomcat - APEX for FOP PDF printing

2011-10-05 Thread Reid McKinley
I am trying to setup Tomcat with Cocoon for the purpose of enabling PDF printing with Oracle APEX using FOP. I'm using Linux 64bit, Tomcat 7.0.22, Cocoon 2.1.11, and JDK (build 1.6.0_24-b07). Whenever, I attempt to hit the cocoon site (localhost:8080/cocoon/), I receive the following error:

Re: Regarding Catalina/Tomcat MBeans attributes/operations description

2011-10-05 Thread Konstantin Kolinko
2011/10/5 akshay hiremath akshay...@yahoo.com: Hi, Can anyone tell me where can I get the Catalina MBeans field description. I mean what exactly particular attribute of particular MBean is providing. e.g. In ThreadPool There are two attributes in Mbean http-8080 1. currentThreadCount

Re: Cocoon - Tomcat - APEX for FOP PDF printing

2011-10-05 Thread Konstantin Kolinko
2011/10/5 Reid McKinley reidmckin...@gmail.com: I am trying to setup Tomcat with Cocoon for the purpose of enabling PDF printing with Oracle APEX using FOP. I'm using Linux 64bit, Tomcat 7.0.22, Cocoon 2.1.11, and JDK (build 1.6.0_24-b07). Whenever, I attempt to hit the cocoon site

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Mark H. Wood
Part of the problem with this valve is that regex matching is such a (IMHO) bizarre choice for IP address matching. IP addresses have a structure which is very unlike text, and the customary and expected matches take a bit of finagling to do in regexes. I should try writing netmask and CIDR

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Francis GALIEGUE
On Wed, Oct 5, 2011 at 15:57, Mark H. Wood mw...@iupui.edu wrote: Part of the problem with this valve is that regex matching is such a (IMHO) bizarre choice for IP address matching.  IP addresses have a structure which is very unlike text, and the customary and expected matches take a bit of

Re: mod_jk 1.2.30 error problem after upgrade

2011-10-05 Thread Ramesh XN
Anthony J. Biacco abiacco at formatdynamics.com writes: I may have found it from 5 minutes earlier, I didn't go back that far in the log. I'll mail it privately, I don't feel comfortable posting the content in whole publicly, if that's alright. Thanks again. -Tony

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Mark H. Wood
On Tue, Oct 04, 2011 at 09:11:28PM +0200, Francis GALIEGUE wrote: On Tue, Oct 4, 2011 at 21:08, Christopher Schultz ch...@christopherschultz.net wrote: [...] - From the docs: If this attribute [allow] is specified, the remote address MUST match for this request to be accepted. If

Problem with Tomcat 6.0.33 Session replication

2011-10-05 Thread Tobias Quosigk
I'm running 2 servers with Tomcat 6.0.33 and session replication. Tomcat session replication only works with Tomcat starting the first time the server (Windows Server 2008 R2 64-bit) boots. When I stop and then start the Tomcat service via Windows Services, session replication will no longer

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
This follows on from yesterday's discussion about whether in my application, I can have more than one page with an embedded login form or not. I've been looking over the servlet spec (V2.2) and it seems that I can't actually do this which is a shame. So I'm now looking at a more conventional log

logging.properties and no classdef error when trying to switch to log4j 6.0.18

2011-10-05 Thread jjgtx
I am trying to configure log4j logging, but when I remove the conf/logging.properties file I get the following error in catalina.out and nothing more. Could not find the main class: . Program will exit. java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at

Re: logging.properties and no classdef error when trying to switch to log4j 6.0.18

2011-10-05 Thread Konstantin Kolinko
2011/10/5 jjgtx jeff_g...@yahoo.com: I am trying to configure log4j logging, but when I remove the conf/logging.properties file I get the following error in catalina.out and nothing more. Could not find the main class: .  Program will exit. java.lang.ClassNotFoundException:

Login or index page or vice-versa

2011-10-05 Thread Martin O'Shea
This follows on from yesterday's discussion about whether in my application, I can have more than one page with an embedded login form or not. I've been looking over the servlet spec (V2.2) and it seems that I can't actually do this which is a shame. So I'm now looking at a more conventional log

Re: WebApps sharing uploaded files

2011-10-05 Thread Léa Massiot
chris wrote: Be careful: if you undeploy the webapp, you will have all those files deleted by Tomcat. Ok. Thank you! André wrote: Thanks. Seen. Lea, do you follow ? Yes, thanks! Ok. I do not properly understand the doc.: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

Re: Using multiple login pages

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/5/2011 11:41 AM, Martin O'Shea wrote: This follows on from yesterday's discussion about whether in my application, I can have more than one page with an embedded login form or not. I've been looking over the servlet spec (V2.2)

Tomcat 7 Embedded: Manager *additional info*

2011-10-05 Thread Dark Before Dawn
Hi guys *kick* :) I have additional info on this topic. When deploying a webapp to an embedded tomcat server via ANT and listen all webapps via ANT afterwards, I noticed that the path information is completely missing for the freshly deployed webapp. In this case /test. I think I missed to

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
Maybe I've misunderstood something but I'm having a lot of trouble getting the login page to display with the following: welcome-file-list welcome-file/jsp/index/newjsp.jsp/welcome-file /welcome-file-list !-- Error pages. -- error-page error-code403/error-code

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
I have it now. There was a redirection going on in a method called from a scriptlet in the login page. It now seems to be OK. Thanks Chris. But one thing bugs me still: you said that you can have 'different login pages for different types of resources you're trying to reach.' Can you give any

Re: problem with session replication in tomcat 5.5.23

2011-10-05 Thread Mark Eggers
- Original Message - From: Gabriele Faelli gabriele.fae...@gmail.com To: users@tomcat.apache.org Cc: Sent: Wednesday, October 5, 2011 1:17 AM Subject: Re: problem with session replication in tomcat 5.5.23 Really any idea? Il giorno 04/ott/2011 19:13, Gabriele Faelli

Re: WebApps sharing uploaded files

2011-10-05 Thread Léa Massiot
Hello. Ok. I found what I was doing wrong and corrected my mistake: added /w1 at the beginning of the href attribute value. See below: 2.C) test_download.html html head titleTest download/title /head body /w1/attachments/foo.txt Foo.txt /body /html Now it works! Best regards,

Re: WebApps sharing uploaded files

2011-10-05 Thread Léa Massiot
Hello. Ok. I found what I was doing wrong and corrected my mistake: added /w1 at the beginning of the href attribute value. See below: 2.C) test_download.html html head titleTest download/title /head body /w1/attachments/foo.txt Foo.txt /body /html Now it works! Best regards,

Re: WebApps sharing uploaded files

2011-10-05 Thread Léa Massiot
Hello. Ok. I found what I was doing wrong and corrected my mistake: added /w1 at the beginning of the href attribute value. See below: 2.C) test_download.html html head titleTest download/title /head body /w1/attachments/foo.txt Foo.txt /body /html Now it works! Best regards,

Re: Using multiple login pages

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/5/2011 1:59 PM, Martin O'Shea wrote: I have it now. There was a redirection going on in a method called from a scriptlet in the login page. It now seems to be OK. Glad you got it going. But one thing bugs me still: you said that

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
Thanks for this Chris. It is food for thought. I was under the impression that form-login-page was static, because that's how I seen it used in apps I've worked on. But I am curious to try a filter as well, something like this mapped to the login: public void doFilter(ServletRequest request,

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/5/2011 10:28 AM, Mark H. Wood wrote: Having said that, I think that an anchored partial match (lookingAt()) really is the least-bad fit to the address problem, since we're usually more concerned about the first, second, and perhaps

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/5/2011 9:57 AM, Mark H. Wood wrote: Part of the problem with this valve is that regex matching is such a (IMHO) bizarre choice for IP address matching. IP addresses have a structure which is very unlike text, and the customary and

Re: Using multiple login pages

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/5/2011 6:06 PM, Martin O'Shea wrote: Thanks for this Chris. It is food for thought. I was under the impression that form-login-page was static, because that's how I seen it used in apps I've worked on. But I am curious to try a

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
That's a shame. It looked promising. I wouldn't mind seeing a servlet specified as form-login-page if you know of an example. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 05 Oct 2011 23 13 To: Tomcat Users List Subject: Re: Using multiple

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Using multiple login pages I wouldn't mind seeing a servlet specified as form-login-page if you know of an example. Simply set the url-pattern of some servlet-mapping to that of the login page. - Chuck THIS COMMUNICATION

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Using multiple login pages Do you mean the login page as specified in web.xml's login-config as below: If you're already using a .jsp for the login, you have all the dynamic content capability you need. If instead you want

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Using multiple login pages If you're already using a .jsp for the login, you have all the dynamic content capability you need. If instead you want the login to be handled by a servlet, just make the form-login-page setting target a previously

RE: Using multiple login pages

2011-10-05 Thread Martin O'Shea
If I understand you correctly, I think I should have this: login-config auth-methodFORM/auth-method realm-nameForm-Based Authentication Area/realm-name form-login-config form-login-page/login/form-login-page

Re: Using multiple login pages

2011-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/5/2011 6:50 PM, Martin O'Shea wrote: If I understand you correctly, I think I should have this: login-config auth-methodFORM/auth-method realm-nameForm-Based Authentication Area/realm-name form-login-config