Running jspx page having the ADF DVT inside bar chart

In Jdev, I am able to create a page jspx with ADF DVT associated histogram in it, also a bean of support and is successfully able to run the jspx page.

Now, I'll have my web application (no ADF in service) running on WLS. I want to deploy a graphic page jspx with ADF DVT bar inside the server where my web application is running. What are the steps, configurations and libraries that I need to make it work?

Any document relating to this will be very useful.

http://radalcove.com/blog/?p=48
or
http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/deployment_topics.htm#CHDJJDDG

Tags: Java

Similar Questions

  • Not able to run jspx Pages of BPM Application by using built-in WLS JDev ADF

    Hello

    JDeveloper 11.1.1.6 BPM 11.1.1.6, WLS 10.3.6, model: BC4J

    I created a BPM Application in JDeveloper, with a process and a ViewController ADF for user interface project and a model project
    The application is deployed on the WLS and works when I test it in the workspace of BPM.

    But the UI of the ADF is based on custom of the database data and is a bit heavy UI with lots of data and features.
    I am trying to create entire user interface in taskflows separate and use as auto generated pages created by the plugin BPM in JDev position regions.

    Can I deploy the entire application and test it in the workspace of BPM, but it takes a lot of time for the process of generation and deployment.

    So I tried to create a stand-alone page in the ADF ViewController project and use the ADF taskflows in the page to test in JDev integrated WLS.
    So in this way I can concentrate on test only the ADF UI related code and not worry the BPM process to test the user interface. (Assuming that the process works well).

    Please note that I don't want to test the BPM process (at this point), but I want to test only the built-in ADF UI of WLS.

    When I try to run the stand-alone page in WLS, it gives me the error below.

    Has anyone tried to run ADF UI pages in a BPM Application using JDeveloper.
    Is there another way to test only the pages of user interface instead of deploying the entire BPM to WLS?
    Is there a setting etc, we can change and turn the page in JDeveloper?

    Thanks for any help
    Concerning
    Sameer

    Error in JDeveloper IWLS
    -----------------------------------
    [10: 13:59] Application deployment...
    < 13 June 2012 13:13:15 EDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1339596839457 'for task ' 0'. Error is: "weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference." References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false]. »
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "XXXComboApplication" >.
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    # Cannot run application XXXComboApplication due to the deployment on IntegratedWebLogicServer error.
    [10:14] # incomplete deployment. ####
    [10:14] deployment remote has failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [XXXComboApplication application stopped and cancelled Server Instance IntegratedWebLogicServer]
    -----------------------------------

    Hi Sameer
    1. I know exactly what your condition is and what you're trying to do. I'll go with a few assumptions about what you have and on the basis that I say, unfortunately NO, that you try will NOT work. But there are other ways to test your stuff.

    2. you have a bpm, i.e. with a single process bpm application and a Web of TaskForms project (which has taskDetails pages that use your JSFF of fragments using the af:region tag). Don't forget to build the TaskForms project by selecting a. File TASK etc. You have a lot of things db backend and I hope that you have created entities, EJBs and DataControls. Then, you create links in JSFF etc. Everything is deployed on a full SOA domain fleded and you're good. BUT Yes, it is very tedious and painful to test. I agree.

    3. now you want to test only UI part without any process and tasks. To do this, you try to deploy on field of JDeveloper's integrated WLS and it does not work. Yes, it will fail, and it will not work. Because the domain default wls is a simple domain with just core j2ee and some modules of adf deployed. BUT your TaskForms also has some modules of bpm/soa. In JDeveloper, select your project TaskForms-> right click-> properties-> libraries project and Classpath-> right side, you see a lot of modules BPM for ex: Module of BPM. If you view it, you will see the modules (jars defined in this ex: bpm - services.jar). NOW your integrated domain name do NOT have these deployed modules, and so you get exactly the error that is entirely logical.

    4. go in your area/config integration jdeveloper and open config.xml file folder. Open the file config.xml of your entire standalone soa domain also. Search for "oracle.soa.workflow.wc" in these two files. You will find this soa area but NOT in the area of default jdeveloper. It is the question.

    5. now, you can not make your name domain integrated to work for SOA/BPM applications. This requires a lot of effort to add all modules and corrupt your domain also name. I would not recommend this.

    Now, is there another way, you can test your pages of fragment that has stuff heavy backend. Yes. In your app JDev, create a new Web project with only the ADF modules. Remember when we create an application for the PIA, it creates 2 ViewController and model projects. So everything you want is create a new ViewController project that has all the web, jsff, javax, adl added modules. In what you create DataControls for your EJBs and create or copy Fragments that you already have. Then create pages of simple jsxp as hell01.jsxp, hello2.jspx etc and include your fragments using af: region etc. You can deploy your application to the exclusion of TaskForms on domain JDeveloper. As to the level of the EAR, creating a new deployment profile. Add all (EJB) projects, including the new project viewcontroller except for process and TaskForms. I am convinced that it will work. Then you test your JSPx files directly their performance:
    http://localhost:7101/myViewWeb/faces/hello1.JSPX (assuming that the file jspx is under folder contenuWeb)
    http://localhost:7101/myViewWeb/faces/hello2.JSPX

    If none of the fragments needs input data set, you can still create a PageFlowController class and have life like prepareModel etc. methods to define the criterion of data entries. Assign to this pageflowcontroller the pagedef. So every time that you run jspx, he calls this controller pageflow. Or just have a few fields on your screen jsff that stores data and a link to a managed bean. In this way, test you and certify your screen jsff, connections, ejb code backend db stuff etc etc. Once it works, it will work if you put this jsff in file taskDetails.jspx also with maybe a few minor changes.

    If you want to really test your UI and all the backend without too much stuff to focus on the tasks of process / and NOT using soa domain, then this is the only way to go. I wouldn't recommend updating JDev field with stuff of soa/bpm. This is just my 2 cents opinion.

    Thank you
    Ravi Jegga

  • Had to click twice on the page of the ADF

    I have a page in the ADF in which are some text entry fields and selectBoolenRadio fields, select a choice to enter the list of values. This form starts with all the fields in the disabled state and the user must click on a button to activate the fields to change the data. When the user clicks this button, nothing happens, when you click it once again, the action is call. I followed the beforePhaseEvent to this page and I noticed that at first (when the user makes the first click), the ADF jumps directly to RENDER_RESPONSE and when the user makes the second click, the ADF pass for all the steps correctly. I don't know what else to do to solve this problem. Please help me.

    First of all, why not use af:commandButton instead of the toolbar button?

    and the method that you use reload the entire page which is not a good practice to load the page everytime

    Place just partial relaxation on the form fields to refresh the fields (no need for this method)

    have you tried true immediately on the button?

    Ashish

  • Best practices to navigate programmatically to a page in the ADF

    What is the best approach to navigate by program to another page in the ADF. I can use in JSF, but want to know is there any other approach for navigation in the ADF:

    FacesContext.getApplication () .getNavigationHandler () .handleNavigation

    Hello

    You can use JSF navigation without any problem, as long as the jsf keep the navigation of programming '_adf.ctrl - status = v12vze7kl_4' query parameter if loses this attribute, the user's State would be lost.

  • Find and view a network file in the page of the ADF

    Hello

    I have a simple requirement where at the click of a button link in my page ADF, I need to display an html page stored in the network location (e.g. / / < host name > / folder1/folder2/demofile.htm)

    I have only the path and only a substring of the filename, so I have to search for the file in the network directory using this substring. Once I have the file name, I use af:goLink to navigate to the network path and view the file in the browser.

    Here is the piece of code from Managed bean and the jspx

    FindFilebean.java

    .

    .

    path = "" \< host name > \\folder1\\folder2".

    File f = new File (path);

    [] List of the files in the folder = f.listFiles ();

    File latestFile.

    for (file: filelist) {}

    {if (file. ToString(). Contains (fileNameSubstring)}

    If (latestFile== null |) ((latestFile! = null & & latestFile. lastModified() < file.lastModified ())) {

    latestFile= file ;}

    }

    }

    path = latestFile;

    .

    .

    FindFile.jspx

    < af:goLink text = "Print Traveler" id = "gl1".

    destination = "#{viewScope. . "{FindFilebean.path}" targetFrame = "_blank" / >

    < af:popup = "deferred" autoCancel childCreation = "disabled" id = "p1".

    It works perfectly fine when I run a local integrated server, but I get a null value pointeron access to the f.listFiles (); when it is deployed on the weblogic managed server

    I also tried the following:

    1. creates a servlet and tried to read the file using the buffered output stream and display in an inlineFrame

    2 FiledownloadActionListener to read the file and view/download it

    These two approaches work very well locally but display/download a blank page on the server.

    Please suggest what Miss me here and if there is another way to achieve this.

    JDev version: 11.1.2.4.0

    WebLogic Server version: 10.3.6.0

    Thanks in advance.

    In fact f.listFiles () should not throw NPE as the directory exist a lot and the code snippet works fine on the local server.

    But you should add check and display the appropriate message to the users in the case

    As you mentioned the managed server is not able to access the network share.

    Guidance on how I could do this job?

    That is the question to your system administrator.

    They need to map this network share to the managed server machine.

    Or if this is impossible, then you can perhaps use another approach (ftp, scp,...)

    Dario

  • ADF DVT: Battery bar graph cannot display all the bar.

    Hi Experts,

    I am currently having a problem displaying the bar charts in my use case.

    There is inevitable instance at a point of the information provided, it can is having a party containing a very large database.

    Here is my sample code.

    In the code example below only the details with huge data is rendered in the graph. and the rest are not rendered. is this a known issue?

    screenshot: http://sdrv.ms/13DXeyn.

    I use PS6 ADF in windows7(64bit), Chome browser.

    ManagedBean. This bean contains static data for testing only. Notice how large the data in the 2nd to the smallest detail.

    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    
    import javax.faces.event.AbortProcessingException;
    
    import oracle.adf.view.faces.bi.component.graph.UIGraph;
    import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
    
    public class GraphTimeAxisManagedBean {
        SimpleDateFormat stdFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
    
        public List getTabularData() {
            ArrayList list = new ArrayList();
            try {
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 1", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 3", new Double(30) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 1", new Double(150) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 2", new Double(240) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 3", new Double(10) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 1", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 2", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 1", new Double(200) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 2", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 3", new Double(30) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 1", new Double(203)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 2", new Double(90)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 3", new Double(70)});
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 1", new Double(75) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 2", new Double(86) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 3", new Double(99) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 1", new Double(60105) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 2", new Double(50309) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 3", new Double(50210) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 1", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 2", new Double(77) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 3", new Double(99) });
            } catch (ParseException e) {
            }
            return list;
        }
      }
    

    JSFF (user interface Page).

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelGroupLayout id="pgl1">
        <dvt:graph id="barGraph1" graphType="BAR_VERT_STACK" shortDesc="testing"
                   inlineStyle="width:800px; height:300px;"
                   tabularData="#{pageFlowScope.GraphTimeAxisManagedBean.tabularData}">
          <dvt:background>
            <dvt:specialEffects/>
          </dvt:background>
          <dvt:graphPlotArea/>
          <dvt:seriesSet>
            <dvt:series/>
          </dvt:seriesSet>
          <dvt:o1Axis/>
          <dvt:y1Axis/>
          <dvt:legendArea automaticPlacement="AP_NEVER"/>
        </dvt:graph>
      </af:panelGroupLayout>
    </jsp:root>
    

    Thank you

    Achi

    Achi,

    This isn't a problem with the graphics as such, but the issue of data. Since the value of the data that is displayed is huge and other data are relatively very low to occupy the chart area (Ex: 60105 Vs 10).

    You can try application zoomListener or zoomScrollListener for the graph to zoom in and see the small data.
    & lt; DVT:graph & gt;

    Arun-

  • No data refresh after edit on the page of the adf.

    Hello

    I was pulling my hair out for a week now. try to look for the answer to my problem, but no luck. hope someone can help me.

    Here is my case:
    I am train to the top of the adf + ejb3, weblogic 11g + mysql, I had developed a simple solution to test the reference technology. I created 2 database table, the Department and employees.

    I follow the example of Oracle with success and created the model and the Joint Strike Fighter. I have 3 jsf, search.jspx, new.jspx, query.jspx. inside the search.jspx, I used the named criteria for the data control to create the query page and he successfully recover the data on employees of mysql with the name of the service of the department table. but when I try to edit the existing record and navigate back to the search.jspx, the name of the service (from the department table) was empty. no way, how I made, refresh the page by pressing the search button, the name of the service just refuse to come out. until I have start the weblogic server.

    Help, please.

    Thank you
    Vince

    Published by: 817229 on December 19, 2010 16:27


    Hi all, can - does anyone know how to solve the problem mentioned above? Help, please. Thank you.

    try adding the following line in persistence.xml ejb


  • Open the HTML page in a tab within the Page of the ADF

    Hi all
    I have a link in my adf (jspx) page, which should actaully open an html page in a new tab.
    I don't know how to implement this.
    I am able to open jsp fragments in new tab. But not for the HTML Pages.

    Can someone help me on this.

    Thanks in advance.

    Try opening the page inside a component of inlineFrame:
    http://jdevadf.Oracle.com/ADF-richclient-demo/components/inlineFrame.JSPX

  • Cannot run jspx page

    Hi all. I am new to Jdeveloper 11g release version

    11.1.1.55.36 ADF business components
    Java (TM) Platform 1.6.0_14
    Oracle IDE 11.1.1.2.36.55.36
    11.1.1.2.36.55.36 versioning support,

    and had a problem through adf tutorial
    (http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm)
    on the site. I did all the steps till it was time to run the jspx page. At this time, I got this error:

    < 29 April 2010 08:27:03 CEST > < WARNING > < J2EE > < BEA-160195 > < application version of the lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored, because the application HRSystem is not versioned. >
    < 29 April 2010 08:27:04 CEST > < WARNING > < JDBC > < BEA-001129 > < receipt exception creating connection to pool 'HRConn': unrecognized locale >
    < 29 April 2010 08:27:05 CEST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1272522423215 'for task ' 0'. Error: ' weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: locale not recognized
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:256)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1104)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
    Truncated. check the log file full stacktrace
    >
    < 29 April 2010 08:27:05 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy application task "HRSystem" >.
    < 29 April 2010 08:27:05 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: locale not recognized
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:256)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1104)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1065)
    Truncated. check the log file full stacktrace
    >
    [08: 27:05] # incomplete deployment. ####
    [08: 27:05] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    # Cannot run application HRSystem due to the deployment on IntegratedWebLogicServer error.
    [Application HRSystem stopped and cancelled Server Instance IntegratedWebLogicServer]

    This is the line that I focused on when looking for online solutions
    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: unrecognized locale.
    Since then, I tried the undeployment of my project, tested the connection I was using with success and created a new page jspx but much more simple (just a few buttons). I also read that you should try to remove the file system, but I'm reluctant to do. Also, I checked the connection to the logical Web server and one is a success.

    I'd appreciate any help you guys could give me.

    You're welcome, glad to help you.

    You can and should mark this question as answered. To give points, you click the button 'Useful' for 5 points or "Fix" for 10 points in the response which has helped/solved your problem.

    Timo

  • Error in the page when the ADF security enabled

    Hello

    I created an example page JSF with only a text to output "Hello World!"

    When I run the page without activating the safety of the ADF, it works fine.

    I activated the ADF security according to the "Enabling Oracle ADF security 29.3" in Guide of Dev for the ADF.
    Now when I run the page, it shows the default login page. I enter username and password and 'send '.

    After that, it shows an error with the following error page:
    --------------------------------------------------------------------------
    Error 500 - Internal server error
    java.lang.RuntimeException: cannot find FacesContext
    at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
    at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
    at jsp_servlet.__testpage1_jspx._jspService(__testpage1_jspx.java:85)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ------------------------------------------------------------------------------------------------------

    Any suggestion/help in this regard is appreciated.
    Thank you

    Hi vbokar! ;)

    I check your application and I noticed that the political ADF seems be grayed in JDev so I re - run the Configuration Wizard for the ADF security.
    Other changes were:

  • user "vbokar" was added to the application role 'testRole1 '.
    <>changed the password of the user vbokar for "password1" (so I can test it)
  • changed the home page or from the success_url of ' / TestPage2.jspx ' to ' / faces/TesPage2.jspx.

    Run and Viola! It works!
    Here is the updated file...
    https://docs.Google.com/leaf?ID=0b-coz_ZFqg5XMmQyNGZiNTAtY2YwZC00YWMwLWIxNWItM2ExZWVlOTFjN2Ri&hl=en

    Kind regards

    Pino

    PS. as I also proposed Vikram wire, please build > CleanAll your app. Or better yet, remove it and load the one you sent me.

  • How/where to store more information page in the ADF?

    Hi all

    What is the best way to fill the managedBean during the loading of the page?

    In my application, I have a page fragment that displays the details of the user of Webservice DataControl. I have and drag the data to the pageFragment webservice control. This fragment has mapped in the taskFlow and the annex taskFlow in to JSPX homepage as a region. I need to store such user information in any place (ManagedBean / or any other better place to store) that I can use at my request along, because I won't run again whenever the webservice to get the same information from the user. Also, I want to collect and store this information while I give back to the homepage, not after any action of the user.

    Please advice how & where to store the information in the ADF? Can I create a managedBean? If so, how to trigger this class method on page load?

    Thank you
    KLN

    Hello

    in this case, you configure the managed bean to be within the scope of the session. Then, on the first page, you set a stage for restoration after phase listener (it is a beacon in the f: view element). This is phaselistener refers to the bean managed using EL (important). She can do by using an expression of the method in JSF. For example, if the managed bean had a populateUserInfo method then yu might reference #{beanname.populateUserInfo} and run the expression of the method using Java. In the managed bean, the method would be to access the link layer using the BindingContext class

    http://download.Oracle.com/docs/CD/E15051_01/apirefs.1111/e10653/Oracle/ADF/Model/BindingContext.html

    Call

    . GetCurrent () .getCurrentBindingsEntry () BindingContext to get a handle of instance active BindingContainer.

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    Then on the container of the binding, you call the method to query the Web Service for the modules

    before calling a method on the ADF link layer, make sure that the ADF is binding for the method
    OperationBinding opws (OperationBinding) = bindings.get ("name of the method exposed on the other side");
    If you need pass parameters
    opws.getParamsMap () .put ("name of the argument", value);
    OPWS. Execute();

    You can use similar code to access the information of the user of the iterator method in the ADF to complete managed bean fields. You can access user information from the bean managed through getter and setter methods

    Frank

    PS. : I know that the description is a little rough. I'll see if I can find a sample of blog at a later date

    Published by: Frank Nimphius, 26 January 2010 17:43

  • Fax multiple pages in the ADF

    When you try to FAX several pages, I load in the ADF of my 6700 printer and start fax.

    After that some Fax pages with success, get a printout showing ERROR 346. It also indicates that a communication error occurred during the transmission.

    This doesn't seem to be a random problem, but occurs whenever I try to fax multiple pages. In addition, the same thing happens with different recipients.

    I've never run into that until I started to use my 6700 printer. Previously, when you use a fax, it never happened.

    Any help would be greatly appreciated. Thank you.

    Hello mortn99 here, I hope you enjoy your Monday

    I noticed your post on the 346 error code that you receive when you send a fax to multiple pages of your 6700 JO. Here is a screenshot of the definition of the error code and a link to the Web site to interpret the error codes in the future. The suggestion is to change the speed to slow and disable the ECM which may help you!

    See eight Solution and Solution nine to get instructions on changing the speed and disable ECM.

    Send fax fail intermittently or fails for a single recipient

    Interpretation of the Error Codes in fax or fax history reports Communication error

    I hope that helps!

    Have a nice day

  • play video files on the page of the adf

    Hi all
    IM beginner in Oracle ADF using jdev 11.1.1.6, my concern is that I want to read files .swf/video on the adf page are stored in db. I tried to play the normal video with af: inline frame. but im stuck how to read the videos stored in the blob field in db.


    I found the same scenario: Re: uploading video to the oracle database and playback of this video in a jsf page , but no solution has been found.

    Published by: 931029 on Sep 20, 2012 05:29

    There was a post the other day about the Blobs (probably), but it can help you connect the dots...

    Re: ADF how to download BLOB data column

    Stuart

  • Customize the Page from the ADF

    JDev ADF BC 11.1.1.6.0

    I want to customize my page ADF for differenet of business scenarios. For example, a label displayed as 'ABC' for a user should be displayed as "XYZ" for user B.
    I mean, the label component is the same, but have different texts for different users.

    I'm also only on the security of the ADF. Let do more sample using pledge does not matter.just that you need to take care of the connection method.
    You must put this logic in your connection method where you check the user name and password.

    Thank you
    Prateek

  • Dynamic display of table on the page of the ADF

    I'm looking for a page ADF that has a drop down box whose name table as inputs and when he selected should show data within this table in the ADF array element.

    Arun,

    What do you mean by "more simple? Another way to proceed would be to have fragments of JSF page separated for each table and use a dynamic region on the home page. I haven't worked through the solution, but it should work.

    John

Maybe you are looking for