CIAC-CPSC Portal Session cookie problem on weblogic

Hi all,
I´m currently working on a CIAC project with some development made by a partner, the thing is they are using a cookie generated by the application server called “Cognoscookie”, with that they use the session ID to run some queries from a portlet.
The problem is in the customer weblogic, this cookie is not being generated, I tried on a demo environment over JBOSS and it is being generated.
Anyone with some weblogic experience have an idea on what is happening?
I know it is pretty specific question, but you never know if you don’´t ask 
Thanks in advance,
Alex.

Ok, got it, seems that the Cognos cookie is generated on those installs where the reporting components are installed together with the Portal, so in this case those components where missing, and the cookies too.
Thanks a lot for the help.

Similar Messages

  • 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

  • Session lost problem in Weblogic cluster and Iplanet proxy

              We have an environment like this
              Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              The Weblogic servers are not really clusterd, but we are using the Weblogic Cluster
              attribute in the obj.conf to configure the proxy (The Weblogic servers are really
              independant servers with the same application deployed).
              This is working fine in our development environment. No problem with session and
              load balancing. Although this architecture is not documented in Weblogic docs,
              I have seen several references to this type of architecture in the web and it
              seems to be working.
              Now we are into our pre-production environment. The same archictecture exists.
              Only the following differences
              1. Both the weblogic servers run on multihomed machines. We have bound the Weblogic
              servers to specific IP addresses using the Listen address option.
              2. The same IP addresses are there in the proxy plug-in conf file.
              3. There is a firewall between the Iplanet and Weblogic.
              Now if only one weblogic is running, the application works fine. The moment we
              turn the other weblogic on, the application starts misbehaving. The session seems
              to get lost and proxy forwards requests randomly.
              What could be the reason?
              Regards
              Anup
              

              Hi
              The problem got solved. There was an older version of libproxy.so in the Iplanet
              proxy
              Regards
              Anup
              Yeshwant Kamat <[email protected]> wrote:
              >Anup,
              >
              >Is there a reason you are not clustering the WLS instances? Remove the
              >firewall in your
              >prod environment and see if that makes a difference.
              >
              >Anup wrote:
              >
              >> Hi Mike
              >> 1. As per the documentation WebLogic Server is set up to handle session
              >tracking
              >> by default. So we are not doing anything special. Since the application
              >works
              >> fine with one Weblogic and multiple clients connecting to it through
              >Iplanet ,
              >> I think there is no problem with Session tracking as such.
              >>
              >> 2.We are using the default cookie name for session (JSESSIONID). So
              >we haven't
              >> done anything extra in the proxy set up or weblogic.xml
              >>
              >> 3. I have watched the cookie that comes on the browser
              >> PAACk3iviDm4ZuMPIbB9TpTTw9slk40IEC02MKjpu14EZ9ayzqaP!-1196227542!gmbpds054!7015!7016.
              >>
              >> gmbpds054 is the DNS name of one of the weblogic servers. So that is
              >also fine.
              >>
              >> What else could be the problem.
              >> Regards
              >> Anup
              >>
              >> "Mike Reiche" <[email protected]> wrote:
              >> >
              >> >If you have session tracking turned on in weblogic, creating a session
              >> >will write
              >> >a cookie back to the browser. iPlanet does sticky load balancing
              >based
              >> >on the
              >> >IP address in this cookie. So -
              >> >
              >> >1) do you have session tracking turned on?
              >> >
              >> >2) is the cookie getting written to your browser?
              >> >
              >> >3) are iPlanet and WebLogic using the same cookie? (same name)
              >> >
              >> >Mike
              >> >
              >> >"Anup Maliyackel" <[email protected]> wrote:
              >> >>
              >> >>We have an environment like this
              >> >>
              >> >>Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              >> >>
              >> >>The Weblogic servers are not really clusterd, but we are using the
              >Weblogic
              >> >>Cluster
              >> >>attribute in the obj.conf to configure the proxy (The Weblogic servers
              >> >>are really
              >> >>independant servers with the same application deployed).
              >> >>
              >> >>This is working fine in our development environment. No problem with
              >> >>session and
              >> >>load balancing. Although this architecture is not documented in Weblogic
              >> >>docs,
              >> >>I have seen several references to this type of architecture in the
              >web
              >> >>and it
              >> >>seems to be working.
              >> >>
              >> >>Now we are into our pre-production environment. The same archictecture
              >> >>exists.
              >> >>Only the following differences
              >> >>1. Both the weblogic servers run on multihomed machines. We have
              >bound
              >> >>the Weblogic
              >> >>servers to specific IP addresses using the Listen address option.
              >> >>
              >> >>2. The same IP addresses are there in the proxy plug-in conf file.
              >> >>
              >> >>3. There is a firewall between the Iplanet and Weblogic.
              >> >>
              >> >>Now if only one weblogic is running, the application works fine.
              >The
              >> >>moment we
              >> >>turn the other weblogic on, the application starts misbehaving. The
              >> >session
              >> >>seems
              >> >>to get lost and proxy forwards requests randomly.
              >> >>
              >> >>What could be the reason?
              >> >>
              >> >>Regards
              >> >>Anup
              >> >
              >
              

  • Session Stickness problem on weblogic load balancer

    Hello All
    I having trouble related to session stickiness for weblogic load balancing, am using httpclusterservlet on a proxy server that forward requests to 3 managed server that are members of the same cluster.
    I tried to search for a solution to this problem and I found two links that are talking about the same problem but there are still not answered!!.
    Here are the links:
    https://forums.oracle.com/message/11158966#11158966
    https://forums.oracle.com/message/11158964#11158964
    Based on oracle link Using Sessions and Session Persistence, the documentation says under the "HTTP Session Properties" section that there is a change in how the sessions are formatted and this might cause a problem
    for some load balancers (the documentation did not say if weblogic httpclusterservlet is one of them), I tried to do the suggested workaround and I got "java.lang.IllegalStateException: Response already committed" error same as what happens with the user in link https://forums.oracle.com/message/11158966#11158966.
    Does anyone knows how to fix this??, I search for a very long time on this problem and with no luck, please help!

    Hi,
    Can you please give me some more information about your setup ...
    Something like ...
    F5/LB --> Apache or OHS --> WebLogic Cluster..
    If you are using F5/OHS directly to WebLogic cluster you can try enabling the session persistence and this problem should go away..
    If you are using plain Apache or OHS try putting "DynamicServerList" off.
    Let me know something more about setup so that i can contribute to help ..thanks.

  • Sessions, cookies, problem in displaying the recored cookie's parameter

    I am using sessions and cookies to store a user's name in the cookie. The first time he visits the page. He must register, but the next time he visits the page, the page displays "Welcome <name>". But my code isnt doing that, instead it is showing "welcome null". whats wrong?
    the underlined sentences might have the bug...
    please help :- |
    code whens he visits the page------------
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServCookies extends HttpServlet{
         public void service(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException{
              res.setContentType("text/html");
              PrintWriter p = res.getWriter();
              Cookie c[] = req.getCookies();
              if(c==null){
                   p.println("Welcome to the site, please register before continuing");
                   p.println("<form action = http://localhost:8080/servlet/ServReg>");
                   p.println("Username <input type = textbox name = name>");
                   p.println("<input type = submit value = Register! >");
                   p.println("</form>");
                   [u]else{
                        String name = req.getParameter("name");
                        for(int i=0;i<c.length;i++){
                             if(c.getName().equals("name")){
                                  name = c[i].getValue();
                                  p.println("<h1>Welcome <b>"+name+"<b><h1>");
    --------------------------------The page where he is directed after registration-------import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServReg extends HttpServlet{
         public void service(HttpServletRequest req, HttpServletResponse res) throws IOException,ServletException{
              String name = req.getParameter("name");
              Cookie c = new Cookie("username",name);
              c.setMaxAge(60*60*24*7);
              res.addCookie(c);
              res.setContentType("text/html");
              PrintWriter p = res.getWriter();
              p.println("<html>");
              p.println("<body>");
              p.println("Your name is registered with us successfully, please continue !!!");
              p.println("</body>");
              p.println("</html>");
              p.close();

    I don't have my Servlet API documentation here. But from what I can see, you create a Cookie whose name is "username":Cookie c = new Cookie("username",name);and then you look for a cookie whose name is "name".
    If you had done some elementary debugging, like printing out the actual names of the cookies you had in your array, you probably would have seen that right away.

  • 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 ..

  • Weblogic.httpd.session.cookies.enable not working in WLS4.5 sp 11 ?

    I want to disable the use of cookies in WLS 4.5, and set the following
    weblogic.httpd.session.cookies.enable=false
    In WLS 4.5 sp7, this correctly prevents the server from using cookies
    for session-tracking, forcing the extraction of the session id from a
    rewritten URL.
    However, for WLS 4.5 sp11 cookies are still sent from the server
    Is this a known issue ?
    jo

    I want to disable the use of cookies in WLS 4.5, and set the following
    weblogic.httpd.session.cookies.enable=false
    In WLS 4.5 sp7, this correctly prevents the server from using cookies
    for session-tracking, forcing the extraction of the session id from a
    rewritten URL.
    However, for WLS 4.5 sp11 cookies are still sent from the server
    Is this a known issue ?
    jo

  • Weblogic 7.0 sp1 cluster - session replication problem

    Hi,
              I have installed Weblogic 7.0 sp2 on Win NT. To test clustering
              feature, I have installed one admin server and added two managed
              servers. All are running on same box. I could deploy web application
              to the cluster. Connection pools and every other resource is working
              well with the cluster. However I couldn't get session replication to
              work. I have modified web app descriptor, and set 'persistent store
              type' to "replicated".
              I accessed application from one managed server, in the middle of
              session I modified the port number in the URL to point to other
              managed server. It looks like second managed server has no idea of
              that session, my app fails because of this.
              Could you please help me out in this, Do I need to do any thing in
              addition to the above. I couldn't find much in the BEA manual..
              Thanks
              Rao
              

              For Web application like servlets/JSP, it is better to put one web server as proxy
              plugin before your two managed servers and access your application through web
              proxy. (You need set session as in-memory replicated either in weblogic.xml or
              by console editor). Otherwise, you need record the session cookie from the first
              serevr and send the cookie to the second server (not sure if it works). To access
              EJB/JMS, use cluster URL like t3://server1:port1,server2:port2.
              [email protected] (Rao) wrote:
              >Hi,
              >
              >I have installed Weblogic 7.0 sp2 on Win NT. To test clustering
              >feature, I have installed one admin server and added two managed
              >servers. All are running on same box. I could deploy web application
              >to the cluster. Connection pools and every other resource is working
              >well with the cluster. However I couldn't get session replication to
              >work. I have modified web app descriptor, and set 'persistent store
              >type' to "replicated".
              >
              >I accessed application from one managed server, in the middle of
              >session I modified the port number in the URL to point to other
              >managed server. It looks like second managed server has no idea of
              >that session, my app fails because of this.
              >
              >
              >Could you please help me out in this, Do I need to do any thing in
              >addition to the above. I couldn't find much in the BEA manual..
              >
              >
              >Thanks
              >Rao
              

  • Air + Ipad + RemoteObject problem with session cookies

    I am making Air version for IPad of a Flex application.
    My flex application needs session from an secured enterprise proxy, without that session none remoteObject requests can pass the proxy and reach blazeDS.
    My solution for flex works fine: calling an enterprise  servlet at application´s startup to obtain a cookie session. I use a POST call to the servlet using URLRequest (sending the user and password parameters), the servlet responds with  a message with a session cookie, and from that point, without me having to code anything more, my flex application get that cookie with the session that automatically is loaded in my browser cookie stack, and that transparently is used from all my subsequents remoteObjects calls in the flex application.
    In my Adobe Air Ipad version, this just does not work, the session or is not storaged or is not attached with subsequent remoteObjects requests.
    - I´m forcing request.manageCookies = true
    - I´m working with the IOS simulator (Is there any difference for cookies with a real Ipad device?)
    - I´m using Flex 4.6.0, Air 3.5, IOS 6, Ipad 3, BlazeDS 4.0, Java 6 BackEnd.
    .. What´s the problem/difference with Air+Ipad from the flex version?

    Hi BalusC ,
    Thanks for your detailed response. I have a question about this comment you noted..
    "Terrible. Just keep the bean request scoped. "
    I changed the bean to request and now have this issue.
                <rich:dataGrid id="membersInZipcode" value="#{membersInZipcode.arrayListOfSearch4Member}"
                            var="membersInZipcode" columns="5" elements="20">                       
                <f:facet name="footer">
                    <rich:datascroller></rich:datascroller>
                </f:facet>
            </rich:dataGrid>
            </h:form>  I am using a request bean to hold the search parms that loads the bean. This works great.
    The problem is when I use the rich:datascroller for the next page.
    It goes back to the bean and the request scope bean is empty. This holds the search values.
    How do I put this back into the request after each process??
    Question 2..
    "Those settings only applies on the current request, i.e. the JSP file itself. Images are obtained by separate and independent requests. You need to set the headers on those requests as well. You can use a filter for this."
    I have never set a filter ...how do I do it? Do you have a link for an example of this filter setup?
    Thanks Again
    Phil

  • Setting secure flag on weblogic (5.1) session cookie.

    Hello All,
              I need to set secure flag on weblogic session cookie. I am not able to
              find any property in weblogic.properties file to set the secure flag for
              session cookie.
              Does anybody has any idea how to achieve this.?
              Thanks
              Nitin
              

    The best way to reduce GC is to change you application to use less memory. Serious.
    There are a number of JVM options for GC. I can't tell you what will work best
    for your application.
    25 seconds is way too long for a GC. Is the OS paging? You may wish to invest
    in additional memory.
    Mike Reiche
    vijendran <[email protected]> wrote:
    Hi,
    I am running a load test which will simulate 100 users. when i tried
    to simulate i found that GC is happening often even though i set the
    heap to 512 MB., and that too some time it takes upto 25 secs. for a
    GC to complete. Please advise on how to increase the performance for
    more number of users (without clustering weblogic) and to avoid GC happening
    often.
    Regards
    Vijendran

  • Portal Session Problem

    Hello all!
    I am trying to log-on to my portal with two different users parallel.
    Example:
    1. Open Internet Explorer -> Portal -> Logon as Administrator
    2. Open Internet Explorer once again (NOT String-N) -> Portal -> Logon as another user
    The problem is, that if I am opening the second Internet Explorer, he automatically logs-on as the Administrator. He is using the first portal session.
    I also tried this with the moziall firefox. Same problem.
    Does anybody know how to solve this problem?
    Thank you in advance.
    Best regards, Patrick.

    Hi Patrick,
    Logon with the admininstrator and open the <u><b>personalize</b></u> option in the masthead.
    Check the option <u><b>WorkProtect Mode</b></u> and ensure that the option <u><b>Use default portal setting</b></u> is selected.
    Thanks,
    Trikanth

  • Problem Changing session cookie name

    Hi,
    I am running Weblogic 5.1 service sp 6
    I attempted to change the name of the weblogic
    session cookie by modifying the following
    parameter in weblogic.properties
    weblogic.httpd.session.cookie.name=MyCookie
    I also noticed that even if I hust uncomment the line
    weblogic.httpd.session.cookie.name=WebLogicSession
    my application seems to timeout within a few minutes.
    However, when I do this I noticed that my session times out within 5
    minutes.
    I have my timeout set with
    weblogic.httpd.session.timeoutSecs=14400
    Thanks,
    Bill

    I have 2 diff app on one app server. If I change it for the app server, it will be applied to all applications that are running on this server. Right?
    In the servlet specification is written :
    The name of the session tracking cookie must be JSESSIONID.
    My question is : Is there is a possible workaround to change session coockie name on application level, not on app server level?

  • Configuring Session Cookie Name in Portal DAD

    I have some questions about the proper way to specify the Session Cookie Name (PlsqlSessionCookieName) in the Portal DAD.
    Here's a description of the environment: There are 2 portal servers (portal1, portal2) and 2 infrastructure servers (infra1, infra2). portal1 is tied directly to infra1, and portal2 is tied to infra2. A hardware load-balancer directs traffic from a URL "www.companyname.com" to either portal1 or portal2. The infrastructure databases are kept in synch via a nightly export/import. There is no clustering.
    What should I set the Session Cookie Names to in the Portal DADs? Should they be left blank and thus default to the DAD name? If not, should they be set to identical (both to "portal") or unique values ("portal1" and "portal2")?
    I have read the dads.README file, the notes in the Edit DAD page in Enterprise Manager, and some other documentation and I am confused as to the proper settings.
    Thanks!
    Brian

    It looks like distinct session cookie names are needed.
    Please refer to Oracle HTTP Server Administrator's Guide 10g Release 2 (10.1.2), Section 8 Understanding Modules. Seach for PlsqlSessionCookieName.

  • How to use session cookie property of System object?

    Hi all,
    I have searched all over the SDN but didnt get anything relevent so here i am posting my query...
    My scenario is as follows:
    I have created a KM document iview that launches an HTML page, on click of button of HTML page a VC iview is launched. On this iview i have a button that hits BI query.
    PS: A system object is created for the connectivity bet portal and backend BI server.
    PS: i have configured SSO between portal and backend.
    Now when i click on button on iview that fetches the data from backend, i am asked for authentication pop-up, although i have configured SSO why i am asked to enter UID and PWD again??
    In system object there is a property named
    <b>"session cookie = MYSAPSSO2"</b>
    So should i use this property so that cookie will get transfered from one session to other session when i click button on iview??
    If yes then HOW??
    Is there any other setting remained in Visual Admin?? or Backend or portal?
    What could be the missing??
    PS: User id are same on portal & backend.
    Any help will be highly appreciated...
    Regards,
    Ameya
    Thanks in advance
    Message was edited by:
            Ameya Pimpalgaonkar
    null
    Message was edited by:
            Ameya Pimpalgaonkar

    Hi Ameya,
    I do not know the exact answer.However you should look for something called JSESSION ID.
    Have a look at the thread:
    Re: Problems Using Application Integrator for BSP Application
    Reg SSO Logon Tickets and Browser sessions
    How to use jsessionid while making HTTP calls??
    Hope you find something which can help you.
    Regards
    Atul Shrivastava

  • Cookie problem in IE when login in on Admin Console

    Hello,
    I have been able to login on the Admin Console of WLS 7.0 with Internet
    Explorer 6.0, but since yesterday, my IE always gives me the following
    message:
    "The Weblogic Server administration console requires that browsers support
    session cookies. Please update the browser configuration and try again."
    Has anyone ever encountered this too? What setting did you change in IE for
    this to work again? I think I tried changing everything in the Security and
    the Privacy tab, but still no go.
    Ringo

    I've solved the problem changing the machine name, because my previous name contained underscores.

Maybe you are looking for

  • External Control in communication channel PI 7.1

    Hi experts, I would need to start and stop a communication channel from an external program, I have read in differents post that is possible via http call. But when I do the http call I get a permissions error. What permissions o roles I need in my u

  • EVDRE Input Schedule - shifting of cells/formulas

    Hi everybody, I am using BPC version 5.1. I do have a problem with an EVDRE Input Schedule. It is a single EVDRE report which is nested with a product and an account dimension. Underneath the Data Input Range, I have written additional information an

  • Cant scroll in any tab if PDF is open in another tab (adobe in FF7)

    can't seem to find an answer anywhere. I have found other answers all pertaining to older versions of firefox. Adobe is up to date.

  • A55M-P33, CPU fan not slowing down with Cool&Quiet

    Hi, I recently build a computer with an A55M-P33 motherboard and A4-3400 CPU with stock fan. That CPU came from my computer and was working fine, the fan too and both throttled down with Cool&Quiet enabled. On the A55M-P33, the CPU does throttle down

  • HOWTO Write a sentence-building program?

    Hi everyone, I'm a programming enthusiast studying Linguistics. I've been toying with an idea for a side project and I'd like your input on a few points. I want to write a program that reads user input, matches it with noun and verb repertoires and b