JSF, and ADF application

Hi all
I am a new user of ADF. I use the ADF in my application.

Please guide me how will be better:

1: I would like JSF and complex components ADF upload, table for paging and sorting. Still, I don't get how to set the environment of the adf. I use the 11.1.1.1.0(Build de Jdeveloper) JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407.

ADF only 2)

It's a nice link, spido - unfortunately the ADF information is nowhere near complete :(

John

Tags: Java

Similar Questions

  • Problem of navigation by exposing existing ADF application as a portlet in WebCenter

    I joined my existing ADF application with WebCenter by following the steps mentioned in http://www.oracle.com/technetwork/developer-tools/jdev/ccset62-all-100884.html.

    In the homepage of our application, we are displays a table with a list of IDs and we are adding the user selected as a parameter of the URL id to display the following page dynamically.

    After integration of webcenter homepage is displayed correctly. But when I select an id home page, home page is once again appears instead of the next page. Even if I am not able to find any exception in the weblogic Server console.

    I don't know, but what I suspect is portlet ignores settings that are appended to the URL.

    Can someone help me solve this problem of navigation.


    Kind regards
    Kiran

    Published by: user13331987 on August 30, 2010 04:27

    Published by: user13331987 on August 30, 2010 04:46

    The difference with portlets and adf applications, is that you can not access the URL from the portlet settings. You need to spend your portlet page.
    You must first create a pageparameter that can be done in the links page or when running using the component of an oracle composer.

    This article describes how to wire set of portlets, but that's why you need of pageparameters and portletparameters:
    http://download.Oracle.com/docs/CD/E12839_01/WebCenter.1111/e10149/pages_wiring.htm

    You must do the same thing, but you have only 1 portlet and your page setting will be an EL statement where he gets the parameter of the URL. When you set the portlet for the pagaparameter parameter, the value of the pageparameter will be send to the portlet, and then you can ask that the value of your portlet.

    I've already implemented this on a webcenter application spaces so if you get stuck somewere, let me know.

  • ICX session sharing between EBS and ADF. Navigate from EBS page by page of ADF custom application. but every time I get the session as a GUEST, even if I give valid credentils to enter into EBS.

    Hello

    I am integrating EBS and ADF through sharing of session ICX. Navigate from EBS page by page of ADF custom application. but whenever I get session as GUEST (VALID_GUEST), even if I give credentials valid at the EBS system. I should get a valid session that I have connected with a valid user. As it it a VALID_GUEST that the status of cookie icx, back (he got newspapers/debug) and I am.  Comparing with status cookie VALID icx, so every time system opens the Apps login page.  I used fndext.jar to do this. Please help me on this. I'm not sure it's a problem with DB/EBS EBS system, or the code of the adf. My code spruce is given below.

    import java.io.IOException;

    import java.sql.Connection;

    import java.sql.SQLException;

    Import javax.faces.application.FacesMessage;

    Import javax.faces.context.FacesContext;

    to import javax.servlet.http.HttpServletRequest;

    to import javax.servlet.http.HttpServletResponse;

    Import oracle.adf.controller.v2.lifecycle.Lifecycle;

    Import oracle.adf.controller.v2.lifecycle.PagePhaseEvent;

    Import oracle.adf.controller.v2.lifecycle.PagePhaseListener;

    Import oracle.apps.fnd.ext.common.AppsRequestWrapper;

    Import oracle.apps.fnd.ext.common.CookieStatus;

    Import oracle.apps.fnd.ext.common.EBiz;

    Import oracle.apps.fnd.ext.common.Session;

    / public class MyCustomPhaseListner implements PagePhaseListener {}

    public MyCustomPhaseListner() {}

    Super();

    }

    AppsRequestWrapper wrappedRequest = null;

    HttpServletRequest request = null;

    HttpServletResponse response = null;

    String currentUser store = null;

    String currentUserId = null;

    {} public void afterPhase (PagePhaseEvent pagePhaseEvent)

    If (pagePhaseEvent.getPhaseId () == Lifecycle.PREPARE_RENDER_ID) {}

    System.out.println ("in phase");

    If (wrappedRequest! = null & &)

    wrappedRequest.getConnection ()! = null) {}

    try {}

    If (! wrappedRequest.getConnection () .isClosed ())

    wrappedRequest.getConnection (m:System.NET.Sockets.Socket.close ());

    } catch (SQLException e) {}

    }

    }

    }

    }

    {} public void beforePhase (PagePhaseEvent pagePhaseEvent)

    If (pagePhaseEvent.getPhaseId () == Lifecycle.INIT_CONTEXT_ID) {}

    Channel agent = null;

    System.out.println ("forward Phase");

    FacesContext fctx = FacesContext.getCurrentInstance ();

    request =

    (HttpServletRequest) fctx.getExternalContext () .getRequest ();

    answer =

    (HttpServletResponse) fctx.getExternalContext () m:System.NET.FtpWebRequest.GetResponse ();

    CookieStatus icxCookieStatus = null;

    try {}

    Connection EBSconn = ConnectionProvider.getConnection ();

    EBiz instance = EBizUtil.getEBizInstance ();

    wrappedRequest =

    new AppsRequestWrapper (request, response, EBSconn,

    (instance);

    A session = wrappedRequest.getAppsSession (true);

    tried with "a session = wrappedRequest.getAppsSession ();" / / do not return not of any session

    icxCookieStatus =

    session.getCurrentState () .getIcxCookieStatus ();

    Agent = wrappedRequest.getEbizInstance () .getAppsServletAgent ();

    If (! icxCookieStatus.equals (CookieStatus.VALID)) {}

    response.sendRedirect (agent + "AppsLocalLogin.jsp");

    return;

    }

    currentUser = session.getUserName ();

    currentUserId = session.getUserId ();

    } catch (Exception ob) {}

    ob.printStackTrace ();

    }

    FacesMessage message =

    new FacesMessage ("Session is:" + icxCookieStatus + "" +)

    currentUser + "" + currentUserId);

    fctx.addMessage (null, message);

    }

    }

    }

    Have you checked

    https://blogs.Oracle.com/jruiz/entry/adf_and_oracle_e_business

    https://blogs.Oracle.com/jruiz/entry/adf_and_oracle_e_business2

    http://www.Oracle.com/technetwork/tutorials/EBS-SDK-ADF-1887167.PDF

    https://www.YouTube.com/watch?v=9wGv7yxRgVU

    Timo

  • ADF application do not display correctly with the IP address of the url and url localhost.

    Hi all.

    I have a strange problem. When I get my adf application deployed on a server of autonomous local weblogic with the ip:

    http://localhost:7001 / Application/faces/index

    It makes it very well. But when I load it with the url:

    http://10.5.14.15:7001 / Application/faces/index (private ip), it doesn´t make it fine. Tables the same haven´t style and some items appear selected as if I select them with the mouse.

    This problem occurs only with internet explorer, not with Chrome.

    Also, when I see a table within a region to a jspx, the with the header columns is not rendered causing the width of the line header correctly, not being the same as the other lines.

    This problem happens also with internet explorer.

    Any help please?

    Internet Explorer 8. JDeveloper 11g.2. WebLogic 10.3.5.0

    Also happens with Internet Explorer.

    Maybe coding? DOCTYPE?

    Thank you

    What you can do is to talk to the people who manage the proxy to find out why it does not all files, or just disable the proxy so that intellectual property

  • Oracle ADF and Oracle Applications

    Hi all

    Can we use Oracle ADF with the latest version of Oracle E-business suite (R11i 2 in my case)? Or we need to use only the OFA and ADF can only be used for the future release of Oracle ERP?

    It will be great if anyone can list the advantages of the OFA on ADF for Oracle EBS 11i 2. I want to convince the customer that the ADF is not safe or not a good platform for customizations in the current version (2 R11i) and even for the next immediate release (R12).

    Thanks in advance,

    CAH

    Hello

    I don't think that ADF can be used with 11i applications, it may be user in R12 (it is my understanding), if you want to run in pages ADF of Apps then these pages should be located on the external server and you can access it as an external Application.

    Customization is concrened, it cannot be done using only new Applications developed in ADF ADF and if you plan to develop an application, custom Apps then ADf will be a good choice as to 11g migration will be easier (but it will not support the features Apps like KFF, FDF, accessories etc.).

    Please check Metalink Note 563047.1 on metalink for that and you can see a few articles on this www.apps2fusion.com and the Blog of Mukul.

    I hope that you will get a clear picture on it.

    Kind regards
    Out Sharma

  • Call PL/SQL and Oracle ADF Application reports Open functions

    Hi all

    My company will convert some projects of Oracle forms to Oracle ADF, so we must call the PL/SQL functions and open the Oracle reports (which are already exist) the ADF application.

    Thank you..

    Jack.N

    Hi Jack.N,

    call the functions PL / SQL---> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html

    Open Oracle reports---> http://radio-weblogs.com/0137094/2008/06/15.html

    There is integration between the ADF and other systems in---> http://wiki.oracle.com/page/ADF+Integration

    Sameh Nassar

  • Difference between subview JSF and fragments of the Page in ADF Faces

    Hi, what is the difference between the use of JSF subview tag and ADF Faces page fragments.

    It's between these two-

    < f: subview id = "header" / >
    < jsp: include page = "Header.jsp' RAS ="true"/ >"
    < / f: subview >

    and

    including directly a fragment of a page (with an element of jsp:root outbreak) as below

    < jsp: include page="/fileExplorer/popups.jspx"/ >

    Thank you

    The subview is a naming container which ensures that no violation of ID of component unique is caused by the imported page fragment. Use the component subview, all IDS of any fragment component are prefixed with the id subview followed by a colon

    Frank

  • Shiro and ADF Essentials

    Hello world

    I work with ADF-Essentials 12 c, JDeveloper 12.1.3.0.0 and try to implement Shiro security framework. I migrate application to 11g.

    The deployment of my Oracle ADF application to a stand-alone Weblogic Server through an EAR file, which requests a page JSF (page Login.jsf), the server to enter an infinite loop (http://127.0.0.1:7101 / SEG-PRESENTACION/faces/Ingreso? _afrLoop = 95182030681050& _afrWindowMode = 0 & Adf-window-Id = w0)

    As I said, I use Shiro framework for security. My shiro.ini is planned

    [main]

    user = Filtro.FacesAjaxAwareUserFilter

    shiro.loginUrl = / faces/Ingreso

    user.loginUrl = / faces/Ingreso

    # Config DataSource

    DS = org.apache.shiro.jndi.JndiObjectFactory

    ds.requiredType = javax.sql.DataSource

    ds.resourceName = jdbc/SGF_DEMODS

    # JDBC realm config

    jdbcRealm = org.apache.shiro.realm.jdbc.JdbcRealm

    jdbcRealm.permissionsLookupEnabled = true

    # Configuration query SQL JDBC realm.

    jdbcRealm.authenticationQuery = SELECT usuario_pass FROM seg_usuario WHERE usuario_nombre =?

    jdbcRealm.userRolesQuery = SELECT rol_codrol FROM seg_rol, seg_rolus, seg_usuario WHERE seg_rol.rol_codrol = seg_rolus.rolus_codrol and seg_usuario.usuario_codus = seg_rolus.rolus_codus and seg_usuario.usuario_nombre is?

    jdbcRealm.permissionsQuery = SELECT pagina_url FROM seg_pagina, seg_rolpag, seg_rol WHERE seg_pagina.pagina_nopag = seg_rolpag.rolpag_nopag and seg_rol.rol_codrol = seg_rolpag.rolpag_codrol and seg_rol.rol_codrol is?

    jdbcRealm.dataSource = $ds

    ehCacheFactory = Beans.EhCacheFactory

    ssoCacheManager = org.apache.shiro.cache.ehcache.EhCacheManager

    ssoCacheManager.cacheManager = $ehCacheFactory

    securityManager.cacheManager = $ssoCacheManager

    sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager

    sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO

    sessionManager.sessionDAO = $sessionDAO

    securityManager.sessionManager = $sessionManager

    cookie = org.apache.shiro.web.servlet.SimpleCookie

    cookie. Name = SSOcookie

    cookie. Path = /.

    cookie. Secure = true

    cookie.httpOnly = true

    securityManager.sessionManager.sessionIdCookie = $cookie <-WHEN I ADDED THIS LINE to SHIRO. INI IS WHEN THE SERVER GOES INTO AN INFINITE LOOP

    [URL]

    / faces/IMAGENES / * = anon

    / faces/Ingreso = anon

    / faces/LOGIN / * = anon

    / faces/settings / * = user

    The journal does not error

    URL - target http://127.0.0.1:7101 / SEG-PRESENTACION/faces/Ingreso

    < 03 - sep - 2015 17H 54' CSE > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:62.367 during the inactive configured timeout of 5 seconds. >

    What I did:

    -Filter of Trinidad disabled

    -Add sessionDescriptor in Weblogic.xml but no luck either.

    < session descriptor - >

    < name > SSOCOOKIE < / cookie-name >

    < / session descriptor >

    I've been Googling autour but without a bit of luck!

    Can someone enlighten me on this? Why is happening.

    Thank you very much for your answers.

    Back at the beginning

    (http://127.0.0.1:7101 / SEG-PRESENTACION/faces/Ingreso? _afrLoop = 95182030681050 & _afrWindowMode = 0 & Adf-window-Id = w0)

    .

    .

    .

    cookie = org.apache.shiro.web.servlet.SimpleCookie

    cookie. Name = SSOcookie

    cookie. Path = /.

    cookie. Secure = true

    cookie.httpOnly = true

    securityManager.sessionManager.sessionIdCookie = $cookie<-----------------------------WHEN i="" add="" this="" line="" to="" shiro.ini="" is="" when="" server="" goes="" into="" an="" infinite="">

    You access your application via http and that your cookie is set with cookie.secure = true

    Thus, access to your application via https or use secure cookie.

    Dario

  • MySQL and ADF Essentials

    Hi guys,.

    I recently changed my PHP/MySQL Tools Oracle (JDeveloper and ADF...). However, my organization has decided to continue to use MySQL as our database backend for now. Since I am still a beginner in Oracle development tools; I started to follow the tutorial using JDeveloper 12 c. I set up a MySQL connection and tested its connection with success.

    I also added the file mysql-connector-java - 5.1.27 - bin.jar on the class path DefaultDomain of WebLogic by placing it in the folder: C:\Users\imad\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain\lib

    When I create a basic jsf application and run it, I get weird error in my browser:

    java.lang.IllegalArgumentException: no constant enum oracle.adfinternal.view.faces.partition.PartitionContext$ AgentName to value "netscape".

    It is followed by a long list of 'at' references...

    Could someone please explain why my basic demo application does not run?

    I seriously intend to shift to Oracle Java applications and need help to start my learning curve.

    Thank you

    Imad

    What browser do you use?  This occurs in other types of browsers (Chrome/FF)?

    This happens with any JSF into your application?

  • Internal error 500 when an ADF application is deployed to JCS

    Hello

    I created an ADF application, which includes an html file and an ADF file.  The two files are very simple, with only a welcome text.

    The application has been tested on the JDeveloper embedded server, it worked fine. Then he was deployed on JCS directly and successfully by JDeveloper.

    HTML (Works): https://Java-trialardn.Java.US1.oraclecloudapps.com/JCSApp/welcome-HTML.html

    ADF (Inertnal error): https://Java-trialardn.Java.US1.oraclecloudapps.com/JCSApp/faces/welcome-JSF

    Can anyone help on this? He blocked me for a long time.

    The source code for welcome - jsf.jsf is listed as below.

    Welcome - jsf.jsf

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    ' xmlns:f = ' http://Java.Sun.com/JSF/core "

              xmlns:h=" http://Java.Sun.com/JSF/HTML "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document id = "d1" >

    < af:form id = "f1" >

    < af:outputText value = 'Welcome to Oracle PTS!' id = 'ot1.

    inlineStyle = "do-family: Verdana, Arial, Helvetica, without serif;" font-size: xx-large. "/ >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    Best regards

    Paula

    the application must be packaged and deployed in an EAR file because ADF applications that use components trade (or layer of ADF model in your case) need configuration descriptor application.xml - weblogic with the following property:


      ADF. Oracle.Domain

  • Right-click DeptEmp.jsf and select run from the context menu

    Hello

    Please consider article Oracle Magazine "Catch Me If You Can ' Frank Nimphius
    at http://www.oracle.com/technetwork/issue-archive/2013/13-mar/o23adf-1897193.html

    In the article, it is offered several times to
    «... Right-click DeptEmp.jsf and select run from the context menu...'.»
    When you use JDeveloper 11.1.2.3.0 it will result in JDeveloper starting a browser requesting a URL "/ faces/DeptEmp" (without ".jsf").
    (Note that in the sample adfc - config.xml has a view with the id "DeptEmp" activity, but for pages without an activity view corresponding to the stream of unrelated task (adfc-config.) (Xml) JDeveloper starts a browser requesting a "/ faces/otherPage.jsf" URL (with ".jsf").)

    Still, I wonder if we should really run (JSF) pages, or rather an activity view in the flow of a task?

    After running into issues with calling (JSF) page URL rather than controller unbounded ADF task flows view activity URL in another forum thread [1], I try to avoid pages (JSF) (execution of the task-flow unlimited instead) running.
    to Re: login after logout is not possible using af: commandButton
    John Stegeman wrote:
    ... especially since it is very common for people new FAD (and indeed no-so-news-to-ADF people like me) to run their app via a page rather than the workflow and then wonder why it does not work :)...
    But also the Oracle documentation seems to suggest that page running a (JSF) is the way to go (or "a" way to go), see the section "41.2.1 how to run an Application in Integrated WebLogic Server "
    saying: ""in the navigation Application, select the project, a task flows, JSF page or file as the target execution. ".
    at http://docs.oracle.com/cd/E37975_01/web.111240/e16182/deployment_topics.htm#ADFFD22047

    So, who is? Is there a preferred way to run? Running a (JSF) page "also recommended"?

    -[1] ' login after logout is not possible using af: commandButton.
    during the connection after disconnection is not possible using af: commandButton

    Thank you very much
    Jan Vervecken

    Hello

    Still, I wonder if we should really run (JSF) pages, or rather an activity view in the flow of a task?

    The recommendation is to run the activity. I think it's just my laziness to boot from the JSF file in the case of the article (and given my article only has a single page in the workflow unlimited I wonder if my attempt failed, if there was a need for a navigation to another view in the flow of unlimited work). The risk from a page directly, it is a physical implementation of a view that could be used by multiple streams of different tasks (although the common use of the stubborn workflow is to go with fragments of the page, always bounded task flows could be defined using complete documents). His recommendation that you start an activity to view pages in order to ensure the ADFc is used (I wasn't even not aware of 11.2.3 to automatically change request activity instead of the file if there is an activity of referencing).

    Frank

  • error on service cloud oracle adf application deployment

    Hello, I hv saved cloud oracle java and database service. I hv created adf simple application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11 g 2. so I hv created file ear for deployment in the cloud. I have deployed adf the cloud using the java console application. But after downloading applications, deployment failed. I tried 3 times, but the result was the same. I checked the logs, I got 3 warnings in the whitelist log and error in deploy newspaper. Those are the following:

    Warnings in the whitelist log:

    2013-04-14 06:57:11 CDT: start action "API Whitelist.
    2013-04-14 06:57:11 CDT: began API whitelist
    2013-04-14 06:57:12 CDT: WARNING - there are 3 warnings (s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (1 WARNING)
    2013-04-14 06:57:12 CDT: WARNING - 1: "login-config' missing under element child element has recommended.
    JavaEE:web - app.
    If you want to publish your application, you may have vacuum
    < login-config / > in your web.xml file. If you require authentication, you must then
    have <>login-config and its child < auth-method > element in the web.xml file.
    Without this element (< login-config >), users can be challenged by SSO, but
    the code of the application will be run as an anonymous user. Line no.: 4.
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (2 warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1: recommended "jsp-descriptor" missing under element child element.
    ORCL - weblogic:weblogic - web - app.

    If you have a JSP file that is not precompiled, compile errors
    could be shown on the browser. It is recommended to include
    verbose false > < jsp-descriptor > < < > < * *-descriptor > in weblogic.xml.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - 2: recommended child element "session-descriptor" missing under element.
    ORCL - weblogic:weblogic - web - app.

    You will be asked to have cookies separate way, if several
    applications are available in the same SSO session or if you
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 WARNING (s).

    2013-04-14 06:57:12 CDT: INFO - validate white list ended with 0 error (s) and WARNING (s) 3.
    2013-04-14 06:57:12 CDT: validation whitelist past.
    2013-04-14 06:57:12 CDT: complete "API Whitelist": status SUCCESS



    and error in deploy journal:

    2013-04-14 06:57:12 CDT: start action "deploy the Application.
    2013-04-14 06:57:12 CDT: deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: could not load the webapp: Test-ViewController-context-root cause DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: State action WL: failure
    2013-04-14 06:57:15 CDT: Action FAILED with State action WL: failure
    2013-04-14 06:57:15 CDT: see the server log of your cloud service Java for more information about the failure.
    2013-04-14 06:57:16 CDT: Application Deployment failed.
    2013-04-14 06:57:16 CDT: 'Deploy the Application' complete: FAILED status


    I use jdeveloper 11 GR 2, so pls don't tell me to use jdeveloper 11 GR 1 material. because, I hv already developed an application for my final year of Bachelor and I can't migrate to the previous version. So there is only one way for me to generate the ear file and the deployment of the console.

    Thus,.
    I m not getting what is the problem and what will be the solution for this?
    What should I do?
    What changes are required?

    Please, help me out of this problem!

    Well hosting Cloud Oracle ADF applications is for the ADF * 11.1.1-then you will not be able to deploy an application developed with * 11.1.2 thereon.
    If you don't want to revert to the version support for JDeveloper, I suggest that you look in the other accommodation options.
    For example: http://multikoop.blogspot.de/2012/09/adf-essentials-in-redhat-cloud.html

  • Error ADF application to a stand-alone weblogic deployment

    JDeveloper version: 11.1.2.2

    Question: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application on it. The deployment fails with the following message is displayed. The stand alone server, I built is on the same machine where jdeveloper is installed and I use same weblogic provided with jdeveloper install. The application works well on the integrated server. I have studied this issue and you have more or less the same answer of ADF installation run libraries. Can anyone please help me with exactly what I install and how?

    Thank you
    Saurabh.


    [09: 49:44] cannot determine the platform target profile. Using default
    [09: 49:44]-deployment began. ----
    [09: 49:44] the target platform's (Weblogic 10.3).
    [09: 49:55] recovery of the existing application information
    [09: 49:55] analysis of the dependence running...
    [09: 49:55] building...
    [09: 50:18] deployment of profile...
    [09:50:20] wrote on the Web for C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war application Module
    [09:50:20] Application deployment...
    [09: 50:24] [Deployer: 149191] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" boot on 'ADFServer '.
    [09: 50:26] [Deployer: 149193] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" failed on "ADFServer".
    [09: 50:26] [Deployer: 149034] an exception has occurred for task [Deployer: 149026] deploy EmployeeTrack_ViewController_webapp on ADFServer. : could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] WebLogic Server Exception: weblogic.application.ModuleException: could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] caused by: weblogic.management.DeploymentException: error: unresolved Webapp library makes reference to ' [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] check the server logs or the console of the server for more details.
    [09: 50:26] weblogic.application.ModuleException: failed to load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] undeployment.
    [09: 50:26] - incomplete deployment.
    [09: 50:26] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    In the colsole admin click on the name of one of the libraries, and then select the target tab and see if the checkbox for your (managed) server is set. If it's the library should be available, and you should not see the error.

    Timo

  • JSF and JSFF paged called by external task flow

    Hello world.

    After working with JDeveloper and ADF Faces not too much but not too little time, I have a question:

    What is the best and practice how to call from a workflow in a project, external Pages JSF or JSFF located in another project?

    In my particular case, I have:
    First: a project with all the JSF and JSFF stuff and a task runs for navigation JSFF which are called in a "main" JSF page
    Secondly: another proyect with all nodes in key workflows and activities.
    The two projects are in the same application.

    I studied the Oracle Fusion developer's Guide, read the Blog of the Andrejus Baranovskis to
    [http://andrejusb.blogspot.com/2008/06/how-to-call-remote-task-flow-in.html]
    And of course to review several post here in the Oracle Forum.

    For most of the JSF pages, I use the display component of the URL in the workflow project, providing the URL of the page.
    I call to the JSFF, just in the "main" JSF page workflow that calls the JSFF workflow. In a way, it's like a network of workflow.

    {So: any suggestions on how to improve this approach ' "?}

    Perhaps using an ADF file library JAR could improve this, but I don't know and I don't understand exactly how it works.
    A fact more: instead of using business components, I use the ADF faces with the EJB 3.0 technology because work requeriments.

    And... This will work also for projects in separate applications? or it is necessary that the workflow and the JSF stuff must be in the same application and even in the same project?

    Thanks in advance.

    Hello

    You can call external task (called remote task flow) flow of a workflow but call activity only if the workflow is using JSPX pages - no fragments of the page. If the workflow that you want to access using fragments of the page then the best practices to follow are to create an ADF of the workflow library and put at the disposal of an ADF Jar library. The library of the ADF JAR can be imported into a project in JDeveloper, using the range of resources in JDeveloper.

    Frank

  • Deploying ADF application to a managed server in weblogic - security ADF error

    Hello

    Our group wrote an ADF web application, we are trying to deploy on a weblogic managed server. So far, we have succumbed. The application deploys successfully to the AdminServer. Our facility:

    WebLogic version is 10.3.0. Domain name is adf_domain. We installed the ADF (ADF version is 11.1.1.0.0), JSTL (1.2.0.1), and the JSF (1.2.7.1) runtime libraries and they are addressing both the server administrator AND managed server called CollabServer. This server communicates with node Manager and you will be able to be started and the console of administration successfully. The AdminServer is on 7101 port, and the CollabServer is on port 7104. We do not use SSL.

    application.XML:

    <? XML version = "1.0" encoding = "windows-1252"? >
    < application xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd".
    version = '5' xmlns = "http://java.sun.com/xml/ns/javaee" >
    < display name > OracleRetailCollaboration < / display-name >
    <>module
    < web >
    < web - uri > orc.war < / web - uri >
    ORC < context root > < / root context >
    < / web >
    < / module >
    < / application >

    WebLogic - application.XML (as taken from the ear file):

    <? XML version = "1.0" encoding = "windows-1252"? >
    < application weblogic xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
    s = "http://www.bea.com/ns/weblogic/weblogic-application" >
    <>earpiece
    oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
    < / earphone >
    < library-ref >
    < name of the library - > adf.oracle.domain < / library name >
    < / library-ref >
    < / weblogic application >

    WebLogic.XML (as taken from the file. War):

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < weblogic-web-app xmlns = "http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "work".
    w.bea.com/NS/WebLogic/WebLogic-Web-App http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd ' > '.

    <>container-descriptor
    < prefer-web-inf-classes > true < / prefer-web-inf-classes >
    < / container-descriptor >
    < security-role-assignment >
    valid users - < role name > < / role name >
    users of < SPN > < / main-name >
    < / security role assignment >
    < library-ref >
    < name of the library - > jstl < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >
    < library-ref >
    JSF < library name > - < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >

    < / weblogic-web-app >

    As I said, there is no deployment errors when deploying on the management server. However, we still see the following errors when deploying to the managed server:

    java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
    etc.

    This error occurs when the deployment using the < wldeploy > Ant task included with weblogic and the deployment of the application manually using the administration console.

    So I removed this WebLogic - application.xml:

    <>earpiece
    oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
    < / earphone >

    Who decided the initial error (I guess that there is some sort of bug that causes of workaround is necessary). The following error is the following:

    java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet

    Yet once, we do not get this error when deploying to the AdminServer - ONLY the managed server CollabServer.

    Web.XML:

    ...
    < servlet >
    < name servlet - > adfAuthentication < / servlet-name >
    > the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >
    < load-on-startup > 1 < / load-on-startup >
    < / servlet >
    ...
    < servlet-mapping >
    < name servlet - > adfAuthentication < / servlet-name >
    < url-pattern > /adfAuthentication / * < / url-pattern >
    < / servlet-mapping >
    ...

    I then added some jars of adf the ear file, finally get this error message:

    java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils

    Any ideas on how to solve this problem? Thank you.

    Published by: user10451099 on April 15, 2009 12:10

    Dan,
    Thanks for remind me :-)

    Here are the steps we had to take to get a WLS managed to run an adf application without copying any jar in the field/lib directory:

    1. you should always install the adf runtime to any server you want the adf application to deploy on

    2. open the administration console, select the managed server and select the "start server" tab in the settings of trial.

    3. Add

    /u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar:
    /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar:
    /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar:
    /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar:
    /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar
    

    the classpath box, you need to change ' / u01/bea /' with your bea home. The classpath must be on a single line without CR/LF, I put in to make it readable.

    4. Add

    -Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server
    -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml
    -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath
    -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS
    -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy
    

    editing area of the "Arguments". As with the change of calsspath ' / u01/bea ' your home BEA and change the domain name (in our case "naa_qs") to your domain name. change the managementuser and the password to your needs. As whith the classpath I put a CR/LF in the section of code to make it readable.

    5. save the changes and restart the server

    Essentially, all that we have copied the arguments of the admin server start script and more to add the path of the class.

    Timo

Maybe you are looking for