Why is Tomcat trying to use JAAS?

2005-05-18 Thread Brandon Dove
I've just done a fresh install of Tomcat 5.5.9 and when I start
it up I see the following in catalina.out:

May 18, 2005 4:14:23 PM org.apache.catalina.realm.JAASRealm
setContainer
INFO: Set JAAS app name Catalina

I haven't configured a JAASRealm anywhere -- doing:

grep -i jaas $(find .)

in $TOMCAT_HOME returns no relevant config entries. Why is
Tomcat trying to use JAAS?

Cheers,

Brandon


Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems with filters in 5.5.9?

2005-05-20 Thread Brandon Dove
I recently upgraded from 5.5.4 -> 5.5.9. Now when starting my
app I get the error:

May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext
filterStart
SEVERE: Exception starting filter addressFilter
java.lang.ClassNotFoundException:
com.mycompany.servlet.AddressFilter
[...]
May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext
start
SEVERE: Error filterStart

AddressFilter is located in a JAR that can be found in
/webapps/WEB-INF/lib (as usual) so I'm not sure why it can't
find the class?

Any ideas?

Cheers,

Brandon



Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: Problems with filters in 5.5.9?

2005-05-22 Thread Brandon Dove
Lutz -- thanks for the help but unfortunately even after copying
the jar to the $TOMCAT_HOME/common/lib/ directory I still am
having problems. :(

Anyone else have any ideas?

Cheers,

Brandon

 On Sat, 21 May 2005, Lutz Zetzsche
([EMAIL PROTECTED]) wrote:

> Hi Brandon,
> 
> Am Freitag, 20. Mai 2005 23:01 schrieb Brandon Dove:
> > I recently upgraded from 5.5.4 -> 5.5.9. Now when starting
my
> > app I get the error:
> >
> > May 20, 2005 4:28:10 PM
org.apache.catalina.core.StandardContext
> > filterStart
> > SEVERE: Exception starting filter addressFilter
> > java.lang.ClassNotFoundException:
> > com.mycompany.servlet.AddressFilter
> > [...]
> > May 20, 2005 4:28:10 PM
org.apache.catalina.core.StandardContext
> > start
> > SEVERE: Error filterStart
> >
> > AddressFilter is located in a JAR that can be found in
> > /webapps/WEB-INF/lib (as usual) so I'm not sure why it can't
> > find the class?
> >
> > Any ideas?
> 
> It is strange that this error didn't occur with Tomcat 5.5.4
if I am 
> right with my following assumption:
> 
> From my point of view, your address filter 
> com.mycompany.servlet.AddressFilter must be visible to the
Tomcat class 
> org.apache.catalina.core.StandardContext.
> 
> According to the class loader how-to explaining the class
loading tree, 
> such classes that has to be visible to Tomcat classes cannot
be placed 
> in the shared or WebappX directories:
> 
>
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html
> 
> Try to put your address filter into the common directory. If I
am right 
> this should work after a server restart.
> 
> 
> Best wishes
> 
> Lutz
> 
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> 
> 
> 
> 



Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]