This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Servlets and the fly likes Realm, Eclipse and MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Realm, Eclipse and MySQL" Watch "Realm, Eclipse and MySQL" New topic

Realm, Eclipse and MySQL

Lenny Peter
Ranch Hand

Joined: Apr 22, 2008
Posts: 52
Can anyone see what is wrong here ...




Server XML

MySql DB ida

Table1: roles: rolename (student)
Table2: user: username (alen), password(esbjerg)
Table3: userrole: username(alen), rolename(student)


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62312

Can anyone see what is wrong here

Yes, you didn't tell us what the problem is.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lenny Peter
Ranch Hand

Joined: Apr 22, 2008
Posts: 52
I cannot log in...something is wrong...username or password or codes?

What can I add to my codes to get print out errors in Console?

It should be hidden or not?
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"

Have you tried LearnNowOnline?
subject: Realm, Eclipse and MySQL