Antwort: Re: role required in auth-constraints to trigger authentication

2011-09-20 Thread Oliver Wulff
http://zdownload.zurich.com/mailimages/ZHP_MailHeader.gif"; /> oh, really - RTFS ;-) I had the firm conviction that the use case is required that a user is authenticated but not further authorized. The workaround is to add a default role "Authenticated" in the Authenticator if required. Thanks

RE: Availability of Apache Tomcat 6.0.34?

2011-09-20 Thread Yajnik, Shanti
Thanks Chris. Do you know when 6.0.34 version of Tomcat will be available for download? Best Regards, Shanti Client Automation | HP Software -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, September 16, 2011 11:02 PM To: Tomcat Users List

websphere 7.0 JAXWS webservice deployed in tomcat 6.0.32 not working

2011-09-20 Thread Narahari 'n' Savitha
Friends: I have a JAXWS webservice developed in WebSphere 7.0. It is working there. The stack in Websphere is Axis2.0 I wrote a POJO Java class, annotated with the @WebService annotation and then I did a wsgen to generate the necessary artifacts and created the war file. The imp thing is that w

RE: manager and host-manager have 401.jsp that is not used

2011-09-20 Thread Manger, James H
> P.S. Thanks for making it unnecessary to include the following line in > 401.jsp: > response.setHeader("WWW-Authenticate", "Basic ..."); > It was removed from 401.jsp in March 2011 (revision 1084109). > I am not sure which change made it unnecessary (and if the change includes > the 5.x and/or

RE: manager and host-manager have 401.jsp that is not used

2011-09-20 Thread Manger, James H
>On 20/09/2011 08:31, Manger, James H wrote: >> The manager and host-manager apps included with Tomcat 7.0.21 are both: >> * configured to use BASIC authentication; and >> * configured with a custom error page for 401 (unauthenticated) error codes. >> However, the customer error page is never used

Re: Executor thread lifecycle

2011-09-20 Thread Dan Checkoway
Thanks Chris. Those threads are *never* idle in this app. :-) They're still getting recycled periodically, it looks like, despite lack of idle time. Does that make sense or am I on crack? On Tue, Sep 20, 2011 at 4:38 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN

Re: Links in CSS vs JSPs

2011-09-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/19/2011 6:06 PM, André Warnier wrote: What I do not understand here (maybe due to my lack of knowledge of JSP pages logic) is why one would need to "fix" anything, if the links are correctly spelled-out in the

Re: Tomcat running under OSGI is accessible only via 'localhost'

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hrachya, On 9/20/2011 1:48 PM, Hrachya Mughnetsyan wrote: > Almost all existing [functionality] runs fine with 1 exception: > Can access web-service ONLY through http://localhost/... and port > 8080. That should be fixable. > These settings are embe

Re: Executor thread lifecycle

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 9/20/2011 2:29 PM, Dan Checkoway wrote: > I'm curious how long Executor threads live prior to being > recycled/replaced/what have you. Is there a way to control this > lifecycle? You can set maxIdleTime to something other than the default (

Re: Executor thread lifecycle

2011-09-20 Thread Dan Checkoway
If commons-pool supported bulk borrow/return in a single blocking operation, I'd be all over it. But the fact that if I want to borrow 3000 objects from the pool, it's 3000 blocking ops, that's a non-starter. Unless I'm missing something? If there's a "minimally blocking" pool impl that supports

Re: Executor thread lifecycle

2011-09-20 Thread Mark Thomas
On 20/09/2011 20:06, Dan Checkoway wrote: > To be specific, we're having a major issue with garbage generation. To > avoid this, we're pre-allocating pools of instances (up until now > ThreadLocal, but that's obviously changing). When a request is processed it > may need anywhere between 1 and N

Re: Executor thread lifecycle

2011-09-20 Thread Dan Checkoway
To be specific, we're having a major issue with garbage generation. To avoid this, we're pre-allocating pools of instances (up until now ThreadLocal, but that's obviously changing). When a request is processed it may need anywhere between 1 and N objects from the pool, which it grabs and uses, an

Re: Executor thread lifecycle

2011-09-20 Thread Mark Thomas
On 20/09/2011 19:59, Dan Checkoway wrote: > Thanks for the quick reply, Mark. Much appreciated. I was afraid that was > the case. > > What I was trying to accomplish was...data that's not request/response > specific in any way, that survives requests. I was using ThreadLocal so as > to make it

Re: Executor thread lifecycle

2011-09-20 Thread Dan Checkoway
Thanks for the quick reply, Mark. Much appreciated. I was afraid that was the case. What I was trying to accomplish was...data that's not request/response specific in any way, that survives requests. I was using ThreadLocal so as to make it non-blocking, i.e. I didn't want to centralize managem

Re: Executor thread lifecycle

2011-09-20 Thread Mark Thomas
On 20/09/2011 19:29, Dan Checkoway wrote: > I'm curious how long Executor threads live prior to being > recycled/replaced/what have you. Is there a way to control this lifecycle? No. > I'm using ThreadLocal to allocate some resources per thread... That is asking for a memory leak. There is a si

Executor thread lifecycle

2011-09-20 Thread Dan Checkoway
I'm curious how long Executor threads live prior to being recycled/replaced/what have you. Is there a way to control this lifecycle? I'm using ThreadLocal to allocate some resources per thread...and the behavior I'm seeing is that after some period of time, my ThreadLocal goes away and needs to b

Re: [OT] Example to logout on Tomcat 7 and SSL + Realm

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/20/2011 2:01 PM, Christopher Schultz wrote: > I had to use mod_asis and stick this file ("logout") on my disk: > > Status: 401 Unauthorized WWW-Authenticate: Basic realm="My Realm" Here is my config if anyone is interested:

Re: Example to logout on Tomcat 7 and SSL + Realm

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/17/2011 9:31 AM, André Warnier wrote: > Christopher Schultz wrote: ... > > Thanks for all these explanations. And as an aside : > >> The only way to terminate a BASIC login is to issue another 401 >> response, > > I did not even know th

RE: Tomcat running under OSGI is accessible only via 'localhost'

2011-09-20 Thread Hrachya Mughnetsyan
Hi We have a web-service which used to run under tomcat. Recently we converted it into OSGI bundle. Almost all existing functionaly runs fine with 1 exception: Can access web-service ONLY through http://localhost/... and port 8080. These settings are embedded in catalina.start.osgi-6.0.16-SNAPSH

Re: [OT] database error

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, (Marking off-topic because I don't think this is a Tomcat-specific issue) On 9/18/2011 10:52 AM, Dave Filchak wrote: > Error initializing sub-systems: Please check the following: 1. > That your machine has a valid connection to > jdbc:mysql://

Re: Session management issue with Tomcat

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 9/18/2011 11:05 AM, Martin O'Shea wrote: > I have a situation where I'm using Tomcat 6.0.26 but the logging in > / out of the application is not authenticated via Tomcat's: > > action='<%= response.encodeURL("j_security_check") %>' > > >

Re: Antwort: Re: mod_jk doesn`t distribute and failover on tomcat-error

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen, On 9/20/2011 3:18 AM, steffen.scheu...@fiducia.de wrote: >> 1. You should look into using "template" workers. > Yes, the configuration would be cleaner, but is it a functional > problem? No, but it allows people to more easily debug your con

RE: Users and authentication - how?

2011-09-20 Thread Leo Donahue - PLANDEVX
>-Original Message- >From: Pid [mailto:p...@pidster.com] >Subject: Re: Users and authentication - how? > >On 20/09/2011 15:40, Leo Donahue - PLANDEVX wrote: >>> -Original Message- >>> From: Pid [mailto:p...@pidster.com] >>> Subject: Re: Users and authentication - how? >>> >>> On 18/

Re: Links in CSS vs JSPs

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/20/2011 9:09 AM, Konstantin Kolinko wrote: > Read the official CSS spec from W3C on how relative links in css > files are resolved. In CSS 2.1 it is in ch.4.3.4. Citing: "For CSS > style sheets, the base URI is that of the style sheet

Re: Links in CSS vs JSPs

2011-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/19/2011 6:06 PM, André Warnier wrote: > What I do not understand here (maybe due to my lack of knowledge of > JSP pages logic) is why one would need to "fix" anything, if the > links are correctly spelled-out in the first place, taking int

Re: Links in CSS vs JSPs

2011-09-20 Thread Patrick Flaherty
On Sep 20, 2011, at 9:09 AM, Konstantin Kolinko wrote: 2011/9/18 Patrick Flaherty Hi, We have just changed the way we deploy our webapp. We previously were putting our app into the ROOT folder under webapps , not good I know. We now package the app as a war file called myapp.war and pla

Re: Users and authentication - how?

2011-09-20 Thread Pid
On 20/09/2011 15:40, Leo Donahue - PLANDEVX wrote: >> -Original Message- >> From: Pid [mailto:p...@pidster.com] >> Sent: Tuesday, September 20, 2011 6:29 AM >> To: Tomcat Users List >> Subject: Re: Users and authentication - how? >> >> On 18/09/2011 21:42, java4dev wrote: >>> * Implement y

RE: Users and authentication - how?

2011-09-20 Thread Leo Donahue - PLANDEVX
>-Original Message- >From: Pid [mailto:p...@pidster.com] >Sent: Tuesday, September 20, 2011 6:29 AM >To: Tomcat Users List >Subject: Re: Users and authentication - how? > >On 18/09/2011 21:42, java4dev wrote: >> * Implement your own using phase listeners. > >WTF is a 'phase listener'? > >

Re: Display a static page while application loading.

2011-09-20 Thread Konstantin Kolinko
2011/9/19 Eric Bouer : > > Hello list. > I'm using tomcat for a J2EE application that uses Spring/Hibernate/JSF. > The spring container and hibernate bootstrap are slow and the users get a > blank page or no response from tomcat while the application starts. > In order to avoid that I was thinking

Re: Users and authentication - how?

2011-09-20 Thread Pid
On 18/09/2011 21:42, java4dev wrote: > * Implement your own using phase listeners. WTF is a 'phase listener'? p signature.asc Description: OpenPGP digital signature

Re: Links in CSS vs JSPs

2011-09-20 Thread André Warnier
Patrick Flaherty wrote: ... My question was about why JSP links work *without* the app prefix and the CSS links do not. I think Chris' answer of the JSPs are dynamic and intern automatically get the app prefix where CSS are not dynamic and therefore the CSS link has to account for the app

Re: Display a static page while application loading.

2011-09-20 Thread Pid
On 19/09/2011 16:52, David kerber wrote: > On 9/19/2011 10:50 AM, Eric Bouer wrote: >> >> Yeah but high availability/scaling solutions or a dynamic nature of >> application where new features are added frequently are common. > > HA and scaling solutions typically employ a load balancer (i.e. Apach

Re: Links in CSS vs JSPs

2011-09-20 Thread Konstantin Kolinko
2011/9/18 Patrick Flaherty > > Hi, > > We have just changed the way we deploy our webapp. We previously were putting > our app into the ROOT folder under webapps , not good I know. > We now package the app as a war file called myapp.war and place it into the > webapps folder where it explodes in

Re: Links in CSS vs JSPs

2011-09-20 Thread Patrick Flaherty
On Sep 19, 2011, at 6:06 PM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 9/18/2011 12:55 PM, Patrick Flaherty wrote: All the skins work except image references in the style sheet (css) cannot be found. Yet images referenced in the

Re: Tomcat won't start

2011-09-20 Thread Simon Peter Lwanjo
well next time Luckily i got the problem solved - all sites are now back up. i removed tomcat55 instance from subsys using rm command Rm /var/lock/subsys/tomcat55 and did a reboot, restarted tomcat55 and voila! Cheers and thanks, On Tue, Sep 20, 2011 at 12:18 PM, André Warnier wrote: > Sim

Re: Tomcat won't start

2011-09-20 Thread André Warnier
Simon Peter Lwanjo wrote: Hi Andre', as you will, i am trying to get all the help i can get from any source, reason i indicated the OS type and tomcat version and the log errors!! No, you did not. There are many versions of Tomcat 5.5. The precise version is important. There are many versions

Re: Who gets which request?

2011-09-20 Thread André Warnier
Andy Chapman wrote: I have a Tomcat 7.0.16 install with two WAR based webapps in it. First test case: Two war files in /webapps at startup 1. ROOT.war 2. another.war If I request http://localhost:8080/another/something it goes to the another webapp. That is the expected behaviour. Second t

Re: Who gets which request?

2011-09-20 Thread Mark Thomas
On 20/09/2011 09:53, Andy Chapman wrote: > I have a Tomcat 7.0.16 install with two WAR based webapps in it. > > First test case: > Two war files in /webapps at startup > 1. ROOT.war > 2. another.war > If I request http://localhost:8080/another/something it goes to the > another webapp. > > Second

Who gets which request?

2011-09-20 Thread Andy Chapman
I have a Tomcat 7.0.16 install with two WAR based webapps in it. First test case: Two war files in /webapps at startup 1. ROOT.war 2. another.war If I request http://localhost:8080/another/something it goes to the another webapp. Second test case: Two war files in /webapps at startup 1. ROOT.w

Re: Tomcat won't start

2011-09-20 Thread Simon Peter Lwanjo
Hi Andre', as you will, i am trying to get all the help i can get from any source, reason i indicated the OS type and tomcat version and the log errors!! i could chance on someone who has used a similar combination and encountered a similar problem.- thanks for laboring to reply all the same - i

Re: manager and host-manager have 401.jsp that is not used

2011-09-20 Thread Mark Thomas
On 20/09/2011 08:31, Manger, James H wrote: > The manager and host-manager apps included with Tomcat 7.0.21 are both: > * configured to use BASIC authentication; and > * configured with a custom error page for 401 (unauthenticated) error codes. > However, the customer error page is never used by To

Re: Tomcat won't start

2011-09-20 Thread André Warnier
Hi. I think that for this issue, you would get better/quicker help from a Linux admin forum. I am not trying to brush you off, but this looks like an issue having to do with the way recent versions of Linux manage "services", rather than with Tomcat itself. The expertise of the people on this

Re: Example to logout on Tomcat 7 and SSL + Realm [SOLVED]

2011-09-20 Thread Chema
Thanks Christopher. Great explanation. Finally, my problem was solved by upgrading up to Tomcat 7.0.21 On 7.0.16, my application doesn't work fine with SSL & realm ( see previous emails ) Upgrading to 7.0.21 ( clean install, really ) solved the problem and works fine. Regards 2011/9/16 Christ

manager and host-manager have 401.jsp that is not used

2011-09-20 Thread Manger, James H
The manager and host-manager apps included with Tomcat 7.0.21 are both: * configured to use BASIC authentication; and * configured with a custom error page for 401 (unauthenticated) error codes. However, the customer error page is never used by Tomcat. tomcat/webapps/[host-]manager/WEB-INF/web.xml

Antwort: Re: mod_jk doesn`t distribute and failover on tomcat-error

2011-09-20 Thread Steffen . Scheuler
Hy Chris, first to your Several thoughts: > > 0. You are missing dots (but you told Andre that it was a huge typo... >not sure how that kind of typo happens). It happens, because I subsituted the real worker names to anonymize the configuration. > 1. You should look into using "template" work

Re: Tomcat won't start

2011-09-20 Thread Simon Peter Lwanjo
Hi, Some help from the forum - i am relatively new to administering Tomcat. > > > Apache Tomcat on one of our Redhat Linux servers won't start. The service > status says "tomcat55 dead but subsys locked" > > You cannot kill the service because the PID is not locatable. > > > Anyone? > > > > Simon