My first thought after looking at your pom - shiro uses slf4j, which 
means you will probably want slf4j-log4j12 to bridge between slf4j and 
log4j.  (http://www.slf4j.org/manual.html#binding)

On Fri 18 May 2012 10:19:56 AM CDT, Paulo Pires wrote:
> Hi all,
>
> First of all, thanks to the project contributors for putting such an
> effort in this project.
>
> Now, I'm struggling to get a simple Web application (just JSP 'stolen'
> from Shiro samples code) to authenticate against a JDBC realm backed by
> MySQL. Everytime I try to log-in the page just reloads again and doesn't
> throw any kind of error.
>
> I've made the project source-code public, so that anyone can look at it,
> and eventually it may become the basis for a tutorial on this. You can
> check it at https://github.com/pires/simple-shiro-web-app
>
> I've tried to debug it, but somehow, my log4j configuration is not
> working properly. I can see a 'shiro.log' file being generated and with
> some output from commons.beanutils, but nothing about Shiro. I only get
> error messages in Glassfish 'server.log' when some property in
> 'shiro.ini' is wrongly configured.
>
> Any help will be highly appreciated.
>
> Thanks!
>


Reply via email to