Html Editor in ADF Applications

Hi people,
We have used RichText editor for our application. But our customer isn't satisfied with the editor. They have been asking us to import Office into our web application :) So we are searching for a better editor. We have found some, but they want to run under a index.jspx page. But we want our editor to run under a task flow (under the tag <af:region> )
Is there anyone who have used a better editor in their ADF application, can someone help us with our problem?
Thanks.

Yannick, you will always be my hero and saviour, but not this time :)
I really need to take the documents from the web page, what we are aiming for is to cut the dependency of the users from Word applications, just enter some info from the page, store those info in UCM metadata, see the document right in the page, make some changes, and then submit the doc., then start a BPEL process, the approver can see the document in the Task Form, approve it, and the story goes on like that. If we are dependent on some Office application, the usabilility of our product would be poor.
What I need is some complicated HTML editor in my application.

Similar Messages

  • Communication between ADF Application and third party tool

    Hi,
    JDev 11.1.1.5.0
    I am a new bee to SOA Suite :). I am looking for a suggestion on below usecase.
    We have Arbortext Editor which is a dynamic publishing tool for creating technical publication. We are planning to develop a UI tool
    using ADF/JDev. As POC, we are able to invoke our ADF application from Arbortext Editor as shown below.
    AccessURL accessURL = new AccessURL();
    String myURL = "http://127.0.0.1:7101/IFS_Object_Selector_1-
    ViewController-context-root/faces/object_selector_main?";
    java.awt.Desktop myNewBrowserDesktop = java.awt.Desktop.getDesktop();
    java.net.URI myNewLocation = new java.net.URI( myURL);
    myNewBrowserDesktop.browse( myNewLocation );
    So, Arbortext is having it's own JVM and can have standalone java program with main method. If we can able to provide communication between our ADF application and Arbortext JVM, that can solve our issue.
    We need to pass some information back to Arbortext editor from ADF application on some action (Button click).
    Can you suggest any clue on this?
    It would be really helpful, if you can provide some pointers for similar usecases.
    Thanks,
    Samba.

    Hi Samba,
    I'd suggest better raise it in he ADF forum.
    However, this should be possible by calling the Arbortext functions on click of ADF form buttons. Or you may send the information to a placeholder (JMS, File, DB etc.) from where Arbortext can pick that information.
    Regards,
    Neeraj Sehgal

  • Is there a way to embed an html editor in a webdynpro application?

    Hi,
       I need to create a webdynpro app that has an html editor. I have javascript code(for an html editor) avalaible, but as far as I know there is no way to embed it. Any suggestions? Or is there an existing UI element that I missed?
    Regards,
    Harsh

    hi ,
    Using a Iframe UI u can give the source as the path to this html file(the javascript code). But everytime a event occurs the content i the IFrame UI gets refreshed.
    If u have to just display a content in Iframe UI its fine. If u r planning to navigate inside it ..it wont work out .
    You can fire a exit plug to the javscript code if its the last step in ur application or u can fork a process and create a external window with this url.
    Hope this helps
    Regards
    Bharathwaj

  • Html Editor in C# Windows Application

    Hello,
    I am using WebBrowser Control in C# Windows Application,when I change the language from English to Japanese or Chinese,I am unable to type desired language text inside it.
    At the same time when I typed text in our forum text editor I am able to type desired text.
    My aim is to provide same functionality in my windows application html editor.

    Hi Nikhil,
    >> when I change the language from English to Japanese or Chinese,I am unable to type desired language text inside it.
    What do you by “language from English to Japanese or Chinese” and “type desired language text inside it”? Was the language you changed the winfrom language or the system language? Where did you type the text and could you share us a screen shot about this?
    >> My aim is to provide same functionality in my windows application html editor.
    Do you mean you want to create an html editor in your form? If so, I think the link below might be useful to you:
    # tinyMCE HTML Editor in .NET WindowsForms
    http://www.codeproject.com/Articles/27586/tinyMCE-HTML-Editor-in-NET-WindowsForms
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Building Oracle ADF Applications Workshop

    I have finished going through the "Building Oracle ADF Applications: Workshop"
    from the following link:
    http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
    Hopefully that is sufficient for the doc writer to locate the context of my
    comments. If not, let me know and I'll provide additional information.
    I grouped all of these together as one big comment. If you want it in a
    different format, again, let me know.
    Prior starting the workshop I printed out the entire document which resulted in
    51 pages of output. In each comment, except for the first general comment, I
    list the section name, step number and my page number which should be enough to
    uniquely identify the area that the comment relates to. My suggestions start
    out with "It would be nice...". I numbered the comments so I could have
    comments refer to each other.
    (1) One of the things I really liked was the "If you want to see a
    demonstration of these steps, click here" links. Sometimes the discussion
    was not precise so being able to see the actual usage worked well. It would
    be nice if there were more of these in the workshop.
    (2) "Building the Basic Page Flow", step 2, page 13.
    I had some trouble with this because it wasn't clear how one changes the
    DataPage's name. I used the property sheet and did it wrong, resulting in
    an error. I had to consult the "If you what to see..." link to determine
    how to do this correctly.
    It would be nice if there were a paragraph before "When you are done"
    saying something like:
    To change the name of a DataPage just click on the icon's label and
    enter the new value, starting with the leading slash.
    (3) "Connecting the Pages", step 9, page 21.
    This step has one switch to the Source editor view to make a change. This
    change can also be made in the Design view.
    It would be nice to stay in the Design view. The suggested wording for this
    is:
    In the Design view you can change the Edit button link by clicking on
    the Edit button and pressing the left arrow (<--) key once on the
    keyboard. The Property Inspector will be in an <A> element. Edit the
    href property by appending the following:
    &event=Edit
    (4) "Connecting the Pages", step 10, page 22.
    The first time I had trouble drawing the links. A bit more discussion on
    how to draw the links with corners would be nice. One of the troubles was
    that I would edit one link and another (or all of them) would suddenly
    change to simple vertical links (no corners). The link lines were
    separated, but the link names were displayed making it more difficult than
    necessary to tell which link line went with which link name.
    (5) "Adding a Create Function", step 4, page 24.
    I have the same comment on this step as I did in comment (3).
    (6) "Creating Session Variables with onEvent() methods", step 2, page 27.
    The last paragraph describes how JDeveloper will prompt you to enter an
    import statement. The comment I wrote on that page was:
    Cool!
    It's nice that JDeveloper handles this booking task.
    (7) "Building a Message Stack with a findForward() method", step 1, page 28.
    In the second paragraph it's not clear what the context is. It would be
    nice if the second paragraph would start out with:
    In struts-config.xml, right-click ...
    (8) "Building a Message Stack with a findForward() method", step 6, page 30.
    This code fragment at the end of this step has all lines starting in column
    1. It would be nice if this was indented so it could be followed with less
    effort. The same is true for the other code fragments in this section.
    (9) "Building a Message Stack with a findForward() method", step 12, page 32.
    I wrote a simple Java program that compared a String variable to a string
    literal. In all cases using == to compare returned false, while .equals()
    worked correctly. I was using Java 1.4.2_06_b03. Even if Java 1.5 supports
    converting the == between strings to equals(), it would be nice if the
    comparisons to the "type" variable used the .equals() method instead of ==,
    so that those of us still using Java 1.4 would have properly working code.
    Note that == in 1.4 compares the hash values while equals() looks at the
    contents.
    (10) "Enabling the Delete Confirmation Page", step 5, page 36.
    The last sentence of the first paragraph contains the phrase:
    if there are errors, build the ActionMessage object.
    It would be nice if this contained an extra word as in:
    if there are no errors, build the ActionMessage object.
    (11) "Enabling the Delete Confirmation Page", step 6, page 36.
    Line 12 (or 13 if you count blank lines) is storing a value in the request
    object. It would be nice to have a discussion in this step instead of
    having to wait until section "Intercepting the Middle-Tier Message", step
    8, page 42 before we know what this is all about.
    (12) "Overriding the findForward() Method", step 1, page 44.
    It appears that the call to the super.findForward method is missing. It
    would be nice if the following were inserted before the closing curly
    brace:
    super.findForward(actionContext);
    (13) "Overriding the findForward() Method", step 9, page 46.
    Near the end of this step it mentions the imports that are added. It
    appears that there is a missing import statement. If this is correct, it
    would be nice to also include the following import:
    import oracle.adf.controller.struts.actions.DataActionContext;
    (14) "Overriding the findForward() Method", step 10, page 46.
    My diagram doesn't look like this. The "Edit" link between /browseCustomers
    and /editCustomers should be "Commit". The "Cancel" link from
    /editCustomers back to itself shouldn't be there. The "Commit" link from
    /sure to /browseCustomers should be "Cancel". Compare this with the diagram
    in section "Creating a Delete Confirmation Page and a Forward", step 5,
    page 25.
    (15) "Internationalizing Field Labels", step 3, page 48.
    This is another case where the context is not clear. It would be nice if
    the following was added to the first paragraph:
    In the browseCustomers page,
    (16) "Internationalizing Field Labels", step 10+, page 49.
    Everything is internationalized except for the buttons. How does one
    internationalize them?
    (17) "Conditionally Displaying a Field", step 1, page 49.
    The last sentence says "The result should look like the following:". If one
    were following this workshop from front to back then what should be shown
    is the internationalized version of this page.
    (18) "Conditionally Displaying a Field", step 5, page 50. Bug?
    When I look at the Source view of editCustomers.jsp the <INPUT> element has
    a property setting of disabled="true". When I run the application and look
    at the HTML source used by the browser, that same <INPUT> element has a
    property setting of disabled="disabled". It works, but isn't that somewhat
    redundant? I recommend that the source code should have the disabled
    property setting as it appears in the Source view.

    Hi Jean,
    Can you please provide the document part number and book title where you have seen this errors? This way I can forward this to the doc writer.
    If this is not a document issue, please try the Members Feedback Forum. Community Feedback (No Product Questions)
    Thanks

  • Does jheadstart support HTML editor

    Hello,
    In my application, I need to allow users to entered html formatted text, I change one of my text fields to have a display type of editor. This allows the user to enter text. However when I view this text in another part of my application using the outputformatted component, the text is not formatted. When I check the contents of the data. The text has control characters to format the text instead of html tags. Is there a way to use the simple html editor in Jheadstart for text fields.
    Regards
    Orlando

    Our users are only entering a small amount of html content such as p, ul and li tags. The application in an examination system, and the administrators enter their formatted question text.
    So I thought I could use the editor for the display type. However it does not seem to be the same cutdown htrml editor you see in the standard ADF input components.
    If we use the editor for the display type for entering the question text. Which component do we use to see the results when a user is taking the exam.
    As you suggest, do I use an outputText with escape="false"?
    Thanks in advance.
    Edited by: orlandok on Nov 9, 2010 9:31 AM

  • 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

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

  • Textarea with HTML editor is not working

    Hi all,
    This is producing me a real headache.
    I created the simplest application in the world with one Textarea with HTML editor, and the editor control does not show the usual tool bar for fonts, color, alignment, etc. Just a ordinary textarea.
    Moreover, this was working before... I moved to another location in my work (me, not the server). Yes, I thought about the Internet Explorer, but Firefox has the same issue.
    So any idea I can try to make this work?
    I have another applications already in production with the same issue.
    Need help!!!!!!!!!
    Thanks in advance.
    Lukas.
    Application Express 2.1.0.00.39
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    Internet Explorer 7.0.5730.11
    Firefox 1.5.0.11
    Windows XP Service Pack 2
    1 G Ram
    Pentium D CPU 2.80GHz

    Lukas,
    I would go and integrate FCKEDITOR (http://www.fckeditor.net/ ) into your application.
    Here are instructions on how to achieve this (sorry but only in German):
    http://www.oracle.com/global/de/community/tipps/einbinden_fckeditor/index.html
    It basically means:
    1) copying the files from fckeditor under the /images directory
    (you can use the instructions here: http://daust.blogspot.com/2006/03/where-are-images-of-application.html)
    2) creating two shortcuts INCLUDE_EDITOR_SCRIPTS and EDITOR
    3) placing the shortcut INCLUDE_EDITOR_SCRIPTS into the page html header and
    4) placing the shortcut EDITOR into the post element text of your plain textarea element
    That's it.
    BTW, FCKEDITOR has been included in Apex 3.0 as a standard item type.
    Regards,
    ~Dietmar.

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    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:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. 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 child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-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 required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    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 - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • Error while deploying adf application using ant script or jdevloper IDE

    Hi All,
    While deploying adf application into cluster weblogic server I am getting strange error though my weblogic server is working fine as I checked it from weblogic console. Seems that there is some heap memory issue but don’t know the exact cause as it work perfectly if I restart the server.
    Same error i get when i try to deploy application from Jdeveloper IDE though it created the server connection successfully.
    Please help me by provided valuable tips to overcome this problem or any special tips to optimize weblogic server for ADF.
    Thanks in advance
    Error Reference:
    Buildfile: builddeploy.xml
    deploy:
    [wldeploy] weblogic.Deployer -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at WebServercom:7001, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://WebServercom:7001
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
    [wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: ADR_domain
    [wldeploy] [ServerConnectionImpl.setRemote():480] : Running in remote mode
    [wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]21b
    [wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
    [wldeploy] [BasicOperation.deriveAppName():140] : appname established as: admin
    [wldeploy] <23-Sep-2011 11:05:14 o'clock BST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, admin [archive: W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war], to ADR_Cluster_1 .>
    [wldeploy] [ServerConnectionImpl.upload():849] : Uploaded app to /data/app/Oracle/Middleware/user_projects/domains/ADR_domain/servers/AdminServer/upload/admin
    [wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():623] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] ADR_Cluster_1
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin
    [wldeploy] App config: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin\plan
    [wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=admin,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
    [wldeploy]
    [wldeploy] [BasicOperation.execute():440] : Initiating deploy operation for app, admin, on targets:
    [wldeploy] [BasicOperation.execute():442] : ADR_Cluster_1
    [wldeploy] Task 5 initiated: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
    [wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + admin ADR_Cluster_1
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
    [wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
    [wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
    [wldeploy]      at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
    [wldeploy]      at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [wldeploy]
    [wldeploy]
    [wldeploy]
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [wldeploy]      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • 403 Error running ADF application in JCS

    I am getting a 403 error while running a ADF application in JCS. I defined a security role and mapped it to a custom role. web.xml and weblogic.xml are pasted below
    <web-app 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/web-app_2_5.xsd"
             version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>ServletADFFilter</filter-name>
        <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>ServletADFFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>GatewayServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>GatewayServlet</servlet-name>
        <url-pattern>/flashbridge/*</url-pattern>
      </servlet-mapping>
      <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
      </mime-mapping>
      <security-constraint>
        <web-resource-collection>
          <web-resource-name>constraint1</web-resource-name>
          <url-pattern>*</url-pattern>
        </web-resource-collection>
      </security-constraint>
      <login-config>
        <auth-method>CLIENT-CERT</auth-method>
        <realm-name>default</realm-name>
      </login-config>
      <security-role>
        <description>javauser</description>
        <role-name>javauser</role-name>
      </security-role>
    </web-app>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"
                      xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
      <security-role-assignment>
        <role-name>javauser</role-name>
        <principal-name>manager</principal-name>
      </security-role-assignment>
      <session-descriptor>
        <cookie-path>cloudTest1</cookie-path>
      </session-descriptor>
      <context-root>/cloudTest1</context-root>
    </weblogic-web-app>

    Does it work without security ? Does it work with "BASIC" authentication ? Which browser are you using, there have been authorization issues with CLIENT-CERT on IE. Try FF and clear your cookies / cache before accessing.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Error while Portetizing ADF Application with security feature.

    Dear All,
    I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am getting error, For reference i am pasting my web.xml and portlet.xml.
    ------------------------web.xml-------------------------------------------------------------
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>faces/Welcome.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>Guest</role-name>
    <role-name>oc4j-administrators</role-name>
    <role-name>users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>Login.jspx</form-login-page>
    <form-error-page>Login.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>Guest</role-name>
    </security-role>
    <security-role>
    <role-name>oc4j-administrators</role-name>
    </security-role>
    <security-role>
    <role-name>users</role-name>
    </security-role>
    </web-app>
    ---------------------------------portlet.xml----------------------------------------------
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>UC68PortletKunal</portlet-name>
    <display-name>UC68PortletKunal</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/SearchInput.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>UC68PortletKunal</title>
    <short-title>UC68PortletKunal</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.

    Hi,
    not sure what the error message is that you get. However, if you access an application through prortal then the security needs to be enforced by the portal, not the application itself because the portal will modify the request headers.
    Did you ask the question on the WebCenter or Portal forum here on OTN
    WebCenter Portal
    Frank

  • Step-by-Step guide for developing a ADF application, does it exist?

    Step-by-Step guide for developing a ADF application, does it exist?
    Hi there,
    At our company we recently begun working on a project using Oracle ADF with
    UIX. We got the Oracle JDeveloper 10g handbook and we did a 5 day Oracle ADF
    course. A good way to start the project I think.
    One thing that bothers me though, is that I cannot find a simple clean example
    how to manipulate a record in the DB, going through all steps of MVC. I tried
    this forum, the books we got and google. It usualy explains a small portion
    of the steps needed, but never a complete example.
    I know people will probably say you can design what you want in various ways
    and that's its all up to the developer, this is also the power of ADF that it
    can be very flexible.
    However it would be nice to have a step-by-step example how to be able to insert,
    edit and delete a record. Showing all the steps that have to be made in the BC4J,
    struts and UIX, including creating triggers, seq, autocommitting etc.
    I think ADF is pretty complicated, therefore having a step-by-step example guide
    (design pattern) would be very handy for a beginner like me.
    Do such guides exist, are there developers who created such a guide for themselves?
    Would other developers find such a guide useful? I'm curious about everybody's
    opinion.
    A good example of what I mean by guide can be found here
    How To Build a Simple UIX Search Form, written by Shay Shmeltzer
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    kind regards
    Ido

    Have a look at the ADF Workshop - it doesn't use UIX rather it uses JSP but I think it will give you the basics.
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Then have a look at the toy-store demo and the new ADF Case manual:
    http://download.oracle.com/docs/cd/B14099_10/web.1012/b19163/toc.htm
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/index.html

  • Configuring Multiple Schemas in Oracle ADF application

    Hi,
    Thanks all for the replies for my previous posts :-)
    We have a requirement in which we need to configure our application for multiple Database schema. At runtime based upon the logged in user we need to get data from the schema related to that user.
    These schema may be on same Database instance/server or may be on different DB servers.
    The requirement is like this
    Logged in User DB schema configured
    "A" ASchema @ 127.0.0.1
    "B" BSchema @ 127.0.0.2
    "C" ASchema @  127.0.0.1
    "D" Dschema @ 127.0.0.2
    based on the User login (which is happening through one OID system), I need to fetch data from different schema (configured for different application).
    These schema have different set of tables but set of table we require for our application are of same structure.
    Same structure means same Table names with same relations.
    Please let me know can we do the same in Oracle ADF application and How?_
    One more requirement is that if i add a user at runtime and configure the DB schema for this user, All data related to this users will be loaded from this Schema which is configured for this user.
    Thanks in Advance,
    Amit
    newbie to Oracle ADF
    Edited by: ur.amit on May 10, 2010 3:17 PM

    You can try the below example to change database at run time.
    in the filter change the connection and not the credentials
    http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html#03.
    Most of the other part is done to handle state management tables, which you might also have to do unless you use a file passivation store or if its ok to passivate to a single database always.
    If its ok to passivate to a single db always. Hard code the jbo.server.internal_connection in the AM configurations to a DB jndi name.
    Adf allows you to activate and passivate to a different database other than what you are connected to get and put data.

Maybe you are looking for