Trouble with ADF portlet :)

Hi every body!
Thank so much when you send time care to my trouble.
When I deploy a simple ADF portlet without Connecting Database ==> It run :))
After that, with Connecting Database and Create Bussiness Component from Table
==> It run but Result show in Portal: Could not get mark up ...
I using Jdevelop 11g
Thank again!

Hi,
wrong forum, try : WebCenter Portal
However, I suggest you provide more information for people to understand the context you are in
Frank

Similar Messages

  • Trouble with ADF portlet :) Connect Database

    Hi every body!
    Thank so much when you send time care to my trouble.
    When I deploy a simple ADF portlet without Connecting Database ==> It run :))
    After that, with Connecting Database and Create Bussiness Component from Table
    ==> It run but Result show in Portal: Could not get mark up ...
    I using Jdevelop 11g
    Thank again!

    OK

  • Problems with ADF portlet

    Hi All,
    I am evaluating Webcenter and Portlets, specifically ADF portlets. I followed Peter Moskovi's article on portletizing an ADF taskflow (http://pmoskovi.wordpress.com/2008/07/18/jsr-301-the-jsf-portlet-bridge/).
    This is an excellent demo to guide on creating a portlet from an ADF taskflow. This demo is for old webcenter with OC4J.
    I am working on the JDEV 5407 build with Webcenter externsions. The demo is still pretty accurate for Weblogic Portal (WLP).
    I was able to run and deploy my portlet app without any problem. It works find in a stand-alone server. However, I run into problems while consuming the portlet in my PORTAL app. I followed the demo and build the consumer app. Everything looks fine, but at runtime, I get "Portlet Unavailable Error".
    Has anyone else followed Peter's demo and built portal and portlets with Bulldog i.e. 5407 build? Did you have any issues integrating the portlet in the portal?
    I would appreciate any input.
    Thanks,
    --ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes! When I say PORTAL app, I was referring to a WebCenter application that consumes the portal.
    Thanks for your help in advance.
    --ajay                                                                                                                                                                                                                                                                                           

  • Trouble with PDK portlet event

    Hi everybody!
    I have a problem with my PDK portlet (Portal 10.1.4).
    When rising event with some event parameter more than 1 time, my browser go to strange link like "http://myhost:myport/portal/event/portal/page_path/tab_name".
    First time it works fine, it passes parametere to the page, than page passes parameter to omni portlet. When i click it second time i get an incorrect link.
    Does anybody now anything about this problem?

    It's strange, but in opera it goes to another URL. Something like
    "http://host.domain/portal/page/<u>null</u>/page_path?page_params&values"
    It answers "Request does not include Database Access Descriptor (DAD) information or the specified DAD is invalid."...
    I watched throw the sources of first(before rised action) and second (after) variants of my page and there is another interesting thing i have found:
    First time it has no information in omniportlet. That's cause no parameters passed there. So if we watch the source we'll find nothing.
    Second time <FORM> named like "form_11038_OMNIPORTLET_11722825_0" appears. It contains text and 1 href. That's cause one parameter were passed.
    But it has no </FORM> tag at all !!!!! so it identifies form of my portlet as a part of itself !!!
    So this new form (omniportlet) causes the error.
    Can anybody help me with this error??? Or it's oracle bug???
    PS. I apologise for my english.

  • Trouble with ADFS: SAML tokens sent with missing attribute for most test users

    About two months ago, I set up an ADFS server to authenticate our users for another agency's website. I granted three users access to the website (by adding them to specific combinations of AD groups), and everything seemed to be working quite well.Then last week, my boss asked me to add another user to the required groups to grant them access. I did so, and he called me back about 30 minutes later to say that the newly authorized user was unable to access the website. After entering his credentials, he receives a 'webpage cannot be displayed' error. I have since added several other users, with mixed results: a few can log in with no issue, but most receive the same error.
    After corresponding with the other agency (a torturously slow process), they sent me SAML responses for two of our test users: one working, one failing. The SAML...
    This topic first appeared in the Spiceworks Community

    Hi,
    >> event id 342 "-This user can't sign in because this account is currently disabled "
    For this event, the following article can be referred to as reference.
    Troubleshooting token acceptance problems with AD FS 2.0
    https://technet.microsoft.com/en-us/library/ff641740(v=ws.10).aspx
    Based on the description, for ADFS questions, it's recommended that we ask for advice in the following forum.
    Claims based access platform (CBA), code-named Geneva
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    Best regards,
    Frank Shen
    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]

  • Troubles with ADF Faces forms with UTF-8

    Hello,
    When I submit form the special characters in input fields turn to strange chars.
    my JSP encoding is UTF-8, environment and compiler of JDeveloper is set to UTF-8.
    what might be wrong?
    thanks,
    Branislav

    According to the HTML specification:
    conforming user agents must observe the following priorities when determining a document's character encoding (from highest priority to lowest):
    1. An HTTP "charset" parameter in a "Content-Type" field.
    2. A META declaration with "http-equiv" set to "Content-Type" and a value set for "charset".
    3. The charset attribute set on an element that designates an external resource
    The default request encoding according to the Servlet specification is ISO-8859-1, so you should also configure your application to use UTF-8 by specifying this in the application web.xml file ( or struts-config.xml ).
    You can also add a filter and set UFT-8 explicitely by using the request.setCharacterEncoding method.
    Hope, this helps.

  • Trouble with WSRP portlets

    Problem: at one moment all deployed WSRP portlets was crushes.
    The following error shows in portlet window: Error: Could not get markup. The cookie or session is invalid or there is a runtime exception
    Remote debugging shows, what portlets really works, but Portal server can't get markup after portlet was executed.
    And similar following exceptions I has found in portal's application.log:
    06/06/20 15:16:44 portal: DEBUG: active=26 id=91794728298,1 Content Fetcher Caught Dispatcher Exception :
    oracle.webdb.utils.PortalExceptionImpl: An error occurred whilst invoking an operation on the Provider
         at oracle.portal.PortalException.<init>(Unknown Source)
         at oracle.webdb.dispatcher.DispatcherException.<init>(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPDispatcherException.<init>(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPRenderDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPCacheDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPMainDispatcher.dispatch(Unknown Source)
         at oracle.webdb.page.ContentFetcher.run(Unknown Source)
    Caused by: java.rmi.RemoteException: Runtime exception; nested exception is:
         XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:269)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:251)
         at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Stub.getMarkup(WSRP_v1_Markup_PortType_Stub.java:205)
         ... 5 more
    Caused by: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:110)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:116)
         ... 6 more
    caused by: java.rmi.RemoteException: Runtime exception; nested exception is:
         XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:269)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:251)
         at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Stub.getMarkup(WSRP_v1_Markup_PortType_Stub.java:205)
         at oracle.webdb.wsrp.client.run.WSRPRenderDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPCacheDispatcher.dispatch(Unknown Source)
         at oracle.webdb.wsrp.client.run.WSRPMainDispatcher.dispatch(Unknown Source)
         at oracle.webdb.page.ContentFetcher.run(Unknown Source)
    Caused by: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:110)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:116)
         ... 6 more
    Need help to solve this problem.
    P.S. Sorry for bad english.
    Message was edited by:
    Yarrow

    Oracle Portal version 10.1.4

  • ADF portlets not that well supported

    Is it just me or are ADF portlets not that well supported in webcenter application?
    I am working on them for a few months now and i seem to get one problem after the other and most of them are related to ADF portlets.
    Oracle created the portlet bridge in order to create ADF portlets but why are their so many problems with the ADF portlets?
    Currently we are thinking on developing taskflows instead of portlets because some (not all) of our problems are solved with that but than we have to do some extra development offcourse...
    Some issues we are facing with adf portlets:
    Using popups in ADF portlets: we have created some portlets with a table and each row has a detail button that opens a popup. The popup is bigger than the original portlet so what happens... THe portlet does not stretch, it shows scrollbars instead. Not realy user friendly.
    When we create the same thing in a taskflow, the popup is rendered in the page instead of the "portlet".
    inter portlet communication
    Take a look at the documentation of webcenter and try to find one example of an ADF portlet that sends an update to another portlet. They always show examples of normal JSP portlets or the omniportlet.
    I've done a great deal to find it and i made it to work but their is also an issue involved with it... In order to set the navigation parameter we should have a reference to the actionResponse of the portlet and you only can get this with a full portlet refresh so no partial page rendering here.
    As it appears when you set the partialSubmit of a commandButton to false, the action or actionListener gets ignored in a portlet so the code that should normaly get the reference to the actionResponse never gets executed unless you set the partialSubmit to true but than the reference to the actionResponse is not valid.
    In normal adf application a partialSubmit to false will execute the action or actionListener so i guess it's a bug in the handling of the button.
    securityContext
    I know portlets all do have their own context but does the JSR 168 standard does not describe a way to pass the security roles from the consuming application to the portlet? As it appears, ADF portlets do not receive this information from their consuming application.
    Has anybody else faced these issues or got some others while working with ADF portlets? It seem like their is still a lot of work to do to have a good support for ADF portlets.

    But if you look at other frameworks it seems possible.
    I also worked with liferay and used icefaces as JSF framework. They seem to go together very well. It had a very nice way of handling IPC using ajax. No page parameters need to be set or no partialTriggers.
    For example i don't get why an ADF portlet MUST be rendered in an iframe. Why can't they think of another solution? I can't imagine i'm the first one who is facing these issues...
    For example the problem with the buttons. Am i the first one not using partial page submit on a button in an ADF portlet?
    Don't get me wrong. I'm not frustrated with it. I just want to know if their are other things i need to know about or if other people are also facing the same struggle as i do.
    Try explaining the customer why they should buy an expensive licence for something that is not really working. The problem i wrote down here are real life problems i'm facing with a customer. We can't afford going into production with these problems...

  • Portlets with ADF faces does not work

    Hello
    I am trying to portlize an hello world ADF application but am unable to do so because of the situation describe below. I have tried all the options given on this post but nothing seems to resolve the issue.
    I have followed the instructions of portelizing at http://download-east.oracle.com/otndocs/tech/webcenter/files/owcs_10132_bridge_viewlet.html
    A simple portlets without AFD works fine in oc4h or webcenter or jboss, but when I include ADF in the project then none of the application server or the container works
    I am using jdeveloper 10.1.3.2.0 and the embedded webcenter oc4j for this test
    I have two projects
    1) ui where the ADF appplication is and
    2) test1 where the producer is registered and is tested
    In ui I have a simple jsp page untitled1.jsp with just one adf component (ADF Command Link)
    Here is the source of untitled1.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_untitled1.html1}" id="html1">
    <afh:head title="Pixel Home" binding="#{backing_untitled1.head1}"
    id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    a:link { color: #2121ff; }
    </style>
    </afh:head>
    <afh:body binding="#{backing_untitled1.body1}" id="body1">
    <h:form binding="#{backing_untitled1.form1}" id="form1">
    <af:commandLink text="commandLink 1"
    binding="#{backing_untitled1.commandLink1}"
    id="commandLink1"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    After deploying this in webcenter I can see the WSDL page
    http://localhost:6688/AdfFacesDemo1/portlets/wsrp1?WSDL
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
    <import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="wsrp_v1_bindings.wsdl"/>
    <wsdl:service name="WSRP_v1_Service">
    <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPBaseService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPServiceDescriptionService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPRegistrationService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPPortletManagementService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In test1 project I have a simple jsp page test1.jsp and here is the source
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_test1.html1}" id="html1">
    <afh:head title="Pixel Home" binding="#{backing_test1.head1}" id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    a:link { color: #2121ff; }
    </style>
    </afh:head>
    <afh:body binding="#{backing_test1.body1}" id="body1">
    <h:form binding="#{backing_test1.form1}" id="form1">
    <adfp:portlet value="#{bindings.ADFFacesDemoPortlet11_1}"
    portletType="/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7"
    id="portlet1" binding="#{backing_test1.portlet1}"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_test1--%>
    I have already registered a producer called[b] ADFFacesDemoProducer in test1 project with 300 sec as timeout. Now when I run the test1.jsp page in oc4j container I get the following error. I have tried all the options in this forum and nothing worked.
    Target URL -- http://131.225.95.117:8988/PortletTest6-test1-context-root/faces/test1.jsp
    07/08/06 11:31:04 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    Warning : Not able to reserve 2048M memory for the heap. Heap reduced to 890M
    Aug 6, 2007 11:31:17 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
    07/08/06 11:31:18 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
    07/08/06 11:31:18 PortletContainer defaultTimeout set to '20' from adf-config.xml
    07/08/06 11:31:18 PortletContainer minimumTimeout set to '1' from adf-config.xml
    07/08/06 11:31:18 PortletContainer maximumTimeout set to '60' from adf-config.xml
    07/08/06 11:31:18 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
    Aug 6, 2007 11:31:20 AM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Aug 6, 2007 11:31:20 AM oracle.portlet.client.utils.PortletLogger info
    INFO: Portlet Client MBeans registered
    Aug 6, 2007 11:31:25 AM oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer preRender
    SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Unable to get portlet response (Internal Error) for portlet binding ADFFacesDemoPortlet11_1
         at oracle.adf.model.portlet.binding.PortletBinding.getPortletRendition(PortletBinding.java:514)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer.preRender(PortletRenderer.java:417)
         at oracle.adfinternal.view.faces.renderkit.html.customizable.ShowDetailFrameRenderer.encodeBegin(ShowDetailFrameRenderer.java:227)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:39)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
         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:169)
         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)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
         at test1.jspService(_test1.java:122)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:37)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:185)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:52)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:516)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:403)
         at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:24)
         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:398)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:423)
         ... 1 more
    Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:1093)
         at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1330)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:116)
         ... 9 more
    Caused by: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:101)
         at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:977)
         ... 11 more
    Caused by: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:269)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:132)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:94)
         at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:180)
         at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:147)
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub._readBodyFaultElement(WSRP_v1_Markup_Binding_SOAP_Stub.java:456)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:321)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v1_Markup_Binding_SOAP_Stub.java:76)
         at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:78)
         ... 12 more
    Then I tried to deploy the test1.jsp as a WAR file in the webcenter OC4J and tried this URL
    http://localhost:6688/AdfFacesDemoTest1/test1.jsp
    but it gave me this error
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    When I tried this URL I got a diffrent error. Googling this did not help at all
    http://localhost:6688/AdfFacesDemoTest1/faces/test1.jsp
    07/08/06 11:33:26 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
    07/08/06 11:33:26 PortletContainer defaultTimeout set to '20' from adf-config.xml
    07/08/06 11:33:26 PortletContainer minimumTimeout set to '1' from adf-config.xml
    07/08/06 11:33:26 PortletContainer maximumTimeout set to '60' from adf-config.xml
    07/08/06 11:33:26 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
    2007-08-06 11:33:58.843 ERROR oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml not found
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:587)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:226)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:83)
         at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:248)
         at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:258)
         at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:227)
         at oracle.adf.model.portlet.binding.PortletBinding.prepareModel(PortletBinding.java:801)
         at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:606)
         at oracle.adf.model.binding.DCBindingContainerDef$1RegionBindingAdapter.refresh(DCBindingContainerDef.java:1011)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2455)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.mds.core.MetadataNotFoundException: No metadata found for metadata object "/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml"
         at oracle.mds.core.MetadataObject.getBaseMO(Unknown Source)
         at oracle.mds.core.MDSSession.getBaseMO(Unknown Source)
         at oracle.mds.core.MDSSession.getMutableMO(Unknown Source)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getBaseMutableMO(MDSPersistenceContext.java:1143)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:577)
         ... 40 more
    Here is my portlet.xml in ui project
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
    http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <description>ADF Faces Demo Portlet 1</description>
    <portlet-name>ADFFacesDemo1</portlet-name>
    <display-name>ADF Faces Demo portlet 1</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet
    </portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/untitled1.jsp</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,
    oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>ADF Faces Demo Portlet 1</title>
    <short-title>ADFFacesDemo1</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    web.xml in ui project (where the AFD application is)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    </web-app>
    web.xml in test1 project (where portlet producer is registered)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>test1.DataBindings</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.mds.web-app-root</param-name>
    <param-value>/test1/public_html</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CHANGE_PERSISTENCE</param-name>
    <param-value>oracle.adfinternal.view.faces.change.HybridChangeManager</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>mdsFilter</filter-name>
    <filter-class>oracle.mds.jsp.MDSJSPFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>resourceproxy</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>adfportlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>mdsFilter</filter-name>
    <servlet-name>jsp2</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adfportlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resourceproxy</servlet-name>
    <servlet-class>oracle.portlet.client.resourceproxy.adf.ADFPortletResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>jsp2</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
    <param-name>tags_reuse_default</param-name>
    <param-value>none</param-value>
    </init-param>
    <init-param>
    <param-name>check_page_scope</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>debug_mode</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>page_provider</param-name>
    <param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
    </init-param>
    <init-param>
    <param-name>page_repository</param-name>
    <param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfportlet</servlet-name>
    <url-pattern>/adfportlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfportlet</servlet-name>
    <url-pattern>/adfportletfullpage</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resourceproxy</servlet-name>
    <url-pattern>/resourceproxy</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp2</servlet-name>
    <url-pattern>/*.jspx</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <service-ref-name>service/WSRPServiceRefV1</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/WSRP_v1_Service.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/WSRP_v1_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
    <service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v1:wsdl">service-qname_ns__:WSRP_v1_Service</service-qname>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Markup_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_ServiceDescription_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Registration_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_PortletManagement_PortType</service-endpoint-interface>
    </port-component-ref>
    </service-ref>
    <service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <service-ref-name>service/WSRPServiceRefV2</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/WSRP_v2_Service.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/WSRP_v2_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
    <service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v2:wsdl">service-qname_ns__:WSRP_v2_Service</service-qname>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Markup_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_ServiceDescription_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Registration_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_PortletManagement_PortType</service-endpoint-interface>
    </port-component-ref>
    </service-ref>
    </web-app>
    Can anyone help please
    regards
    Vijay

    Hello dvohra,
    Thanks for the reply but I have done everything before I posted my message on this forum
    1. Is the Portlet Faces Bridge library in the project libraries?
    yes in both test1 project and ui project. ui project is where the ADF application is and test1 is where the producer is registered
    2. I sent the web.xml earlier in the forum. Yes it include the tags
    here is it again
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    </web-app>
    3. Yes it include that tag also. Please see the web.xml I pasted above
    4. Yes I deployed it as the simple WAR file and NEVER as a WebCenter Application WAR
    I am assuming that when you refer to web.xml you refer to the one in my ui project where the ADF application is . There is another web.xml file in test1 project where I try to test the portlet. That web.xml is also pasted in my earlier blog
    Any other idea ?
    thanks a lot
    Vijay
    ______________________________________________________________________

  • Weblogic Portal 10.3.5 using JSF 1.2 portlets with ADF faces

    We are developing Portal site using Weblogic Portal 10.3.5 with JSF portlet 1.2 and ADF faces (ADF Application runtime 11.1.1.5 ). But the JSF portlets not supporting ADF faces. Please let me know how we use ADF faces in JSF portlet 1.2 in Weblogic Portal.

    Hi Murthy,
    We did a detailed analysis.
    (1) How do we add ADF taskflows, JSF in to weblogic portal desktop/pages? Do we create portlet out of JSF, and display on desktop/page? If this is the case, what about ADf task flows?
    --> Taskflows can be deployed as WSRP2.0 portlets. Note 2 options are there JSF page as portlet or taskflow itself as portlets.
    (2) How do we integrate weblogic user profiles and UUP (unified user profiles) with ADF and JSF?
    --> ADF Security can use Weblogic Server realm as the security provider. Entitlements in WLP will have to be provided based on Weblogic Server roles. In case you are using external LDAP then both can be integrated withe external LDAP
    (3) Can anybody shed some light which this better?
    (a) weblogic portal with JPF (Java page flows), NetUI --Legacy approach
    Pros:
    -Easy Development
    -Well tested integrated
    Cons:
    -Future support
    -Enhancements may not be available
    -Not really portable or standards based
    (b) weblogic portal with ADF, JSF?
    Pros:
    -If your on Oracle stack then great
    -Standards based
    Cons:
    -JSF Portlet bridge issues
    -ADF Faces does not work on IE6!
    Well what we are going for is JSR 286, Trinidad components (Supports IE6), JSF.
    Difficult choice.
    Venkat

  • Java.lang.UnsupportedClassVersionError with ADF and Websphere

    I'm trying to get an app running with ADF/Tomahawk/MyFaces/Facelets going on Websphere 6.0. However Websphere is running with a 1.4.2 JVM instead of 1.5 so I get an error when it comes to the ADF NavigationHandlerImpl which has been built with Java 1.5. Is there a Java 1.4 version of ADF faces I should have downloaded somewhere?
    Hints appreciated.
    Regards, Murray
    ==<logs below >=================================
    [5/4/06 13:15:47:816 GMT] 00000011 FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/4/06 13:15:48:236 GMT] 00000011 WebApp E LinkageError while defining class: oracle.adfinternal.view.faces.application.NavigationHandlerImpl
    Could not be defined due to: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@7d4e3ab9
    Local ClassPath: C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\classes;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\activation-1.0.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-facelets.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-api-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-impl-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\aui.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\common-annotations.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-codec-1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-collections-3.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-digester-1.6.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-el-1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-fileupload-1.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-io-1.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-lang-2.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-logging-1.0.4.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-ri.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsf-facelets1014.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsp-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jstl-1.1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\log4j-1.2.13.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-impl-files.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-interfaces.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-standalone.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-api-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-impl-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\portlet.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\serializer.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\tomahawk-1.1.2-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xalan.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xercesImpl.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xml-apis.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xpp3_min-1.1.3.4.O.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-1.1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-with-attributes.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war;
    Delegation Mode: PARENT_FIRST
    [1] com.ibm.ws.classloader.JarClassLoader@630356666 Local Classpath: Delegation mode: PARENT_FIRST
    [2] com.ibm.ws.classloader.ProtectionClassLoader@2333faba
    [3] com.ibm.ws.bootstrap.ExtClassLoader@7f427ab8
    [4] sun.misc.Launcher$AppClassLoader@7f4cbab8
    [5] sun.misc.Launcher$ExtClassLoader@7f30bab8
    ---Original exception---
    java.lang.UnsupportedClassVersionError: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:414)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:260)
         at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:131)
         at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
         at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:521)
         at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:448)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
         at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

    Hi,
    you will have to compile the application with JDK 1.4 in this case. This should work for JSF and ADF Faces.
    Frank

  • Issues Consuming ADF portlet in Webcenter

    Hi,
    We created an ADF page in the portlet producer and created a portlet entry. We used a webcenter consumer to consume the ADF portlet from the portlet producer.
    On running the webcenter consumer the page is displayed as desired but on performing any action on the page, a blank JS popup message is displayed. Once this popup message displays nothing else can be performed on the screen and the browser tab has to be closed.
    There are no logs at the server level.
    The jdeveloper version is :11.1.1.6.0.
    Can you please help us with this issue
    Thanks and regards

    Hi.
    See into Oracle My Support. Remember (don't know exactly) that exists a Portlets problems with version 11.1.1.6 similar to your problem.
    Probably you'll need to patch your WebCenter installation to 11.1.1.6.2
    Regards.

  • IPC Between Two ADF Portlets on Same Page using Events Failure

    Considering that a full page submit is required for the passing of parameters to work properly, I am trying to use IPC Events to pass a parameter from one ADF Portlet to another. There are no good examples out there, but I am trying to use what is out there in many different generic forms to make this happen with no success.
    One portlet contains an ADF Table with a select column, I have a BackingBean to process the choosing of a row and that value is being retrieved and I am calling the set event.
    public void selectPatient(ActionEvent e) {
    FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding) tblPatients.getSelectedRowData();
    String username = node.getAttribute(0).toString();
    System.out.println("Selected Patient: " + username);
    ActionResponse response = (ActionResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
    response.setEvent("selectPatientResult", username);
    I then have a second portlet that is supposed to retrieve the value being passed from within the portlet class and then the second ADF portlet is supposed to display. I will eventually do more work with the value, but I am just trying to get the events to work properly first. Here is the code within the receiving portlet class:
    public class drugallergies extends ADFBridgePortlet {
    @ProcessEvent(name="selectPatientResult")
    public void processSelectPatientEvent(EventRequest request, EventResponse eventresponse) throws PortletException, IOException {
    Event event = request.getEvent();
    String username = (String)event.getValue();
    System.out.println("Selected Patient: " + username);
    eventresponse.setRenderParameter("patient", username);
    I have also made sure that I have put the following within my web.xml file for the application so that the events are being passed as portlet events and not faces events. I am still fairly new to ADF, but not to portals or portlets, which is why I am going this route.
    <context-param>
    <description>Allows for fired events to go to the portlet and not to the faces layer</description>
    <param-name>javax.portlet.faces.autoDispatchEvents</param-name>
    <param-value>false</param-value>
    </context-param>
    I am never seeing the receiving event get processed, meaning that I never see the println get processed with the receiving value. Please help because there are no examples out in the world for going this route. There are examples, but they require you to create an ADF application first and then convert the application to a portlet. I am using the Portlet Creation wizard within JDeveloper but creating ADF based pages for the Views modes.

    Wait... You have to make a distinct difference between portlet events and contextual events in ADF.
    Contextual events in ADF can be converted to portlet events.
    If the full refresh of a portlet is an issue for you then even contextual events will not solve your problem.
    Regardless the use of parameters or events, portlets do not support partial page rendering or ajax. In order for a parameter to pass or an event to be triggered, it need to have a reference to the ActionResponse or RequestResponse. If they don't have the proper reference they will not be able to trigger the event.
    In the case you are talking about, the selection of a record, this won't be able to trigger an event because the selectionModel will be triggered by a partial submit.
    The only work around for this problem is by adding a "select" button that will do a full submit.
    This is not a limitation of ADF, it is a limitation of the portlet standar because the standard itself does not have anything that supports partial page rendering or ajax...

  • 10.1.3.1 : Developing Business Services with ADF BC tuto issues

    Hi,
    I was doing a learning session at my office based on the 'Developing Business Services with ADF Business Components' tutorial : http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm. The topic Creating ADF Business Components > 9 shows how to create EOs, VOs, AM and the corresponding UML diagram.
    When using JDev 10.1.3.1 :
    * the diagram is not generated as expected,
    * the java domains are not created from DB domains.
    Under JDev 10.1.3.2 :
    * the java domains are created from DB domains,
    * the diagram has been generated on 1 out of 3 computers.
    Any clues on what's going on or any known bugs ?
    Thanks,
    Seb.

    Hi,
    Today in 10.1.3.1 the diagram generation just works. It seems the keepResident extension was causing troubles as the exception stack trace mentioned its name... I just removed it.
    But still, the domains are not generated as expected. I've made several tests even in a fresh installation of JDeveloper 10.1.3.1.
    Seb.

  • Anybody can suggest quick sample 'Hello World' with ADF/JSF to deploy on WC

    We are using JDeveloper 11g, and Web Center 10.1.3.2.
    We have Oracle Portals 10.1.2.0.2
    We want to develop a portlet and deploy it to WC 10.1.3.2 to use it in Portals 10.1.2.0.2.
    Could anybody suggest any working "Hello World' sample with ADF/JSF to deploy on WC 10.1.3.2 WSRP.
    TIA

    Just to clarify. Oracle Portal 10.12.0.2 did not support WSRP based portlets (this was introduced in 10.1.4 or Portal) as such you would need to develop a JPDK based portlet in order to use it in both Portal 10.1.2.0.2 and WebCenter. If you upgrade the portal to 10.1.4 you will be able to use a WSRP 1.0 based portlet in both products (WebCenter also supports the draft WSRP2.0 extensions so make sure that you register the correct WSDL file)
    If you are trying to use JSF components within the Portlet itself you will need to use the JSF Portlet Bridge which accounts for the differences in lifecycle between JSF and WSRP.

Maybe you are looking for

  • Music - The requested URL was not found on this server

    Hi I have brought iphone 5 and most of all my songs are brought from itunes, I can not play my music application - everytime I click on a song to play I get an error message saying - "The requested URL was not found on this server" also all my music

  • Classic Apps in Intel mac

    is there a way to run/convert classic applications to run on an Intel mac legally? or an easy way to convert freeware PPC apps into universal binaries? (preferably the latter). iMac intel core duo   Mac OS X (10.4.8)  

  • Query view error

    Hi When I open my query I get an error which says internal error when generating the history use a different view then i click on ok then i have to choose infoares tab i cannot chooose history view as it gives  error. Regards, Nikhil.

  • Best smartphone/PDA device for MAC users?

    Hi everyone, I am finally upgrading from cell phone to a blackberry-like device that can pick up phone calls, email and internet access. What are the best devices that work with MAC? I currently have a G4 tower and will be adding a new mac laptop in

  • When a new tab opens, there is a "slurping" sound. Drives my wife crazy. How do I disable this sound?

    Recently, Firefox has started passing a "slurping" sound to the speakers whenever a new tab is opened. My wife finds this very annoying. Is there some setting I can make to make it stop doing this?