Web Portlet

I need to know the steps required to display a web portlet built with JDeveloper on a portal page.
null

The Portal Development Kit contains all of the information for building web portlets. It is located at: http://otn.oracle.com/products/iportal/files/pdkjan/index.html
There is also another forum called Oracle Portal Development Kit (PDK) specifically for portlet development issues.

Similar Messages

  • Error while using spring multipart in Oracle Weblogic 10.3.6 - org.springframework.web.portlet.dispatcherportlet - could not complete request

    Hi there,
    We were using the spring multipart for the purpose of uploading a file into our application running on Oracle Weblogic Server 10.3.2 using spring framework.
    It was working fine until we upgraded our server to the version 10.3.6
    After the upgrade, we started getting the below error while we try to submit the form after selecting the file to be uploaded.
    2013-11-20 06:11:29,923 ERROR||[[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)']||[email protected]||org.springframework.web.portlet.DispatcherPortlet||Could not complete request
    javax.portlet.PortletException: Error occured during request processing: javax/portlet/ActionRequest
            at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:668)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
            at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:519)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
            at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:460)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
            at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:901)[portlet-container.jar:10.3.6 ]
            at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:96)[portlet-container.jar:10.3.6 ]
            at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:314)[portlet-container.jar:10.3.6 ]
            at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:679)[portlet-container.jar:10.3.6 ]
            at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireProcessAction(JavaPortletContent.java:209)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.controls.portlet.JavaPortlet.fireProcessAction(JavaPortlet.java:1299)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.controls.portlet.JavaPortlet.raiseChangeEvents(JavaPortlet.java:805)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:316)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:341)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)[netuix_servlet.jar:10.3.6 ]
            at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:731)[netuix_servlet-full.jar:10.3.6 ]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[javax.servlet_1.0.0.0_2-5.jar:2.5]
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)[content_servlet.jar:10.3.6 ]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)[p13n_ejb.jar:10.3.6 ]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.filter.GenericContentFilter.doFilter(GenericContentFilter.java:50)[GenericContentFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.filter.SessionExpiryFilter.doFilter(SessionExpiryFilter.java:82)[SessionExpiryFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.filter.ServletExceptionFilter.doFilter(ServletExceptionFilter.java:54)[ServletExceptionFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.seo.SEOUrlFilter.doFilter(SEOUrlFilter.java:87)[SEOUrlFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.filter.BusinessContextDetectionFilter.doFilter(BusinessContextDetectionFilter.java:75)[BusinessContextDetectionFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.rogers.business.servlet.filter.LanguageProvinceSelectionFilter.doFilter(LanguageProvinceSelectionFilter.java:160)[LanguageProvinceSelectionFilter.class:]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)[content_servlet.jar:10.3.6 ]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)[weblogic.jar:10.3.6.0]
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)[com.bea.core.weblogic.security.identity_1.2.0.0.jar:1.2.0.0]
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)[com.bea.core.weblogic.security.wls_1.0.0.0_6-2-0-0.jar:6.2.0.0]
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)[weblogic.jar:10.3.6.0]
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)[weblogic.jar:10.3.6.0]
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)[com.bea.core.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)[com.bea.core.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]
    We are using "ActionMapping" to call the action method in our controller from the JSP form.
    Have anyone faced this error before?
    Any help would be much appreciated.
    Thanks,
    Lan

    Hi Lan,
    Did you get any resolution for the above issue ?
    If yes can you share it as we also ran into this.
    Regards
    Manu

  • Relatiive Path problem when using JSP:include in web portlet

    Hi
    I am using Oracle Portal 9.0.2, and thus OC4J as the J2EE platform.
    I have created a JSP web portlet that is supposed to inlude a specific static html file, which name is passed to it using a portlet parameter. It works, but I had to create a symbolic link from the applicable J2EE applications's htdocs directory in order to access the content:
    /j2ee/OC4J_Portal/applications/<application>/htdocs/<portlet>/content/
    where /content/ is a symbolic link to another directory altogether.
    I can then access the content from within the portlet with a JSP include tag that looks like :
    docPath = "/htdocs/<portlet>/html/"+doc_path;
    %>
    <br>Include:
    <jsp:include page="<%=docPath%>" flush="true"/>
    I would like to access the content using the JSP include without having to use the symbolic link. Is there a way to do this. I tried using an Apache alias, but that did not work.
    Regards
    Harry

    Hi
    Thanx
    In the end we build up a static URL to the document to be included using:
    String contentLocation="content/";
    docPath = contentLocation+getAdditionalDocPath();;
    out.println("docPath="+docPath);
    String docPathAndName = portletRequest.getParameter("doc_path");
    %>
    <!--
    This java script function calls the display content page with the
    page parameter doc_path (which is in return passes it to the display
    content portlet) in order to retrieve and display specific document
    with a JSP:include tag
    -->
    <script language="JavaScript">
    function generateSectionPath(docName) {
    this.location="http://<%=portletRequest.getServerName()%>:<%=portletRequest.getServerPort()%>/pls/portal/url/page/<%=getPageGroup()%>/content?doc_path="+"<%=docPath%>"+docName;
    <script language="JavaScript">
    function generateRelativePath(docName) {
    this.location="http://<%=portletRequest.getServerName()%>:<%=portletRequest.getServerPort()%>/pls/portal/url/page/<%=getPageGroup()%>/content?doc_path="+docName;
    </script>
    <br>Include:
    <%
    if (portletRequest.getParameter("doc_path") == null) {
    out.println("Error - no doc path specified");
    } else { 
    try { %>
    <jsp:include page="<%=docPathAndName%>" flush="true"/>
    <% } catch (Exception e) {
    out.println("Error retrieving document:"+e.toString());
    } // end if
    %>
    Each link from one included HTML file to another becomes a JS function that points the browser to the portal page that includes the portlet that includes thwe JSP that has the include tag to include the html document that is to be displayed.
    The current relative path the the html document (from a predefined root in the file system that is symbolically linked to the same directory as where the including JSP lives) is stored in a session variable, and appended to the document name that is passed to the page.
    If a full document path, as opposed to just the name, is stored, that no appending is done. However, the path is stripped out and stored in a session variable.
    Ths thing is, sometimes a document name, and sometimes a path is passed to the page. Therefore the requirement to know the path when it is not available. A name only will always be passed subsequent to a request for a document with the full path specified, therefore the session variable mechanism works.
    Thanx for the input
    Harry

  • Using existing java servlet as web portlet?

    I have an existing java servlet that I am trying to use as a web portlet. When I log into portal and run the page I have placed my web portlet on, the header shows up, but not the data.
    I don't fully understand the provider.xml file (especially the renderer part), so my provider.xml file could be wrong:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="2.0"?>
    <provider class="oracle.portal.provider.v1.http.DefaultProvider">
    <session>true</session>
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1">
    <id>1</id>
    <name>XSLSample</name>
    <title>XSL-XML Conversion</title>
    <description>performs xml conversion</description>
    <timeout>100</timeout>
    <timeoutMessage>Portlet timed out</timeoutMessage>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v1.RenderManager">
    <showPage class="oracle.portal.provider.v1.http.Servlet20Renderer">
    <servletClass>XSLSample</servletClass>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    This is my servlet code:
    import org.w3c.dom.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import oracle.xml.parser.v2.*;
    * This file gives a simple example of how to use the XSL processing
    * capabilities of the Oracle XML Parser V2.0. An input XML document is
    * transformed using a given input stylesheet
    public class XSLSample extends HttpServlet
    * Transforms an xml document using a stylesheet
    * @param args input xml and xml documents
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    doGet(request, response);
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    DOMParser parser;
    XMLDocument xml, xsldoc, out;
    URL xslURL;
    URL xmlURL;
    try
    // Parse xsl and xml documents
    parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    // parser input XSL file
    xslURL = createURL("e:/testxsl.xsl");
    parser.parse(xslURL);
    xsldoc = parser.getDocument();
    // parser input XML file
    xmlURL = createURL("e:/testxml.xml");
    parser.parse(xmlURL);
    xml = parser.getDocument();
    // instantiate a stylesheet
    XSLStylesheet xsl = new XSLStylesheet(xsldoc, xslURL);
    XSLProcessor processor = new XSLProcessor();
    // display any warnings that may occur
    processor.showWarnings(true);
    processor.setErrorStream(System.err);
    // Process XSL
    DocumentFragment result = processor.processXSL(xsl, xml);
    // create an output document to hold the result
    out = new XMLDocument();
    // create a dummy document element for the output document
    Element root = out.createElement("root");
    out.appendChild(root);
    // append the transformed tree to the dummy document element
    root.appendChild(result);
    // print the transformed document
    out.print(response.getOutputStream());
    catch (Exception e)
    e.printStackTrace();
    } //END OF DOGET
    // Helper method to create a URL from a file name
    static URL createURL(String fileName)
    URL url = null;
    try
    url = new URL(fileName);
    catch (MalformedURLException ex)
    File f = new File(fileName);
    try
    String path = f.getAbsolutePath();
    // This is a bunch of weird code that is required to
    // make a valid URL on the Windows platform, due
    // to inconsistencies in what getAbsolutePath returns.
    String fs = System.getProperty("file.separator");
    if (fs.length() == 1)
    char sep = fs.charAt(0);
    if (sep != '/')
    path = path.replace(sep, '/');
    if (path.charAt(0) != '/')
    path = '/' + path;
    path = "file://" + path;
    url = new URL(path);
    catch (MalformedURLException e)
    System.out.println("Cannot create url for: " + fileName);
    System.exit(0);
    return url;
    I had to add a "doPost" to my servlet because I was getting the jserv error "Post is not supported by this URL", but that is the only thing I have changed. Do I have to use some of the "portlet" classes in my servlet? (The servlet works fine standalone in ie, just won't output anything on my portal page.)
    Any ideas will be appreciated.

    The problem is in the following line:
    out.print(response.getOutputStream());
    Portlets (unlike servlets) cannot output to a n OutputStream, but only to a PrintWriter.
    I had a similiar problem trying to output a chart. My solution was to output the chart to a file, then reference the chart by outputting a HTML img tag from the portlet, which referred to the file in the src attribute.
    null

  • Supporting web portlets on multi-web server setup

    We are in the process of setting up a system that will have 2 web servers plus a system for the portal and its backend DB. (ie, the 2 web servers will have a load balancer in front of them to spread the work.)
    My question is: how do I support our web portlets that allow the users to customize them? These portlets use the File Customization Manager and so the customization settings are manintained in files on the web server.
    Since the load balancer may send a user to either of the web servers, how do you suggest I best maintain the customization settings? Use a shared file system? Don't use a shared file sys, but sync up the customization dat files some other way? Re-write all of the web portlets to use the DB to maintain the customization data?
    Thanks for any suggestions or help for this!
    Brian Downs

    The best way to handle this would be to use the DB Customization Manager and store the customizations in the database. You could also explore the NFS/shared file system route, but we have run into significant performance issues with NFS in the past.

  • Support for multipart forms in web portlets?

    I have to make a web portlet(in JSP) that allows the user to upload a file. But I got this error...
    [25/06/2001 18:48:27:906 PDT] page/Unexpected exception in servlet
    java.lang.StringIndexOutOfBoundsException: String index out of range: -119
    at java.lang.String.substring(String.java, Compiled Code)
    at oracle.webdb.page.PageBuilder.parseQuery(PageB uilder.java, Compiled Code)
    at oracle.webdb.page.PageBuilder.getMetaData(Page Builder.java, Compiled Code)
    it seems to me that the Portal page is having trouble extracting the request parameters because it is assuming that the request is wwwurlencoded and not multipart...
    If that is true then there is no way for us to create a web portlet that has an upload facility...whether jsp or servlet...
    What are the possible solutions to get around this?
    null

    If you want to upload files, you cannot submit the request to the portal - it has to be submitted directly to your own web provider (or your own servlet). Once you have processed the multipart document, then the web provider or servlet should re-direct to the portal page the upload portlet is on.
    You can do the redirect by including the page_url from the upload portlet in the request to the servlet that will handle the upload.
    NOTE: the servlet that handles the upload must be accessible from the browser (ie no firewalls)

  • PUBLISHING OC4J JSP as web portlet

    I have developed a JSP page in OC4j and want to publish this page on portal 3.0.9 as web portlet. I have created web provider and registered this page as portlet. When I view the portlet it comes as a Blank Page.
    Can anyone tell me how to publish a JSP page developed in OC4J as a web portlet? Can I publish JSP web pages developed in OC4J as web portlet without modifying any JSP code?
    I have installed all JPDK samples and they are working fine.
    Regards

    Here is what we are forced to do, because V2 has had a great delay in the time scheduling.
    Hope it helps. Anyone better ideas?
    Michael.
    ------------8<----------------8<----------------8<-----------
    1. use mod_proxy in httpd.conf
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /pof/ http://localhost:7779/pof/
    ProxyPassReverse /pof/ http://localhost:7779/pof/
    </IfModule>
    2. create JSP under JServ, use hidden fields to transfer parameter
    <%
    try{
    PortletRenderRequest portletRequest = (PortletRenderRequest) request.getAttribute(HttpPro
    vider.PORTLET_RENDER_REQUEST);
    ProviderUser pUser = (ProviderUser) portletRequest.getUser();
    String vUser = pUser.getName();
    if ( !vUser.equalsIgnoreCase("PUBLIC") )
    %>
    <input type="hidden" name="user" value="<%= vUser %>">
    <%
    3. in the action-Tag, use the mapped URL to connect to OC4J
    <form action="/pof/ ....

  • Jsp into web portlet

    How do i put a .jsp created whit JDeveloper into a portlet whithin Portal????

    The Portal Development Kit contains all of the information for building web portlets. It is located at: http://otn.oracle.com/products/iportal/files/pdkjan/index.html
    There is also another forum called Oracle Portal Development Kit (PDK) specifically for portlet development issues.
    null

  • Adding web portlet to portal

    I have installted 9IAS 1.0.2.2 EE on NT 4.0 . My requirement is to see a CNN website as portlet to my portal home page. Whenever
    i try to add web portlet i am getting the below error.
    An error occurred when attempting to call the providers register function. (WWC-43134)
    An unexpected error occurred: ORA-29532: Java call terminated by uncaught Java exception: HTTPClient.ParseException: No scheme found (WWC-43000)
    An unexpected error occurred: HTTPClient.ParseException: No scheme found
    at HTTPClient.URI.<init>(URI.java)
    at HTTPClient.URI.<init>(URI.java
    I am new to portlet development and will grealy appreciate if somebody can
    share the experience.
    null

    help me to perform adding WEB Services as described bellow:
    Hello,
    It depends a Little bit on the used Visual Studio Version. Basically do a right-mouse click on "References" and select
    The next steps are a Little bit hidden & confusing: In the next Dialog click on "Advanced..", then add "Web reference" and here you can enter the URL for SSRS SOAP, click on the green arrow and the WSDL data will be retrieved &
    shown in the Dialog:
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Web portlet installation

    hi,
    how can i install a web-portlet?
    in detail: i want to install the rss-portlet from knowledge exchange.
    thanks,
    matthias

    Hi Matthias,
    By web portlet, i hope you are talking about JPDK portlets. If this is the case, please have a look at the following document: http://download-uk.oracle.com/docs/cd/B14099_01/portal.1012/b14134/pdg_java.htm section 5.4.2.5
    For other portlet related queries, please have a look at the Portal Developers Guide (the above document)
    thanks,
    Harsha

  • Velocity Demo: Missing Web Portlet

    Hi,
    The Event and Parameter Form Java Portlet is Missing.
    The Velocity Tutorial requires this portlet on page 2-35.
    I installed the JPDK thinking it would be there but it isn't.
    Mike
    ----

    The portlet is actually in the Java PDK, however the instructions to make that portlet and it's provider available is missing.
    Follow the same instructions in the JPDK for creating the "Sample Web Provider" but this time create another provider with the name of "JPDK V2 Sample Event Web Provider".
    For the url entry insert:
    http://<server>:<port>/jpdk/providers/event
    Refresh your providers and then Display them to see the new provider and its portlets.
    Mike

  • The On The Web portlet

    My default out-of-the-box Oracle Portal's On the WEB currently says "No external applications have been selected for display. To select applications to display, click "Customize"." When I click the customize link I get the following error.
    Error: The list of External Applications is too large. (WWC-41610)
    Any help would be appreciated.
    Thanks,
    Paul
    Paul Thomas
    Plexus
    Project Leader ! Web Development
    WI-Application Services (AS)
    A Division of Plexus Information Technology
    ((920)751-5309
    (Internal 140-5309
    * mailto:[email protected]
    * mailto:[email protected]
    http://www.plexus.com
    Traded on Nasdaq: PLXS
    http://quote.yahoo.com/q?s=PLXS&d=v1

    currently, that's the only way to do it.
    9.0.2 will fix that.

  • Session-syncronized web portlets (a la master-detail), how to?

    Hi.
    Here is what I want: I have a number of servlet portlets on a page. The user activates a form action on one portlet. The parameters go to that portlet only. The portlet calls some data provider (e.g. a servlet) to fetch some data. When the data arrives the portlet makes it available to all portlet-threads (do i undersstand it correctly?) in the session and tell them to go and present the data according to their predefined XSLTs.
    Now my questions are: Is there built-in support for this syncronization in Portal? What should be the preferred way to do this? Or have I missed something in the docs? (In that case my appologies, but please point out for me.)
    FYI, our current solution is to have all portlets send requests with session info to a "conventional" servlet where the threads for slave portlets are put on hold and the master is passed on to the data layer. When the data comes back it is converted to XML. Then all threads in the session fetch the XML and send back to their respective portlets where the XSLT is done. Any comments on this solution?
    BTW, what is the best way to syncronize servlet threads based on session?
    Any information are much appreciated.
    Jian Hu

    One way of approaching your issue is to simplify. While portlets are executed in parallel, you are guaranteed that they will all be called at a point right after the page is requested and that they will all complete when the page is rendered (either by success or timeout).
    You cannot predict the order of execution between those two points in time, but you can use those bounds to your advantage.
    For example, if you can guarantee that you can commit information to a database before a new page request, you can have all your portlets read from that source.
    Synchronization is a tricky issue and there are others that may know more about it. I'm just presenting one possibility.

  • CSS in Web Portlet (JSP)

    Hi I just worte a portlet and I want to use an external CascadeStyleSheet (css) that I have. Is this possible? If so, can anybody tell me how to do it? Thanks in advance,
    Matias

    Hi,
    Have a look at the OSS note no 830251.
    Check the below link also..
    http://help.sap.com/saphelp_sem320bw/helpdata/en/25/286075ad5441e6b22bfe53b421e271/content.htm
    Regards,
    Siva.

  • Building A Currency Converter Web Portlet

    Hi, I've done a complete install from a Redhat 6.2 CD onto a sinle processor machine, apparently if I switch the kernel to SMP it may help with problems I'm having with my OAS 4.0.8.1 WRKSF going down, can this easily be done or do I have to deinstall and reinstall everything all over, I'm a real Linux novice and wouldn't have a clue where to start. Thanks in advance. Geoff Surgenor Mail : [email protected]

    I'm not I Linux guru, but I know that the SMP kernel might not work, if you are using it on a single processor system. If I know it right - excuse me if I'm not - wrksf works well on multiple processors systems because it makes some assumptions about the /proc/stat file which has a different layout about processors. There were some post about how to fix a library to make it work on non-SMP systems.
    Morc.

Maybe you are looking for

  • Multiple Service Products in Service Order ?

    Hi, I have the follg business process: A customer sends, say, 1000 Pieces of a Product A for repair. Problem in each Piece may be different - some may require just cleaning, some may require Parts replacement etc., which is known only after carrying

  • Trouble merging audio and video

    Hi everybody. I'm using 'merge clips' to combine audio recorded separately from video. We also had a mic on the camera, so we can hear how it syncs up. The clip is an hour long. The audio starts out in sync, but gradually and steadily lags behind the

  • Worker Role Hosting

    I am a beginner in azure, so i implemented a worker role and host it on cloud through visual studio 2013 with remote machine enabled. after hosting i logged into that instance, i find the folder of worker role but no IIS hosting no service so how the

  • Keyboard Function Keys - Leopard / Parallels / Boot Camp

    Hi. I'm two weeks into my first Mac experience, and am delighted with the difference Leopard makes to my workflow! Apologies if my One slight problem - a few days ago, my MBP (2.4 Ghz Dual Core) function keys in Leopard stopped responding as I would

  • Coldfusion caching pdf files

    Hi all:) I'm having trouble with coldfusion caching pdf files that we use to populate. Even when we replace the files the old ones are still being used