Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Trying to move away from MemoryRealm to using JDBCRealm.

 
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.
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the database jdbc jar and its location...
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic