Entity remote in clustered http session ?

          we put a entity remote object into a http session which is replicated
          across a cluster of 3 linux machines ( each with 1 weblogic 6.1 SP2).
          http session replication works fine: the entity is accessible on every
          machine in this cluster.
          it seems that there is no failover for entity remote object in this
          case: i kill the server where the entity was originally created. the
          web application just reports an "10.5.1 500 Internal Server Error".
          the server log of the machine where the current request was executed
          says:
          1.
          Removing solarium jvmid:-995414765884053603S:192.168.145.41:
          [2357,2357,7002,7002,2357,7002,-1]:beacluster.hybris.de:hybr
          is:solarium from cluster view due to PeerGone
          ( solarium is the killed server; beacluster the cluster DNS name )
          2.
          Removing -995414765884053603S:192.168.145.41:[2357,2357,7002
          ,7002,2357,7002,-1]:beacluster.hybris.de:hybris:solarium to
          the cluster
          3.
          [WebAppServletContext(729829,dummyweb,/dummyweb)] Servlet fa
          iled with IOException
          java.rmi.ConnectException: Unable to get direct or routed connection to:
          '-995414765884053603S:192.168.145.41:[2357,2357,7002,7002,2357,7002,-1]:beacluster.hybris.de:hybris:solarium'
               at
          weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
               at
          weblogic.rmi.cluster.EntityRemoteRef.privateInvoke(EntityRemoteRef.java:144)
               at
          weblogic.rmi.cluster.EntityRemoteRef.invoke(EntityRemoteRef.java:115)
               at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
               at $Proxy86.getText(Unknown Source)
               at jsp_servlet.__dummyEntity._jspService(__dummyEntity.java:148)
               at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
               at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
               at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
               at
          weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
               at
          weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
               at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
               at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          thanks in advance,
          axel grossmann.
          

HTTP session is only replicated to the secondary server, not all servers in
          the cluster.
          Peace,
          Cameron Purdy
          Tangosol, Inc.
          Clustering Weblogic? You're either using Coherence, or you should be!
          Download a Tangosol Coherence eval today at http://www.tangosol.com/
          "Axel Großmann" <[email protected]> wrote in message
          news:[email protected]...
          >
          > we put a entity remote object into a http session which is replicated
          > across a cluster of 3 linux machines ( each with 1 weblogic 6.1 SP2).
          >
          > http session replication works fine: the entity is accessible on every
          > machine in this cluster.
          >
          > it seems that there is no failover for entity remote object in this
          > case: i kill the server where the entity was originally created. the
          > web application just reports an "10.5.1 500 Internal Server Error".
          >
          > the server log of the machine where the current request was executed
          > says:
          >
          > 1.
          > Removing solarium jvmid:-995414765884053603S:192.168.145.41:
          >
          > [2357,2357,7002,7002,2357,7002,-1]:beacluster.hybris.de:hybr
          > is:solarium from cluster view due to PeerGone
          >
          > ( solarium is the killed server; beacluster the cluster DNS name )
          >
          > 2.
          > Removing -995414765884053603S:192.168.145.41:[2357,2357,7002
          > ,7002,2357,7002,-1]:beacluster.hybris.de:hybris:solarium to
          > the cluster
          >
          > 3.
          > [WebAppServletContext(729829,dummyweb,/dummyweb)] Servlet fa
          > iled with IOException
          > java.rmi.ConnectException: Unable to get direct or routed connection to:
          >
          '-995414765884053603S:192.168.145.41:[2357,2357,7002,7002,2357,7002,-1]:beac
          luster.hybris.de:hybris:solarium'
          > at
          >
          weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
          java:85)
          > at
          >
          weblogic.rmi.cluster.EntityRemoteRef.privateInvoke(EntityRemoteRef.java:144)
          > at
          > weblogic.rmi.cluster.EntityRemoteRef.invoke(EntityRemoteRef.java:115)
          > at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
          > at $Proxy86.getText(Unknown Source)
          > at jsp_servlet.__dummyEntity._jspService(__dummyEntity.java:148)
          > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
          > at
          >
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :265)
          > at
          >
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :200)
          > at
          >
          weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
          ntext.java:2495)
          > at
          >
          weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
          :2204)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          >
          > thanks in advance,
          > axel grossmann.
          

Similar Messages

  • What are the steps to setup an HTTP Session replication clustering in oc4j9

    what are the steps to setup an HTTP Session replication clustering in oc4j9.0.5

    Are you sure you have the correct version number for OC4J? Is this a standalone OC4J instance, if it then the steps involved are different from the full stack. Please check the Higher Availibility guide in the documentation on OTN.
    Deepak

  • FATAL: replicated HTTP session specified but clustering not enabled for webapp: /BV

              Hi,
              I tried to startup weblogic server 6.1 using
              in-memory replication, and the I got an error
              <Error> <HTTP> <FATAL: replicated HTTP sessioned specified but clustering not
              enabled for webapp: /bv>
              I set <param-name>PersistentStoreType</param-name><param-value>replicated</param-value>
              in weblogic.xml
              And, I sepecified in my console
              Deployment-> Web Applications -> bv -> Target cluster -> bvcluster.
              I have 2 nodes cluster environment using Solaris.
              Each node has 1 managed server joining this cluster.
              What am I missing? Please let me know.
              Thanks.
              hiromu
              

              Thank you for the reply.
              The target cluster for my web application is my cluster.
              When I checked the target server as well,
              then there is a server which is not a member of the cluster.
              I deleted the server name, then that error is gone.
              // hiromu
              ><html>
              >Interesting.
              ><br>You shouldn't get this if persistentStoreType is
              ><br>"replciated" . I just tried this and it works as expected.
              ><p>Did you re-deployed the webapp after making
              ><br>the following change in weblogic.xml?
              ><p>--
              ><br>Kumar
              

  • In-memory replication of http session is not working in BEA7 cluster

              Hi everyone,
              I have 3 managed servers in Bea7.0 SP4 in a cluster. The client requests are sent
              through apache web server. I have given cluster address as URL in httpd.conf of
              apache server which sends the client requests for dynamic pages such as JSPs and
              servlets to the weblogic cluster.
              Load balancing is working fine. I ensured this from the log files of all the 3
              servers. All the 3 servers are getting different client requests and thus load
              balancing is working.
              Now, I wanted to achieve Fail-over. I do not think that i should use proxy plug-in
              for this. I feel the cluster itself will handle fail-over provided i make the
              http session as memory replicated.
              I updated the weblogic.xml with the following entry :
              <session-descriptor>
              <param-name>PersistentStoreType</param-name>
              <param-value>replicated</param-value>
              </session-param>
              </session-descriptor>
              I guess this is sufficient to make the http session as cluster aware.
              But when I shutdown server1, the user connected to server1 will be kicked out
              of the session and come to login page through server2 or server3 which are running
              fine.
              Could anyone help me to achieve http session as cluster aware. Does it indicate
              that I have to go for WLS proxy – HttpClusterServlet to achieve fail over for
              http session ?
              BTW, for your info, i am using setAttribute() and getAttribute() while manipulating
              the session.
              thanks in advance.
              

              Hi Ryan,
              Thanks for ur valuable input.
              I can see failover working.
              But, I can not continue with the same session in my application.
              I printed session Ids before and after failover, I found both are different.
              I guess session replication is a responsibility of weblogic/apache plugin.
              If not please let me know which all settings I should do to make failover working?
              Thanks again.
              Plad
              "ryan upton" <ryanjupton at learningvoyage dot com> wrote:
              >Plad,
              >
              >Are you trying to gracefully shut down the server? If you are then the
              >problem that you say you can't identify is simply the server's default
              >behavior which is to wait for all non-replicated sessions to be dropped
              >or
              >timed out before killing the process. Try forcing the shutdown: kill
              >-9 the
              >PID or CTRL-C if you started the server from the command line. You can
              >also
              >check the ``Ignore Sessions During Shutdown" checkbox under the server's
              >control tab in the admin console, this should allow you to shut down
              >gracefully without waiting for session timeout. BTW your sequence is
              >off
              >in #5 below, the replication doesn't occur upon failure, the replication
              >has
              >already happened once you created the session object on the first server,
              >I
              >think maybe you're confusing replication with failover.
              >
              >~RU
              >
              >"Plad" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Hi,
              >> I have 2 managed servers in a cluster.
              >>
              >> 1. I have got a DNS name configured which maps to these 2 managed server's
              >IP
              >> addresses.
              >> 2. I can browse my site using this DNS name.
              >> In HTTPD.conf I have :
              >>
              >> ServerName dev.a.b.net
              >>
              >> <IfModule mod_weblogic.c>
              >> WebLogicCluster 10.1.38.232:7023,10.1.34.51:7023
              >> MatchExpression *.*
              >> </IfModule>
              >>
              >> LoadModule weblogic_module modules/mod_wl_20.so
              >>
              >> 3. I have adeded session descriptor in weblogic.xml , also enabled
              >proxy
              >plugin
              >> in weblogic console.
              >>
              >> 4. I tested accessing my application using DNS url after shutting down
              >alternatively
              >> each manaed server. I can access application.
              >>
              >> 5. Now, problem comes when I access a managed server1 , keeping server2
              >down.
              >> I am able to access my application.
              >> Now, I start the server2.
              >> (Here I am supposing that replication should occur)
              >> Then I am shutting down server1.
              >> But, this time the server log shows me following:
              >>
              >>
              >> 9:58:51 AM GMT+05:30 NOTICE Web application(s) chlist still have
              >non-replicated
              >> sessions after 2 minutes of initiating SUSPEND. Waiting for non-replicated
              >sessions
              >> to finish.
              >> 10:00:51 AM GMT+05:30 NOTICE Web application(s) chlist still have
              >non-replicated
              >> sessions after 4 minutes of initiating SUSPEND. Waiting for non-replicated
              >sessions
              >> to finish.
              >>
              >> I am unable to make out where the problem is?
              >> Can it be a problem of Liecense? Is there any specialcluster liecense
              >for
              >weblogic8?
              >>
              >> Hoping to get replies.
              >> Thanx.
              >> Plad
              >>
              >> "ryan upton" <ryanjupton at learningvoyage dot com> wrote:
              >> >See my reply to your first post, but I've also added a few comments
              >here.
              >> >
              >> >"jyothi" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> I guess someone from bea support team only can answer both your
              >question
              >> >and mine.
              >> >> As per my knowledge, we do not need to do any setup at Apache
              >side
              >> >regarding
              >> >> cluster other than mentioning cluster address as URL while
              >contacting
              >> >WLS
              >> >> from apache.
              >> >>
              >> >> I hope someone from Bea, will help us. I do not think that we
              >> >go for
              >> >WLS
              >> >> proxy plug-in using HttpClusterServlet for making session replication.
              >> > I
              >> >strongly
              >> >> feel that the cluster itself be able to manage the fail-over of
              >> >http
              >> >sessions
              >> >> provided we put the entry "PersistentStoreType" in weblogic.xml
              >> >regarding
              >> >> the session replication.
              >> >>
              >> >
              >> >The cluster does handle the management of Sessions. The clustered
              >> >applications still create the Session objects and the cluster manages
              >> >them
              >> >as per your deployment descriptor settings (replicated, JDBC, File)
              >however
              >> >the proxy has to be aware of which server the client has an affinity
              >> >for
              >> >(only with replicated sessions) and it does that by reading a cookie
              >> >passed
              >> >back from the server that handled the initial request and created
              >the
              >> >primary session object. The proxy has a list of both the primary
              >and
              >> >secondary server locations from this cookie that it can use to failover
              >> >the
              >> >request if the primary server fails. Clusters _DO NOT_ failover nor
              >> >do they
              >> >load balance, that's the job of your proxy, whether you're using the
              >> >HTTPClusterServlet, WLS Plug-in or a more sophisticated hardware load
              >> >balancer like Big IPs F5
              >> >
              >> >> jyothi
              >> >>
              >> >
              >> >~RU
              >> >
              >> >
              >>
              >
              >
              

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Windows Server 2008 R2 Remote Desktop - The requested session access is denied

    Hi, I have been using Windows Server 2008 R2 since it was released, and have 100 servers up and running. I configured Allow Remote Desktop on all of them and have been able to connect to them and manage them via RDP since then. I also have two servers configured as Remote Desktop Services.
    That was up until yesterday. Yesterday afternoon I started getting the The requested session access is denied. I managed all Terminal services via Group Policy and have three users entered.
    I am connecting to the servers via Windows XP SP3 and Windows 7. Both clients have been updated to the latest Remote Desktop Services client.
    I have been searching for the answer, and I am not finding it.
    I have also tried KB954369 without any success. 
    Thanks,
    Brian

    Ok, from my trials and tribulations and discussions with Microsoft I have identified the following;
    Assumptions;
    A. My terminal server is in domain widget
    B. All the users are in domain contoso
    1. I had the Terminal Server configurured with a specific Login, which would launch a specific application only and not give them any desktop functions. Wiht this configured this way, I get the error I wrote about.
    2. If I turn the specific login off, then I can login normally and perform the functions as Administrator that I need/want to do.
    3. Microsoft said to configure the Terminal Server with Single Sign-on. I did as instructed and went thru all the steps, however because my terminal server is in domain widget, the users get prompted twice each time for login. Once on the website, and then again as the application launches. Microsoft said that the users needed to Remote Desktop Client 7.x or the self-signed certificate that I have has to be included in the domain contoso certificate authority so that they will not be prompted for the second sign-on.
    4. Conclusions - I need to have a chat with our enterprise security team about including the self-signed certificate in the contoso certificate authority. I need to also work on my RDWeb website so that it meets our company standard look.
    Here are the links that Microsoft provided;
    http://technet.microsoft.com/en-us/library/cc772108(WS.10).aspx
    Enable RDC Client Single Sign-On for Remote Desktop Services
    http://technet.microsoft.com/en-us/library/cc742808.aspx
    Blogs -
    http://blogs.msdn.com/rds/archive/2007/04/19/how-to-enable-single-sign-on-for-my-terminal-server-connections.aspx
    http://blogs.msdn.com/rds/archive/2009/08/11/introducing-web-single-sign-on-for-remoteapp-and-desktop-connections.aspx
    http://blogs.msdn.com/rds/archive/2009/06/05/publishing-in-windows-server-2008-r2.aspx
    http://blogs.technet.com/pfe-ireland/archive/2008/09/05/windows-server-2008-terminal-services-presentation-virtualisation-and-windows-xp-clients.aspx
    I hope this help you in your troubleshooting.
    Brian

  • How to disable weblogic built-in HTTP session filter?

    Hi,
    I want to use my own HTTP seesion filter to manage HTTP session on weblogic clustered servers. It seems that weblogic servers plugin its HTTP session filter already for servlet. How can I use my own HTTP session filter to replace WebLogic built-in session filter?
    Thank you for your help.

    Could you be more elaborate on your requirement.
    Weblogic servers plugin provides a way to handle requests based on url content. or content type and so on, it dosent do much with users sessions other than for session stickyness.

  • HTTP session sharing

    Hi,
    We have a need for session sharing among the different JVMs and have been trying the application cluster functionality with zero luck. Now we are thinking of looking into coherence because by reading the documentation we came to know this is something we could accomplish it. Since being a very new on this, have anyone done this and if you have can we get some information on how to do it. We will really appreciate your help on this.
    Thanks,
    Raj

    To better understand the background of your root problem,
    1) which Application Server product are you using?
    2) the term "clustering" may mean different things to different App Server implementations. Does your reference to clustering also mean "Http Session Replication" has been specifically enabled, or that by simply clustering JVMs you expect this to happen automatically?
    3) is access to the session needed by the same web app or different web apps in the JVMs?

  • Tool for Counting Open HTTP Sessions

    Hi All,
    Can anybody suggests a tool for counting open HTTP sessions(Which inturn will
    give total no of users connected-Apprx.)?
    Fast response will be appreciated.
    TIA,
    -Bharat Varma

    Search the Servlet newsgroup for SessionBindingListener.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Bharat Varma" <[email protected]> wrote in message
    news:3c95d8bf$[email protected]..
    >
    Hi All,
    Can anybody suggests a tool for counting open HTTP sessions(Which inturnwill
    give total no of users connected-Apprx.)?
    Fast response will be appreciated.
    TIA,
    -Bharat Varma

  • Weblogic HTTP Sessions timeouts

    Hi All,
    Im quite new to Weblogic 8.1 and am having a problem with HTTP sessions. I have two applications (lets say App1 and App2) in the same Weblogic server, and want to pass information from App1 to App2. Because of HTTP ServletContext rules, I cannot pass session information from one context to another. So instead, when App1 passes information to App2, I create a new session in App2 straight away. When the session timesout, it will redirect me to a page. This redirect will only be done when the user clicks a button (server side redirect rather than a client side automatic redirect). This is all working fine except I hit this problem.
    I have set the timeout interval to 1min (in web.xml) for testing. After I wait 1 min, I click the button and it redirects - Ok thats cool. The real problem is that I wait for the session to timeout after 1 min. Then I wait for an extra 2 mins on top of that (so in theory, the session should still be timed out). When I click the button again, the session is created again rather than redirecting. Now I find this odd. It seems like Weblogic is recreating the session (as I get new session ids).
    Has anyone come across this before and does anyone know how to get around this? Is it some configuration in Weblogic that I need to setup?
    Regards,
    Andy

    <Andy Cheng> wrote in message news:[email protected]..
    Im quite new to Weblogic 8.1 and am having a problem with HTTP sessions. I have two applications (lets say App1 and App2) in thesame Weblogic server, and want to pass information from App1 to App2.
    If your applications exchange data extensively, you may want to consider
    merging them into a single application. If it is not possible, you should follow
    the standard approaches used to connect standalone, remotely located
    applications. The range of possible design solutions is pretty wide - web
    services, EJB, CORBA, etc.
    Regards,
    Slava Imeshev

  • Replicated http sessions : classcastexception

    has anyone else seen this with wls6.1 sp1 when trying to run in memory
              replicated http session?
              -peter
              <Oct 18, 2001 12:01:26 PM EDT> <Error> <HTTP>
              <[WebAppServletContext(7569280,v21
              ,/v21)] Servlet failed with Exception
              java.lang.ClassCastException:
              weblogic.servlet.internal.session.MemorySessionCon
              text
              Start server side stack trace:
              java.lang.ClassCastException:
              weblogic.servlet.internal.session.MemorySessionCon
              text
              at
              weblogic.servlet.internal.session.SessionData.getContext(SessionData.
              java:270)
              at
              weblogic.servlet.internal.session.ReplicatedSessionData.becomeSeconda
              ry(ReplicatedSessionData.java:178)
              at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
              at
              weblogic.cluster.replication.ReplicationManager$wroManager.create(Rep
              licationManager.java:352)
              at
              weblogic.cluster.replication.ReplicationManager.create(ReplicationMan
              ager.java:1073)
              at
              weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
              Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
              a:265)
              at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:22)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              End server side stack trace
              at
              weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
              equest.java:85)
              at
              weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:134)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy88.create(Unknown Source)
              at
              weblogic.cluster.replication.ReplicationManager.trySecondary(Replicat
              ionManager.java:870)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Repli
              cationManager.java:825)
              at
              weblogic.cluster.replication.ReplicationManager.register(ReplicationM
              anager.java:393)
              at
              weblogic.servlet.internal.session.ReplicatedSessionData.<init>(Replic
              atedSessionData.java:119)
              at
              weblogic.servlet.internal.session.ReplicatedSessionContext.getNewSess
              ion(ReplicatedSessionContext.java:193)
              at
              weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletReq
              uestImpl.java:1948)
              at
              weblogic.servlet.internal.ServletRequestImpl.getSession(ServletReques
              tImpl.java:1729)
              at jsp_servlet.__login._jspService(__login.java)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:265)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              

    When do you see this? While shutting down one of the servers?
              Make sure your clustered servers are uniform. ie.the webapp
              you have deployed is deployed on all servers and PersistentType
              is set to "replicated" in all servers.
              --Vinod.
              Peter Ghosh wrote:
              > has anyone else seen this with wls6.1 sp1 when trying to run in memory
              > replicated http session?
              > -peter
              >
              > <Oct 18, 2001 12:01:26 PM EDT> <Error> <HTTP>
              > <[WebAppServletContext(7569280,v21
              > ,/v21)] Servlet failed with Exception
              > java.lang.ClassCastException:
              > weblogic.servlet.internal.session.MemorySessionCon
              > text
              >
              > Start server side stack trace:
              > java.lang.ClassCastException:
              > weblogic.servlet.internal.session.MemorySessionCon
              > text
              > at
              > weblogic.servlet.internal.session.SessionData.getContext(SessionData.
              > java:270)
              > at
              > weblogic.servlet.internal.session.ReplicatedSessionData.becomeSeconda
              > ry(ReplicatedSessionData.java:178)
              > at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
              > at
              > weblogic.cluster.replication.ReplicationManager$wroManager.create(Rep
              > licationManager.java:352)
              > at
              > weblogic.cluster.replication.ReplicationManager.create(ReplicationMan
              > ager.java:1073)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
              > Source)
              > at
              > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
              > at
              > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
              > a:265)
              > at
              > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              > .java:22)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > End server side stack trace
              >
              > at
              > weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
              > equest.java:85)
              > at
              > weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:134)
              > at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              > at $Proxy88.create(Unknown Source)
              > at
              > weblogic.cluster.replication.ReplicationManager.trySecondary(Replicat
              > ionManager.java:870)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Repli
              > cationManager.java:825)
              > at
              > weblogic.cluster.replication.ReplicationManager.register(ReplicationM
              > anager.java:393)
              > at
              > weblogic.servlet.internal.session.ReplicatedSessionData.<init>(Replic
              > atedSessionData.java:119)
              > at
              > weblogic.servlet.internal.session.ReplicatedSessionContext.getNewSess
              > ion(ReplicatedSessionContext.java:193)
              > at
              > weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletReq
              > uestImpl.java:1948)
              > at
              > weblogic.servlet.internal.ServletRequestImpl.getSession(ServletReques
              > tImpl.java:1729)
              > at jsp_servlet.__login._jspService(__login.java)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:265)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:200)
              > at
              > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              > rvletContext.java:2456)
              > at
              > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              > pl.java:2039)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > >
              

  • How to close a HTTP session when a user closes the window

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template and this was implimented on the Menu page, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly.
    If user navigates to the other pages from the main page... then the logoff function was not implimented in the other pages. So many of the users are closing the windows directly. Eevn if we impliment logoff in all the subpages, As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    Regards,
    Tony

    Hi,
    And also take a look on the Genral property of the web template. We solved this problem by changing only this property (no extra things).
    <b>Property:                            Value</b>
    Automatic Session Management:           Active
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

  • Bw web report plugin http session hangs at the server side

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly. But As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    By the way, we actived our BEX service at the SICF.
    Thanks for help!
    JA

    Hi
    If you want to avoid a blank page with logoff button, add opener=0
    <a href="<SAP_BW_URL CMD='LOG_OFF' ~command='logoff'
    >" onClick="javascript:window.close(opener=0);">Log off</a>
    If you want to close the session via X, use this code:
    create a sapscript function
    function closeSession()
    logoff()
    window.unload=CloseSession()
    However, the Plugin HTTP session isn't killed.
    Regards

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How to find the list of users loggin through HTTP session

    Hi All,
    we are using SRM 5.5 system with ITS. I am able to find the list of concurrent users from ABAP level using report "CCUEVAL" but how do I know the list of concurrent users logged in from HTTP session?.
    could you please let us know the SAP note number or any report?
    Thanks in advance,
    Mohan Karri

    Hi Uday,
    thank you very much for your prompt response.
    I need a report because by end of every month I would need the average peak http users list for the reporting month.
    or tell me how to find " how many users logged in through HTTP session in a day?"
    Thanks
    Mohan

Maybe you are looking for

  • HOW TO VIEW PAGE OF ONLIE BOOK IN PDF FILE

    i HAVE A PDF FILE THAT i AM TRYING TO OPEN AND READ IT IS A ONLINE MANUAL THAT ONLY SHOWS 8 PAGES OF A BOOK THAT IS ABOUT 400 PAGES CAN i VIEW THE RESET OF THESE PAGE BY CONVERTING THE FILE OR NOT?

  • Request.QueryString is undefined!

    Hey guys, just a quick and hopefully easy query... im trying to pass a variable from one page to another, but the request is "undefined" heres what im doing: Just a regular HTML link, passing a variable. <a href="network.asp?div=network_design">Netwo

  • Disappearing photos in "moments"

    I recently noticed that about half my pictures are missing from my Photo moments, specifically the entire year of 2012 is not appearing in my "moments". If I go to my camera roll the pictures are there but for some reason they arent showing up in the

  • HT204407 Wrong address on "Find My Friends"

    I just downloaded find my friends on my phone and my son's phone.  The address it is showing is incorrect.  I have double checked our Apple accounts and the address is correct.  It's not that big a deal, just wondering why the address is not correct.

  • Capture Audio in gsm or ulaw format using MMAPI

    Hi , I have tried to use the latesr MMAPI with the Java Tool Kit latest versoin My Requirement is to capture voice through a Manager in "gsm" and "ulaw format" , I have seen examples in javax.microedition.media.Manager documentation like that came al