Re: url-pattern not working with AxisServlet

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kurt, Kurt Kavanaugh wrote: | Not seeing the AxisServlet being invoked for /services/* url-pattern... [snip] | | AxisServlet | /services/* | [snip] | Apache [httpd] access INFO | | 127.0.0.1 - - [05/May/2008:12:05:30 -04

Re: Tomcat was shutdown by self

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronny, Ronny Sisworo wrote: | I have a problem with Tomcat on Solaris 10. What version of Tomcat? | 2-4 times in a week (24x7) - random, Tomcat was shutdown by self. Why do you think Tomcat shuts itself down? What is in the log files? - -chris -

Re: JAAS authenticated user fails authorization check

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, Robin Coe wrote: | Thanks Chris, that must be it. Can't believe I missed that. | Unfortunately, this class is part of the Catalina codebase, which makes | it necessary to use a runtime check and invoking a GenericPrincipal | subclass when runn

Tomcat was shutdown by self

2008-05-05 Thread Ronny Sisworo
I have a problem with Tomcat on Solaris 10. 2-4 times in a week (24x7) - random, Tomcat was shutdown by self. Can you help me? Thank you. Regards, Ronny Sisworo @+628122696200

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Robin Coe
Thanks Chris, that must be it. Can't believe I missed that. Unfortunately, this class is part of the Catalina codebase, which makes it necessary to use a runtime check and invoking a GenericPrincipal subclass when running inside Tomcat. I don't want to include the Catalina jar or be dependent

Re: JAAS authenticated user fails authorization check

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, Robin Coe wrote: | The Tomcat code that is failing for my auth check is | (http://kickjava.com/src/org/apache/catalina/realm/RealmBase.java.htm): Are you sure this is your version? The 5.5.17 version of this file is available here: http://s

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Caldarale, Charles R
> From: Robin Coe [mailto:[EMAIL PROTECTED] > Subject: RE: JAAS authenticated user fails authorization check > > I did that part programmatically: Just for grins, try replacing your programmatic approach with the configuration settings. If that works, then it shows you're missing something in s

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Robin Coe
I did that part programmatically: public AppConfigurationEntry[] getAppConfigurationEntry( String applicationName ) { if( m_appConfig == null ) { if( applicationName == null ) { throw new NullPointerException( "Could not retrieve security configuration.

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Caldarale, Charles R
> From: Robin Coe [mailto:[EMAIL PROTECTED] > Subject: RE: JAAS authenticated user fails authorization check It appears that the problem is you haven't fully configured the JAAS environment. See below for details. > I tested the implementation of isUserInRole() by wild-carding > the role, to f

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Robin Coe
Thanks for the response. I tried to keep the original post simple, to see if there was a known problem with declaring realms in Tomcat. I've attached the most relevant parts of my web-app below. I included the part of web.xml that defines the security constraints; the context.xml contents, wh

Re: mod_jk 1.2.5: workers are not balanced in the defined relation

2008-05-05 Thread Rainer Jung
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Stephanie Wullbieter wrote: | with Apache 1.3.26 and mod_jk 1.2.5 Stop right there. If possible, upgrade to mod_jk 1.2.26 (the current version). There should be no compatibility problems between 1.2.5 and 1.2.2

RE: JAAS authenticated user fails authorization check

2008-05-05 Thread Caldarale, Charles R
> From: Robin Coe [mailto:[EMAIL PROTECTED] > Subject: JAAS authenticated user fails authorization check > > However, when I declare a protected resource declaratively, > and specify that the resource is protected with "rolename", > Tomcat fails to authorize the user for that resource. Post your

Re: Where to find mod_jk ?

2008-05-05 Thread Rainer Jung
karthikn wrote: Hi Can i use "mod_jk.so" for Windows 2000 Apache 2.2 server Which one to use http://mirrors.sirium.net/pub/apache/tomcat/tomcat-connectors/jk/binaries/win32/ Those are for 32 Bit Windows (that's what you have most likely, if you don't know otherwise). or http://mirror

url-pattern not working with AxisServlet

2008-05-05 Thread Kurt Kavanaugh
Not seeing the AxisServlet being invoked for /services/* url-pattern... Web.xml *** AxisServlet Apache-Axis Servlet org.apache.axis2.transport.http.AxisServlet 1

JAAS authenticated user fails authorization check

2008-05-05 Thread Robin Coe
I have written a JAAS-enabled web-app that successfully uses my LDAP service to authenticate a user and populate the Subject with several Principals. I have set up my web-app to use FORM based authentication and can successfully use request.isUserInRole("rolename") to authorize my user against

Re: Where to find mod_jk ?

2008-05-05 Thread karthikn
Hi Can i use "mod_jk.so" for Windows 2000 Apache 2.2 server Which one to use http://mirrors.sirium.net/pub/apache/tomcat/tomcat-connectors/jk/binaries/win32/ or http://mirrors.sirium.net/pub/apache/tomcat/tomcat-connectors/jk/binaries/win64/ with regards Karthik Mark Thomas wrot

Re: TOMCAT CLUSTERING HOWTO

2008-05-05 Thread karthikn
Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik

Re: mod_jk 1.2.5: workers are not balanced in the defined relation

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Stephanie Wullbieter wrote: | with Apache 1.3.26 and mod_jk 1.2.5 Stop right there. If possible, upgrade to mod_jk 1.2.26 (the current version). There should be no compatibility problems between 1.2.5 and 1.2.26 but a /lot/ of things have

Re: Tomcat problem on a multiple CPU system

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gilbert, Gilbert, Antoine wrote: | My english is not very good, I'll try to explain again | | For example, my test outside of Tomcat | | for(int i=0;i<8;i++){ | Thread t = new Thread(new Runner()); | t.setDaemon(true); | t.start()

RE: authenticated but not authorized -- blank page

2008-05-05 Thread Caldarale, Charles R
> From: DIGLLOYD INC [mailto:[EMAIL PROTECTED] > Subject: Re: authenticated but not authorized -- blank page > > Is it because there is more than one name> specified eg it needs to be: > > > guest1 > > > guest2 > Yes, the javaee schema allows only one element within a . Tomcat s

Re: authenticated but not authorized -- blank page

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lloyd, DIGLLOYD INC wrote: | I don't read schemas well. Perhaps if you would be so kind as to | explain why it's wrong? Is it because there is more than one | specified eg it needs to be: | | |guest1 | | | guest2 | That's exactly righ

mod_jk 1.2.5: workers are not balanced in the defined relation

2008-05-05 Thread Stephanie Wullbieter
Hello, with Apache 1.3.26 and mod_jk 1.2.5 (Debian Woody) and two workers on Tomcat 5.5.20 I defined a load balancing worker: worker.router.type=lb worker.router.balanced_workers=worker1,worker2 with both workers like this (they are on different hosts): worker.worker1.port=8009 worker.worker1.

Accessing SSO from another host

2008-05-05 Thread Thomas.TH.Hamacher
Hi, I´m using Tomcat with a custom single-sign-on valve. Is there a chance to access the sso-valve from another tomcat instance running on another server? Currently I´m setting a cookie as soon as the sso has been performed and check values from that cookie in my other applications. But right n

RE: Tomcat problem on a multiple CPU system

2008-05-05 Thread Gilbert, Antoine
I think I found the problem, but not the solution :( I have the same problem on my local 2 cpu computer, if I start Tomcat in server (-server) mode I have exactly the same problem, i.e. Tomcat doesn't want to use all CPU resources.. If I start my Tomcat in client (-client) mode, my processes run f

Re: Tomcat problem on a multiple CPU system

2008-05-05 Thread Mark Thomas
Gilbert, Antoine wrote: I open 8 IE on a remote computer, basically once a JSP is called, the browser is just waiting the process to be done. Use ieHttpHeaders, the AccessLogValve or similar to check when the requests are actually being sent. I suspect that, as David suggested that you have n

RE: Tomcat problem on a multiple CPU system

2008-05-05 Thread Gilbert, Antoine
I open 8 IE on a remote computer, basically once a JSP is called, the browser is just waiting the process to be done. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 4 mai 2008 23:00 To: Tomcat Users List Subject: Re: Tomcat problem on a multiple CPU system Can you