Re: tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-25 Thread Brad O'Hearne
the DEBUG messages are coming from XML parsing, and the xerces jars are part of the compatibility package. Brad On Feb 24, 2006, at 7:52 PM, Glen Mazza wrote: Brad O'Hearne wrote: This is a real incredible nuisance. It appears that Tomcat is using java.util.logging, so I altered all th

Re: tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-24 Thread Brad O'Hearne
Does anyone know how and where to shut these off? I now have the Tomcat logging.properties file and my log4j.properties file set, and they appear to be having no effect at all. Help! Thanks Brad Brad O'Hearne wrote: Here is my log4j.properties file: log4j.rootLogger=INFO, R log4j.

mod_jk set up, running, no errors in log, but no connections between Tomcat / httpd

2006-02-24 Thread Brad O'Hearne
Well, it appears I have Tomcat and httpd set up and running mod_jk without any errors in the logs. I have used the tomcat auto-config for mod_jk, and httpd is including it into the httpd.conf file. Logs look clean. But mod_jk.log is completely empty, and when I do a netstat, I see the following

Re: tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-24 Thread Brad O'Hearne
means that I should only be getting INFO level messages, no? Brad Rob Gregory wrote: Please post your log4j.properties file - it sounds like your root logger is too general. Rob -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: 24 February 2006 19:35 To: T

tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-24 Thread Brad O'Hearne
I have a vanilla installation of Tomcat 5.5 (with logging added, and log4j.properties rootLogger set to level INFO), which starts up cleanly, and writes maybe 15 lines to catalina.out -- no more. I then deploy the maven-proxy-webapp.war, and catalina.out gets immediately bombed with DEBUG level

Re: default Tomcat 5.5 won't shutdown cleanly (Was: After adding mod_jk, tomcat won't shutdown cleanly)

2006-02-24 Thread Brad O'Hearne
No worries. /etc/hosts issue. B Brad O'Hearne wrote: Vanilla Tomcat (with the jdk1.4 compatibility jars added), and vanilla server.xml. Apache httpd isn't even started yet. I just installed a fresh copy of Tomcat direct from the tar file, and while it starts up, shutdown han

Re: default Tomcat 5.5 won't shutdown cleanly (Was: After adding mod_jk, tomcat won't shutdown cleanly)

2006-02-24 Thread Brad O'Hearne
e apr connector? , Josh. -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 11:50 AM To: Tomcat Users List Subject: default Tomcat 5.5 won't shutdown cleanly (Was: After adding mod_jk, tomcat won't shutdown cleanly) I gues

default Tomcat 5.5 won't shutdown cleanly (Was: After adding mod_jk, tomcat won't shutdown cleanly)

2006-02-24 Thread Brad O'Hearne
I guess I have to alter my original assertion. Vanilla tomcat 5.5 isn't shutting down cleanly (default server.xml). Are there known causes for this? Anything in particular that I need to check? Brad Brad O'Hearne wrote: Ok, it appears I may have mod_jk running properly. However,

After adding mod_jk, tomcat won't shutdown cleanly

2006-02-24 Thread Brad O'Hearne
Ok, it appears I may have mod_jk running properly. However, now when I try to shutdown tomcat, I get the following: Using CATALINA_BASE: /opt/apache-tomcat-5.5.12 Using CATALINA_HOME: /opt/apache-tomcat-5.5.12 Using CATALINA_TMPDIR: /opt/apache-tomcat-5.5.12/temp Using JRE_HOME: /usr/j

Re: Which direction: mod_jk or mod_proxy_ajp? (was: why use mod_jk?)

2006-02-24 Thread Brad O'Hearne
else, mod_jk is the way to go. , Josh. -Original Message----- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 9:02 AM To: Tomcat Users List Subject: Which direction: mod_jk or mod_proxy_ajp? (was: why use mod_jk?) I suppose this question deserved its

Re: why use mod_jk?

2006-02-24 Thread Brad O'Hearne
Question below: On Feb 24, 2006, at 2:05 AM, Bill Barker wrote: "Brad O'Hearne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] mod_proxy_ajp? Yet another twist. Its just hard for me to believe that "how do I integrate tomcat and apache httpd?"

Which direction: mod_jk or mod_proxy_ajp? (was: why use mod_jk?)

2006-02-24 Thread Brad O'Hearne
I suppose this question deserved its own thread. Before I spend any more time trying to get this configured, I would like to know what is the best way to proceed: mod_jk or mod_proxy_ajp? Thanks, Brad On Feb 24, 2006, at 7:49 AM, Brad O'Hearne wrote: Jess, Thanks for the

Re: why use mod_jk?

2006-02-24 Thread Brad O'Hearne
y_ajp or mod_jk? Thanks for your help. Brad -- Jess Holle Brad O'Hearne wrote: mod_proxy_ajp? Yet another twist. Its just hard for me to believe that "how do I integrate tomcat and apache httpd?" is such a mystery / unknown. This seems like it would be question #1 on a

Re: why use mod_jk?

2006-02-24 Thread Brad O'Hearne
urce which explains the configuration of it? Brad Bill Barker wrote: "Brad O'Hearne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] After wasting time trying to configure mod_jk, I thought I'd just wipe my mind free and just play dumb for a moment.

Re: Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Brad O'Hearne
nderscores the lack of documentation surrounding this area of Tomcat. Brad Vanessa Campos wrote: Brad, I found a good how-to that helped me put mod_jk to work. www.howtoforge.com/apache2_tomcat5_mod_jk It's very simple, and it works. --- Brad O'Hearne <[EMAIL PROTECTED]> es

why use mod_jk?

2006-02-23 Thread Brad O'Hearne
After wasting time trying to configure mod_jk, I thought I'd just wipe my mind free and just play dumb for a moment. If Apache can proxy requests using mod_proxy, what is the benefit of using mod_jk as an integration technique between httpd and tomcat, if integration is *not* in-process, which

Tomcat documentation

2006-02-23 Thread Brad O'Hearne
Suppose I wanted to completely rewrite (or write) 100% of the Tomcat documentation. Other than reading source code, are there any other resources (design docs, diagrams, etc.) available to use as reference or is this information just held inside the heads of developers? Brad -

The bottomless pit of mod_jk

2006-02-23 Thread Brad O'Hearne
Pardon any show of frustration here, but I wanted to know if there is any real definitive reference on configuring mod_jk. I've burned 3 full days Googling, endless configuration file editing, tailing logs, etc., and there just seems to be problem after problem. I've worked off of several appar

where can I find server.xml documentation?

2006-02-23 Thread Brad O'Hearne
Where can I find comprehensive documentation on the contents of the server.xml file? Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Configuring mod_jk, and the notion of "webapps"

2006-02-23 Thread Brad O'Hearne
I have been having trouble getting mod_jk to work. After having Googled and read various information on configuring mod_jk (that's the first problem -- we need good documentation without having to Google), I settled on this link which is a pretty good HOWTO: http://www.meritonlinesystems.com/d

Re: Does mod_jk work with Tomcat 5.5?

2006-02-21 Thread Brad O'Hearne
Francis, That's just it though. The file *is* there, named exactly right, is has the same permissions and is owned by the same owner as all the other modules. Is there something else, perhaps another file, that its looking for? Brad Francis Galiegue wrote: 2006/2/21, Brad O&#

Does mod_jk work with Tomcat 5.5?

2006-02-21 Thread Brad O'Hearne
I downloaded the mod_jk binary for my distribution, and the filename was: jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so I placed the file in the httpd modules subdirectory, I then added the load directive in my httpd.conf file using the following line: LoadModule mod_jk mo

Re: configuring mod_jk with apache / tomcat

2006-02-17 Thread Brad O'Hearne
Bump. Does anyone have any idea on these? I need to get Tomcat configured with apache. Thanks! Brad On Feb 16, 2006, at 8:00 PM, Brad O'Hearne wrote: I am trying to get the Tomcat connector configured to connect tomcat and apache and I have two questions: 1) I downloaded the b

configuring mod_jk with apache / tomcat

2006-02-16 Thread Brad O'Hearne
I am trying to get the Tomcat connector configured to connect tomcat and apache and I have two questions: 1) I downloaded the binary distribution for linux, and the filename was: jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so. Is this supposed to be mod_jk? 2) What kind of

Re: Antwort: Re: JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-21 Thread Brad O'Hearne
Carsten, This is a confirmed bug -- I've just spent a couple days wrestling with it myself. It is a logged bug and fixed on the trunk. http://issues.apache.org/bugzilla/show_bug.cgi?id=37044 Brad Carsten Schiller wrote: Jukka Uusisalo <[EMAIL PROTECTED]> wrote on 20.10.2005 17:37:31:

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
custom user principal with the roles. Btw, it appears that this was already logged as bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=37044 B On Oct 20, 2005, at 9:25 PM, Caldarale, Charles R wrote: From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Subject: Re: Bug in Real

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
principal, and broke role authorization. Alasa regression test that escaped... :-) B On Oct 20, 2005, at 9:09 PM, Caldarale, Charles R wrote: From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role author

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
f the code. B Caldarale, Charles R wrote: From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Subject: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization When this statement executes, principal is not a GenericPrincipal, by merits of the request'

Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
All, I have discovered a bug in role authorization when using a JAASRealm and custom user / role principals. In a nutshell, successful authentication in the JAASRealm over a custom JAAS login module results in the JAASRealm pulling the user principal and role principals out of the authenticated

Tomcat 5.5.12 -- Roles being "lost" and causing authorization to fail

2005-10-20 Thread Brad O'Hearne
Hey all, I just got a JAASRealm working in Tomcat, successfully authenticating against my loging module. In my login module, I am successfully storing a role principal "manager" inside the authenticated subject, which Tomcat logging confirms. Immediately after authentication, Tomcat then tries

Tomcat 5.5.12 common/lib jars and classpath

2005-10-20 Thread Brad O'Hearne
I just configured a JAASRealm and a login module for it that authenticates users. I've gotten that to work just fine. But in the process I discovered something very strange. My loging module relies on mail.jar, the JavaMail API. I put my login module and its dependency jars into the common/lib

Re: JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-20 Thread Brad O'Hearne
I'm presently waist deep in my own JAASRealm / JAAS login module / single signon implementation myself, so I'm sorry I can't answer your question directly at the moment. But after I'm through this, I'm going to put together a FAQ and examples and put them up on a website. JAAS authenticatio

Re: Is it even possible to retrieve a custom user principal? (Was: Tomcat user principal)

2005-10-18 Thread Brad O'Hearne
this list that know infinitely more than me but myself and people like Wendy Smoak went through this a while back and when I published my thoughts I didn't get any grumbles. Hell maybe Apache have reworked this. -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED]

Re: Is it even possible to retrieve a custom user principal? (Was: Tomcat user principal)

2005-10-18 Thread Brad O'Hearne
throw (UnknownUserNameException) le; } else if (le instanceof UserPasswordException) { throw (UserPasswordException) le; } else { throw new SystemException(le); } } // Now place the JAAS subject in the session. -Original Message- From: Brad O'Hearne [mailto:[E

Re: Is it even possible to retrieve a custom user principal? (Was: Tomcat user principal)

2005-10-17 Thread Brad O'Hearne
incipal out of the session and call the validation. -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 22:25 To: Brad O'Hearne Cc: Tomcat Users List Subject: Is it even possible to retrieve a custom user principal? (Was: Tomcat user principal) Hel

Is it even possible to retrieve a custom user principal? (Was: Tomcat user principal)

2005-10-17 Thread Brad O'Hearne
f the answer to #1 is yes, how is this done? Does anyone have a working code snippet that demonstrates this? Thanks, I'm about to head to the developer list to ask this question, as its pretty crucial for our security implementation. Brad Brad O'Hearne wrote: Response below: We

Re: Tomcat user principal

2005-10-17 Thread Brad O'Hearne
Response below: Wendy Smoak wrote: From: "Brad O'Hearne" <[EMAIL PROTECTED]> I would have expected that designation of the user class name would have resulted in my being returned the class I specified for the user class name from the requestion.getUserPrincpal() m

Re: Tomcat user principal

2005-10-15 Thread Brad O'Hearne
need to get back my own custom principal, (i.e. the com.redbarnsoftware.web.security.UserPrincipal listed in the realm config), or at least have a way to get to it. Surely there's got to be a way to do this. Any thoughts? Brad Wendy Smoak wrote: From: "Brad O'Hearne" <[EMAIL

Tomcat user principal

2005-10-15 Thread Brad O'Hearne
I am using the JAASRealm for Tomcat 5.x, and in my JAAS module, I am storing my own Principal subclass as the user principal. In my subsequent servlets, when I invoke the request.getUserPrincipal() method, I am not returned my user principal, but I am instead returned a GenericPrincipal. It a