ADF Essentials and JAAS

Hello.
Using JDeveloper 11.1.2.3
ADF Essentials - Glassfish 3.1
I'm trying to use FORM type (web.xml) security in my adf essentials application. I created a login.jspx page, but I don't know how can I call the j_security_check from my page because the af:form does not have an action attribute. I wonder if I can call it from a managed bean. I've read this doc:
Enabling ADF Security...
[http://docs.oracle.com/cd/E15523_01/web.1111/b31974/adding_security.htm#BGBGJEAH|http://docs.oracle.com/cd/E15523_01/web.1111/b31974/adding_security.htm#BGBGJEAH]
But as I'm using ADF Essentials, I think I cannot follow that solution.
can anyone help, please?
Regards,
Alexis

Essentials comes without the Normal Oracle security. Check out https://blogs.oracle.com/emeapartnerweblogic/entry/adf_essentials_security_implementation_for and http://jobinesh.blogspot.com/2013/02/securing-your-adf-applications-using.html for our other solutions.
Timo

Similar Messages

  • ADF Essentials and Glass Fish Server

    Hi,
    I am developing an application using ADF Essentials and GlassFish Server. Is it similar to J2EE Application?
    Regards,
    Jayashree V.

    Oracle ADF based on j2ee technologies. hosting is similar as j2ee ..
    But for normal ADF, only few app server is certified to host.. regarding ADF essential you can host on glass fish as well
    see this
    https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to
    A Configuring GlassFish Server
    Setting up Oracle ADF Essentials on GlassFish Server - YouTube
    https://docs.google.com/file/d/0B2P-p644ex5jYnllSWt6amlXQmM/edit

  • Difficulty with ADF Faces/ADF Essentials and Glassfish

    Hi all,
    I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
    My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
    I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
    Here is the log file:
    [#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
      at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
      at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)
    Here is the method where it fails:
        public String createPaymentReceived() {
            AppModuleImpl appModule = this.getAppModule();
            ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
            Row paymentRow = paymentReceivedVOI.createRow();
            paymentRow.setAttribute("CheckNumber", prCheckNumber);
            paymentRow.setAttribute("PaymAmount", totalSelectedValue);
            paymentRow.setAttribute("PaymentComment", prComment);
            paymentRow.setAttribute("PaymentDate", prPaymentDate);
            paymentRow.setAttribute("PaymentType", prPaymentType);
            paymentRow.setAttribute("TrackId", prTrackId);
            appModule.commitOperation();
            DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
            Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
            while (selectionIt.hasNext()) {
                Object rowKey = selectionIt.next();
                unpaidPaymentItemsTable.setRowKey(rowKey);
                int index = unpaidPaymentItemsTable.getRowIndex();
                JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
                Row selectedRow = row.getRow();
                selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
                selectedRow.setAttribute("PaymentDate", prPaymentDate);
            appModule.commitOperation();
            prCheckNumber = null;
            totalSelectedValue = 0;
            prComment = null;
            prPaymentDate = new Date();
            prTrackId = null;
            prPaymentType = "K";
            refreshTableIterator("VendorPaymentItemsView1Iterator");
            refreshTableIterator("VendorPaymentsReceived1Iterator");
            return null;
    it fails on the second appModule.commitOperation() (which I've bolded)
    if anyone can give a clue to what I'm misunderstanding I'd really appreciate it.  I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
    Thanks so much to anyone who's got the time/knowledge to help.
    Bob

    That doesn't seem to make any difference.  It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
    A few more details that seem relevant - it's not only this method that fails.  Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
    I've also replicated this behavior in Tomcat.
    Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl.  This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class.  The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
    It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found.

  • Can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?

    can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?
    what the difference between ADF Essentials 11.1.2.3 and Application Development Run time 11.1.1.6 ?
    can i use ADF Essentials 11.1.2.3 instead of Application Development Run time 11.1.1.6 to deploy application (contains many jsf pages with rich faces and many taskflows and BC4J) ??
    i'm using jdeveloper 11.1.2.3.0 and weblogic 10.6 installed on the Linux server

    Hi,
    JDeveloper 11g R1 (11.2.3) supported as ADF essentials and running on WebLogic 10.3.6 are the same releases. The difference is that a path is needed if you want to deploy the software on WLS 10.3.6. Quoting the release notes:
    +"The ADF Runtime will be installed into a standalone application server by applying an Opatch bundle on top of a 11.1.1.6 version of the Application Developer Runtime environment. In the event that additional patches are needed or desired in addition to the 11.1.2.3.0 patch (for example, if an additional patch is needed for another component in the Application Development Runtime installation), those patches will need to be installed separately.+
    +Important note: The patch is intended to be applied to an Application Developer Runtime installation. Applying the patch to a different installation type (for example, Oracle SOA Suite or Oracle WebCenter) is not supported."+
    Release Notes: http://www.oracle.com/technetwork/developer-tools/jdev/11gr2update3-1851251.html
    For Glasssfish you don't need to patch the server and only install the ADF runtime libraries - also explained in the Release notes.
    Frank

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and authorization.
    How can I accomplished it? Any idea?
    Thanks,
    AP

    Shay,
    1. I created blank ADF project
    2. I copied myreport.jsp file (this one was generated by Oracle Report Builder) under ..ViewController/public_html directory
    3. Created directory 'lib' under ViewController/public_html/WEB-INF/lib
    4. Copied reports_tld.jar file under the directory created in 3.
    5. Created simple jspx page with the af:link (btw af:goLink does not exists in JDev 12c), set 'destination' to myreport.jsp
    After the steps above I could not even compile the application, many problems too many to list here, Basically JDev is trying to build the project with .jsp file generated in Report Builder and is unable to.
    So to be sure we are on the same page: I am trying to embed JSP report files generated by Report Builder into ADF project, then create EAR file and deploy on standalone WLS. Finally execute JSP web only report.

  • JDeveloper 11.1.2.3 on glassfish 3.1.x: problem with new adf-essentials.zip

    Hi,
    in order to get a simple web app deployed on glassfish 3.1.2 i tried to repeat all steps from the video below
    https://blogs.oracle.com/shay/entry/glassfish_extension_for_oracle_jdeveloper
    any application, whether it's adf or just an one-item-page web application without model project,
    fails with the error :
    "Class oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver not found"
    now i just repeat the deployment of the J2EE web app - war file
    when i comment the respective block in web.xml
    <!--context-param>
    <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
    <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
    </context-param-->
    i manage to deploy but the application doesnt' work failing with exception 500
    javax.servlet.ServletException: null source
    java.lang.IllegalArgumentException: null source
    i notice that the old adf-essentials.zip archive pictured in video contains much more libs and weights 3 time more than the one i downloaded yesterday (21M)
    What's wrong with oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver
    or what's wrong with adf-essentials.zip?

    hi,
    so the patchset's size is correct, alright, but i didn't move any further from there.
    actually i've followed to the steps you provided in the blog thoroughly, anyway, i repeated from scratch on new glassfish installation:
    adf-essentials.zip unzipped with -j option , e.i. into current ..glassfish3/domains/domain1/lib directory,
    2 jvm parameters set as shown,
    both model and view projects' deployment platform property set to glassfish3.1
    same error message:
    [#INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-2;|Exception Occurred :Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Source Document: web.xml
    Cause: Unable to find class 'oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver'. Please see server.log for more details.|#]
    BTW, Andreas Koop at his blog found at http://multikoop.blogspot.co.uk managed to make it run as well, not me...
    what do i miss or is it just a bad luck?
    PS Neither can i run a simple sample on apache 7, it's deployed but can't be started
    the only one that works for me is an oracle's rcf-dvt-demo.war on apache 7...

  • Web services - ADF essentials

    HI All
    i am using ADFessentials for a project, and as the doc states, the web service data control is not available.(i am using 11g release 2)
    Which would be a viable way to implement web services for essentials, and also use the existing structure of application modules, view and entity objects etc.
    Thanks in advance

    Hi,
    The Web Services Data Control is not used with ADF BC AM modules. This is an misunderstanding on your side. If you considered WebService Data Control to access the WS, then the replacement is to create a WS proxy client and then create a POJO DC
    Watch this for a full coverage of options: ADF Insider: How-to Integrate SOAP and REST Services in Oracle ADF
    Frank

  • ADF Essentials RCU DB Type :   Where is " Java DB " ?

    I want ADF Essentials.
    http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html
    I downloaded "Application Development Runtime", ofmwls_jrf_generic_12.1.1.0.0_disk1_1if1.zip , 1.5 GB.
    My understanding is that this, ADF Essentials Application Development Runtime,
    is Weblogic Server where the ADF Framwork is limited to the Model, View and Controller.
    Just below the "Download File" button is a link entitled " Install Guide " and points to a book entitled
    "Installing and Configuring the Oracle Fusion Middleware Infrastructure, 12c (12.1.2), E38451-01.
    http://docs.oracle.com/middleware/1212/core/INFIN/index.html  ( and the PDF file has 48 pages ).
    I have completed step / section 3.1.1 entitled " Installing and Configuring a Certified Database " (page 18).
    http://docs.oracle.com/middleware/1212/core/INFIN/create_domain.htm#BABGBHDE
    3.1.1 Installing and Configuring a Certified Database
    Make sure you have installed and configured a certified database, and that the database is up and running.
             Oracle JDeveloper and ADF 12c (12.1.2) Supported Systems, Last Updated: July 10, 2013
             http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html
    I chose Java DB and set the system variables as follows...
    NAME & VALUE
    VERIFICATION
    JAVA_HOME = C:\PF\Java\jdk1.7.0_40
    > echo %JAVA_HOME%
    PATH includes %JAVA_HOME%\bin
    > java -version
    DERBY_HOME = %JAVA_HOME%\db
    > echo %DERBY_HOME%
    PATH includes %DERBY_HOME%\bin
    > sysinfo
    The Java DB is up and running / started as a Network Server via
               > java -jar %DERBY_HOME%\lib\derbyrun.jar server start
    The next step is 3.1.2 entitled Starting the Repository Creation Utility ( RCU ).
    The third screen is entitled " Database Connect Details " and the first field is "Database Type" with a
    pull-down menu offering 5 choices. They are...
    1) Oracle
    2) Oracle Database enabled for edition-based redefinition
    3) Microsoft SQL Server
    4) IBM DB2
    5) MySQL Database
    I expected " Java DB " to be one of the choices.
    Where is " Java DB " ?
    For the RCU Database Connection Screen, I set the fields to the following values...
    DATABASE TYPE: Oracle
    HOST NAME:         localhost
    PORT:                   1527
    SERVICE NAME:    jdbc
    USERNAME:          Michael
    PASSWORD:          itsAsecret
    ROLE:                    SYSDBA
    Clicked " NEXT " button and RCU Response is " IO Error: Unexpected packet ".
    The Command Prompt window where Java DB was started responds as follows...
    Mon Oct 28 19:06:04 CDT 2013 : Execution failed because of a Distributed Protocol Error:  DRDA_Proto_SYNTAXRM; CODPNT arg  = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client?
    org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because of a Distributed Protocol Error:  DRDA_Proto_SYNTAXRM; CODPNT arg  = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client?         at
    org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(Unknown Source)         at org.apache.derby.impl.drda.DDMReader.readDssHeader(Unknown Source)         at org.apache.derby.impl.drda.DRDAConnThread.exchangeServerAttributes(Unknown Source)         at
    org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(Unknown Source)         at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)

    I think I can answer my own question.
    Here, http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html
    the fine print says...
    " Databases
    The following table identifies databases supported by JDeveloper and ADF.
    JDeveloper support refers to using the modeling tools, browsing the database schema from the Database navigator, creating offline database objects, and using the SQL*Worksheet. For ADF, database support entails using the database as a data source for ADF Business Components. ".
    Interpreting the text as is, the databases listed may (or may not) be supported by the RCU.
    What customers are also interested in knowing is databases supported by the RCU.
    On the web page for "Supported Systems",
    a new Databases table with an additional column for the RCU would be an improvement.

  • ADF Essentials Fusion Web Application(ADF) Templates missing

    I have installed JDeveloper 11g Release 2 (11.1.2.3.0), in order to evaluate development with ADF Essentials.
    The tutorial ( Developing with Oracle ADF Essentials) http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_1.html shows how to start
    a new Fusion Web Application(ADF) project.
    But this option is missing !!!
    What am I missing ?

    Combining Timo's and Shay's answers
    I reproduced successfully the following
    If Java EE role is selected when entering JDeveloper first time after installation of JDeveloper then
    even if studio developer role is selected from the tools menu, there
    is no way to get ADF Fusion development functionality as ADF Business *, ADF Model Business * features, ADF application templates, are missing.
    The only valid solution is to uninstall JDeveloper and install it again ( there is no need to use generic installer) and select
    studio developer the first time after installation.
    It looks like ADF functionality is registered only at initial JDeveloper startup with developer role selected.
    Cheers

  • Graphs with ADF Essentials 12.1.2.0 deployed on Glassfish 3.1.2 Open Source not displaying

    Hi,
    I have three simple Bar Graphs which developed using JDeveloper 12c. When I deployed in Glassfish Server 3.1.2 open source edition with ADF essentials 12.1.2.0 they are not displayed. Other data bound pages are working fine. Now if I deploy them in the integrated weblogic server then they are correctly displayed.
    As per the oracle documentation DVT components are included in ADF Essentials.
    Can someone please help me if I am missing anything?
    Thanks,
    Mehabub

    Hi Alejandro,
    I could see following warning and info in server.log file for my domain.
    [#|2013-11-17T18:01:12.677+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=19;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
    [#|2013-11-17T18:01:12.790+0530|INFO|glassfish3.1.2|oracle.jbo.uicli.mom.CpxUtils$Visitor|_ThreadID=19;_ThreadName=Thread-2;|jndi:/server/JeetOnlinePortal/WEB-INF/classes/jeetView/DataBindings.cpx|#]
    [#|2013-11-17T18:01:15.455+0530|INFO|glassfish3.1.2|oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl|_ThreadID=19;_ThreadName=Thread-2;|ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.|#]
    [#|2013-11-17T18:01:15.607+0530|INFO|glassfish3.1.2|oracle.adfinternal.controller.state.SessionBasedScopeMap|_ThreadID=19;_ThreadName=Thread-2;|ADFc: Configuration parameter adf-scope-ha-support set to 'false'.|#]
    [#|2013-11-17T18:01:18.704+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/simple-desktop.css|#]
    [#|2013-11-17T18:01:18.950+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/richcomponents-simple-desktop.css|#]
    [#|2013-11-17T18:01:19.081+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-simple.css|#]
    [#|2013-11-17T18:01:19.131+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/trinidad/dvt-simple.css|#]
    [#|2013-11-17T18:01:19.176+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-desktop.css|#]
    [#|2013-11-17T18:01:19.224+0530|WARNING|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.SkinStyleSheetParserUtils|_ThreadID=19;_ThreadName=Thread-2;|The skin selector AFIndexedIcon is not a Skin Icon Object since it does not have a content attribute. If you created this selector, please rename it to end with "style" instead of "icon" so that the Skinning Framework will treat it as a style, not an icon.|#]
    [#|2013-11-17T18:01:19.276+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-theme-addition.css|#]
    [#|2013-11-17T18:01:19.325+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-touchScreen-desktop.css|#]
    [#|2013-11-17T18:01:19.354+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-skyros-v1-desktop.css|#]
    [#|2013-11-17T18:01:19.387+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-skyros-v1-touchScreen-desktop.css|#]
    [#|2013-11-17T18:01:21.102+0530|WARNING|glassfish3.1.2|oracle.adf.share.security|_ThreadID=19;_ThreadName=Thread-2;|ADF Credential Store is not supported on Glassfish platform. Using the ADFNoCredentialSupportStore instead.|#]
    [#|2013-11-17T18:01:21.114+0530|WARNING|glassfish3.1.2|oracle.adf.share.security|_ThreadID=19;_ThreadName=Thread-2;|ADF Credential Store is not supported on Glassfish platform. Using the ADFNoCredentialSupportStore instead.|#]
    [#|2013-11-17T18:01:21.119+0530|WARNING|glassfish3.1.2|oracle.adf.share.jndi.ReferenceStoreHelper|_ThreadID=19;_ThreadName=Thread-2;|No credential could be loaded for Reference = Reference Class Name: oracle.jdeveloper.db.adapter.DatabaseProvider
    Type: sid
    Content: XE
    Type: subtype
    Content: oraJDBC
    Type: port
    Content: 1521
    Type: hostname
    Content: mcassociation.in
    Type: user
    Content: jeet
    , SecureRefAddr = password. Setting default value of "".|#]
    [#|2013-11-17T18:03:02.156+0530|WARNING|glassfish3.1.2|oracle.adfinternal.view.faces.partition.PartitionManager|_ThreadID=19;_ThreadName=Thread-2;|Feature "DvtGraph" is not contained in any partition.|#]
    [#|2013-11-17T18:03:02.601+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
    [#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
    [#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
    [#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
    [#|2013-11-17T18:03:03.643+0530|WARNING|glassfish3.1.2|oracle.adfinternal.view.faces.partition.PartitionManager|_ThreadID=20;_ThreadName=Thread-2;|Feature "DvtGraph" is not contained in any partition.|#]
    [#|2013-11-17T18:15:04.849+0530|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=21;_ThreadName=Thread-2;|Server shutdown initiated|#]
    [#|2013-11-17T18:15:05.262+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
    [#|2013-11-17T18:15:05.877+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
    [#|2013-11-17T18:15:07.200+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
    [#|2013-11-17T18:15:09.701+0530|INFO|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=22;_ThreadName=Thread-2;|RAR7094: __xa_jdbc_ra shutdown successful.|#]
    [#|2013-11-17T18:15:12.276+0530|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=21;_ThreadName=Thread-2;|JMX002: JMXStartupService: Stopped JMXConnectorServer: null|#]
    [#|2013-11-17T18:15:12.276+0530|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=21;_ThreadName=Thread-2;|JMX001: JMXStartupService and JMXConnectors have been shut down.|#]
    [#|2013-11-17T18:15:12.277+0530|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=21;_ThreadName=Thread-2;|Shutdown procedure finished|#]
    Seems to be okay.
    Do you find something wrong or missing?
    Thanks,
    Mehabub

  • ADF essentials on Glassfish 4

    Hi,
    I've tried to deploy my Oracle ADF Essentials  11.x based application on a Glassfish 4 app server, but it fails miserably.
    Is it possible to deploy the latest ADF Essentials 12 on a glassfish 4?
    I haven't had the time to try it yet.
    best regards
    Kim

    Well, the certification matrix (http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html#Abrams-SupportInformation-Ap…) tells you
    Application Servers
    The following table shows application servers supported by JDeveloper and ADF. Application Server support for JDeveloper is provided for connecting and deploying directly to the server as well as debugging. For ADF, it refers to servers that ADF applications can be deployed to.
    Application Server
    JDeveloper
    ADF
    Oracle Fusion Middleware (WLS)
    10.3.5+, 12.1.2
    12.1.2
    GlassFish
    3.1+
    3.1 (ADF Essentials)
    WebSphere
    8.x
    JBoss
    5
    Tomcat
    7
    Oracle Cloud
    13.1
    So I say: yes you can.
    Timo

  • ADF Essentials security

    Hi,
    I would like to know which, you think, is the best way to implement authentication and authorization for ADF essentials.
    I am learning ADF, and have looked at ADF security, but the weblogic license price tag makes it suitable only for a certain range of our solutions, so i am thinking of using ADF essentials for the other cases, and deploy on glassfish.
    i have been looking around a bit but could not come to a definitive answer, so if you have any ideas or actually implemented it yourself please share :D.
    Thank you

    Hi,
    Check
    Urgent - Custom authentication and authorization for ADF application
    ADF Security - Database user for authentication

  • ADF Essentials

    Hi,
    I tried deploying a simple JHS app to Glassfish using ADF Essentials libs and JDev 11.1.2.3.0, JHeadstart 11.1.2 Evaluation 11.1.2.1.28
    One small problem so far:
    JHS generates a servlet-mapping in web.xml that is not accepted by Glassfish:
      <servlet-mapping>
        <servlet-name>ordDeliverMedia</servlet-name>
        <url-pattern>ordDeliverMedia</url-pattern>
      </servlet-mapping>Invalid URL Pattern: [ordDeliverMedia]
    After changing the url-pattern to /ordDeliverMedia deploying succeeds and the JHS app works!
    What is the correct url-pattern?
    Groeten,
    HJH

    Moved my question to new thread
    How to change web.xml generation
    as this one has been marked as answered
    Edited by: Brent Harlow on Apr 11, 2013 10:31 PM

  • The version of the ADF Essentials Client user library, 12.1.3.0.41.140521.1008, does not match ADF facet version 11.1.1.

    Hi,
    I downloaded the latest OEPE Pack 12.1.3 and the latest adf-essentials-client libs.
    I tried to create a new ADF-Project in Eclipse with Glassfish.
    I added the essentials-client libs and then i get this error:
    The version of the ADF Essentials Client user library, 12.1.3.0.41.140521.1008, does not match ADF facet version 11.1.1.
    br.
    Andy

    Andy,
    ADF Essentials 12.1.3 only support GF 3.1 officially. So please plan on using GF 3.1 version
    ~Shabari

  • Problem with ADF security and task flow calls

    Hi.
    I am using JDeveloper 11.1.2.0.0.
    I encountered a problem when tried to apply ADF security to my application.
    The way to reproduce the problem:
    1. Create new Fusion Web Application;
    2. Import Business Components from Tables from any existing schema and add at least one table to the ApplicationModule.
    3. Create "welcome page" (for instance, welcome.jsf). Add a button with fixed action outcome "test".
    4. Create test page, for instance, test.jsf. Drag and drop any view object from Data Controls onto the page and create a form with navigation controls. Add a button with fixed action outcome "return".
    5. Create bounded task flow, name it "test", drag and drop our test page on it - the page will be the default activity. Add a task flow return activity. Add a control flow case from the default view activity to the return activity, set From Outcome property to "return". So our return button should cause the task flow to exit.
    6. Open adfc-config.xml in diagram mode and place our welcome page on it. Then drag and drop the test task flow to create a task flow call activity. Add a control flow case from welcome page to task flow call activity, set the From Outcome property to "test". So our test button should call the test task flow.
    7. Configure application to run the unbounded task flow starting with Welcome view activity.
    At this point all works as expected: when application runs, the welcome page is displayed with test button. Pressing the test button results in displaying the test page, return button leads back to the welcome page.
    Now let's configure ADF Security.
    Run the ADF Security configuration wizard, choose ADF Authentication and Authorization.
    On the second page select Form-Based Authentication, check the Generate Default Pages flag.
    On the third page choose No Automatic Grants.
    On the next page keep the Redirect Upon Successful Authentication unchecked. Press Finish.
    Open jazn-data.xml to configure roles, users and resource grants:
    1. Create application role test-role.
    2. Grant the test-role privileges to view the test task flow.
    3. Create user and grant him the test-role.
    Now we have the public available welcome page and the test page with restricted access.
    When application runs, the welcome page is displayed as expected. Pressing the test button redirect us to auto-generated login page. After successful authorization the test page is displayed. But nothing happens if we click now the return button for the first time. When we click the return button once more, the application crushes with Error-500 and message "Target Unreachable, identifier 'bindings' resolved to null". The exact error trace depends on UI control bindings, but looks like this:
    javax.el.PropertyNotFoundException: //C:/Users/DUDKIN/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/Test1/ViewControllerWebApp.war/test.jsf @10,120 value="#{bindings.Id.inputValue}": Target Unreachable, identifier 'bindings' resolved to null
         at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:122)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:274)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1324)
    (the rest of lines skipped).
    Any suggestions?
    Edited by: user13307311 on Apr 16, 2013 11:39 PM

    @Lovin_JV_941794
    The welcome page is public available since it does not have appropriate PageDef file.
    Login page comes not from the welcome page, it comes after attempt to access the test page. So after the login succeeded the test page appears, because redirect to welcome page after successful login is not configured. I do not need to return the welcome page at this moment, I need to go to the test page.
    It seems the task flow call stack to be destroyed after redirect to login page.
    Edited by: user13307311 on Apr 17, 2013 12:45 AM

Maybe you are looking for