• Post Reply Bookmark Topic Watch Topic
  • New Topic

Failing to retrieve DB data, JACC Policy Provider  RSS feed

 
Vasilis Souvatzis
Ranch Hand
Posts: 94
1
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good evening people, I'm in need of your help

First of all, I configured my application using this video. In a nutshell, I configured the JDBC Realm and Connection Pool, created two sections (for admins and users) and I'm trying to mess with basic CRUD operations.

Now, I have a Register page (I guess it's outside of admin or user content) and I can persist new Users to the DB.

If I'm logged in as an Admin, I want to see all of the Users info in a page. This page is in the Admin section and I guess it's restricted from other user groups.

When I try to retrieve entities from the DB and show them on the page, I'm presented with this exception (line 89) which I believe doesn't grant me access to the query that my EJB executes.

Why does that happen? Maybe the admin section doesn't have access to the DB?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!