https://issues.apache.org/bugzilla/show_bug.cgi?id=53047

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> 
2012-04-10 17:50:37 UTC ---
(In reply to comment #2)
> When userRoleTable is not defined the JDBCRealm simply queries table "null".
> allRolesMode="authOnly" ... It's in the title!

Duh.

> Apr 10, 2012 11:50:00 AM org.apache.catalina.realm.JDBCRealm getRoles
> SEVERE: Exception performing authentication
> org.postgresql.util.PSQLException: ERROR: relation "tomcat_role" does not 
> exist

Can you give the full stack trace, please?

> Apr 10, 2012 12:02:55 PM org.apache.catalina.realm.JDBCRealm getRoles
> SEVERE: Exception performing authentication
> org.postgresql.util.PSQLException: ERROR: syntax error at or near "null"

Same here, if it's different.

Also, can you try with DataSourceRealm? I know it's a bit more work to
configure, but it might be a problem across both of these JDBC-based realms and
we may as well fix it for both.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to