Re: Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-17 Thread Joacim Turesson

Thank you for the help!

The problem was that I was using '*' as role name in web.xml, as you 
probobly guessed.


Best Regards

Joacim Turesson

Velpi wrote:


I'm currently running my webapplication using Tomcat 5.5.12 and it 
works great.
When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the 
webapplication using Form based (or Basic) login with Memory Realm 
(in my development area).

maybe it has something to do with this:
http://issues.apache.org/bugzilla/show_bug.cgi?id=15570

--Velpi

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




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



Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-15 Thread Joacim Turesson

Hi!

I'm currently running my webapplication using Tomcat 5.5.12 and it works 
great.
When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the 
webapplication using Form based (or Basic) login with Memory Realm (in 
my development area).


The webapplication is written in struts and all resources are restricted 
in the web.xml.
In the webapplication I have a UTF8 filter, and the tomcat connector is 
running with UTF8.

The login in page in jsp is ISO-8859-1.

I get a The page isn't redirecting properly in Firefox 1.5, when I run 
with Tomcat 5.5.12 it just works.

In IE I get an never ending loop...

I runned Tomcat with DEBUG and got Failed accessControl in 
authenticator.AuthenticatorBase.


Best Regards

Joacim Turesson

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



Form based login with UTF8 and Tomcat

2006-01-09 Thread Joacim Turesson
Hi!

 

First of all, I’m sorry for my empty mail.

 

Now to my question.

 

I have trouble with UTF-8 and form based login with Tomcat 5.5.12 together
with Apache 2.0.55 using mod_jk 1.2.15.

I have a struts based application that works fine with UTF-8, but the form
based login using jdbc realm don’t work with åäö.

 

I added URIEncoding=UTF-8 the connectors in server.xml, and the
application has a filter matching “/” (in web.xml) that encodes to UTF-8 as
described in
http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n_p.html

 

Before when I used ISO-8859-1, form based login in Tomcat worked fine with
åäö. 

 

Thanks in advance!

 

Best Regards

 

Joacim Turesson