Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Trying to move away from MemoryRealm to using JDBCRealm.

 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to move from using MemoryRealm to JDBCRealm.

This is what I have done:
1. Create table called "users" with two columns: "user_name" and "user_pass"
2. Create table called "roles" with one column: "role_name"
3. Create table called "user_roles" with two columns: "user_name" and "role_name"
4. Comment out this part:
5. Enable this part:


But it doesn't seem to work. I look at Tomcat log and it shows me this.


Am I missing some steps?

Thanks in advance for all the help.
 
Arvind Subramanian
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the database jdbc jar and its location...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!