Adf with myfaces : ADF_FACES-60032

Hi,
I would like tu use adf faces with myfaces 1.2.8. In my web.xml I defined : <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
Unfortunatly I got an error when I tried to access my login page :
java.lang.NullPointerException: ADF_FACES-60032:ExtendedRenderKitService introuvable.
     at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit.getService(RichRenderKit.java:163)
     at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
     at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.getService(UnifiedRenderKit.java:146)
     at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:374)
     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:171)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:182)
     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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
     at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:315)
     at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:243)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
     at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
     at java.lang.Thread.run(Thread.java:619)
Thanks in advance.

Hi, I am also stuck with the same problem. I tried to deploy my webshpere but when i accessed login page I am getting this error
Any pointers why this is ?
Error logs:
one of the service methods of the servlet Faces_Servlet in application odiconsole. Exception created : java.lang.NullPointerException: ADF_FACES-60032:Could not find ExtendedRenderKitService.
at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit.getService(RichRenderKit.java:163)
at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.getService(UnifiedRenderKit.java:146)
at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:374)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:171)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at oracle.odi.repex.view.main.auth.ThreadAuthFilter.doFilterInternal(ThreadAuthFilter.java:38)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:895)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:183)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Thanks in Advance

Similar Messages

  • Problem in running TreeTable component with Myfaces

    Hi,
    I am trying to run treeTable component of adf with Myfaces.
    The tag is rendered but not functioning properly.
    It shows one level expanded as mentioned below :
    > H1 // H1 has 2 related records
    +> H2 // H2 has 3 related records
    +> H3 //H3 has 1 related record
    but when I click on H2 then It is not expanding.
    Please Help.
    Regards,
    Sachin

    The treeTable component is working.
    The problem is due bcoz of following code::
    <!-- <af:column>
    <f:facet name="header">
    <h:outputText value="Map Link"/>
    </f:facet>
    <h:outputText id="button" value="Map" onclick="showOnMap(this);" />
         <h:inputHidden id="primary-key" value="#{foo.assetId}"/>
    <h:inputHidden id="assetType" value="#{foo.assetType}"/>
    </af:column>
    -->
    when I comment the above mentioned column the page is rendered and treeTabel is working properly.
    Can anybody help why the above mentioned tags are doing problem?
    Regards,
    Sachin

  • ADF Demo on Tomcat 5 with MyFaces

    Hi all
    I'm trying to make the JSF ADF Demo work with MyFaces 1.0.9 JSF Implementation. I've got troubles when I start the server (Tomcat 5), the container is still looking for the ConfigureListener, even if I have configured properly the listener in the web.xml. I'm like stucked.
    Any idea would be appreciated.
    Thanks
    Sébastien Vidon

    try posting on the JDeveloper forum - where ADF Faces support is provided.

  • Java.lang.NullPointerException: ADF_FACES-60032

    we have deployed our ADF DVT sample application(dvt.ear) into standalone oc4j 11g..The deployment is successful and we have a set of jspx pages in our application.When trying to navigate any of the jspx file, we are getting this below error in console :
    07/12/12 23:16:56 WARNING: dvt: Servlet error
    java.lang.NullPointerException: ADF_FACES-60032:Could not find ExtendedRenderKitService on
    at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit.getService(RichRenderKit.java:161)
    at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.getService(UnifiedRenderKit.java:142)
    at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:333)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:154)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adfdemo.view.webapp.rich.RedirectFilter.doFilter(RedirectFilter.java:84)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Can anyone please me.This is urgent!!
    Thanks in Advance,
    Yuvaraj

    we have deployed our ADF DVT sample application(dvt.ear) into standalone oc4j 11g..The deployment is successful and we have a set of jspx pages in our application.When trying to navigate any of the jspx file, we are getting this below error in console :
    07/12/12 23:16:56 WARNING: dvt: Servlet error
    java.lang.NullPointerException: ADF_FACES-60032:Could not find ExtendedRenderKitService on
    at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit.getService(RichRenderKit.java:161)
    at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.getService(UnifiedRenderKit.java:142)
    at org.apache.myfaces.trinidad.util.Service.getService(Service.java:86)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:333)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:154)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adfdemo.view.webapp.rich.RedirectFilter.doFilter(RedirectFilter.java:84)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Can anyone please me.This is urgent!!
    Thanks in Advance,
    Yuvaraj

  • ADF_FACES-60032:Could not find ExtendedRenderKitService

    Good Day All,
    I have a problem when i try to run ADF on Websphere server , steps that i did :
    1 - Install ADF runtime 11.1.1.4 on Websphere 7.1.1.13
    2 - Create ADF page that just contains ADF label and ADF text field
    3- deploy ADF war file on Websphere Server
    Result: the following Exception : ADF_FACES-60032:Could not find ExtendedRenderKitService.
    what i did steps :
    1- create shared library on Websphere server than contains the following ADF jar file:
    - adf-faces-rt-javadoc.jar
    - adf-richclient-api-11.jar
    - adf-richclient-impl-11.jar
    - trinidad-api.jar
    - trinidad-impl.jar
    - trinidad-javadoc.jar
    2- add the define WebSphere lib on ADF deployed project.
    Result: the previous exception not appear but new one appear : could not find Factory: javax.faces.context.FacesContextFactory
    what i did steps :
    1- create another shared library on Websphere server than contains the JSF 1.2 jar file.
    - jsf-api.jar
    - jsf-impl.jar
    2- add the define WebSphere lib on ADF deployed project.
    Result: the previous excpetion not appear but new one appear : java.lang.NoClassDefFoundError: org.apache.commons.digester.RuleSet
    what i did steps :
    1- create another shared library on Websphere server than contains the jar file that contains missed class.
    -commons-digester.jar
    2- add the define WebSphere lib on ADF deployed project.
    Result: same problem still the class not found :: java.lang.NoClassDefFoundError: org.apache.commons.digester.RuleSet
    Environment information :
    -JDK version 1.6.0 IBM J9 2.4 Windows Vista x86-32 jvmwi3260-20080
    -Websphere 7.1.1.13
    -Jdeveloper 11.1.1.4
    Note: if the page just contains Trinidad tags it works.
    Any solutions ?????
    Regards
    Mohd.Weshah

    I have the same problem any advise?

  • ADFS with SharePoint 2013 RP: What to do when Token Signing Certificate is about to expire?

    Hello,
    I have an ADFS with a SharePoint 2013 Relying Party.
    I’ve assigned a primary token signing certificate to the ADFS environment. I had to run this command to be able to add the token signing certificate and “Set as Primary”:
    Set-ADFSProperties -AutoCertificateRollover $false
    The certificate is valid until one more year and I am concern what happens after the certificate expires. I assume I need to update SharePoint’s SPTrustedIdentityTokenIssuer.
    Is there any guideline explains how to update the Token Signing Certificate after it expires?
    Thank you,

    Hi Allan,
    If certificate is due to expire, you could choose to renew the certificate by importing certificate. However, ADFS could generate certificate itself. if you use ADFS to generate the new token signing certificate, you could use the Set-ADFSProperties cmdlet
    to modify the CertificateDuration property to increase the validity period.
    For more information:
    http://www.benjaminathawes.com/2013/07/31/how-to-renew-your-adfs-2-0-token-signing-certificate-in-sharepoint/
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .
    Rebecca Tu
    TechNet Community Support

  • ADF with SQL Server

    hi,
    Can i connect MySql and MS Sql Server from JDeveloper and develop few pages ?.
    How can i access Quickbook Data from JDeveloper ?.
    Thank you
    ADF Beginer

    Some references
    http://blog.amr-gawish.com/85/mssql-jdeveloper-adf/
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    https://cn.forums.oracle.com/forums/thread.jspa?threadID=2385436&tstart=0&messageID=10322649
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
    http://jobinesh.blogspot.ca/2009/06/adf-with-mysql.html
    http://www.oracle.com/technetwork/developer-tools/jdev/mysql-and-bc-howto-082060.html
    http://biemond.blogspot.ca/2008/03/use-mysql-with-adf-bc-bc4j.html

  • h:form problem with myfaces 1.1.4

    Hi,
    I have a jsf page whose body is wrapped by tag <h:form>. This seems to be necessary with myfaces 1.1.4.
    My page contains:
    1 - A "sign out" commandLink which simply logs out current logged user
    2 - an inputText tag, bound to a validation method of a backinbg bean, that verifies if inserted text is a valid email or not.
    When I insert an invalid email address in the input text and press "sign out", the "email address not valid" message it's showed, and signout performs only when I insert a valid address!
    This is not good, as signiing out must not have any relation with form validation.
    Can anyone help me ?
    Pietro

    A form is required around any input and command components (ones that need a HTML form rendered to the client). You can have multiple forms per page.
    When the user does something that submits the page, only the surounding form is actually submitted. So in your example you want to use seperate forms for the logout link and the email input.
    So for example:
    <h:form id="logoutForm">
       ... logout link here ...
    </h:form>
    <h:form id="emailForm">
    ... email input stuff here ...
    </h:form>

  • Integrating ADF with Tiles - Facing some problem with ViewHandler

    Hi,
    I am trying to integrate ADF with Tiles. I am able to use tiles and display one or more JSF files using ADF components on a single tile using this thread, ADF Faces Access Denied But the issue is, the functionality of the pages are not getting included, for example, I have an action on click of a command link in one of the tiles, which is not working, its not even refreshing the page. When I tried using plain jsp:include, it works.
    I doubt its b'coz of Tiles - committing the response and forwarding the page, rather than including the page. Does anybody tried on this and have some work around?
    -Manju

    The example for AJAX and JSP with database is
    http://jspcodes.elementfx.com/forums/viewquestion.php?question=11&category=7&name=AJAX
    It works for me. Plz correct the + operator

  • Facelets 1.1.14 example with MyFaces 1.2 and Tomcat 6

    Hello,
    I tried to run a little Faceletexample with MyFaces 1.2 (only Core without Tomahawk or something) and facelets 1.1.14.
    I use tomcat 6.0.16.
    Here is my project/ code:
    FaceletsExample
    -- index.xhtml
    -- template.xhtml
    -- META-INF
    -- WEB-INF
    -- faces-config.xml
    -- web.xml
    -- lib
    commons-beanutils-1.7.0.jar
    commons-codec-1.3.jar
    commons-collections-3.2.jar
    commons-digester-1.8 jar
    commons-discovery-0.4.jar
    commons-logging-1.1.1.jar
    el-api-1.0.jar
    el-impl-1.0.jar
    jsf-api-1.2_04-p20.jar
    jsf-facelets.jar
    myfaces-all.jar
    myfaces-api-1.2.2.jar
    myfaces-impl-1.2.2.jar
    portlet.jar
    servlet-api-2.4.jar
    index.xhtml:
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:ui='http://java.sun.com/jsf/facelets">
    <body>
    <ui:composition template="template.xhtml">
      <ui:define name="content">
        <h:form>
           <h:outputText value="Halloooo!!!" />
         <h:commandButton value="OK" />
        </h:form>
      </ui:define>
    </ui:composition>
    </body>
    </html>
    {code}
    template.xhtml:
    {code}<html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:ui="http://java.sun.com/jsf/facelets">
    <head>
    <title>Facelets-Test</title>
    </head>
    <body>
    <div>
    <h1>Facelets-Template</h1>
    </div>
    <ui:insert name="content">
       Default Text for content
    </ui:insert>
    </body>
    </html>
    {code}
    web.xml:
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         id="WebApp_ID" version="2.5">
    <display-name>FaceletsEx</display-name>
    <welcome-file-list>
       <welcome-file>index.html</welcome-file>
       <welcome-file>index.htm</welcome-file>
       <welcome-file>index.jsp</welcome-file>            
    <welcome-file>default.html</welcome-file>                
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
      <param-value>.xhtml</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>{code}
    faces-config.xml:
    {code}<?xml version="1.0" encoding="UTF-8"?>
    <faces-config
        xmlns="http://java.sun.com/xml/ns/javaee"    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-facesconfig_1_2.xsd"
        version="1.2">
    <application>    
       <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    </application>
    </faces-config>
    {code}
    When Tomcat starts there appears the following  :
    {code}
    08.04.2008 10:21:09 org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:FaceletsEx' did not find a matching property.
    08.04.2008 10:21:09 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre1.6.0_03\bin\client;C:\Programme\Java\jre1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Java\jdk1.5.0_14\bin
    08.04.2008 10:21:09 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    08.04.2008 10:21:09 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 792 ms
    08.04.2008 10:21:09 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    08.04.2008 10:21:09 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    08.04.2008 10:21:09 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\FaceletsEx\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    08.04.2008 10:21:10 org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
    08.04.2008 10:21:10 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
    java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
         at org.apache.myfaces.util.ClassUtils.<clinit>(ClassUtils.java:41)
         at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:138)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:115)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    08.04.2008 10:21:10 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    08.04.2008 10:21:10 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/FaceletsEx] startup failed due to previous errors
    08.04.2008 10:21:11 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    08.04.2008 10:21:11 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    08.04.2008 10:21:11 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/47  config=null
    08.04.2008 10:21:11 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1645 ms
    {code}
    I thought the logging-file were in the project?(--> commons-logging-1.1.1.jar in WEB-INF/lib)
    Where is the mistake?
    After many tries to run this example, I only put one of the.war-files (numberguess.war) from the Faceletdownloadfolder in the webapp-folder from Tomcat.
    If I now start my tomcat, there appear the following errors:
    {code}
    08.04.2008 09:29:26 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performanc
    e in production environments was not found on the java.library.path: C:\Programm
    e\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\W
    INDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Java\jdk1.5.0_14\bin
    08.04.2008 09:29:27 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    08.04.2008 09:29:27 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 708 ms
    08.04.2008 09:29:27 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    08.04.2008 09:29:27 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    08.04.2008 09:29:27 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive numberguess.war
    08.04.2008 09:29:28 com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060319)
    for context '/numberguess'
    08.04.2008 09:29:29 com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_
    20060319) for context '/numberguess'
    08.04.2008 09:29:29 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    08.04.2008 09:29:29 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/numberguess] startup failed due to previous errors
    08.04.2008 09:29:30 org.apache.catalina.core.StandardContext addApplicationListe
    ner
    INFO: The listener "listeners.ContextListener" is already configured for this co
    ntext. The duplicate definition has been ignored.
    08.04.2008 09:29:30 org.apache.catalina.core.StandardContext addApplicationListe
    ner
    INFO: The listener "listeners.SessionListener" is already configured for this co
    ntext. The duplicate definition has been ignored.
    08.04.2008 09:29:30 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    08.04.2008 09:29:30 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    08.04.2008 09:29:30 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/32  config=null
    08.04.2008 09:29:30 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3887 ms
    {code}
    Has anybody got an idea?I hope so.
    Many thanks.
    NickiS
    Edited by: NickiS on 08.04.2008 08:45                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    The class org.apache.commons.el.Logger comes from Commons EL project, it is not a part of Commons Logging library. Try adding Commons EL library to your project as it appears MyFaces depends on it.
    http://commons.apache.org/el/

  • Oracle ADF with jDeveloper

    I am new to oracle adf with jdeveloper. I am impressed by the features of this product. I want to learn this. Is there any pre-requesites to learn this product? I aware with JSP/Servlets , Struts 2.0 , HTML , Javascript

    Hello John,
    Thanks for the reply. I can't find any material so that I can aware with JSF introduction (with demos) and ADF Faces. So will you please suggest me some tutorial or demos related to JSF and ADF faces. I passed through the video demos of Oracle ADF homepage but still I can't understand the use of those tags.
    regards,
    Kush
    Edited by: kush on Feb 22, 2012 12:07 AM

  • Integration of ADF with Vignette(Content Management Tool)

    Hi
    Is it possible to integrate ADF with vignette(Content Management Tool) in any way so that i could have the power of both the tools in developing web pages and managing the contents of it in a better way?

    ADF is an standards-based J2EE development framework, if Vignette support integration with J2EE applications then the answer would be yes, but you need to ask Vignette support.
    BTW - this forum is for Oracle Portal questions, please use the ADF forum for questions on ADF.
    Thanks,
    Mick.

  • How to use ADF with weblogic Portal 10.3.2

    Hello All,
    I want to use ADF with Weblogic Portal 10.3.2. Can anyone guide me ?
    Thanks,
    *(' ')sman*

    Hello,
    To use ADF with WLP 10.3.2 you will need a WebCenter WSRP producer running the portlet, which you can then consume as a remote portlet in WLP. The documentation on how to do that is here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_webcenter_interop.htm#BABDBJBD
    Kevin

  • How do I integrate adf with peoplesoft and deploy it on psft ?

    I am planning to use adf faces for customization on peoplesoft. How do I do that using the present adf version? Is there documentaion or demo for usage of adf with psft?
    Thanks,
    Pradeep

    The online files cannot be opened in iWeb — only iWeb's Domain file can be opened in iWeb. See this Apple doc on How to back up MobileMe data. It says:
    Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but there is no way to import published pages back into iWeb. You can manually back up the Domain file, or use Backup to back it up.
    Paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWebBackupretrieve.html

  • ADF with Shale

    Is anyone using ADF with Shale, I am having the following (short version of) errors:
    Error exercising tag : <tag name>
    java.lang.IllegalStateException: No AdfRenderingContext
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:154)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    Where <tag name> is any of: af:document, af:table, af:showOnePanel, etc.
    When I remove the shale library files, everything works fine. I was wondering if anyone knows a workaround the problem.

    Thanks Shay,
    http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html
    Regarding my question 3 "Design time at runtime" - quoting from "JDeveloper 11g new features" at the above URL, under "ADF Task Flow". The third entry from the paragraph's end reads:
    'Support for customization of task flows at runtime using "design time at runtime"'.
    I was wondering what this is exactly - web-deployable editor to edit the flow definition after deployment?
    Re your point 4, product replacement - with the feature set described in the paragraph above, Task Flows is much more than a Web UI controller. With "save for later", transactions, flow abstraction/nesting, BPEL outcalls, conditional logic, method calls etc etc it probably covers 50% of a typical workflow package and 75% of an embeddable workflow library (audit trail/timeouts/persistence nonwithstanding). This made me wonder whether it is part of a bigger, yet-to-be-announced OAS feature. Especially if one also considers the "design-time-at-runtime" sentence listed above.
    Now, definition-wise, I guess it' s whether this feature set is considered half-full or half-empty :-)
    Thanks again,
    Thanassis

Maybe you are looking for

  • Urgency: how to add additional fields to XML and tranfer to MDMcatalog

    Dear experts:   I have realized the standar process for contract  to mdm.   when contract is released, the MDM catalog be updated automatically. but I still  have two requirement. 1.  In standar process,  the product category  and short description 

  • Validations in Adobe Form

    hello all,         i am writing some validations in adobe form .I am not very comfortable with adobe forms but i have to work on. validation 1:  field 'NAME' ( type is free text )should support 'several entries'. validation 2:  field 'NAME' ( type is

  • How to get system status and user status ?

    how to get system status and user status for the given production order? In which PP table we can find these? Thanks&Regards Satish

  • WIP error

    Hi expert, My user has  run KKAX and then run KO88.But system shows following error"There is no accrued amount ;settlement is not possible". In that case shall i run KKA7 to delete result analysis and then run KKAX again .Then KO88.Shall it resolve m

  • "interactive" cell renderer

    I have an application that pulls and displays data from a database in the form of a table. The user can then use/manipulate that data. Each row of data has 5 different states. I want to either change the font or row color in the display table using a