Pages

Tuesday, November 12, 2013

My Contribution towards OTN Forum

How I was started into OTN Forum?


When I was new to Oracle ADF, Whenever I got stuck up. Just I do Google. Most often, the results would be OTN forum posts. So, BTW, I started. Once I got to read their issues for a moment. At the end of the post answer can be found.


Very Often my issues have not posted by any one ever!!! Just I do login into OTN forum there I start to post my question.
While I was a Newbie, Most of the folks guided me to achieve the output. I had to thank them all.


Recently, I have got this Title.
                                         



One of the Top Participants in ADF UI Patterns & Best Pratices


 


Subramanian Meyyappan

ADF Security - JpsAnonymousRole Problem In Jdeveloper R1 Release

When I'm new to using
 Jdeveloper 11.1.1.6.0 and 
 Jdeveloper 11.1.1.7.0 

while i'm configuring ADF-Security to my Fusion web application.

[02:18:37 AM] Deploying Application...
<CodebasePolicyHandler> <migrateDeploymentPolicies> Migration of codebase policy failed. Reason: {0}.

oracle.security.jps.JpsException: java.lang.IllegalArgumentException: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl

I got above error in those two Jdeveloper specific version only.   
I worked with Jdeveloper 11.1.1.4.0,11.1.1.5.0,11.1.2.4.0 Nothing like error reproduced. Apart from development. I wasted most of the time for investigation about this error. 

Don't ignore error which you had.Above error is not a show stopper.it will allow you to run the application. but you can get expected output.

To Avoid that,

<app-role>

<name>anonymous-role</name>

<class>oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl</class>

<display-name>anonymous-role</display-name>

</app-role>

Just remove this part of xml code from your jazn-data.xml.

Now your application will not re-produce any error log as of previously. it will works as you expect.