JDBCRealm can't find sqlite file
Posted
by Tom A
on Server Fault
See other posts from Server Fault
or by Tom A
Published on 2009-11-28T02:59:32Z
Indexed on
2010/03/25
18:03 UTC
Read the original article
Hit count: 441
My authentication fails with
java.sql.SQLException: no such table: credentials
where credentials is the name of the user/password table. I have checked the db file and the table is there. I think you also get this error when sqlite jdbc can't even find the file.
I am specifying my realm in a META-INF/context.xml file. Is there any trick to getting the path right? I have tried just about everything I can think of.
© Server Fault or respective owner