Portelize ADF application

Hi all,
I just want to know how to portelize ADF application in JDeveloper.I created one ADF application by using Portlet producer application template but after deploying the portlet,I am unable to get it displayed on the webcenter application.
Pls help me out.Its urgent .

There is a webcenter forum here: WebCenter Portal The topic should be posted there.
When you have deployed a portlet producer, you should register it with webcenter by using the WSRP1.0 or WSRP2.0 URL of your producer. The WSRP URL of your producer has following pattern:
http://<server>:<port>/<context root>/portlets/wsrp2?WSDL
This URL is used to register the producer in webcenter. This can be done in JDeveloper or in the EM.
If you already have done this, do you get errors when showing the portlet on your page?

Similar Messages

  • Problem with links in deployed ADF application to Weblogic Server 11g

    Hi everyone !
    I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server.
    However, after testing out the application, the linking within the application does not seem to work. Whenever I click on a link or button, the page refreshes but the result is not displayed.
    What could have cause the problem?
    Thanks
    Gavin

    Are the ADF runtime libraries installed into the WebLogic server?

  • Error while loading a 10.1.3 ADF application login page on JBoss EAP 6.0.1

    I have a 10.1.3 ADF application that runs well on Web Sphere and OC4J. I'm trying to run it on JBoss EAP 6.0.1. The ear file was deployed successfully to JBOSS and according to ADF logging the connection to Oracle database is established.
    But when I try to load the application login page, I obtain the following exception
    ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/cv].[Faces Servlet]] (http-/0.0.0.0:8080-1) Servlet.service() for servlet Faces Servlet threw exception: oracle.jbo.common.ampool.ApplicationPoolException:
    JBO-30003: The application pool (com.claimvantage.adf.root.Oracle) failed to checkout an application module due to the following exception:
            at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) [bc4jct.jar:]
            at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) [bc4jct.jar:]
            at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) [adfmweb.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) [bc4jct.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) [adfm.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) [adfm.jar:]
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) [adfm.jar:]
            at oracle.adf.model.BindingContext.get(BindingContext.java:457) [adfm.jar:]
            at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308) [adfm.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.getMessageHolder(JhsPageLifecycle.java:220) [cv-model.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.reportErrors(JhsPageLifecycle.java:203) [cv-model.jar:]
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:99) [adf-controller.jar:]
            at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.prepareRender(JhsPageLifecycle.java:1080) [jhsadfrt-10.1.3.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297) [adf-controller.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:426) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77) [adf-controller.jar:]
            at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at com.claimvantage.web.sso.AuthenticationFilter.doFilter(AuthenticationFilter.java:272) [cv-model.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_16]
    Any help would be really appreciated.
    Thanks

    Thanks Frank for your answer.
    I can't see where the exception states that DB connection was not established!
    In the log, I have:
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3011] Created root application module: 'com.claimvantage.adf.root.RootAppModule'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3012] Locale is: 'en_US'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3013] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3014] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3015] import java.util.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3016] import java.sql.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3017] import java.io.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3018] public class JDBCCalls  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3019] {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3020]    public Connection conn = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3021]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3022]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3023]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3024]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3025]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3026]    {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3027]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3028] Creating a new pool resource
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3029] Trying connection/2: url='jdbc:oracle:thin:@s1ora01s:1521:s1ora01a' ...
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3030]       conn = DriverManager.getConnection("jdbc:oracle:thin:@s1ora01s:1521:s1ora01a", /*properties*/);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3031]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3032] Successfully logged in
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3033] JDBCDriverVersion: 10.2.0.1.0XE
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3034] DatabaseProductName: Oracle
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3035] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Don't you think that it indicates that DB connection is well established?
    MBen

  • Error while deploying ADF application to a standalone weblogic

    jdeveloper version: 11.1.2.2
    Issue: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application to it. The deployment fails with the following message. The stand alone server I have built is on the same machine where jdeveloper is installed and I am using same weblogic that came with jdeveloper install. The aplication runs fine on integrated server. I have researched this issue and have got more or less same answer of installing ADF run time libraries. Can someone please help me with exactly what I need to install and how?
    Thanks,
    Saurabh.
    [09:49:44 AM] Unable to determine the target platform from the Profile. Using default
    [09:49:44 AM] ---- Deployment started. ----
    [09:49:44 AM] Target platform is (Weblogic 10.3).
    [09:49:55 AM] Retrieving existing application information
    [09:49:55 AM] Running dependency analysis...
    [09:49:55 AM] Building...
    [09:50:18 AM] Deploying profile...
    [09:50:20 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [09:50:20 AM] Deploying Application...
    [09:50:24 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [09:50:26 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [09:50:26 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [09:50:26 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@29261813[app:EmployeeTrack_ViewController_webapp module:EmployeeTrack_ViewController_webapp.war path:/alonedemo spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [09:50:26 AM] See server logs or server console for more details.
    [09:50:26 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Deployment cancelled.
    [09:50:26 AM] ---- Deployment incomplete ----.
    [09:50:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Timo.. You were right.. Those setting helped me fix the initial issue.. Now I have another issue and was wondering if you have seen this as well?
    [11:35:13 AM] Unable to determine the target platform from the Profile. Using default
    [11:35:13 AM] ---- Deployment started. ----
    [11:35:13 AM] Target platform is (Weblogic 10.3).
    [11:35:13 AM] Retrieving existing application information
    [11:35:13 AM] Running dependency analysis...
    [11:35:13 AM] Building...
    [11:35:20 AM] Deploying profile...
    [11:35:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [11:35:21 AM] Deploying Application...
    [11:35:23 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [11:35:25 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [11:35:25 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [11:35:25 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [11:35:25 AM] See server logs or server console for more details.
    [11:35:25 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Deployment cancelled.
    [11:35:25 AM] ---- Deployment incomplete ----.
    [11:35:25 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

  • 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.

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF application entry point page that has something like this:
    <h:outputText value="#{param.ssousername}"/>and my sso login page has:
    <input type="text" size="30" maxlength="50" name="ssousername" value="<%=str_user%>">OID and ADF OC4j are running on two different servers, same network.
    So after successful login, when my page displays param passed is NULL?!
    Why?

    I solved it with the following....when my page loads, I execute test method:
        public void processLogin(String ssousername) {
             Object o  = JSFUtils.getUserFromSSOLogin();
             if (o!=null) System.out.println(o.toString());
        public static Object getUserFromSSOLogin(){
            FacesContext ctx = FacesContext.getCurrentInstance();
            return ctx.getExternalContext().getRemoteUser();
        }

  • Passing values between adf application and web services

    hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
    i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
    i try this
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.start_user_details}"
                                        type="action"/>
              </af:inputText>

    i make my webservices to pass values
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.approveUser_username}"
                                        type="action"/>
              </af:inputText>
    but am geting error reference approveUser_username not found

  • Not able to get the Application ID value in ADF Phase listener for Custom ADF application which integrates with Ebiz R12.2.3

    Hi All ,
    I am working on one custom Order Mangement ADF Application which integrates with EBiz R12.2.3.
    We are trying to get the Ebiz userid ,username,Responsibility ID and Application ID in ADF through below Code
           public HashMap checkEBSSession(HttpServletRequest request,
                                       HttpServletResponse response) {
            System.out.println("In AMImpl.. checkEBSSession1");
            Session session = null;
            HashMap hmap = new HashMap();
            try {
                Connection conn =
                    getDBTransaction().createStatement(1).getConnection();
                System.out.println("In AMImpl.. checkEBSSession2");
                EBiz ebiz =
                    new EBiz(conn, "012E7E82CD8852BBE053860F6E0AD63413191049361744553610276495342217");
                System.out.println("In AMImpl.. checkEBSSession3");
                AppsRequestWrapper wrapper =
                    new AppsRequestWrapper(request, response, conn, ebiz);
                System.out.println("In AMImpl.. checkEBSSession4");
                session = wrapper.getAppsSession(true);
                System.out.println("In AMImpl.. checkEBSSession5");
                Map columns = session.getInfo();
                System.out.println("In AMImpl.. checkEBSSession6");
                String respId = (String)columns.get("RESPONSIBILITY_ID");
                String currentUserId = (String)columns.get("USER_ID");
                String currentApplId = (String)columns.get("APPLICATION_ID");
                String currentOrgId = (String)columns.get("ORG_ID");
                System.out.println("In AMImpl.. checkEBSSession7...respId : "+respId);
                System.out.println("In AMImpl.. checkEBSSession8...UserId : "+currentUserId);
                System.out.println("In AMImpl.. checkEBSSession9...APPL_SERVER_ID : "+currentApplId);
                System.out.println("In AMImpl.. checkEBSSession10..OrgId : "+currentOrgId);
                logger.info("respid:  " + respId);
                //System.out.println("In AMImpl.. checkEBSSession8");
                hmap.put("RESPONSIBILITY_ID",respId);
                //System.out.println("In AMImpl.. checkEBSSession9");
            } catch (Exception e) {
                System.out.println("Error: " + e.getMessage());
            return hmap;
    By using this code I am Getting all the Information Except the Application ID.
    If someone  have any idea how to get the application ID please share it .
    Thanks in Advance !!
    Thanks & Regards
    Apurv Agarwal

    Hi,
    since you implements the backing bean from PagePhaseListener. some where the same view is excuting before getting the selected record. Even if you select the record after excuteQuery() it will set the first record as selected. Please try to check some where query is excuting.
    try give some more details like what are all the methods you are using in PagePhaseListener and where you worte u r coding.
    Reg,
    Brahma

  • How to access to a resource in the ADF application?

    Hi
    I have a jasper report file named report.jrxml in the following path in my ADF application named “app”:
    app\ViewController\src\org\nmp\app\view\report
    I wanna access to this file inside a java file located in the ViewController project as follows:
    InputStreaminSt = new FileInputStream(new File(“app\ViewController\src\org\nmp\app\view\report\report.jrxml”));
    But I get the following exception:
    java.io.FileNotFoundException: app\ViewController\src\org\nmp\app\view\report\report.jrxml (The system cannot find the path specified)
    How could I access to this resource in my application? I am using JDev 11.1.2.3
    Cheers,
    Ferez

    Timo,
    I made a test case named fileaccess and uploaded it here:
    http://rapidshare.com/files/2200118787/fileaccess.zip
    Just open the project in JDev 11.1.2.3, the Model project is empty and in the viewController project there is a single page named home.jsf in which contains a commandButton. Clicking the button executes the #{fileAccess.readFile} method. The fileAccess bean is located in org.company.fileaccess.view.beans and introduced in faces-config.xml. Body of readFile method is as the following:
    FileInputStream fis = new FileInputStream(new File("/org/company/fileaccess/view/resources/file.txt")); file.txt is located in org.company.fileaccess.view.resources and viewController project is set to copy .txt files into output directory. Clicking the button causes FileNotFoundException.
    Thank you in advance,
    Ferez

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • Deploying ADF Application to remote Weblogic server

    Hi Everyone,
    I created an ADF Application 11.1.1.2 and deployed it successfully to the remote weblogic server 10.3.3 in same instance.
    I want to know can we create ADF application in one instance and deploy it in remote weblogic server creating Data Source for different instance?
    Let me put it in differently.
    I created ADF Application using test instance and now i want to move it to PROD but i dont have access to PROD Database but i can make the DBA's run the database scripts in PROD that are needed for the application to run successfully ,is there away so that i can create application using test instance and create DataSource in weblogic server giving PROD database details ?
    Is there a way i can give DBA's access to enter the database connection details for my application like changing any file in ADF Application like Model.jpx?
    Please provide me with solutions?
    Thanks.

    Your application should be using a WebLogic DataSource - then you can define that datasource on any server you want pointing to any database you need.
    Info here:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcservices.htm#CHDJDBJB

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • ADF application to access WLS data source .

    Hi,
    I have developed an ADF application in Jdeveloper 10.3.3 and deployed on Weblogic server. Now I want my application to access the data from data source created in WLS. I have created a data source (ds_demo) using the WebLoigc server option Services -> JDBC -> Data Sources.Target has been set to the default server where application is running.
    Now I want application to access the database over the data source ds_demo. How can I do that?. Please provide any pointers.
    Thanks & Regards,
    MB

    You should be able to use Java code like this to directly obtain the WLS data source if you're using a POJO/DAO :
    Context ctx = null;
    DataSource ds;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    ds = (DataSource)ctx.lookup("DataSourceJNDINameHere");
    This assumes you're deploying this on the same server hosting the datasource and that it's on port 7001.

  • Problem in Deploying ADF Application - development Mode

    hi Experts,
    i have jdev11.1.1.5.0 in a combination with weblogic 10.3.5.
    my application is working fine, while running on integrated wls (just give right click and on my jspx page - auto deploying).
    if i going with manually deploying option on same intergrated wls or standalone wls means
    i can able to get my login page, if i login means it doesnt re-direct to my index page what it would be problem? (it doent replicate this kind of intergrated wls (auto deploying))
    Details of my Application
    am not using any adf security. my login page is in session scoped bean , index page - backing bean scoped.
    my log shows, your username and password is correct. that means it can able to access my Application Module.
    am using adfc - config for redirecting
    <control-flow-rule id="__5">
        <from-activity-id id="__6">loginPage</from-activity-id>
        <control-flow-case id="__7">
          <from-outcome id="__13">error</from-outcome>
          <to-activity-id id="__8">loginPage</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__14">
          <from-outcome id="__16">success</from-outcome>
          <to-activity-id id="__15">Indexpage</to-activity-id>
        </control-flow-case>
      </control-flow-rule>This Same project Doesnt behave like this Olden days.
    i maked out sample for deplying an adf application in both Integrated wls and standlone wls. it's fine.
    can anyone guide me where am?
    any one had a idea?
    while am deploying manually i got dialog "deployment configuration" to deploy.
    i got this in my log.
    [01:07:44 PM] Entering Oracle Deployment Plan Editor
    [01:07:46 PM] No metadata repositories found on target server. Using values found in adf-config.xml. //show this red collor

    + info,
    sometimes, i had another problem while login
    if i go with manual deployment on integrated wls/ standlone wls
    JBO-25002: Definition com.x.x.model.associations.xLogAS of type Entity Association is not found.i had viewlink named "xxxLogVL" in my model layer that viewlink mapped a association named "xLogAS".
    both are looking safe while running Business Component broswer and running intragrated wls(auto deploying).
    i checked the myApplicationModule.xml no warning on right hand gutter. so what would be the problem.?
    somtimes i had this? how can i fix this?
    cant come to conclusion? with to two different problem in same project.

Maybe you are looking for

  • How to increase max file size for uploading

    hi i have a form that uploads a file and save it in a database..my problem is when it exceeds 2MB it doesnt save in my database. the page doesnt show any error also. i use multipartrequest..here is multipartrequest... MultipartRequest multi= new Mult

  • I want to install yosemite via external hd but my internal hd is not showing in the utilise disk

    please help i think I'm stuck Have been trying every way i know and found on internet to install os x yosemite on my macbook pro 2.4GHz the final method i tried is to install via external hd since my new hdd don't have recovery on it i boot in succes

  • ATV 2.4 update screen saver issue?

    I've been with Apple TV since the first month it appeared on earth and have been very happy about it. Right now I own three of them. The feature I always use is to listen to the streaming music and watch all my photo floating on the screen. Since thi

  • Output Preview should be more informative

    I love the Output Preview feature in Acrobat. I wish Illustrator had the same thing. However, I feel that there should be some improvement to it. For instance, for printers, it would be very handy to also include line screen, angle, and possibly dot

  • JAXP support in XML Parser for Java

    Was curious if there were any plans to support JAXP in the XML Parser for Java. Sun's licensing terms was a serious issue of contention when Apache was trying to implement the spec and finally got an exemption from Sun to some of the terms.