Session Count not dropping in BOE XI

Iam calling crystal reports using url reporting. ie. calling OpenDocument.aspx page from a custom asp webpage. Iam able to create a token and then redirect to the OpenDocument.aspx correctly. But iam facing 2 issues :
1. The session created does not get destroyed on browser close. So, as i open new reports that i have linked as various links on my intranet, new sessions are created. Old ones are not destroyed. this keeps incrementing session count.
2. In the same browser page, (which was idle for a period of time), if i try to open a new report, at times, iam led to the infoview login page although the redirecting url shows a token being passed. Now if i click the back button on IE and then try to open the report again, it opens.
Why does this happen ? What can be done to resolve these issues ?
Any advice is highly appreciated.
Thanks in advance.

Thanks for your reply Ted!.
I was hoping that we could do some custom code from the openDocument page to clean up the sessions.
Now that we are not able to modify it, dont you think it is going to eat up memory resources on server when we move this to production where we have a large number of users who will be accessing different reports at the same time.  We have quite a large number of reports available for access this way, and accessed by a large number of users. What do you think would be a good approach in this scenario ?
Regards.

Similar Messages

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

  • Logging out does not drop me to console but a black screen

    Recent pacman -Syu upgraded me to latest xorg-server and I have this problem: logging out does not drop me back to console but a black screen and after 30 seconds, a blinking cursor. Nothing works and I have to reboot. If I choose to reboot (instead of logout) I get the same result except that eventually the computer reboots. Using nv - no problems. Using simple nvidia (single screen) - no problem. (I have a monitor and tv-out setup). Problem remains whether I use xfce4 or fluxbox. And the ctrl-alt-backspace keyboard shortcut results in the same black screen. Xorg.0.log tells me nothing. Before the upgrade, no problem.
    I usually use startx and I have ck-launch-session etc in my .xinitrc. I use the latest nvidia-96xx driver and have no other X problem. Everything works, including the tv-out.
    This is a minor inconvenience really and I usually switch to a console and as root killall X if I need to log myself out for any reason. But if anyone as a clue as to why this is so, or suffers the same problem, do let me know. Thanks.

    Thanks guys...
    @ckristi - I don't use kdm. I startx from console when I want to go into X.
    @madtux - I guess I will have to read up on kernel mode setting and KMS - I actually don't know what you are referring to although I have seen KMS refered to in this forum with reference to xorg. Any links? Do note no problems with nv and single monitor nvidia. Hopefully the cure is not worse than the disease.

  • Data of different session are not getting refreshed.

    We used select one choice and it is bind to the iterator. Data of different session are not getting reflected.
    Problem Scenario : Two browsers are open with same screen . In browser-1, I am adding new item which display on drop down of same screen. But drop down of browser-2 is not displaying the new added value.
    Please let me know how to refresh the data of browser-2 if I added data on different session.
    //JSFF entry
    <af:selectOneChoice binding="#{backingBeanScope.Product.ICTCSTName}"
    id="iCTCSTName" simple="true"
    label="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.label}"
    required="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.hints.mandatory}"
    value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.inputValue}"
    autoSubmit="true">
    <f:selectItems value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.items}"
    binding="#{backingBeanScope.Product.si2}"
    id="si2"/>
    </af:selectOneChoice>
    //Pagedef entry
    <list IterBinding="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    ListOperMode="navigation"
    ListIter="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    id="tpCrudeSuperTypeFindAllPopulatedCT" DTSupportsMRU="true">
    <AttrNames>
    <Item Value="superTypeName"/>
    </AttrNames>
    </list>

    Are you sure backingBeanScope is the correct scope for your scenario?
    Session scope sound more appropriate to me.
    binding="#{backingBeanScope.Product.si2}"

  • Active session count of an user

    Hi,
    Could you help me understand the concept of active user session count and the factors influencing the active sesssion count of an user
    1) Does running multiple queries in a number of query windows in SQL developer lead to increase active session count?
    2) Does a high degree of parallel option ( e.g. Parallel (Degree 8)) provided in a query lead to a higher session count?
    3) Does the size of data processed in a query influence session count?
    4) Does the complexity of a query influence session count?
    5) Can a session remain active even after completion of a query and thereby increase the active sessioncount?
    Regards
    -Learnsequel

    910874 wrote:
    Could you help me understand the concept of active user session count and the factors influencing the active sesssion count of an userThat depends on the client. Does the client use some form of multi-threading? If so, the client needs a separate and active Oracle session servicing each of its running threads.
    The user may only initiate a single connection to the database - but the application remembers the authentication and connection details and can transparently establish multiple additional sessions. (a common behaviour by TOAD and SQL-Developer)
    1) Does running multiple queries in a number of query windows in SQL developer lead to increase active session count?Yes - as an Oracle session is serialised. It can only execute a single client request at a time. Thus if the client has 3 windows/tabs with each running a SQL query - then 3 Oracle sessions are required to service that client.
    2) Does a high degree of parallel option ( e.g. Parallel (Degree 8)) provided in a query lead to a higher session count?No. PX slave processes are database processes. They only "assist" a session at specific times. Then they can "assist" other sessions with other parallel query processing. The database has a configurable PQ processing pool of processes. You can specify the minimum number of processes to create in the pool at startup. You can specify the ceiling of the pool.
    So no number of sessions can grow the number of PQ processes beyond the maximum size of the pool. And the pool is there to service all sessions. Not just a single session.
    3) Does the size of data processed in a query influence session count?No.
    4) Does the complexity of a query influence session count?No.
    5) Can a session remain active even after completion of a query and thereby increase the active sessioncount?This is default behaviour. If that session terminates, the client looses its database connection.
    In the case of a multi-threaded client, it can decide to close one or more of the transparent "background" sessions it created to the database, when no longer needing such a session. However, it will keep its initial (first) session open as its primary connection to the database.

  • Metric threshold Blocking session count

    Hi,
    I am trying to modify the blocking session count threshould and making warning threshold as null and critical threshold > 0. When i create a blocking session in the database i get the warning for application wait class but i don't get a critical alert generated even waiting for more than an hour. Here is what i have done so far
    1. changed the warning threshold to null, critical threshold to > 0 and changed the time of collection to each 5 minutes.
    2. Creating a blocking lock in the database, when i go on the performance page of db and look at the instance locks i can see the lock being held for more than 30 minutes
    Any ideas how can i get this going will be much appreciated.

    In order to trigger the metric "blocking session count", you have to
    a. have one session which is holding the lock (not comitting)
    b. at least one session which is waiting for exactly that lock. in that case, the metric will report sid of blocking session with a value of > 0.
    Regards,
    Martin Decker
    www.ora-solutions.net

  • Schemas not dropping ?

    2 schemas are not dropping in my database.
    SQL> drop user user1 cascade;
    drop user user1 cascade
    ERROR at line 1:
    ORA-01940: cannot drop a user that is currently connected
    2 schema's were doing diffent things, both are not dropping with drop user command.
    I have killed all seesion releaed to the schemas. Now on v$session it says 'killed' for theses schemas.
    What else can I do to drop these schemas. Do I have to bouce the database server?

    Time was running out. Needed the DB schemas working ASAP. so did shutdown immediate before seeing updates on the message (Not very happy about restart).
    Shutdown immediate did not work. Waited for 10 minutes. In alert log it was saying PMON cannot do something due to latches.
    I think it was due to object locks, because in OEM I saw in locks on schemas (the ones I wanted to drop).
    Where can I learn all about Oracle latches and locks?

  • RAS session count

    Hi,
    In my configuration, the RAS Java SDK is used to access some unmanaged reports stored in a server folder. In the same web browser session, it is noted that for each report opened, the CAS count will simply increment accordingly. Is that normal? Shouldn't the licensing be based on the RAS session connected? Is it related to my way of calling the RAS API?
    Thanks,
    John

    Answering what I can below in Italics.
    From the kb note, it seems I can programmatically (instead of interactively) invoke the query and kill the session, right?
    Yes
    Does that mean I also have to use the Enterprise SDK as well (in addition to the RAS/View SDKs)?
    Yes
    So an extra Enterprise logon (and thus a CAL session) is needed to kill the session?
    Not if you use the Enterprise Logon that you used to view the report, I believe it can nuke itself. I have not tried this.
    Assuming I can kill the session, but which session to select and kill? Is LOGONTIME is the nearest field for identifying my own session?
    I believe so, Adam may be able to answer this.
    Plainly speaking, what I want to achieve is when user closes the report browser window, his Crystal server session also ends accordingly. And a single web session corresponds to a single RAS connection session.
    Thank you,
    John

  • Active session count of ASA in HA

    Hi,
    We have configured our ASA5540 in active-standby failover.
    We are observing that current active session count is twice of session count before configuring HA. Earlier average active session was 50000 and now after HA it is around 100000. Kindly let us know the reason for same.
    Failover configuration of both firewall are as follows
    failover
    failover lan unit primary
    failover lan interface FOLan GigabitEthernet1/0
    failover polltime unit 15 holdtime 45
    failover replication http
    failover link StateLink GigabitEthernet1/1
    failover interface ip FOLan 10.3.3.1 255.255.255.0 standby 10.3.3.2
    failover interface ip StateLink 10.4.4.1 255.255.255.0 standby 10.4.4.2
    failover
    failover lan unit secondary
    failover lan interface FOLan GigabitEthernet1/0
    failover polltime unit 15 holdtime 45
    failover replication http
    failover link StateLink GigabitEthernet1/1
    failover interface ip FOLan 10.3.3.1 255.255.255.0 standby 10.3.3.2
    failover interface ip StateLink 10.4.4.1 255.255.255.0 standby 10.4.4.2
    Regards,
    Mukesh Tiwari

    Hi,
    I guess you have check this with "show conn count" or "show conn" commands on the ASA?
    Ofcourse the first thing that comes to mind is that its somehow adding up the connection count of both ASA units. Though it shouldnt do this to my knowledge. You should just see almost equal amount of connections on both units. Both Primary and Secondary.
    Have you tried to check if there is any host on your local network that would be taking alot of connections? Maybe somethings happened at the same time (even though it might not be likely)
    Have you noticed any performance issues/problem after this upgrade to a A/S ASA pair?
    - Jouni

  • Session counter vs cfschedule

    Hi all,
    Got a bit of a riddle here. Trying to count current active number of sessions and as per ColdFusion documentation that should be done as follows:
    onSessionStart:
    <cfset Application.sessions = Application.sessions + 1>
    onSessionEnd:
    <cfset Arguments.ApplicationScope.sessions = Arguments.ApplicationScope.sessions - 1>
    That all works as expected as long as one doesn't use cfschedule events. Now in my application cfschedule runs every minute as a result creating  new sessions as it goes. What I'm trying to do is detect cfschedule event as a session 'runner' and ignore it for my session totals.
    On session start, that is done as follows:
    <cfif FindNoCase("CFSCHEDULE",CGI.HTTP_USER_AGENT) EQ 0>
         <cfset Application.sessions = Application.sessions + 1>
    </cfif>
    This way cfschedule is not counted as a site user, hence not logged.
    Now my question to the community is:
    How do you detect cfschedule event on session end? I was unable to locate any documentation explaining what sort of information is being passed inside the sessionScope to onSessionEnd function, hence how to access CGI info (if it's possible at all).
    Absolutely any input on this would be highly appreciated!
    Regards,
    Simon

    Hi guys,
    cfchedule event starts a new session itself. As well as that it seems it's a session just like the one user would start loading the site. Therefore, as any other session it runs the session counter (Application.sessions) and increases it.
    I have managed to successfully detect it upon start with the code provided in my initial post.
    To answer to BKBK, if on session end, which was started by cfschedule event I would not run the same test to check whether the session in fact was initiated by the cfscheduler, the counter would be reduced.
    Your suggestion does not help to solve the issue as counter meant to display only the sessions started by visitors, hence genuine data on the current site activity. An example to explain it in detail:
    At a sample given time I have 5 users online. Then cfscheduler runs and creates extra session. I detect it and skip counter logging. At this moment I still have 5 users. Now let's assume the same users are browsing the website and sessions are extended beyond the original 30 minute timeout of inactivity. After 30 minutes cfscheduler's session will expire and run through the onSessionEnd function. If I would not detect it as such, the counter would be reduced to 4, even though 5 users are currently online. There's the problem I'm trying to solve.
    The solution I have posted is still not 100% confirmed as sometimes it indeed shows some weird statistics.
    Simon

  • TS2830 Sync for IPod Touch quit working and I get error messages "a session could not be started" and "a connection could not be established" although the IPod appears in ITunes.

    This is a new problem for an IPod Touch  I have had for a year.  The IPod is hooked up by cable and appears in ITunes. I can examine all the content on the IPOD  and I can click "sync".  It goes through to Step 7 and then the error messages occur.  First "a session could not be started with the IPod" and when that dialogue box is closed, the message "a connection could not be established to the IPod." 

    Maybe:
    Sync Session Failed to Start iTouch iOS5: Apple Support Communities
    iphone could not be synced sync session failed to start...: Apple Support Communities

  • Session is not Migrated when I use HttpSessionActivationListener .

    Hi all,
    I studied about HttpSessionActivation Listener and in order understand it fully I created a simple program . I studied that the listener will be invoked whenever session attribute is migrated from one JVM to another .
    The following was what I did to understand HttpSessionActivationListener
    Created two instances of Tomcat in a single box.(Actually two services)
    Configured Apache Http Server to point the two instances (Load balancing and fail over) [Using this link|http://thought-bytes.blogspot.com/2007/03/how-to-load-balance-tomcat-55-with.html]
    Created a small web application and deployed in two servers
    Source codes
    ===========
    SessionMigrationTester Listener
    package c6;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    public class SessionMigrationTester implements HttpSessionActivationListener,Serializable { //Implemented Serializable Interface
         public void sessionDidActivate(HttpSessionEvent evt){
              System.out.println("========================");
              System.out.println("Session DID Activated --**-- Serializable");
              System.out.println("========================");
         public void sessionWillPassivate(HttpSessionEvent evt){
              System.out.println("========================");
              System.out.println("Session WILL Passivate --**-- Serializable");
              System.out.println("========================");
    }Web.xml
    ========
    <web-app>
    <servlet>
         <servlet-name>SessionTest</servlet-name>
         <servlet-class>c6.SessionExample</servlet-class>     
    </servlet>
    <servlet>
         <servlet-name>servlet3</servlet-name>
         <servlet-class>c6.Servlet3</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>SessionTest</servlet-name>
         <url-pattern>/sessiontest.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
         <servlet-name>servlet3</servlet-name>
         <url-pattern>/servlet3.do</url-pattern>
    </servlet-mapping>
    </web-app>SessionExample.java
    package c6;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class SessionExample extends HttpServlet {
         public void doGet(HttpServletRequest req,HttpServletResponse resp)throws ServletException,IOException {
              System.out.println("Inside doGet method ");
              PrintWriter out = resp.getWriter();
              resp.setContentType("text/html");
              HttpSession session = req.getSession(false);
              out.println("<html>");
              out.println("<head> ");
              out.println("</head>");
              out.println("<body>");
              out.println("<form >");
              if(session ==null){
                   System.out.println("No Session exists creating a new one ....");
                   session = req.getSession(true);
                   String sessionID = session.getId();
                   if(session.isNew()){
                        session.setAttribute("hello",new SessionMigrationTester());
                        out.println("New session is created ID:- "+sessionID);
                        System.out.println("New session is created ID:- "+sessionID);
              }else {
                   String sessionID = session.getId();
                   session.setAttribute("hello",new SessionMigrationTester());
                   out.println("Old session ID:- "+sessionID);
                   System.out.println("Old session ID:- "+sessionID);
              out.println("Modified ***<br/>");
              out.println("<input type='submit' value='click me' />");
              out.println("<script lang='javascript'>");
              out.println("document.forms[0].action ="+"\""+resp.encodeURL("servlet3.do")+"\"");
              out.println("</script>");
              out.println("</form>");
              out.println("</body>");
              out.println("</html>");
              System.out.println("End of doGet");
         public void doPost(HttpServletRequest req,HttpServletResponse resp) throws ServletException,IOException {
              doGet(req,resp);
    }Servlet3.java
    =========
    package c6;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class Servlet3 extends HttpServlet {
         public void doGet(HttpServletRequest req,HttpServletResponse resp)
         throws ServletException,IOException {
              HttpSession session = req.getSession(false);
              if(session!=null){
                   System.out.println("Session Already Exists! "+session.getId());
              }else{
                   System.out.println("Session doesn't exists!!!");
         public void doPost(HttpServletRequest req,HttpServletResponse resp)
         throws ServletException,IOException {
              doGet(req,resp);
    }Whenever I stop one instance(say "Tomcat instance 1") I'm getting a message "Session Will Passivated "(which is what I have in overridden sessionWillPassivate method)
    I'm also getting "Session Did Activated" message (overridden in sessionDidActivated method) whenever I start the same instance(say "Tomcat instance 1").
    What I expected
    ============
    After stopping the Tomcat instance (say "Tomcat instance 1") I reloaded the same page expecting this time it will be served by another Tomcat instance(say "Tomcat Instance 2" and I will get "SessionDidActivated" message from "Tomcat instance 2" but it didn't worked as I expected instead the page is served by another Tomcat instance("Tomcat instance 2") but the session is not migrated and I'm not getting "SessionDidActivated" in the new Tomcat instance.
    I also created a new Servlet named as (Servlet3) and modified SessionExample.java to this .so that It contains button and when it clicked it will hit a new Servlet(Servlet 3) but it also doesn't help.
    I'm trying this in a single physical machine with two tomcat instance configured with Apache Http Server .
    Is anything I'm missing ?
    Please clarify me why the session is not migrated .
    Thanks in advance

    Hi ejp,
    One more question I have . Today I tried to find out why the listener class is not invoked(I doesn't get "SessionDidActivated" and "SessionWillPassivate" sysouts from listener class) and found that when I enable clustering in Tomcat it's doesn't works(even though session migrates) and when I switch back to normal mode it does work .
    Following is the fragment I uncomment to enable clustering
    <!--
            <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                     managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                     expireSessionsOnShutdown="false"
                     useDirtyFlag="true"
                     notifyListenersOnReplication="true">
                <Membership
                    className="org.apache.catalina.cluster.mcast.McastService"
                    mcastAddr="228.0.0.4"
                    mcastPort="45564"
                    mcastFrequency="500"
                    mcastDropTime="3000"/>
                <Receiver
                    className="org.apache.catalina.cluster.tcp.ReplicationListener"
                    tcpListenAddress="auto"
                    tcpListenPort="4001"
                    tcpSelectorTimeout="100"
                    tcpThreadCount="6"/>
                <Sender
                    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                    replicationMode="pooled"
                    ackTimeout="15000"
                    waitForAck="true"/>
                <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
                       filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/>
                <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
                          tempDir="/tmp/war-temp/"
                          deployDir="/tmp/war-deploy/"
                          watchDir="/tmp/war-listen/"
                          watchEnabled="false"/>
                <ClusterListener className="org.apache.catalina.cluster.session.ClusterSessionListener"/>
            </Cluster>
    -->Am just curious to know why it happens like this .
    Can you please clarify me ?

  • Reopen All Windows from Last Session is not working

    The option Reopen All Windows from Last Session is not working, is there any other way to recover the tabs from my last session?
    Last night I fell asleep and my friend shut down my laptop.
    When I woke up in the morning I couldn't restore my last session which had several tabs opened for my research.
    I don't know the exact date when I found them, so I haven't been able to find them in History either.
    I've looked around on the internet, but haven't been able to find anything that helped me out.
    Hope you can help me! Thanks.

    Restart your Mac.
    Check the box for:  Reopen windows when logging back in
    Then check History >  Reopen Windows from Last Session

  • SCCM 2012 R2 reporting error: "The DefaultValue expression for the report parameter 'UserTokenSIDs' contains an error: A specified logon session does not exist. It may already have been terminated. (rsRuntimeErrorInExpression)"

    Hi,
    I have two SCCM environments under same active directory domain and one service account have been used for SCCM configurations on both the environments (QA and PRODUCTION). I am facing similar error as mentioned above while trying to fetch reports on
    PRODUCTION site, but the QA site is working fine, though same service account have been used for configuring both. While looking at the reportserverservice_<date> log on my Production DB server i see the following error
    "processing!ReportServer_0-3!2124!01/02/2015-09:09:30:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during
    report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet1. ---> System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Override
    Default' to data type int."
    My DB and SCCM primary site are different and the reorting services point is installed on remote DB server. Please help me resolving the issue.
    Troubleshooting performed:
    1.Disabled the registry key 'EnableRbacReporting' from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP to 0 and then restarted SSRS service and the reporting worked for some minutes after that the registry key reverted back to 1 automatically and
    reporting started throwing errors again.
    2. Checked with the permissions on DB whether or not 'sysadmin' role is assigned to the SCCM service account.
    3. re-registered the SQL management Provider WMI class.
    mofcomp.exe “C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”

    Hi All,
    Finally found exact solution to the reporting error.
    Error: while launching SCCM reports (both from Console and web based) an unexpected error occured with error message as "The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: A specified logon session does not exist.
    It may already have been terminated. (rsRuntimeErrorInExpression)"
    Solution: This is password replication issue for the domain account used to configure reporting services point in SCCM. If your SQL SSRS reporting services instance and databse runs with local default account whereas the reporting services point on SCCM
    primary site is configured with domain account, (As in My case) you need to perform the following in order to get rid of the error.
    Launch 'Reporting Services Configuration Manager' from the SQL SSRS box(either Local or Remote), Connect to Report Server Instance->Go to 'Execution Account' tab->Specify the 'Execution Account' as domain account and password which is used to configure
    Reporting Services Point in SCCM Primary Site, and then click apply.
    Now Lauch the report either way (Web based or from Console), the error will disappear and all your default reports will execute perfectly as before.

  • Java session is not working in browser sometimes

    Hi,
    In some PC, sometimes session is not working properly in browser.
    In JSP, I am creating the session like below
         session = request.getSession(true);
         session.putValue("loginid",login);
    But in next page, it is showing null value.
    I have checked the browser setting... cookies are enabled... everything is ok in browser setting..
    In our company, this issue is coming in some of PC not all in all the PC
    If we format the harddisk & again reinstall the OS, it starts working.
    Anyone can pls help me on this?. This is very urgent.
    Regards
    Selva

    As of Version 2.2 putValue(java.lang.String name,
    java.lang.Object value) has been deprecated.
    Use session.setAttribute("loginid",login) instead of putValue()

Maybe you are looking for

  • Problem in Flat file transaction data loading to BI7

    Hi Experts, I am new to BI7, got problem in activating data source for transaction data and create transfer routine to calculate sales revenue which is not there in flat file but flat file has got price per unit and quantity sold. Flat file fields ar

  • Adobe Bridge Cache problem

    When I try to open Bridge I repeatedly get a message telling me to purge the cache. I have tried doing this, but Bridge just runs very very slowly or hangs. I have to close my PC down to get Bridge to re-start.

  • Daily show not showing up? Yes, i'm checking for purchases.

    I purchased a multipass for the Daily Show for the second time (the first time it worked great), but this time, this week I haven't recieved any of the episodes. When I check for purchases it tells me i have all the episodes downloaded. I'm assuming

  • Updated now will not open at all or restore session

    I recently updated firefox. Since updating now it will not open at all. It says it is not responding and wont restore a session or anything. All my important bookmarks was on this browser. I have tried deleteing and re-installing. I have also tried r

  • Authorisation settings in Q and P

    Hi All, We have created some authorisation objects to enable the reporting security and transported them across to Q and P. However, I found that the settings to enable the checking for particular infoproviders haven't gone through i.e when we click