Weblogic portal session data lost

Hi,
I have a peculiar scenario where the data set in the HttpSession gets lost intermittently. I could not really figure out a pattern where this occurs.It occurs any where in the application.
I have a session listener tied to the Session which does not get triggered when the session data is lost in this manner. This makes me to believe that the session itself is not getting killed. but only the data gets lost.
I am using Weblogic Portal Server 8.1 sp5 on UNIX server.
Any help is greatly appreciated.
Thanks
Raj

Well, we use the standard authentication:
[url http://edocs.bea.com/wlp/docs81/javadoc/com/bea/p13n/security/Authentication.html#login(java.lang.String,%20java.lang.String,%20javax.servlet.http.HttpServletRequest)]
Hope it will work in your case. Good luck.
Edited by pecanov at 07/05/2007 1:41 PM

Similar Messages

  • Weblogic Portal session related issue

    Technogies Used: Java,Spring webflow and Oracle Weblog portal 10.3.2
    Problem description:
         In our sprint portal application,the main page has 'SSN' and 'Access code' text box fields with search button,user gave value only for SSN box and it took him to access code page with appropriate error message in child window.
    After that user closed the child window and gave valid values for both 'SSN' and Access code fields,but still the same error page is getting displayed instead of valid results page.
    Please advice

    Hi,
    Proliferation refers to the process by which changes made to the Library instance of a portal asset are pushed into user-customized instances of that asset which means that when any changes are made to the portlet in source and if you want to propagate that change to the destination, that time if that portlet is used in a desktop where many users are provided an option to customize that desktop only that particular time at destination if you change the Portal Resources Proliferation of Updates Configuration setting to either Asynchronous or off propagation will be faster because that time propagation utility will not change for each user. If the value is synchronous it changes for each user and hence some delay that too it will happen during commit operation only but not during download operation.
    So I feel, Proliferation may not be useful for your case.
    We need to find why downloading source is taking 3 hrs and destination is taking 8 hrs.
    Please let me know whether you are running downloadsource and downloaddestination.
    I suggest run downloadSource in source machine itself and downloadDestination on the destination Machine itself so that you can reduce the network latency.
    Thanks & Regards,
    Murali.
    ===========

  • Session Data Lost Between JSP's

    Hello,
    I am using Oracle 10g Application Server (9.0.4) on SunOS 5.8. I am trying to upgrade an application previously written for Oracle 9iAS 9.0.2.
    A single JSP (myFile.jsp) is called via a POST operation, and it is initally used to create a frameset that contains two frames. Each frame has a URL link to the same JSP file, with some additional parameters:
    <frameset border="0" rows="*,70">
    <frame NAME="topFrame" SRC="myFile.jsp?PARAMETER1=hello&amp;PARAMETER2=goodbye"/>
    <frame NAME="bottomFrame" SRC="myFile.jsp?PARAMETER1=hello&amp;PARAMETER2=goodbye"/>
    </frameset>
    The problem is that when myFile.jsp is called to generate the actual page for the frames, all the HttpServletRequest data has gone, and only the parameters passed in the Query String remain. I don't want to lose the original POST data - in fact, when I used this on Oracle 9iAS 9.0.2 it preserved the POST data and added the additional queries from the query string so all the parameters were available.
    Has the behaviour of the session manager changed that much between Oracle 9iAS and Oracle 10g 9.0.4? How can I achieve my goal on 9.0.4?
    I tried adding the original POST request to the HttpSession variable as follows:
    session.setAttribute("PARENT_REQUEST",request);
    and then extracting the request data when the JSP is called on subsequent occasions as follows:
    HttpServletRequest newRequest = (HttpServletRequest) session.getAttribute("PARENT_REQUEST");
    But 'newRequest' is actually empty, and it doesn't create an exception. If I debug the session object I notice 2 things:
    1. The session ID remains the same througout all calls of myFile.jsp.
    2. The memory location pointed to by the parameter "PARENT_REQUEST" also remains the same, in the format:
    com.evermind.server.http.AJPHttpServletRequest@1bd5093
    If the session object being passed around by cookies remains consistent, why can I not extract the PARENT_REQUEST attribute from it on subsequent calls to myFile.jsp? Have I misunderstood how HttpSession works? How can I modify my JSP's so that data stored during a session is made available to subsequent calls to myFile.jsp?
    I appreciate any insight you can offer!

    Has the behaviour of the session manager changed that much between Oracle 9iAS and
    Oracle 10g 9.0.4? How can I achieve my goal on 9.0.4?If your experience did suggest something has changed from 9.0.2 to 9.0.4, I would believe that it is more about request management.
    If the session object being passed around by cookies remains consistent, why can I not
    extract the PARENT_REQUEST attribute from it on subsequent calls to myFile.jsp? Have
    I misunderstood how HttpSession works? How can I modify my JSP's so that data stored
    during a session is made available to subsequent calls to myFile.jsp?The "request" in the following code
    session.setAttribute("PARENT_REQUEST", request);
    is just a pointer to the actual request object. Other code, especially the server internal code that manage the http requests and responses can see and manipulate that actual request object. For example, although I am not sure if it is the case, the request objects can be pooled and reused. So it is possible that although "The memory location pointed to by the parameter "PARENT_REQUEST" also remains the same, in the format: com.evermind.server.http.AJPHttpServletRequest@1bd5093", the actual request object at that memory location may have changed. The right way to preserve the original request object is to make a private deep copy of it; however there is no easy way to do that.
    Well, an easy way out is to store directly what you need from the original request. If you would like to store the parameters, try
    session.setAttribute("origParams", request.getParameterMap().clone());
    Although this clone() does a shallow copy, it is probably good enough. To be absolutely sure, you can make a deep copy of everything you need and store them.
    Good luck!

  • Can portal session cookies be used between two data centers

    OAS generates the following header information and session information for my application. However when I need to failover the originating OAS datacenter into my hot stand-by for maintenance or upgrades, the OAS in the other datacenter responds with a 503 web error. We are using Akamai's GTM to manage the liveness of the datacenter, so we would need the hot stand-by OAS portal in that datacenter to return a 302 error code. Is there some method that we can add to our portal application which would always return a 302 error code.
    See header information collected through wfetch. The 503 error is caused by the hot stand-by data center not accepting or recognizing the cookie. Both OAS datacenters are IDENTICAL in Oracle levels, application levels, web servers, portals and OS patches.
    resolve hostname "170.107.183.32"WWWConnect::Connect("170.107.183.32","80")\nsource port: 2182\r\n
    GET /portal/pls/portal/PORTAL.wwsec_app_priv.login?p_requested_url=%2Fportal%2Fpls%2Fportal%2FPORTAL.home&p_cancel_url=%2Fportal%2Fpls%2Fportal%2FPORTAL.home HTTP/1.1\r\n
    Accept: */*\r\n
    Accept-Language: en-us\r\n
    Accept-Encoding: gzip, deflate\r\n
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\r\n
    Host: www.thomson-pharma.com\r\n
    Connection: Keep-Alive\r\n
    Cookie: ORA_WX_SESSION="10.225.8.30:80-1#2"; portal=9.0.3+en-us+us+AMERICA+3D66674E7EED0801E04400144F41424E+BBAA98EEB32D58C086231A8D6CBE2E5D402D89B0E79D83A18C668BB0CA7417B4044DEA389C8B50DD37D9272A24B4753B22F29978861DE14503F8B9BEDC2014654B26A434CF074F4D8749B88610ADADF5084A90ADBF749E2A; DATACENTER=EAGAN\r\n
    \r\n
    HTTP/1.1 503 Service Unavailable\r\n
    Cache-Control: private\r\n
    Content-Type: text/html\r\n
    Set-Cookie: ORA_WX_SESSION="10.237.138.33:80-1#2"\r\n
    Set-Cookie: portal=; expires=Wednesday, 27-Dec-95 05:29:10 GMT; path=/\r\n
    Connection: Keep-Alive\r\n
    Keep-Alive: timeout=5, max=999\r\n
    Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.2 (N;ecid=208440262161,0)\r\n
    Content-Length: 710\r\n
    Date: Fri, 26 Oct 2007 14:58:07 GMT\r\n
    \r\n
    Thanks -John

    Hi John,
    This question is probably more appropriate in one of the Portal forums, but perhaps you can take a look at the information in section C.5 Configuring the Portal Session Cookie in Appendix C of the Portal Configuration guide.
    Here is a link: http://download.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_app_c.htm#sthref1907
    Regards,
    Peter

  • Coherence integration with oracle weblogic portal for Session management

    Could you please let me know how to configure coherence integration with oracle weblogic portal for Session management. Its very urgent. please help.

    Please take a look at the following web page -
    http://coherence.oracle.com/display/COH35UG/Coherence*Web+Session+Management+Module
    -Luk

  • Unique session key  weblogic portal 9.2

    Hi,
    Is there a way I can generate unique session key to ensure correct session is tracking between every desktop with different user.
    Is this right way to handle session in weblogic portal 9.2?

    Hi
    what exactly do you want to do? A session does have an id which is guaranteed unique while the server is running (you dont need to do anything special for this). HttpSession.getId.
    Note However normally this value gets stored as a cookie on the browser (with the default name of JSESSIONID) and you must ensure that different webapps on the same domain dont overwrite this value
    regards
    deepak

  • Weblogic portal content published for future date.

    Hi,
    I am using Weblogic portal 10.3, need to publish a content item for futhre date , i tried adding the date and time to startDate property and published it, and the changes got reflected immediately.
    has any one got his done.
    Regards
    Chandrakant

    Hi Deepak,
    Case 1 -
    Assuming that there is a version which is currently displayed on the portal, if the business has published 3 future versions already (not yet published on portal), then he can make any changes in any of the future versions and have them automatically published.
    Case 2 -
    If there is a version which is currently displayed and there are 2 future versions published in the repository already, if the business user wants to make any changes in the current version, he just changes and re-publishes for the updated stuff to appear on the portal.
    Case 3 - overlaps
    Incase of 2 published versions with the same start dates but varying end dates, as the content selector will pick up both the nodes into the arraylist. In that case we can write a comparator, which incase of same start dates, do a comparison on the version id, and then pick the latest version. but in that case, we may lose one version. I guess in that case, we will have to advise the user handling this versionong to provide sequential dates for all the versions.
    I hope I have got the issue right and covered all the cases.
    Thanks

  • Portal session to iWS with NES plug-in to Weblogic server

    Hi All,
    Are there any known issues/problems with Portal sessions (iPS3.0sp3a) using an iPlanet Web server v4.1x with an NES plug-in to proxy requests to a Weblogic server?
    Look forward to your reply.
    Chris Wilt
    TransCanada

    Variety of things to consider here, what kinds of requests your passing across and where the connector isinstalled. If the connector is installed in the same web server instance as portal, the web server could be overloaded ..

  • Session varaible data lost!

    Hi,
    I have a situation where I have A servlet set with some session variables from here another page url is called which is resides in a different machine and server. Again when A servlet is called through a url from the 2nd machine , the original session data set in A servlet is lost?
    Any idea how the session data in A servlet could be retained?

    From all that I could understand from your questions, there are two servlets running in two different machines. They can never obtain each others session data.

  • Lost session data on jsps

    I run a jsp on Tomcat. But the Tomcat says that the session is lost and returns a null pointer. There is no session clear statement in my jsp except its pointing out a null session data.
    It works well when I go to a jsp that comes from a servlet processing. But when I click on link that directly calls on a jsp page, the page doesn't finish loading/errs out.
    What to do with this? This works fine in single-serevr instance. But when it's run on a cluster/shared environment, it doesn't.
    Message was edited by:
    rachehernandez

    I'm new to tomcat itself and to this job :) I'm using tomcat 5.0.28.
    I'm not sure how they do clustering in their setup though.
    It's working fine by in a test standalone mode. I do think there's something wrong with the setup. But how would I know?
    The jsp sometimes work , and most of the times not. It works when you try to refresh the page. It also works when it comes from a servlet call. But when its just an href link, it doesn't. JSP is using an object from the session. It throws an exception when it can't find this object in the session. But when I click on a link that calls a servlet to load a jsp that's using the same session object, how come it can load up.
    What's happening with the session?
    Thanks!

  • Session Handling in Weblogic Portal 9.2

    Hi All,
    I have posted a strange problem that i have been facing. It was that my previously visited page was getting rendered when i used to perform some action on my current page.
    I attributed this to some caching that might be happening. I want to know if every page that we visit in an application gets cached ? May be due to caching, the earlier page is getting displayed.
    Are these portlets or pages getting cached in the session? Any workaround by which i can clear the cache of all the previously visited pages?

    By default, the session timeout seconds is 3600, ie, an hour.
              In case you have specified weblogic-application.xml or weblogic.xml, you can add a descriptor "session-descriptor" to set session-timeout seconds.
              Here is a sample to set the timeout to 2 hours.
              file: weblogic.xml
              <?xml version="1.0" encoding="ISO-8859-1"?>
              <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
              <session-descriptor>
              <timeout-secs>7200</timeout-secs>
              </session-descriptor>
              </weblogic-web-app>
              For more detail about session descriptor, please refer to
              http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1071982
              Thanks,
              -Fred.

  • Redirect service from http to https, session is lost

    I have setup two web sites using NT 4.0 IIS so that both
              "http://nossl/mybeanbeans" and "https://ssltest/mybeanbeans"
              can execute the commerce server mybuybeans example.
              Then I modify the shoppingCartDetail.jsp and commandAssembler.jsp
              (files attached) hoping that when I click the "Checkout" button
              on the Shopping Cart screen, it will redirect the service from
              http to https.
              The URL is redirected to "https" but it depicts the welcome page
              instead of showing the Order Check Out page.
              Previous session information is lost.
              Can anyone help me?
              Thanks
              <!-- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved. -->
              <%@ page errorPage="../error.jsp" %>
              <%@ page import="java.lang.reflect.*" %>
              <%@ page import="theory.smartx.command.*" %>
              <%@ page import="examples.buybeans.client.*" %>
              <%@ page extends="com.beasys.commerce.portal.admin.PortalJspBase" %>
              <%@ page implements="BuyBeansJspConstants" %>
              <pt:monitorsession />
              <%@ include file="monitorSessionTracker.jsp" %>
              <%
              // Get the Command class name to instantiate
              String commandClassName = request.getParameter(COMMAND_CLASS_NAME_PARAM);
              System.out.println("COMMAND_CLASS_NAME_PARAM : " + commandClassName);
              if (commandClassName != null) {
              // Get the BuyBeansSessionTracker
              BuyBeansSessionTracker sessionTracker = (BuyBeansSessionTracker)session.getValue(com.beasys.commerce.portal.admin.PortalAdminHelper.qualifiedName(BUYBEANS_SESSION_TRACKER_KEY ,request));
              // Construct an array of 1 element to hold the BuyBeansSessionTracker
              // parameter type that the constructor takes.
              Class constructorParamTypes[] = new Class[1];
              constructorParamTypes[0] = sessionTracker.getClass();
              try {
              // Get the Class for the concrete Command
              Class commandClass = Class.forName(commandClassName);
              // Get constructor that takes the BuyBeansSessionTracker as argument
              Constructor commandClassCtor = commandClass.getConstructor(constructorParamTypes);
              // Set the BuyBeansSessionTracker argument for the constructor
              Object ctorParams[] = new Object[1];
              ctorParams[0] = sessionTracker;
              // Create the instance of the concrete Command
              Command command = (Command) commandClassCtor.newInstance(ctorParams);
              // Pass the HttpRequest to the command so that it can
              // read the parameter and then execute it.
              command.assemble(request);
                   // Store the outstanding command in the session tracker so that
                   // the main portal page can execute it.
                   sessionTracker.setCommand(command);
                   setOverrideDestination(request, getHomePage(request));
              %>
              <%-- Added by Warren --%>
              <%
              String queryString = request.getQueryString();
              String encodeURL=response.encodeURL(getTrafficURI(request));
              String redirectURL=response.encodeRedirectURL("https://ssltest"+encodeURL);
              System.out.println("====================");
              System.out.println("queryString:" + queryString);
              System.out.println("encodeURL:" + encodeURL);
              System.out.println("redirectURL:" + redirectURL);
              System.out.println("========before sendRedirect============");
              response.sendRedirect(redirectURL);
              System.out.println("========after sendRedirect============");
              %>
              <%
              System.out.println("======== end commandAssemblerSSL ============");
              catch (ClassNotFoundException cnfe) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, cnfe);
              catch (NoSuchMethodException nsme) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, nsme);
              catch (IllegalAccessException illegalAccessEx) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, illegalAccessEx);
              catch (IllegalArgumentException illegalArgEx) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, illegalArgEx);
              catch (InstantiationException ie) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, ie);
              catch (InvocationTargetException ite) {
                   throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, ite);
              %>
              <!-- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved. -->
              <%@ taglib uri="lib/wljsp.jar" prefix="wl" %>
              <%@ taglib uri="lib/esportal.jar" prefix="pt" %>
              <%@ page errorPage="../error.jsp" %>
              <%@ page import="com.beasys.commerce.portal.Portlet" %>
              <%@ page import="examples.buybeans.client.*" %>
              <%@ page import="theory.smart.ebusiness.item.*" %>
              <%@ page import="theory.smart.ebusiness.order.*" %>
              <%@ page import="theory.smart.axiom.units.*" %>
              <%@ page import="com.beasys.commerce.portal.tags.PortalTagConstants" %>
              <%@ page extends="com.beasys.commerce.portal.admin.PortalJspBase"%>
              <%@ page implements="BuyBeansJspConstants"%>
              <pt:monitorsession />
              <%@ include file="monitorSessionTracker.jsp" %>
              <SCRIPT LANGUAGE="JavaScript">
              <!--
              function submitShoppingCartDetailsForm(commandClassName, bbContent)
              document.ShoppingCartDetailForm.<%= COMMAND_CLASS_NAME_PARAM %>.value = commandClassName;
              document.ShoppingCartDetailForm.<%= BUYBEANS_CONTENT_PARAM %>.value = bbContent;
              document.ShoppingCartDetailForm.submit();
              //-->
              </SCRIPT>
              <%
              BuyBeansSessionTracker sessionTracker = (BuyBeansSessionTracker)getSessionValue( BUYBEANS_SESSION_TRACKER_KEY, request );
              // Get the current Order
              Order currOrder = sessionTracker.getEBusinessSession().getOrder();
              // Get all the items in the cart as a Vector of orderlines from the session tracker
              java.util.Vector orderLines = sessionTracker.getCartOrderLines();
              %>
              <!-- Display the items from the shopping cart -->
              <table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr bgcolor=FFFFFF>
              <td> </td>
              <tr bgcolor="#FFFFFF">
              <td>
              <table width="95%" border="0" cellspacing="0" cellpadding="3" align="center" dwcopytype="CopyTableRow">
              <tr>
              <td colspan="6"><font face="Arial, Helvetica, Verdana, sans-serif"><%@ include file="contentMessages.jsp" %></font></td>
              </tr>
              <tr>
              <td colspan="6"> <%= JspHelperBase.formatAsTitle("Shopping Cart - SSL*** ") %> </td>
              </tr>
              <tr>
              <td><font face="Arial,Helvetica,sans-serif" color="#666600" size="2"><b>Product ID</b></font></td>
              <td><font face="Arial,Helvetica,sans-serif" color="#666600" size="2"><b>Description</b></font></td>
              <td><font face="Arial,Helvetica,sans-serif" color="#666600" size="2"><b>Quantity</b></font></td>
              <td align="right"><font face="Arial,Helvetica,sans-serif" color="#666600" size="2"><b>Price</b></font></td>
              <td align="right"><font face="Arial,Helvetica,sans-serif" color="#666600" size="2"><b>Subtotal</b></font></td>
              <td></td>
              </tr>
              <form method="get" name="ShoppingCartDetailForm" action="<%= response.encodeURL(getTrafficURI(request)) %>" >
              <%
              // Declare a currency format type
              Quantity one = QuantityHome.create();
              one.setCount(1);
              // Print out all the items in the cart
              for(int i = 0; i<orderLines.size(); i++ ) {
              OrderLine currOrderLine = (OrderLine)orderLines.elementAt(i);
              Item myItem = currOrderLine.getItem();
              ItemValue iv = myItem.getItemByValue();
              String desc = iv.description;
              String id = iv.identifier;
              // Specify the color of the row
              String rowColor = (i%2 == 0) ? ROW_BACKGROUND_COLOR_1 : ROW_BACKGROUND_COLOR_2 ;
              // Specify the name of the quantity text field - name it as qty+i
              String qtyInputName = ORDER_QUANTITY + i;
              // Specify the name of the remove checkbox
              String removeInputName = REMOVE_CHECKED + i;
              %>
              <!-- print out the details of each item -->
              <tr bgcolor="<%= rowColor %>">
              <td><%= id %></td>
              <td><%= desc %></td>
              <td>
              <input type="text" name="<%= qtyInputName %>" size=3 maxlength=3 value= "<%= JspHelperBase.formatQuantityAsInteger(currOrderLine.getQuantity()) %>" >
              </td>
              <td align="right"><%= JspHelperBase.formatPriceAsCurrency(myItem.calculatePrice(one, null)) %></td>
              <td align="right"><%= JspHelperBase.formatPriceAsCurrency(currOrderLine.getLinePrice(null)) %></td>
              <td><input type="checkbox" name="<%= removeInputName %>" value="<%=REMOVE_CHECKED %>" > Remove </td>
              </tr>
              <%
              %>
              <tr>
              <td> </td>
              <td> </td>
              <td> </td>
              <td align="right"> <font face="Arial,Helvetica,sans-serif" size="3" color="#666600"><b>Total:</b></font></td>
              <td>
              <div align="right"><font face="Arial, Helvetica, sans-serif" size="3" color="#990000"><b><%= JspHelperBase.formatPriceAsCurrency(currOrder.getTotalPrice()) %>
              </b> </font> </div>
              </td>
              <td>
              <input type="button" name="<%=UPDATE_CART_BUTTON %>"
              onClick="submitShoppingCartDetailsForm('examples.buybeans.client.UpdateShoppingCartCommand', '<%= SHOPPING_CART_DETAILS_JSP %>')"
              value="Update">
              </td>
              </tr>
              <tr>
              <td> </td>
              <td> </td>
              <td> </td>
              <td> </td>
              <td> </td>
              <td>
              <input type="button" name="<%=CHECKOUT_BUTTON %>"
              onClick="submitShoppingCartDetailsForm('examples.buybeans.client.CheckOutCommand', '<%= CHECKOUT_JSP %>')"
              value="Checkout">
              </td>
              </tr>
              <tr colspan="6">
              <td> </td>
              </tr>
              <%-- DESTINATION_TAG is required because the form action goes to getTrafficURI() --%>
              <%-- In this case, the destination is the command assembler --%>
              <%-- <input type=hidden name="<%= DESTINATION_TAG %>" value="<%= COMMAND_ASSEMBLER_JSP %>"> --%>
              <%-- The following line is used for testing SSL redirect --%>
              <input type=hidden name="<%= DESTINATION_TAG %>" value="/portals/buybeans/portlets/commandAssemblerSSL.jsp" >
              <%-- The following two parameters are set by the JavaScript function based --%>
              <%-- on the button that the user presses (default value are provided ) --%>
              <input type=hidden name="<%= BUYBEANS_CONTENT_PARAM %>" value="<%= SHOPPING_CART_DETAILS_JSP %>">
              <input type=hidden name="<%= COMMAND_CLASS_NAME_PARAM %>" value="examples.buybeans.client.UpdateShoppingCartCommand">
              </form>
              </table>
              </td>
              </tr>
              <tr>
              <td> </td>
              </tr>
              </table>
              

    the problem is when the cookie is exchanged between the browser
              and the app server IE treats request coming from http://bc.com:7001
              and http://bc.com:7002 as one and the same : so the browser maintains
              the same session but netscape treats this as responses coming from two
              different servers and hence u lost the session.
              I assume u are having this problem with netscape and not IE.
              the solution is set this property in the weblogic.properties file
              weblogic.httpd.session.cookie.domain=.bc.com
              -Sumanth
              "senthil ramiah" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > Did you receive any replies for this question.
              > thanx
              > senthil
              >
              > Warren Li <[email protected]> wrote:
              > >
              > >I have setup two web sites using NT 4.0 IIS so that both
              > > "http://nossl/mybeanbeans" and "https://ssltest/mybeanbeans"
              > >can execute the commerce server mybuybeans example.
              > >
              > > Then I modify the shoppingCartDetail.jsp and commandAssembler.jsp
              > > (files attached) hoping that when I click the "Checkout" button
              > > on the Shopping Cart screen, it will redirect the service from
              > > http to https.
              > >
              > >The URL is redirected to "https" but it depicts the welcome page
              > > instead of showing the Order Check Out page.
              > > Previous session information is lost.
              > >
              > >Can anyone help me?
              > >
              > >Thanks
              > >
              > >
              > >
              > ><!-- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved. -->
              > >
              > ><%@ page errorPage="../error.jsp" %>
              > ><%@ page import="java.lang.reflect.*" %>
              > ><%@ page import="theory.smartx.command.*" %>
              > ><%@ page import="examples.buybeans.client.*" %>
              > >
              > ><%@ page extends="com.beasys.commerce.portal.admin.PortalJspBase" %>
              > ><%@ page implements="BuyBeansJspConstants" %>
              > >
              > ><pt:monitorsession />
              > >
              > ><%@ include file="monitorSessionTracker.jsp" %>
              > >
              > ><%
              > > // Get the Command class name to instantiate
              > > String commandClassName =
              request.getParameter(COMMAND_CLASS_NAME_PARAM);
              > > System.out.println("COMMAND_CLASS_NAME_PARAM : " + commandClassName);
              > > if (commandClassName != null) {
              > >
              > > // Get the BuyBeansSessionTracker
              > > BuyBeansSessionTracker sessionTracker =
              (BuyBeansSessionTracker)session.getValue(com.beasys.commerce.portal.admin.Po
              rtalAdminHelper.qualifiedName(BUYBEANS_SESSION_TRACKER_KEY ,request));
              > >
              > > // Construct an array of 1 element to hold the
              BuyBeansSessionTracker
              > > // parameter type that the constructor takes.
              > > Class constructorParamTypes[] = new Class[1];
              > > constructorParamTypes[0] = sessionTracker.getClass();
              > >
              > > try {
              > > // Get the Class for the concrete Command
              > > Class commandClass = Class.forName(commandClassName);
              > >
              > > // Get constructor that takes the BuyBeansSessionTracker as
              argument
              > > Constructor commandClassCtor =
              commandClass.getConstructor(constructorParamTypes);
              > >
              > > // Set the BuyBeansSessionTracker argument for the constructor
              > > Object ctorParams[] = new Object[1];
              > > ctorParams[0] = sessionTracker;
              > >
              > > // Create the instance of the concrete Command
              > > Command command = (Command)
              commandClassCtor.newInstance(ctorParams);
              > >
              > > // Pass the HttpRequest to the command so that it can
              > > // read the parameter and then execute it.
              > > command.assemble(request);
              > >
              > > // Store the outstanding command in the session tracker so that
              > > // the main portal page can execute it.
              > > sessionTracker.setCommand(command);
              > > setOverrideDestination(request, getHomePage(request));
              > >%>
              > >
              > ><%-- Added by Warren --%>
              > ><%
              > > String queryString = request.getQueryString();
              > > String encodeURL=response.encodeURL(getTrafficURI(request));
              > > String
              redirectURL=response.encodeRedirectURL("https://ssltest"+encodeURL);
              > > System.out.println("====================");
              > > System.out.println("queryString:" + queryString);
              > > System.out.println("encodeURL:" + encodeURL);
              > > System.out.println("redirectURL:" + redirectURL);
              > > System.out.println("========before sendRedirect============");
              > > response.sendRedirect(redirectURL);
              > > System.out.println("========after sendRedirect============");
              > >%>
              > >
              > ><%
              > > System.out.println("======== end commandAssemblerSSL ============");
              > > }
              > > catch (ClassNotFoundException cnfe) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, cnfe);
              > > }
              > > catch (NoSuchMethodException nsme) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, nsme);
              > > }
              > > catch (IllegalAccessException illegalAccessEx) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600,
              illegalAccessEx);
              > > }
              > > catch (IllegalArgumentException illegalArgEx) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600,
              illegalArgEx);
              > > }
              > > catch (InstantiationException ie) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, ie);
              > > }
              > > catch (InvocationTargetException ite) {
              > > throw new ApplicationException(BUYBEANS_CATALOG_NAME, 600, ite);
              > > }
              > > }
              > >
              > >%>
              > >
              > >
              > ><!-- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved. -->
              > >
              > ><%@ taglib uri="lib/wljsp.jar" prefix="wl" %>
              > ><%@ taglib uri="lib/esportal.jar" prefix="pt" %>
              > >
              > ><%@ page errorPage="../error.jsp" %>
              > ><%@ page import="com.beasys.commerce.portal.Portlet" %>
              > ><%@ page import="examples.buybeans.client.*" %>
              > ><%@ page import="theory.smart.ebusiness.item.*" %>
              > ><%@ page import="theory.smart.ebusiness.order.*" %>
              > ><%@ page import="theory.smart.axiom.units.*" %>
              > ><%@ page import="com.beasys.commerce.portal.tags.PortalTagConstants" %>
              > >
              > ><%@ page extends="com.beasys.commerce.portal.admin.PortalJspBase"%>
              > ><%@ page implements="BuyBeansJspConstants"%>
              > >
              > >
              > ><pt:monitorsession />
              > >
              > ><%@ include file="monitorSessionTracker.jsp" %>
              > >
              > ><SCRIPT LANGUAGE="JavaScript">
              > ><!--
              > >function submitShoppingCartDetailsForm(commandClassName, bbContent)
              > >{
              > > document.ShoppingCartDetailForm.<%= COMMAND_CLASS_NAME_PARAM %>.value
              = commandClassName;
              > > document.ShoppingCartDetailForm.<%= BUYBEANS_CONTENT_PARAM %>.value =
              bbContent;
              > > document.ShoppingCartDetailForm.submit();
              > >}
              > >//-->
              > ></SCRIPT>
              > >
              > ><%
              > > BuyBeansSessionTracker sessionTracker =
              (BuyBeansSessionTracker)getSessionValue( BUYBEANS_SESSION_TRACKER_KEY,
              request );
              > >
              > > // Get the current Order
              > > Order currOrder = sessionTracker.getEBusinessSession().getOrder();
              > >
              > > // Get all the items in the cart as a Vector of orderlines from the
              session tracker
              > > java.util.Vector orderLines = sessionTracker.getCartOrderLines();
              > >%>
              > >
              > >
              > ><!-- Display the items from the shopping cart -->
              > > <table width="99%" border="0" cellspacing="0" cellpadding="0"
              align="center">
              > > <tr bgcolor=FFFFFF>
              > > <td> </td>
              > > <tr bgcolor="#FFFFFF">
              > > <td>
              > > <table width="95%" border="0" cellspacing="0" cellpadding="3"
              align="center" dwcopytype="CopyTableRow">
              > > <tr>
              > > <td colspan="6"><font face="Arial, Helvetica, Verdana,
              sans-serif"><%@ include file="contentMessages.jsp" %></font></td>
              > > </tr>
              > > <tr>
              > > <td colspan="6"> <%= JspHelperBase.formatAsTitle("Shopping
              Cart - SSL*** ") %> </td>
              > > </tr>
              > > <tr>
              > > <td><font face="Arial,Helvetica,sans-serif" color="#666600"
              size="2"><b>Product ID</b></font></td>
              > > <td><font face="Arial,Helvetica,sans-serif" color="#666600"
              size="2"><b>Description</b></font></td>
              > > <td><font face="Arial,Helvetica,sans-serif" color="#666600"
              size="2"><b>Quantity</b></font></td>
              > > <td align="right"><font face="Arial,Helvetica,sans-serif"
              color="#666600" size="2"><b>Price</b></font></td>
              > > <td align="right"><font face="Arial,Helvetica,sans-serif"
              color="#666600" size="2"><b>Subtotal</b></font></td>
              > > <td></td>
              > > </tr>
              > >
              > > <form method="get" name="ShoppingCartDetailForm" action="<%=
              response.encodeURL(getTrafficURI(request)) %>" >
              > > <%
              > > // Declare a currency format type
              > > Quantity one = QuantityHome.create();
              > > one.setCount(1);
              > >
              > > // Print out all the items in the cart
              > > for(int i = 0; i<orderLines.size(); i++ ) {
              > > OrderLine currOrderLine =
              (OrderLine)orderLines.elementAt(i);
              > > Item myItem = currOrderLine.getItem();
              > > ItemValue iv = myItem.getItemByValue();
              > > String desc = iv.description;
              > > String id = iv.identifier;
              > >
              > > // Specify the color of the row
              > > String rowColor = (i%2 == 0) ? ROW_BACKGROUND_COLOR_1 :
              ROW_BACKGROUND_COLOR_2 ;
              > >
              > > // Specify the name of the quantity text field - name
              it as qty+i
              > > String qtyInputName = ORDER_QUANTITY + i;
              > >
              > > // Specify the name of the remove checkbox
              > > String removeInputName = REMOVE_CHECKED + i;
              > >
              > >
              > > %>
              > > <!-- print out the details of each item -->
              > > <tr bgcolor="<%= rowColor %>">
              > > <td><%= id %></td>
              > > <td><%= desc %></td>
              > > <td>
              > > <input type="text" name="<%= qtyInputName %>" size=3
              maxlength=3 value= "<%=
              JspHelperBase.formatQuantityAsInteger(currOrderLine.getQuantity()) %>" >
              > > </td>
              > > <td align="right"><%=
              JspHelperBase.formatPriceAsCurrency(myItem.calculatePrice(one, null))
              %></td>
              > > <td align="right"><%=
              JspHelperBase.formatPriceAsCurrency(currOrderLine.getLinePrice(null))
              %></td>
              > > <td><input type="checkbox" name="<%= removeInputName %>"
              value="<%=REMOVE_CHECKED %>" > Remove </td>
              > > </tr>
              > > <%
              > > }
              > > %>
              > > <tr>
              > > <td> </td>
              > > <td> </td>
              > > <td> </td>
              > > <td align="right"> <font face="Arial,Helvetica,sans-serif"
              size="3" color="#666600"><b>Total:</b></font></td>
              > > <td>
              > > <div align="right"><font face="Arial, Helvetica,
              sans-serif" size="3" color="#990000"><b><%=
              JspHelperBase.formatPriceAsCurrency(currOrder.getTotalPrice()) %>
              > > </b> </font> </div>
              > > </td>
              > > <td>
              > > <input type="button" name="<%=UPDATE_CART_BUTTON %>"
              > >
              onClick="submitShoppingCartDetailsForm('examples.buybeans.client.UpdateShopp
              ingCartCommand', '<%= SHOPPING_CART_DETAILS_JSP %>')"
              > > value="Update">
              > > </td>
              > > </tr>
              > > <tr>
              > > <td> </td>
              > > <td> </td>
              > > <td> </td>
              > > <td> </td>
              > > <td> </td>
              > > <td>
              > > <input type="button" name="<%=CHECKOUT_BUTTON %>"
              > >
              onClick="submitShoppingCartDetailsForm('examples.buybeans.client.CheckOutCom
              mand', '<%= CHECKOUT_JSP %>')"
              > > value="Checkout">
              > > </td>
              > > </tr>
              > > <tr colspan="6">
              > > <td> </td>
              > > </tr>
              > >
              > > <%-- DESTINATION_TAG is required because the form action goes
              to getTrafficURI() --%>
              > > <%-- In this case, the destination is the command
              --%>
              > ><%-- <input type=hidden name="<%= DESTINATION_TAG %>" value="<%=
              COMMAND_ASSEMBLER_JSP %>"> --%>
              > >
              > > <%-- The following line is used for testing SSL redirect --%>
              > > <input type=hidden name="<%= DESTINATION_TAG %>"
              value="/portals/buybeans/portlets/commandAssemblerSSL.jsp" >
              > >
              > > <%-- The following two parameters are set by the JavaScript
              function based --%>
              > > <%-- on the button that the user presses (default value are
              provided ) --%>
              > > <input type=hidden name="<%= BUYBEANS_CONTENT_PARAM %>"
              value="<%= SHOPPING_CART_DETAILS_JSP %>">
              > > <input type=hidden name="<%= COMMAND_CLASS_NAME_PARAM %>"
              value="examples.buybeans.client.UpdateShoppingCartCommand">
              > >
              > > </form>
              > > </table>
              > > </td>
              > > </tr>
              > > <tr>
              > > <td> </td>
              > > </tr>
              > ></table>
              > >
              >
              

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

  • Query- IPC using JSF Portlets in WebLogic Portal

    The question is how to pass data when doing InterPortlet Communication using Local JSF portlets in Weblogic Portal.
    I will eloborate on the particular scenario we have below.
    Two JSF portlets are build (both are not using Java Page Flows). The first porltet has a table of data. When the user clicks on one of the items in the table (which is coded using <h:commandLink/> option), the second portlet should show some details on the item clicked.
    For example:
    If there is a list of books in first portlet, when clicking on one of the book name, the details of book should come up in the second portlet.
    To achieve this, faces event was enabled in first portlet with requestAttrPersistence option set to session.
    For example :
    <netuix:content>
    <netuix:facesContent contentUri="/bookList.faces" requestAttrPersistence="session">
    <netuix:facesEvents>
    <netuix:facesEvent action="/bookDetails.faces" eventName="bookDetailEvent"/>
    </netuix:facesEvents>
    </netuix:facesContent>
    </netuix:content>
    The second portlet was configured to handle faces events, particularly the bookDetailEvent.
    Example:
    <netuix:handleFacesEvent eventLabel="handleFacesEvent1" eventName="bookDetailEvent" fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionLabels="JSFPortlet_1" sourceDefinitionWildcard="this">
    <netuix:invokeFacesAction action="/bookDetails.faces"/>
    </netuix:handleFacesEvent>
    Going by this method, how can we find the particular book whose detail has to be shown? As in JSF, we dont directly access the request attributes, what is the ideal way to pass data from one page to other?
    Please help on this.

    i am also having the same problem.I tried by passing _nfls=false but it didn't work.Can you suuggest where do i need to set this or any other parametrs such as this programmatically?                                                                                                                                                                                                                                                                                                                                                                           

  • How to use servlets in portal web application in Weblogic Portal 4.0

    We are developing a Portal Web application using Weblogic Portal 4.0 where in we
    have the following scenario. one JSP in webflow of a portlet calls the PipeLine
    which does some processing and calls the servlet which is having the typical download
    functionality. The servlet is supposed to read the data from the pipeline session
    and create a CSV String that is dumped to the client browser. The problem is even
    we are doing response.setContentType("application/save") in the servlet it is
    still displaying the content as html in the portlet. I guess since all our request
    are send to the webflow contolling servlet and it is setting the content type
    and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

    Hi Renu
    Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
    [http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
    Hope it will helps
    Best Regards
    Arun Jaiswal

Maybe you are looking for

  • Jumping gun? Netgear N300 Wireless ADSL2+ modem/rout​er

    Hi, I'm probably jumping the gun here but I've got a Verizon Actiontec GT704WG modem/router and have been disapointed in the last few months by spotty wireless and internet connectivity when nothing else in my house has changed.  In addition, I need

  • *Step by Step*

    I've calmed down now, and I'm gonna ask step by step: 1)Chat Server: import java.net.*; import java.io.*; public class Server{      public static void main(String [] args){           ServerSystem ssys = new ServerSystem();           ssys.ServerMethod

  • Adobe Form - Hide a table row if a condition met

    Hi Helper I am learning how to use Adobe Form - and I am trying to hide a table row if a condition is met by using Formcalc/Jave script - but I donot know how - I was told that I can use "....presence = 'hide'  " property in on of the event(?) but do

  • Dream Weaver: problem signing in to complete set up.

    It says when I click to sign in so I can complete DW set up that "please connect to the internet and retry", either i don't have a computer connection or clock is wrong, and both connection and clock are working properly and after multiple retries on

  • Vendor with PO address

    How can we print the check to vendor who has PO box address. There are some vendors who are sent check on their PO address, but the PO box does not show up in the spool. Only the vendor name, city and state shows.