ADF faces logout problem

Hi.
I've a problem with ADF faces that I didn't had when I was using the JSF reference implementation. W're using Jboss as a container, but that has nothing to do with this.
Basicly, the users triggers a logoff by clicking a link that leads to the "logoff" JSF page.
This page has exactly this content, and nothing more:
<%-- Tag libraries --%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/tlds/refdataportal.tld" prefix="r" %>
<%
org.mycompany.Util util = new org.mycompany.Util();
util.logoff(request);
response.sendRedirect("Goodbye.jsp");
// code DOES reach this point
%>
The logoff function does this:
// invalidate faces
FacesBean.releaseContext();
// invalidate the current session for good measure
HttpSession session = request.getSession(false);
if (session != null)
session.invalidate();
// force the old session to go to the eternal fields of session objects
request.getSession(true);
The redirect to Goodbye.jsp is needed to force a "JBOSS" logoff as well.
Goodbye.jsp is a JSP page (** not ** JSF) which a simple goodbye message.
Anyway, since using ADF I get the stacktrace shown below.
I did try to call release() on AdfFacesContext, but that didn't help.
Do note that we actually reach the line "// code DOES reach this point" shown in the logoff JSF page above... so the redirect() statement is executed.
Anybody knows how to deal with this?
Remember, it used to work perfectly fine with the reference impl.
Regards,
Falco Paul
12:33:44,580 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw excep
tion
java.lang.IllegalStateException
at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
at com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.
java:129)
at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)

Hi!
Unfortunally your suggestion didn't work. I did however discover that the exception is only thrown if one uses ADF faces components. There is no error message if reference implementation components are used (even if using the ADF faces renderer class).
Anyway, this is what I trie:
I first did a a regular faces responseComplete() call, as I figured that could be the missing action, but again I got the same exception:
java.lang.IllegalStateException
     com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
     com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
     oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.java:129)
     oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
     oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
     com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
Then later I tried this actually calling the faces "sendRedirect" function shown below (that is: prior to calling the logoff() code), but again I got the same Oracle exception (see above).
// helper method: redirect to some URL (which may be either absolute or relative)
public synchronized static void redirect(String url)
ExternalContext external = getExternalContext();
if (external == null)
return;
try {
external.redirect(url);
catch (Exception e)
e.printStackTrace();
responseComplete();
So... unfortunally I did still not get much further...
Regards,
Falco

Similar Messages

  • ADF Faces Dialog problem.

    Hi,
    I am using JDeveloper IDE- 10.1.3.3.
    I have a ADF Faces Dialog (launch Dialog) with a form and several input text components binded to a Backing Bean.
    When Dialog is opened for the second time, the values of the text components loaded with previous values which I have enterd for the first time.
    Scope of the Backing Bean is Request.
    All the launch Dialogs are working in the same way.
    The problem exists when I run the application from Application server(10.1.2.0).
    It works fine from the JDeveloper.
    How to do this ? please help!
    Its very urgent.
    Note: I have different application with similar launch dialog and functionality which works fine on the same Server and JDeveloper.
    Thanks in advance.
    Supravat

    Supravat,
    A sample of the pertinent code from a dialog that persists values would be helpful here.
    -Michael

  • ADF faces update problem

    Hi all, I'm using ADF faces + toplink. I have developed a form that first inserts mandatory fields of a record via persistEntity function and later in same page after inserting mandatory fields of record, I want to update empty fields of record that are firstly entered via persistEntity and which are not mandatory fields ... but ... in same page mergeEntity does not work as a result couldn't update the rest of the record in database. Both persistEntity and mergeEntity is binded to same field (<constructor-name.result>) of constructor.
    I have watched from logs through processing of unit of work ... there is no update expression in logs like below :
    [TopLink Finer]: 2006.05.11 04:30:35.546--ServerSession(1693)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Finer]: 2006.05.11 04:30:35.546--ClientSession(2557)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--acquire unit of work: 2556
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--begin unit of work commit
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--end unit of work commit
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--release unit of work
    please tell me , why mergeEntity does not update the rest of the record after successful insert via persist entity in same page!?
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Frank, thanks for your interest to my problem :-)
    I have passed this problem... I'm using session facade there is no problem in this point. I'm using ADF Faces + Toplink + Session Facades model clearly.
    The problem is ; there is a database table which contains 30 fields and I want to get user input in one page so first of all I designed a page which gets input for only mandatory fields (not null) after returning successfully insert (a new record), I'm using the same record for other fields which are not mandatory. Because there is a newly created record, by using this record I want to update the rest of record. But mergeEntity method does not function well. I have controlled all of the fields in pageDef of this page. All are exists, but mergeEntity which points the same constructor method with persistEntity in pageDef does not function.
    anyway, I passed this problem by means of creating new object and bindings this to mergeEntity method.
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ADF Faces Form problem

    Hi all,
    I'm using JDev. 10.1.3, ADF Faces + Toplink infrastructure to build pages in my system.
    My problem can be solved easily via old jsp architecture but I don't know how to achieve by using ADF Faces.
    I want to create a simple form in ADF Faces just like below;
    <form name="pay_form"
    action="https://www.payformstore.com/servlet/payServlet"
    method="post">
    <input type="hidden" name="clientId" value="ABC45"/>
    <input type="hidden" name="amount" value="5.00"/>
    </form>
    But in ADF Faces, as you know when a form created (af:form or h:form), the included command button in form is only fired to call the method in backed bean of relevant .jspx page. All things there must be achieved are handled in backed bean so I can't use the servlet address in action in simple form
    (https://www.payformstore.com/servlet/payServlet). I tried to use external context to redirect to this address/ servlet (https://www.payformstore.com/servlet/payForm) but servlet does not accept this redirection, it only accepts http post and gives the HTTP 405, method not allowed error.
    So I tried to use simple html <form ..> </form> tag in my adf faces page (.jspx page) in
    <f:verbatim> tag but I can't pass parameter from managed bean to input type hidden fields. (<input type=hidden name="a" value="#{payForm.parameter1}"/>) Also I have used jstl to pass parameter via <c:out ...> to input type hidden field in this simple form but it was useless.
    So please tell me how to create a simple form which has a action parameter and post method with dynamically binded form fields (just like input type hidden or any other fields) in adf faces pages.
    If there will be no answers I may use simple jsp pages in the end.
    best regards....
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi frank, I solved problem in a different way.
    First of all, I have developed the required form by coding with the pure JSP + HTML.
    There is no <HTML>, <BODY> tags in this new jsp file. Before calling this jsp file, I stored the required managed bean into HTTP Session as an object and in this jsp file, the hidden form fields are filled by this session object. In my ADF faces file, I have included this jsp form field with,
    <f:verbatim>
    <jsp:include ...>
    </f:verbatim>
    and there is no problem, Everything is, now, ok!
    thanks for your interest.
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADF Faces: localization problem

    Hi,
    after migrating from EA17 to EA19 the localization of my ADF Faces application doesn't work properly on IE anymore. If English is included in the list of languages the application will be English no matter if German is at a higher priority.
    Only when I delete English and make German the only language in my browse will the application be German

    Well, for some reason this phenomenon doesn't occur anymore. I made quite some changes to my application since, so maybe it was my mistake. Sorry.
    In any case the language list I meant was the browser's language setting, both on IE and Firefox

  • ADF Faces Tutorial problem

    Hello, I am trying to get into ADF Faces and therefore I am trying to do the SRDemo.
    Since I dont hace Oracle, I am trying it in MySQL 5.0. I created the squema with success.
    When I try to do the TopLink maps from DB tables, JDeveloper "hangs" in the "Java Object Generation" progress dialog. At the bottom of JDeveloper, it reads TopLink Mappings project. I even tried to create a mapping at a time and the same thing happens.
    Can somebody help me please?
    nene

    Hi,
    I found 3 bug entries describing a similar issue. All three bugs are fixed in 10.1.3 production. There is a specific TopLink help list on OTN, that I sugget you try this question
    TopLink/JPA
    Frank

  • ADF FACES: font problems on readOnly selectOneChoice

    The output text from an af:selectOneChoice with readOnly="true" is a different font than with readOnly="false" and different than af:inputText with readOnly="true".
    Looking at the generated html, the output from a readOnly selectOneChoice has no class associated with it. The other text elements are given class="x4" (which I think equates to a styleClass of OraFieldText).
    Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html.
    This seems like a bug.
    Thanks.

    You're right that when the selectOneChoice is in readOnly mode, its selectedItem does not have a styleClass associated with it and that setting a styleClass on the readOnly selectOneChoice does not set the styleClass on its selectedItem. This is a bug. Thanks for pointing it out.
    However, you said:
    "Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html."
    In my tests, setting the styleClass attribute on the af:selectOneChoice tag does result in correct markup with a styleClass set on the actual HTML Select control (although, the label doesn't get the user defined styleClass, which is correct behavior). Are you seeing output that doesn't match this?
    Regards,
    Matt Lee
    ADF Faces Team

  • ADF security logout problem in adfAuthentication?logout =true

    Hi,
    I've configured ADF security and implementing logout as in http://blogs.oracle.com/jdevotnharvest/entry/how-to_logout_from_adf_security
    Also I have configured OID in the standalone WL server and when deployed this to the standalone wl, the login works fine. But when I click the logout the page redirects saying 10.4.4 403 Forbidden. and the redirected url is
    /adfAuthentication?logout=true & end_url=/faces/AppLogin.jspx Please help, why the logout is forbidden?
    ver. 11.1.1.4
    my web.xml entries
    <security-constraint>
        <web-resource-collection>
          <web-resource-name>adfAuthentication</web-resource-name>
          <url-pattern>/adfAuthentication</url-pattern>
        </web-resource-collection>
        <auth-constraint>
          <role-name>valid-users</role-name>
        </auth-constraint>
      </security-constraint>
      <login-config>
        <auth-method>FORM</auth-method>
        <form-login-config>
          <form-login-page>/faces/AppLogin.jspx</form-login-page>
          <form-error-page>/faces/error.jspx</form-error-page>
        </form-login-config>
      </login-config>
      <security-role>
        <role-name>valid-users</role-name>
      </security-role>and weblogic.xml
    <security-role-assignment>
        <role-name>valid-users</role-name>
        <principal-name>users</principal-name>
      </security-role-assignment>

    What I get is a Error 403--Forbidden and not 404 - not found. The two links provided above talks about 404 error and similar.
    What I have is I can login successfully, but when I use the logout procedure it gives me a 403 --Forbidden error. Any other suggestion?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ADF Faces: Newbee problem with table

    Hello,
    I try to generate a table like in the demo app:
    <af:form>
    <af:table allDetailsEnabled="true" var="row"
    bandingInterval = "2"
    banding = "row"
    value="#{projectView.currentProjects}" rows="5">
    <af:column sortable="true" sortProperty="proj_name">
    <f:facet name="header">
    <af:outputText value="#{bundle.proj_name}"/>
    </f:facet>
    <af:outputText value="#{row.proj_name}"/>
    </af:column>
    <af:column sortable="true" sortProperty="proj_descr">
    <f:facet name="header">
    <af:outputText value="#{bundle.proj_descr}"/>
    </f:facet>
    <af:outputText value="#{row.proj_descr}"/>
    </af:column>
    <f:facet name="detailStamp">
    <af:panelGroup type="vertical">
    <af:outputText value="Name: #{row.proj_name}"/>
    <af:outputText value="Descr: #{row.proj_descr}"/>
    <af:outputText value="Volume: #{row.proj_volume}"/>
    <af:outputText value="Area: #{row.proj_area}"/>
    </af:panelGroup>
    </f:facet>
    </af:table>
    </af:form>
    The currentProjects method returns a database query as a list of beans. The content of the beans is displayed. My problem is, when I click on e.g. 'Next' or 'All Details' nothing happens and I get javascript errors like this:
    Error: _submitPartialChange is not defined
    Source File: http://localhost:8080/timerec/faces/ADFbrowseProjects.jsp
    Line: 25
    I´m using EA 13. What am I doing wrong?
    Thanks, Axel

    The problem you're encountering is that the table view is being re-initialized whenever the underlying table model changes. Thus, the navigation appears to do nothing. The demo code doesn't "appear" to do anything special because the af:table value property is bound to a managed bean, periodicTable, that has session scope. Thus the table is built only once and the value binding is simply returning the same java object every time.
    For you to accomplish the same thing, your code will need to return the SAME OBJECT (since I can't see the source code I don't really know if it's using object identity or equals()) each time unless your underlying data has actually changed.
    I'm struggling with the same thing. I'm working with a small table and it's just easier to manage concurrency issues by pulling the data out of the database every time instead of building the logic to detect a change, but I'm having to build that due to this behavior.

  • ADF Faces skins problems using libraries

    Hi,
    I have been trying to use the tutorial on the following website:
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    This shows you how to create skins and things. The only problem is that I cannot see the view that is shown in the screenshot. I.e. I get a load of garbled gabage showing me the tags in the document instead of whats visually there.
    I realise this is a problem with the library but everytime I try and set up the JSF and ADF libraries in the JSP Tag libraries of Tools->Manage Libraries I click the Execute Tags in JSP Visual Editor it lets me do it but then I click refresh on the window with sample.jspx in it and JDeveloper just dies.
    The libraries I am using I have downloaded and followed the instructions on
    http://www.oracle.com/technology/products/jdev/howtos/10g/jsf_howto/jsf.html
    To do the JSF libraries and I have followed the same instructions for the ADF libraries. If anyone has any idea I would be glad of the help
    Cheers
    Daniel

    I tried the same example and it is working fine with me. May I know the JDeveloper version you are using?

  • ADF Faces - Weblogic: Problems about rendering ADF pages

    Hi! We have an application that we have generated 2 EAR for installation with 2 different contexts (consequently, it have 2 different address), and after the installation, the main page of an application is showing correctly and the other application show problems in the rendering. The two applications have the same pages. We had to do it to accomplish a request from our customer. Anybody have any idea how to solve that?

    Hi
    You must setting web descriptor of each application for solve it, like this:
    <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">
    <session-descriptor>
           <cookie-path>/youAppName</cookie-path>
      </session-descriptor>     
    ...Thanks,
    Felipe

  • ADF faces frames problem tree menu  encode called instead of decode

    Sorry , till now i have no investigated the problem completely
    Message was edited by:
    K.Penev

    Sorry , but it's difficult to be achieved - i must send you the whole system.
    I have noticed some of the circumstances when the problem appears;
    I dont know , how it is connected but it is a fact:
    When execute rollback on opening dialog window (in prepareModel);
    If i set some view object attributes and close dialog
    If i make a new record and commit
    I forget to mention also that the View Objects used in the dialog window which i open is located in different application module then the main page content.
    The interesting here is that i have another similar situation (opening dialog with own app module)which in the most of the time work (but also sometimes appear the same problem)?!?
    Sorry that i cannot be more precise , but It 's very difficult to catch from where exactly the problem comes.
    Is it possible on return from dialog and release some appl module into the pool , the menu page somehow to be destroyed and as result encode to be called instead of decode?
    Message was edited by:
    K.Penev

  • Adf faces demo problem

    I've installed adffacesdemo in to my local Jdeveloper instance. When I try to run the index.jspx file, it's giving a warning message about http port conflict and suggest to click OK for auto port assignment. I clicked OK for auto port resolution, but it fails to start to WLS and gives the following error. any ideas are appreciated. I'm using Jdev11.1.1.3.0. any ideas are apperciated.
    HTTP port conflict detected. The HTTP port will be reassigned to port 7102.
    <Aug 23, 2010 3:17:44 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Aug 23, 2010 3:17:44 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Aug 23, 2010 3:17:44 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Process exited.
    Thanks,
    Surya
    Edited by: sgodavar on Aug 23, 2010 3:42 PM

    Thanks Frank. I did a clean start of WLS and this time there is no port conflict, but it failed to deploy the application. any idea about this error(sorry for long error stack message). I'm a newbie for Jdev, any ideas are appreciated.
    *** Using port 7101 ***
    "C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\OracleBI\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program Files\Java\jdk1.5.0_15\bin;C:\OracleBI\server\Bin;C:\ADE\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\emacs\bin;c:\PROGRAM FILES\TERATERM;C:\CYGWIN\BIN;c:\Program Files\WinZip;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\farm;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\sfe\generic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Aug 24, 2010 10:34:24 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Aug 24, 2010 10:34:25 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Aug 24, 2010 10:34:28 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 24, 2010 10:34:28 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 24, 2010 10:34:28 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 24, 2010 10:34:28 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00008. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Aug 24, 2010 10:34:28 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 24, 2010 10:34:36 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 24, 2010 10:34:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 24, 2010 10:34:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 24, 2010 10:35:22 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application BrowseEditApp is not versioned.>
    <Aug 24, 2010 10:35:53 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 24, 2010 10:35:53 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00006. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Aug 24, 2010 10:35:53 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 24, 2010 10:35:55 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 24, 2010 10:35:55 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 144.25.110.215:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 24, 2010 10:35:56 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 24, 2010 10:35:56 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 98297 ms.
    IntegratedWebLogicServer started.
    [Running application adffacesdemo on Server Instance IntegratedWebLogicServer...]
    [10:35:58 AM] ---- Deployment started. ----
    [10:35:58 AM] Target platform is (Weblogic 10.3).
    [10:36:02 AM] Retrieving existing application information
    [10:36:03 AM] Running dependency analysis...
    [10:36:03 AM] Deploying 2 profiles...
    [10:41:57 AM] Wrote Web Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo\adffacesdemoWebApp.war
    [10:42:00 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo
    [10:42:00 AM] Deploying Application...
    <Aug 24, 2010 10:42:44 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo\adffacesdemoWebApp.war. Please make sure that the annotations are valid. The error is org.apache.myfaces.trinidad.webapp.ResourceServlet>
    <Aug 24, 2010 10:42:44 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282671732296' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root''
    weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    <Aug 24, 2010 10:42:44 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'adffacesdemo'.>
    <Aug 24, 2010 10:42:44 AM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    [10:42:44 AM] #### Deployment incomplete. ####
    [10:42:44 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application adffacesdemo due to error deploying to IntegratedWebLogicServer.
    [Application adffacesdemo stopped and undeployed from Server Instance IntegratedWebLogicServer]

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • Problem deploying ADF Faces component demo to Glassfish 3.1.2

    Hi,
    Jdev 11.1.2.3
    ADF Essentials
    Glassfish 3.1.2
    Windows 7 (64-bit)
    Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
    But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
    com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
         at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
         at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
         at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
         at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
         at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
         at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
         at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)
    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
         ... 31 more
    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
         ... 31 more
    Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
         at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
         ... 35 more
    Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
         ... 37 moreI have also tried
    - to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
    - to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
    From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
    Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
    regards
    Peter

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

Maybe you are looking for

  • Help on Decode function in Toplink

    Hi, I have a sql statement like this: select field1, field2 from table1 where upper(field1) like 'ADELPHI%' order by field1, DECODE(TO_CHAR(NVL(LENGTH(TRANSLATE(field1,'A1234567890','A')),0)),'0',LPAD(field1 ,50),field1) How would I converted this to

  • Why was deleted the RSS reader in Mail on OS X Mountain Lion?

    Why was deleted the RSS reader in Mail on OS X Mountain Lion? How can I re-enable the RSS reader?

  • Depreciation area for non leading ledger  - Posting

    Hi SAP Guru's. I have one project for migration to new GL ledger with scenario 7. I had finised configured in SAP system. I create new depreciation area 41 is for nonleading ledger and need to post to GL ledger. Now in depreciation area 01 , system h

  • I have deauthorized my computer by accident how do i reauthorize

    I accidentially deauthorized all my devices and now I do not have the option in "My Account" to re-authorize.  How do I re-authorize?  Please help because I cannot access any of my previously purchased ITunes music.  Thank you! :-)

  • Packet loss to usa sites

    Not sure if this is an infinity problem or one which affects all users http://community.bt.com/t5/BB-Speed-Connection-Issues/Packet-loss-to-usa-sites/td-p/702122