This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Trying to move away from MemoryRealm to using JDBCRealm. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Trying to move away from MemoryRealm to using JDBCRealm." Watch "Trying to move away from MemoryRealm to using JDBCRealm." New topic
Author

Trying to move away from MemoryRealm to using JDBCRealm.

Susan Smith
Ranch Hand

Joined: Oct 13, 2007
Posts: 224
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

Joined: Jul 25, 2008
Posts: 84
check the database jdbc jar and its location...


"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison
~ar~stutzen~
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trying to move away from MemoryRealm to using JDBCRealm.
 
jQuery in Action, 3rd edition