Running Application Module tester with ADF security

Hi, I use JDeveloper 11.1.1.6 and recently activated ADF security on my request. Now when I try to run the Application Module Tester by right click on the request form and say run I get the following error. I get the JAAS prompt to enter my credentials, but no matter what I put, I get the following.

oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.adf.share.security.ADFSecurityAuthenticationException, msg = EXC_NO_AUTHENTICATION_SERVICE
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
... 13 more
# # 0 in detail
oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

Also, I have tried to disable the security of the ADF and the request module Tester then works fine but I need to run it with security ADF is turned on. Someone knows how to fix this?

Thank you.

I understood the question. It seems that I had to remove the library "ADF generic Runtime ' libraries and Classpath of the project of my model parameters. Does anyone know why having this library referenced in your project settings would cause this issue? I also had to delete this reference from the library to a project to generate a web service proxy in the past, it seems to cause a few problems when they are associated with libraries and Classpath for a project or even associated with a library that depends on another library. Can anyone provide any indication regarding the library and why it causes so many problems? You can recreate this issue on demand by adding the library "ADF generic Runtime ' to your template with ADF security project and then activated by running the module of the application by clicking on it and say run.

Tags: Java

Similar Questions

  • running application module (AM) from a secure application of ADF

    Hello gurus,


    If you can put some lights on the following problem on which I'm stuck, then I have will greatly appreciate it.

    After the security application in my application of ADF, when I try to launch the application module (AM) she prays for principal and credentials. I don't understand what I should give here. Do you have a solution to this?

    Thanks in advance.

    Hello

    find the menu, choose Application--> Secure--> users and create a user account. If you have enabled not only authentication but authorization too, you must also create roles. The main thing is the user name.

    Frank

  • Application Module test authentication fails

    Hi all

    I try to run the application module tester to test my ejb object using the menu run.

    But it shows the JAAS security dialog box and asks the principle and identification information.

    I try weblogic/weblogic1 and database user/pass but it shows failure of authentication.

    What name of user/pass should I fill out?


    Thank you

    Hello

    go to the Application > Secure > users and groups and create new users and roles

    Kind regards

    Branislav

  • How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11

    How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11


    determines which users can access the application
    determines what features users are allowed to run after they enter the application

    demonstration of pleas for me step by step.

    Step by step would begin it with 'research forum,' that this issue has been discussed several times already.

  • [Help needed] Several errors in X 40 with ADF security with or without custom login page

    OTN greetings community, I'm sorry to bother you again, but I need help again once, links to the relevant files (pastebin and imgur) are on the bottom of the post in the meantime ill try to explain my situation.

    I use version 11.1.1.7.0 for JDeveloper with (I assume) updates all of the current side.

    In my efforts to learn more about ADF, I had finished the Apps to build with ADF I guide I produce a 'simple' application to manage contacts, companies and their places of activity.

    With all my functions done and tested semi (small scale) I went ahead and and tried implement security.

    So, with the help of Andrejus Baranovskis Entry of Blog (have been using his blog as a source of information, has contributed to many situations, especially related bean) and fireboxtraining (Part1 and Part2) youtube videos, I have 2 pages, a Login Page (a dispatcher Panel 1 facet has only text showing the user names and passwords connection and the 2nd input text facet 2 related to the bean requesting the user name and Word 3rd password a button that calls the doLogin method) and an error page displays just the text.

    So after you have enabled security, create 2 users, create 2 roles of the company, creating application roles 2 and associating all 2 grants of right one to each role app giving privilege to see on the pages I want, I developed (my goal is that in the homepage, using a mixer according to user's role would display a region that all data can be changed or another that all data is read-only but I don't that have not yet implemented).

    So I went on the test page and unfortunately I hit the 1st wall would not display the login page (seemed to be always be update a blank page in firefox) so I checked if the pages are in the anonymous role and they were. So, as I saw in the video I deleted the page definition files in the Databindings.cpx file and I am past the 1st obstacle has shown the login page. So I typed the username and passwords and I hit my second wall (error 404 - Not found), I saw the code, debugged it and found that he wouldn't be able to hang or something like that (forgive me for my brutal inexperience) then I disabled the security and reactivated with pages of default form, and when it prompted me to type the user name and password I had hit my 3rd and last wall (error 401 - no allowed) which we I didn't wait, I went in the jazn-"Data.xml" and looked if the grants/permissions/roles were ok, in my inexperience, I don't find any problem, so beat I come here to seek support.

    Code:

    MyLoginBean

    MyJazn-"Data.xml"

    MyWeb.xml

    Error logs:
    OnDeployment

    OnLogin

    Screenshots:

    404 full

    401 full

    Sorry for the long post and to put the code in another site (not wanted to put this post more than it already is).

    Thank you very much for your time and your support.

    Hello

    Article http://www.oracle.com/technetwork/issue-archive/2012/12-jan/o12adf-1364748.html

    comes with a sample download, run and explore.

    http://www.Oracle.com/technetwork/issue-archive/2012/12-Jan/o12adf-524995.zip

    It includes all your use cases. So I suggest that start here

    Note that following the code has experienced problems with recent versions of the IDE instead of a side server before we recommend (and will amend accordingly our documentation) to use a redirect on the facesContext--> externalContext instead (I'm typing through while it's not his apparent

    recommended and more)

    ' Private Sub sendForward (HttpServletRequest, HttpServletResponse response, forwardUrl String query) {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    RequestDispatcher dispatcher = request.getRequestDispatcher (forwardUrl);

    try {}

    Dispatcher.Forward (request, response);

    } catch (ServletException to) {}

    reportUnexpectedLoginError ("ServletException", is);

    } catch (IOException ie) {}

    reportUnexpectedLoginError ("IOException", IE);

    }

    ctx.responseComplete ();

    }

    Frank

  • How to send an application for testing with UDID #s?

    I read through the Adobe IOS companion edition Guide Professional and Enterprise Edition.

    I recorded UDID # s users I want to test my application, in accordance with the instructions starting pg 38.

    I have no idea how to proceed now, to get the application to users.

    Any help is appreciated!

    Thank you!

    Bruce

    Go to developer.apple.com

    Create your certificates

    Add devices (including the UDID)

    Create Provisioning profiles

    Create some ipa in DPS App Builder using these certificates.

    Download .ipa and sync to the device added to the Developer Portal.

    If you ever add devices on the portal, you must recreate the provisioning profiles and recreate the app in the DPS App generator before you test on this device.

    Hope this clears all your doubts.

    Yasin

  • Application Module Tester classpath

    Hi all

    I use JDeveloper 11.1.2.1.0.

    Where can I change CLASSPATH var, used by the Application Moudle Tester?


    Thank you!

    Published by: user6806750 on 17.05.2012 09:40
    Upward

    Try the options Java runtime projects model. Then you will find under the project of managed properties node, it change the configuration of default ruin.

    Timo

  • Problem with adf security

    Hi Experts ADF,

    I use Jdeveloper 11.1.1.6.

    I created a simple application using ADF, it contains 2 jspx page.

    Now, I got my app ADF with only ADF using the form based authentication and authentication.

    ju.png

    I use default login.html, but I changed the user interface of login.html.

    When I run my application my login page doesn't show any image or css does not work.

    Even if my Css and images are outside WEB - INF

    Well, if you're sure it's the same problem as thread so that you can use approach similar to this: https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with

    Dario

  • Number of Login ADF pages with ADF security

    Hi all

    I created a login using Jdeveloper 12 c page. I created this based on a demo of youtube video connection. (https://www.youtube.com/watch?v=mAWBezngA1s)

    When I tried to enter username and password and click on the "connect" button, the login page becomes just refreshed and not be re-directed to the homepage (protected.jsf).

    The code that is executed when clicking the "connect" button is as below.

    In Jdeveloper console, I can see that get printed "coming here...". ». "Come here...". »

        public String doLogin() {
            String un = userName;
            byte[] pw = password.getBytes();
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getRequest();
            Subject mySubject;
            try {
                mySubject = Authentication.login(new URLCallbackHandler(un, pw));
                ServletAuthentication.runAs(mySubject, request);
                ServletAuthentication.generateNewSessionID(request);
                String loginUrl = "/adfAuthentication?success_url=/faces/protected.jsf";
                HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse();
                RequestDispatcher requestDispatcher = request.getRequestDispatcher(loginUrl);
                requestDispatcher.forward(request, response);
                System.out.println("Coming Here....");
            } catch (FailedLoginException e) {
                FacesMessage msg =
                    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Invalid username or password",
                                     "Invalid username or password");
                ctx.addMessage(null, msg);
            } catch (Exception e) {
                System.out.println("In Exception....");
                FacesMessage msg =
                    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Error caught in Exception", "Error caught in Exception");
                ctx.addMessage(null, msg);
            }
            return null;
        }
    

    I created the user-> business-> Application role role. Also given A newly created page protected.jsf to the application role.

    I tried to replace 'protected.jsf' 'xyz.jsf' (scheduled to get an error because there is no page called xyz.jsf), but refreshes him just screen, do not throw any mistake also.

    Could you please let me know what could be the problem.

    I would like to know if I need to provide more details.

    See you soon

    AJ

    Live view is registered in jdev 11 GR 2.

    One of the big differences between 11 billion and 12 c is the default behavior for the button component.

    11 g af:commandButton a partialSubmit = false, while in 12 c af:button a partialSubmit = true by default.

    For example, the value partialSubmit = "false" on your login button.

    Dario

  • Problem with ADF Mobile on Android

    Hello

    I am trying to perform a very simple test with adf mobile on android emulator.

    But when I try to open the application, the startup screen never changes.

    Only when I go to the menu and go back to the application in the menu device, it shows the main screen.

    And...

    When I try to open a page very simple amx, the app launch a message that says:

    Failed to initialize the AdfcContext {classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ;}}

    Can someone help me?

    I use:

    Framework Mobile ADF oracle.adf.mobile 11.1.2.4

    SDK Android 22

    Message: http://db.tt/mIqcekCI

    Journal: http://db.tt/0frlguNq

    Thank you!

    Hi, there, a number of things to double check your settings of the emulator:

    • When the Android emulator configuration, make sure that the emulator emulates the ARM processor (armeabi - v7).  ADF Mobile works only with the ARM processors - device so the emulator.
    • Under Options, memory, please ensure that RAM is at least 768 or higher.  It is of course also constrained by the amount of memory that your development computer has, but in general, you should have at least 768 MB allocated.  ADF Mobile app itself will almost RAM of course, but there are lots of Android apps that are started in the background when the Android emulator starts.
    • Also make sure, there are 500 MB of internal storage configured - you can go as low as 200 MB, but the space will be quickly.

    Finally, compile/deploy again, please open JDeveloper menu Build - Clean all to clean up any left over deployment artifacts.

    Thank you

    Joe Huang

  • Test application modules require authentication with JUnit

    Hello
    I just read John Stegemans great article on testing with jdeveloper 11g oracle business components:
    [http://www.oracle.com/technology/pub/articles/adf-development-essentials/part5.html]
    Thank you very much.

    I tried to write a test unit using the [Oracle Fusion order demo Application | http://www.oracle.com/technology/products/jdev/samples/fod/index.html].

    1 import the Fusion order Demo Application
    2. new project created "StoreFrontSerciceTest."
    3. Finally created a Testsuite in Componten new business using the wizard, as described by the blog.

    When I run AllStoreServiceAMTest, all objects view and entity tests fails with 'error', because there is no security context:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS-Anmeldefehler.    
    Authentifizierung nicht erfolgreich.
         at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:122)
         at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:91)
    ..
         at oracle.fodemo.storefront.adfextensions.FODApplicationModuleImpl.prepareSession(FODApplicationModuleImpl.java:23)
    All Tips how I can write application security with extension modul tests?
    In particular, in a real-life project, we'd like to test differnent behavior of the services (application modules) dependend on the role of authentication.

    How to set security information when creating the application module in the device:
    public class StoreServiceAMFixture {
        private static StoreServiceAMFixture fixture1 = new StoreServiceAMFixture();
        private ApplicationModule _am;
    
        private StoreServiceAMFixture() {
            _am = Configuration.createRootApplicationModule("oracle.fodemo.storefront.store.service.StoreServiceAM","StoreServiceAMLocal");
        }
    ..
    }
    See you soon
    Stefan

    Hello Stefan,

    Even though it is a little old, take a look at section 24.8.5 [URL http://database.in2p3.fr/doc/oracle/Oracle_Application_Server_10_Release_3/web.1013/b25947/web_testdebug008.htm] this

    John

  • JUnit test of an ADF application when you have nested application modules

    Hello

    When you set up a device for JUnit test in the model of the ADF, and you have nested application modules, there are advised to have a class of the device for each module of the application, or create a luminaire of class for the root application module and access somehow nested those there for view objects you want to test JUnit , or have a luminaire of class and somehow reference the individual nested application of this class modules? Everything I've read about JUnit test of an ADF application only shows an application module in the template project.

    Thank you.

    I have used with success that one category of luminaire for my application module root, and then in my test case files I can reference the application embedded this suff module.

    Example:

    The TestAMFixture.java file is where you describe the application module you want to use. This file and others, is what is generated when you let JDeveloper create your Business Component Test Suite (chosen from the New Gallery):

    The constructor of this file is where the application module is defined:

    public TestAMFixture() {}

    _testAm = Configuration.createRootApplicationModule (amDef, Config);

    }

    In my test for the projectVO scenario file, I'm testing a required attribute in a display object, so I need to access the view object that is in a nested application module:

    ViewObject _projectVO = fixture1.getApplicationModule () .findViewObject ("ProjectAM1.ProjectVO1");

    fixture1 is a reference to the TestAMFixture class. getApplicationModule() is a method in this class that returns the application root module I set in the TestAMFixture constructor. ProjectAM1 is the nested application module and ProjectVO1 is the view object where the attribute is that I will test.

    For a better explanation, please see these references, I used.

    https://www.YouTube.com/watch?v=zgyyyHKT3i4

    Unit test your Application with JUnit

    Nested Application modules

  • ADF Code Corder 42: by using a < af:poll > with an Application Module

    Hi all

    With the help of JDev 11.1.2.3.0.

    I worked to solve this puzzle for a while.  I'm trying to implement a simplified version of the ADF Code corner #42 (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf)

    The thing is that my 'business ' service is running in my module of the application.  In short, I take 10,000 rows to view object and run through a few different algorithms.  It would be nice to give a report during this operation.  However, as soon as I start my method of request module, my component < af:poll > end, refusing to update the current page.

    I watched a lot of sites tutorials to try to solve this problem.  I try to stay within the limits of the ADF Essentials which means no ADVERTISING, only of the poll.  Here are some of the best references:

    GEBS | Oracle Fusion Middleware 11g ADF progress indicator

    Refresh the page periodically by using survey components |

    Their service 'business' in the managed bean and the other simply re - runs a page runs a view object.  I can't find a site that will their own business service and surveys it.  Here's what I have:

    Application module

        private long uploadStatus;
    
    
        public void doUpload() {
            long max = this.getMaximum();
            for(this.uploadStatus = 0; this.uploadStatus <= max ; this.uploadStatus += 500){
                System.out.println("@ " + this.uploadStatus);
                try {
                    TimeUnit.SECONDS.sleep(1);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
            System.out.println("Upload Complete");
        }
    
        public long getStatus(){
            return this.uploadStatus;
        }
    
        public long getMaximum(){
            return 10000;
        }
    

    Backing Bean

    public class ProgressBarModel extends BoundedRangeModel {
    
        private long max;
        private long status;
    
        Thread newProgress = null;
    
        public ProgressBarModel() {
            this.getMaximum();
            this.getValue();
        }
    
        @Override
        public long getMaximum() {
            // Not best practice. Should get through page def method operation
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.max = am.getMaximum();
            return this.max;
        }
    
        @Override
        public long getValue() {
            System.out.println("polling ...");
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.status = am.getStatus();
            return this.status;
        }
    
        public void doUpload(ActionEvent actionEvent) {
            if (newProgress != null) {
                newProgress.interrupt();
            }
    
            ProgressUpdater progressSimulator = new ProgressUpdater();
            newProgress = new Thread(progressSimulator);
            newProgress.run();
    
        }
    
        public void stopUpload() {
            newProgress.interrupt();
            newProgress = null;
        }
    
        class ProgressUpdater implements Runnable {
            public void run() {
                AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
                am.doUpload();
            }
        }
    
        public long getPercentageUploaded() {
            long state = this.status * 10 / 10000;
            if(state >= 100){
                this.stopUpload();
            }
            return this.status * 100 / 10000;
        }
    }
    

    JSPX

    <af:panelFormLayout id="pfl1">
                                    <af:poll id="pollid" interval="1000"/>
                                    <af:outputFormatted value="#{MyProgressRangeModel.percentageUploaded}% completed"
                                                        id="of1" partialTriggers="pollid"/>
                                    <af:commandToolbarButton actionListener="#{MyProgressRangeModel.doUpload}" text="Run"
                                                            id="ctb1"/>
    </af:panelFormLayout>
    

    Give me the result

    polling ...
    polling ...
    polling ...
    @ 0
    @ 500
    @ 1000
    @ 1500
    @ 2000
    @ 2500
    @ 3000
    .... // up to 10000
    Upload Complete
    polling ...
    polling ...
    

    How can I get the survey allows you to control when the method of the module of an application is running?  Use more than one module app, for inclusion in the database and the other for monitoring?

    Thank you

    Will be

    I went with that instead

    How I finally reached updates to asynchronous UI with WebSockets and JMS

  • Help trying to set up the ADF security for an application

    Hello

    I create in my application a masterTemplate.jsf page, then a page home.jsf which has the page masterTemplate.jsf as its model.
    I activated the ADF security in my application and set the permission of "view" for the anonymous role homePageDef.
    When I run the app on JDeveloper integrated server with debugging options, this is what I get in the console:

    [JpsAuth] Check permissions
    PolicyContext: [related]
    Goal/resources: [view.pageDefs.homePageDef]
    Action: [see]
    Permissions class: [oracle.adf.share.security.authorization.RegionPermission]
    Result: [FAILURE]
    Reviewer: [VAC]
    ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@68ffab0a failed
    CodeSource=file:/C:/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
    School principals total = 2 principals)
    1 JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl 'anonymous' GUID = null DN = null
    (2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl 'anonymous-role' GUID = null DN = null)
    Permissions =)
    ("java.io.FilePermission" '\C:\oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar', 'read')
    ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context = SYSTEM, mapName = *, keyName = * ' ' * ')
    ("java.util.PropertyPermission" "line.separator" 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.vm.version', 'read')
    ("java.util.PropertyPermission" 'java.vendor.url', 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.vendor', 'read')
    ("java.util.PropertyPermission" "java.vm.name", "read")
    ("java.util.PropertyPermission" "os.name" 'read')
    ("java.util.PropertyPermission" 'java.vm.vendor', 'read')
    ("java.util.PropertyPermission" 'path.separator' 'read')
    ("java.util.PropertyPermission" 'os.version' 'read')
    ("java.util.PropertyPermission" 'java.specification.name', 'read')
    ("java.util.PropertyPermission" 'mds.store.filesystem.path', 'read')
    ("java.util.PropertyPermission" 'os.arch' 'read')
    ("java.util.PropertyPermission" "java.version", "read")
    ("java.util.PropertyPermission" 'java.class.version', 'read')
    ("java.util.PropertyPermission" "java.vendor" 'read')
    ("java.util.PropertyPermission" 'file.separator' 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.name', 'read')
    ("java.util.PropertyPermission" 'java.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.specification.vendor', 'read')
    ("java.lang.RuntimePermission" "stopThread")
    ("java.lang.RuntimePermission" "exitVM")
    ("java.net.SocketPermission' 'localhost:1024' - 'Listen, resolve')
    (oracle.security.jps.service.policystore.PolicyStoreAccessPermission name of the context: APPLICATION: * Actions: getApplicationPolicy)
    )
    Call stack: java.security.AccessControlException: access denied oracle.adf.share.security.authorization.RegionPermission/view.pageDefs.homePageDef/view

    If the page has no definition of the pages behind, the application starts correctly because it does not need to check security for this page. The minute I create a page for the home page definition and set the permission for anonymous role, the failure message above rises.
    Can you please help me solve this problem? Is this something that is not in the configuration steps?

    Thank you
    Mircea

    Hello

    If the model also has a file PageDef, this file need to go to grantedb as well

    Frank

  • Cannot run the application module in a project of (Model) generic in BPM application

    I use jDeveloper 11.1.1.6 and I want to add a generic or a model for a BPM application project, in order to develop the custom user interface.
    but when I created an application module with associated and then java class do a right click on it to run, I saw the following error message:

    (oracle.jbo.ConfigException) Houston-33001: tester.xcfg Configuration file is not found in the classpath.

    more when I use a merger Web application instead of BPM application, with the projects of model and view controller, there is no problem and I am able to run the module of the application.

    Thank you very much for your contribution.

    Comment the mds-config section in your adf - config.xml temporarily and try. It will work

Maybe you are looking for

  • Satellite L450D - cannot use the product recovery disc

    Hello I'm new to this forum and have spent 3 days reading this and other forums to try to solve my problem, I found a lot of answers, but none does not work for me so I'd see if I could get the thought some very great need help here. Now, I have the

  • XP does not restart in safe mode or any mode.

    clicked on "Download updates and shutdown". Morning then tried to reboot and XP does not restart in any mode. Continues to rerun initial time and again, go to the 'mode' screen for 25 seconds and then starts again.

  • XP Pro sp3 updates fail

    Updates are set to notify and in recent weeks when the icon is clicked on a page with a list (of long) is presented and when you click it to download a few seconds the router activity ago then the action stop and the icon disappears.  Updates fail. 

  • My Toshiba Satellite is suddenly very slow to start.

    I had this problem last October and found a solution really simple online that worked perfectly, but I don't remember what I did!  It was very quick and easy, and according to me, it had to do with the deletion of something that has been fully in the

  • IMPOSSIBLE TO DISABLE THE NATIVE START NARRATOR

    I can't disable the Narrator at the start.   I crossed the start list and uninstall the program, and the NARRATOR IS NOT YET LISTED?   How do I uninstall or get rid of a program that is NOT LISTED? Help, please...