This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes JACC Policy Provider: Failed Permission Check -- issue suddenly appeared! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JACC Policy Provider: Failed Permission Check -- issue suddenly appeared!" Watch "JACC Policy Provider: Failed Permission Check -- issue suddenly appeared!" New topic
Author

JACC Policy Provider: Failed Permission Check -- issue suddenly appeared!

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Wasn't sure which forum really suited this so put it under general...

Just wondering, has anyone come across the issue where for no apparent reason Glassfish starts throwing this error:



I have a JSF/EJB app which has been working fine for weeks now, then today I redeployed teh EAr and suddenly started getting this, the error is thrown at the point of clicking any commandButton (essentially a form post) and I can't see anything that is causing it.

I have had a look around the forums but can find no definitive reason.

Cheers

KS
mark dufresne
Greenhorn

Joined: Jul 18, 2009
Posts: 6
Any luck on solving this error? I'm receiving the same thing.
Alex Ka
Greenhorn

Joined: Aug 11, 2010
Posts: 2
I got the same message :


The browser showed:
HTTP Status 403 - Access to the requested resource has been denied

I did an undeploy/deploy and now it seems ok.
mark dufresne
Greenhorn

Joined: Jul 18, 2009
Posts: 6
My apologies for not posting sooner. I also resolved this issue. I performed an un-deploy -> deploy, but I don't remember if that made the issue go away for me. I do remember spending a morning going through the Java EE 6 Security section, then configuring security for my web application, afterwards never seeing this issue again. But I don't know if the issue went away after the re-deploy or the security config.
Alex Ka
Greenhorn

Joined: Aug 11, 2010
Posts: 2
Well, I'm working on a new project so no security configurations involved. It was really strange to see this error.

On the other hand I'm using emergent technologies like PrettyFaces and the new Glassfish, I'm tweaking the server and playing with Java EE 6 (maven+hotdeploy) so normally I would break something and then have to check what went wrong and how I should use the technology.

It's good that the problem disappeared after cleaning up.
mark dufresne
Greenhorn

Joined: Jul 18, 2009
Posts: 6
I am receiving the error again... so both suggestions I gave earlier are suspect to fixing the issue in my case... hope I didn't lead anyone down the wrong path... I guess I'll be checking my security configuration again...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JACC Policy Provider: Failed Permission Check -- issue suddenly appeared!
 
Similar Threads
How to: use Form based auth via JDBCRealm:oracle in Glassfish 3.0
Cannot able to start the Admin Web console of Glassfish v3.1
cant load the admin console in glassfish v3
Trouble with FORM auth method in JSF login process
Cannot initialize endpoint : error is : Java heap space|#] and server won't start