This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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~
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to move away from MemoryRealm to using JDBCRealm.
 
Similar Threads
include doesn't recognize relative path from sub folder
File upload - Error 404 - servlet not available
Null Pointer while loading the keystore
error when run application on tomcat 5.5
Hibernate code not working on Linux Server