Checking session data

I want to require a visitor to visit certain pages on a site in sequence, and thought the easiest way to do this would be to set a session attribute and then check it on any of the following pages. Something like <%session.setAttribute("module", 1);%>I'm not an accomplished programmer and wondered if anyone would be so kind as to help me out with the syntax of the expression and statement in order to do what I explained earlier. For example, if the session attribute does not equal 1 when someone loads module page 2, then they should be redirected back to moduel page 1. Else the attribute would be set to 2, and they could move on to module 3.

Seems what you really want is a Front Controller. Which should probably be a Servlet rather than JSP, if you know Java, it will be much easier to code and test that way. If you don't know Java you are going to have to learn it for either the Servlet or JSP approach, but the Servlet (IMO) would be a cleaner approach to learn in.
In the mean time, you should look up "Model View Controller" patterns, the 'Front Controller' pattern. These things tend to be unique for each application, so giving you code will be useless. But once you understand the pattern you should better be able to create your own solution (or find one that does it for you).

Similar Messages

  • Waveburner;  a few Questions regarding track files and Session Data

    After a bit of negotiating, I'm almost ready to burn. Was having problems with file locations and discovered that i had multiple files in different locations. Those have been eliminated and all relative track files are in one place now with the Song Data File as well.
    I then re-imported the individual aif tracks only to find that all of my fades and edits are GONE. It appears that I may have to DO THEM ALL OVER AGAIN! Please tell me that there is a work around.
    Is it possible to import only the Session Data related to the fades and edits(everything but the actual audio files), so as to avoid all this "do-again" work?
    I was also wonder if it is necessary, or perhaps a good idea, to change the File INFO for each of the individual audio track files from "OpenWith" iTunes (default setting) to "Open With": WAVEBURNER ?. (selectable on the aiff files, "Show More Info" window
    Currently the aif files are set to "OpenWith" iTunes (default)
    One last question please.
    Is Waveburner really up to snuff? How many people are using this for Mastering and Burning CD's? I'm about to start inserting some AU Mastering Plug Ins and I'm hoping for the best. Any other suggestions are greatly appreciated.
    G5 Dual 2.0/PBook G41.5Ghz/LogicPro7 Live5 Reason3.0 PansncDA7 TascamFW1804   Mac OS X (10.4.7)  

    You're grammer isn't bad jord, it was I who asked a plethora of questions under one Subject heading.
    When i open the project file(.wb3),
    The prompt says;
    "Please choose a replacement from the list below:"
    /Volumes/320GB HD/Users/ahuihou/.Trash/1 Track 01.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/2 Track 02.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/3 Track 03.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/4 Track 04.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/6 Track 06.aiff
    As you can see the files are in the trash.
    The first problem is that there are no actual files in the trash. Just an icon of a CD Disc which was dragged there to eject it, It is no longer in the disc drive/tray. Perhaps i should put the disc back in the drive and then update/replace the files afterwords. (The CD is scratched.)
    The strange thing is that i can still preview the track that's in the trash by selecting More Info and playing it on the little Quicktime player bar. I guess the file is in a cache somewhere?
    I've looked everywhere on all drives for the specific files but can not find them anywhere.
    In the Replacement prompt there is a place that I can check to "Search in the same folder for subsequent files" button on the "Replacement" prompt.
    which "same folder" is it refering to?
    The Trash folder where the old files are or the Folder where the actual .wb3 project file is? I do have all of the correctly named song files/regions in the same folder with the project file.
    maybe i should just start again. i'm not one to give up easy though and would much prefer to "beat" the computer at the game.

  • How can we reset the session data in SAP ISA B2B application.

    com.sap.isa.isacore.action.IsaCoreInitAction$StartupParameter this action class providing the special feature to store all data passed to it in the request as parameters into the session context and make them available for all other actions.
    1. But in the inner class they had defined private parametrized constructor.
    2. Action class is defined as final.(there is no chance to override the method)
    3. There is no setter method (only getter() is available).
    4. Creating a new Z_ class that is reflecting in entire application.
    5.They had hard coded the Session attribute name in Action class.
    6. Application is expecting a session object with the same attributes.
    Is there any chance to create a new object for this class or any where any chance to reset the session data. Am using the Multiple_SoldTO concept in my application. My back end ECC .Please help me.
    Advanced Thanks
    PC.M
    Edited by: pmudigonda on Jul 6, 2011 1:21 PM

    I am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.

  • ERROR: Error in getting session data: Invalid or Expired Session

    Hi,
    We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
    When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user. 
    I have increased the time out for the report to 600 seconds.
    Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
    session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
    Any ideas how this can be resolved?

    Hi Nasa1999,
    Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
    to increase the Session Timeout time. Please refer to following blog:
    Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
    Locate the Aspnet.config file in the following folder:
     %windir%\Microsoft.NET\Framework64\v2.0.50727
    If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
    Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
            a. Right-click Aspnet.config, point to
    Open with, and then click Choose program.
            b. In the Programs list, click
    Notepad, and then click OK.
    Locate the following tag in the <runtime> section of the code.
            <legacyImpersonationPolicy enabled="false"/>
    Change the tag to:
            <legacyImpersonationPolicy enabled="true"/>
    Save the Aspnet.config file.
    Reset IIS.
    Try your report again.
    Similar Thread for your reference:
    Using SharePoint Report Viewer
    Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
    If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
    http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
    http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
    If your problem still exists, please try to provide more details information as below:
    Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • ASR9K PPPoE ERROR - bad session data

    In a month the second case all are disconnected Rrroyesessii and new aren't connected not to reboot a router yet.
    Messages
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: Bundle-Ether100.10: I dst ffff.ffff.ffff src bcee.7bed.90a0: len 46 0x11090000000c01010000010300040001000000000000000000000000000000000000000000000000000000000000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]: Bundle-Ether100.10 peer-mac bcee.7bed.90a0
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]:    vlan-id-outer 600
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]:    Service-name: 
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]:    Host-uniq: 00010000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: Bundle-Ether100.10: O dst bcee.7bed.90a0 src e4c7.227c.ea0b: len 31 0x11070000001901010000010300040001000001020009415352394b2d424e47
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADO-Sent]: Bundle-Ether100.10 peer-mac bcee.7bed.90a0
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADO-Sent]:    vlan-id-outer 600
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: Bundle-Ether100.10: I dst ffff.ffff.ffff src 0860.6e24.0390: len 46 0x11090000000c01010000010300040001000000000000000000000000000000000000000000000000000000000000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]: Bundle-Ether100.10 peer-mac 0860.6e24.0390
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]:    vlan-id-outer 88
    RP/0/RSP0/CPU0:Feb 12 20:17:00.396 : pppoe_ma[378]: [PADI-Recv]:    Service-name: 
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: Bundle-Ether100.10: O dst 5404.a68e.2160 src e4c7.227c.ea0b: len 31 0x11070000001901010000010300040001000001020009415352394b2d424e47
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADO-Sent]: Bundle-Ether100.10 peer-mac 5404.a68e.2160
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADO-Sent]:    vlan-id-outer 210
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: Bundle-Ether100.10: I dst ffff.ffff.ffff src 5404.a6e6.81d4: len 46 0x11090000000c01010000010300040001000000000000000000000000000000000000000000000000000000000000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADI-Recv]: Bundle-Ether100.10 peer-mac 5404.a6e6.81d4
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADI-Recv]:    vlan-id-outer 32
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADI-Recv]:    Service-name: 
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADI-Recv]:    Host-uniq: 00010000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: Bundle-Ether100.10: O dst 5404.a6e6.81d4 src e4c7.227c.ea0b: len 31 0x11070000001901010000010300040001000001020009415352394b2d424e47
    RP/0/RSP0/CPU0:Feb 12 20:17:00.410 : pppoe_ma[378]: [PADO-Sent]: Bundle-Ether100.10 peer-mac 5404.a6e6.81d4
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: Bundle-Ether100.10: I dst ffff.ffff.ffff src 60a4.4c8c.8ddc: len 46 0x11090000000c01010000010300040001000000000000000000000000000000000000000000000000000000000000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: [PADI-Recv]: Bundle-Ether100.10 peer-mac 60a4.4c8c.8ddc
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: [PADI-Recv]:    vlan-id-outer 60
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: [PADI-Recv]:    Service-name: 
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: [PADI-Recv]:    Host-uniq: 00010000
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: [PADI-Recv]:   ERROR - bad session data
    RP/0/RSP0/CPU0:Feb 12 20:17:00.518 : pppoe_ma[378]: Bundle-Ether100.10: O dst 60a4.4c8c.8ddc src e4c7.227c.ea0b: len 31 0x11070000001901010000010300040001000001020009415352394b2d424e47
    ASR9001 
    Cisco IOS XR Software, Version 5.1.1[Default]
    Copyright (c) 2014 by Cisco Systems, Inc.
    ROM: System Bootstrap, Version 2.04(20140227:092320) [ASR9K ROMMON]
    How to fight against it? before such it wasn't noticed 

    hi vladimir,
    I checked the source code when this error is set. this is seen when a session stage packet is received that has no valid idb (aka subscriber interface) for the session ID that was found in the packet together with the vlan tags.
    Now this is a PADI, so it is not a session packet to start with.
    Next I see that the function that sets this error is only called for on data packets when the opcode is 0x00 in your case the opcode is 0x09 which is a PADI.
    what I am thinking that is happening here is that the punt software has provided incorrect pointers to the start of the packet due to a sw bug.
    I would like to request if you can evaluate xr513 for this as I see some fixes in 512/513 relating to the punt handling sw that might be of benefit here.
    regards
    xander

  • Retrieving session data in JSP  which is forwarded from a servlet

    I'm trying to retrieve session data which is set in a servlet and pass to a jsp. But its returning NULL . The session IDs are equal.
    Scenario:
    JSP display the checkbox, user selects it and submits to a servlet. the servlet display the selected items and stores the data in session.
    when the user press back button in servlet all i want to do is display those checked box which were selected before as checked in the JSP so that user can edit.
    Following is a small test code
    JSP
    <html>
         <head>
              <title>Item List</title>
         </head>
         <body bgcolor="#fedeab"><br><br><br>
         <p align=center>
              <font size=4>
              Choose the item you want!!!
         </p>
         <form action="/demo/showitem" method="post">
              <%=session.getId()%>
              <div align=center>
              <fieldset style="width:250px">
              <legend style="text-align:center">List of item</legend> <br>
              <%     
                   if (session.getAttribute("book1")!=null) {
              %>
                   <input type="checkbox" name="book1" value="book1" checked > Book 1 <br>
              <% } else {%>
                   <input type="checkbox" name="book1" value="book1" > Book 1 <br>
              <% }%>
              <input type="submit" value="Enter">
              </fieldset>
              </div>
         </form>
         </body>
    </html>               
    Servlet
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ShowItem extends HttpServlet
         public void doPost (HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException
              HttpSession session = req.getSession(true);
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              out.println(session.getId());
              out.println("<br>");
              out.println("<form>");
              String book1 = req.getParameter("book1");
              session.setAttribute("book1",book1);
              if (book1 != null)
                   out.println ("1." + book1 +"<br>");
                   out.println("<br><br><input type=\"submit\" name=\"buy\" value=\"Buy\">");
              else
                   out.println("No item to display<br>");
              out.println("&nbsp&nbsp<input type=\"submit\" name=\"back\" value=\"Back\">");
              out.println("</form>");
              RequestDispatcher page = getServletContext().getRequestDispatcher("/jsp/litemlist.jsp");
              if ((req.getParameter("buy"))!= null)
                        page.forward(req, res);
              if ((req.getParameter("back"))!= null)
                        page.forward(req, res);
         public void doGet (HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException
              doPost(req,res);
    }

    req.getParameter("book1") is not NULL and returning the value of the checkbox "book1". The problem occurs when the back button is press and try to retrieve the session value in the JSP. At that time, session.getAttribute("book1") returns NULL.
    But if i convert the servlet to JSP then everything is working fine.
    So i wanted to know if there is anything wrong in the way i store the session value in the servlet and forwarding to the JSP.
    Thanks

  • Error loading serialized session data

    Could anyone please suggest how to fix this issue. We run 2 Solaris servers
              running WL5.1 SP8:
              Thank you!
              Fri Jan 12 16:23:43 PST 2001:<E> <HttpSessionContext> Error loading
              serialized session data for session
              OlzPsQ2ZCGETxLZsvwig2hgGGyZEU4opBHfSaq1P02MlsbGKNK64QcKLS3JTa0QJZyZxdjVIY5k3
              |5212765075526534138/-1062730671/6/80/80/7002/7002/80/-1
              java.io.InvalidClassException:
              weblogic.servlet.internal.session.SessionData; Local class not compatible:
              stream classdesc serialVersionUID=2475912102520200080 local class
              serialVersionUID=8380332519449050139
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at
              java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              at
              java.io.InvalidClassException.<init>(InvalidClassException.java:47)
              at java.io.ObjectStreamClass.validateLocalClass(Compiled Code)
              at java.io.ObjectStreamClass.setClass(Compiled Code)
              at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.inputObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at
              weblogic.servlet.internal.session.FileSessionContext.loadSession(FileSession
              Context.java:467)
              at
              weblogic.servlet.internal.session.FileSessionContext.invalidateSession(FileS
              essionContext.java:391)
              at
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalida
              teSessions(Compiled Code)
              at
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(
              SessionContext.java:479)
              at
              weblogic.time.common.internal.ScheduledTrigger.executeLocally(Compiled Code)
              at weblogic.time.common.internal.ScheduledTrigger.execute(Compiled
              Code)
              at weblogic.time.server.ScheduledTrigger.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              java.io.InvalidClassException:
              weblogic.servlet.internal.session.SessionData; Local class not compatible:
              stream classdesc serialVersionUID=2475912102520200080 local class
              serialVersionUID=8380332519449050139
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at
              java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              at
              java.io.InvalidClassException.<init>(InvalidClassException.java:47)
              at java.io.ObjectStreamClass.validateLocalClass(Compiled Code)
              at java.io.ObjectStreamClass.setClass(Compiled Code)
              at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.inputObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at
              weblogic.servlet.internal.session.FileSessionContext.loadSession(FileSession
              Context.java:467)
              at
              weblogic.servlet.internal.session.FileSessionContext.invalidateSession(FileS
              essionContext.java:391)
              at
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalida
              teSessions(Compiled Code)
              at
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(
              SessionContext.java:479)
              at
              weblogic.time.common.internal.ScheduledTrigger.executeLocally(Compiled Code)
              at weblogic.time.common.internal.ScheduledTrigger.execute(Compiled
              Code)
              at weblogic.time.server.ScheduledTrigger.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              

    It might cause by inconsistent service patch and/or versions among your
              servers in your cluster. Double check the installation, especially
              classpathes of all your servers. Make sure you apply SP8 correctly in all
              servers.
              Cheers - Wei
              "Andre Taube" <[email protected]> wrote in message
              news:[email protected]...
              > Could anyone please suggest how to fix this issue. We run 2 Solaris
              servers
              > running WL5.1 SP8:
              >
              > Thank you!
              >
              >
              > Fri Jan 12 16:23:43 PST 2001:<E> <HttpSessionContext> Error loading
              > serialized session data for session
              >
              OlzPsQ2ZCGETxLZsvwig2hgGGyZEU4opBHfSaq1P02MlsbGKNK64QcKLS3JTa0QJZyZxdjVIY5k3
              > |5212765075526534138/-1062730671/6/80/80/7002/7002/80/-1
              > java.io.InvalidClassException:
              > weblogic.servlet.internal.session.SessionData; Local class not compatible:
              > stream classdesc serialVersionUID=2475912102520200080 local class
              > serialVersionUID=8380332519449050139
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at
              > java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              > at
              > java.io.InvalidClassException.<init>(InvalidClassException.java:47)
              > at java.io.ObjectStreamClass.validateLocalClass(Compiled Code)
              > at java.io.ObjectStreamClass.setClass(Compiled Code)
              > at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.inputObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at
              >
              weblogic.servlet.internal.session.FileSessionContext.loadSession(FileSession
              > Context.java:467)
              > at
              >
              weblogic.servlet.internal.session.FileSessionContext.invalidateSession(FileS
              > essionContext.java:391)
              > at
              >
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalida
              > teSessions(Compiled Code)
              > at
              >
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(
              > SessionContext.java:479)
              > at
              > weblogic.time.common.internal.ScheduledTrigger.executeLocally(Compiled
              Code)
              > at weblogic.time.common.internal.ScheduledTrigger.execute(Compiled
              > Code)
              > at weblogic.time.server.ScheduledTrigger.execute(Compiled Code)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              > java.io.InvalidClassException:
              > weblogic.servlet.internal.session.SessionData; Local class not compatible:
              > stream classdesc serialVersionUID=2475912102520200080 local class
              > serialVersionUID=8380332519449050139
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at
              > java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              > at
              > java.io.InvalidClassException.<init>(InvalidClassException.java:47)
              > at java.io.ObjectStreamClass.validateLocalClass(Compiled Code)
              > at java.io.ObjectStreamClass.setClass(Compiled Code)
              > at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.inputClassDescriptor(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.inputObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at java.io.ObjectInputStream.readObject(Compiled Code)
              > at
              >
              weblogic.servlet.internal.session.FileSessionContext.loadSession(FileSession
              > Context.java:467)
              > at
              >
              weblogic.servlet.internal.session.FileSessionContext.invalidateSession(FileS
              > essionContext.java:391)
              > at
              >
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalida
              > teSessions(Compiled Code)
              > at
              >
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(
              > SessionContext.java:479)
              > at
              > weblogic.time.common.internal.ScheduledTrigger.executeLocally(Compiled
              Code)
              > at weblogic.time.common.internal.ScheduledTrigger.execute(Compiled
              > Code)
              > at weblogic.time.server.ScheduledTrigger.execute(Compiled Code)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              >
              

  • Can't read session data

    I am working with iAS6.0 SP4, distributed session
    I perform a load test of 100 users,
    For some of my sessions (about 3%), I can't read
    the session data, all attributes are null.
    Can someone help ?
    Amir.

    Are you sure you want to distribute sessions ? We experienced sever scaling issues with this options even on multi CPU machine. Check your KXS cpu utilisation using top command ( assuming Unix ).
    This is because the distributed sessions are stored in kxs and lead to contention at high loads. You can chose for lite sessions by changing the web.xml of the application incase you do not need distributed sessions. If at all you want distributed sessions you may check the behaviour at lesser load

  • Problem in EWA session data sent to SAP

    Hi all,
    I am trying to finalise EWA for all my SAP production instances. So far I am able to send EWA session to my Solution manager system or to SAP directly (i.e. to O01)
    In the solution manager system under the edit Solution option there is a button "setup EWA". After clicking on this  and enabling EWA, there is a check box which says "Send to SAP". I have enabled this check box.
    Now does this mean that when the EWA session data arrives in the Solution Manager system, it is also sent to SAP ?
    This was my understanding of the checkbox. Also when the EWA report arrives in the Solution Manager system, there is an envelope icon against the report. The tooltip of the icon says "Session data sent to SAP". However when I look at the service channel inbox the session is not visible.
    Does anyone have any idea what the problem could be ?
    regards,
    Kevin Hill

    Hi all,
    This is what SAP had to say.
    quote from SAP reply *********
    Please note that not every session follows this path:
    Satellite system -> Solution Manager system -> SAP.
    All red sessions are forwarded like this. If all is well, and the sessions are always rated green and yellow, only 1 session per system is forwarded every 4 weeks. None of these forwarded sessions create Service Messages. We have access to the actual session and data, and the customer already has the corresponding reports in the Solution
    Manager System.
    The reports sent to SAP are for SAP's records only. They are not sent back through Service Messages. If you send a red report to SAP, SAP will investigate the cause of the red rating and contact you. It is not possible to receive these reports back on the SAP Service
    MarketPlace.
    The only sessions that create Service Messages are those sent directly to SAP ( without Solution Manager). They are created as per SAP Note 207223, and the session numbers in SDCC start Z...xx.
    quote from SAP reply *********
    Well that settles it I guess. However it definitely was not clear from the FAQ and the docs. SAP's reply makes sense as there is no reason why the session report should be available in both the Solman system as well in the services messages.
    regards,
    Kevin Hill

  • Reportservertempdb - calculate amount of session data

    Is it possible to calculate the amount of "Session Data" needed for processing a specific report?
    I notice when processing reports in batch, session data needed can be 100 times the amount of the final output.I wonder whether this is a bug in our situation or the tempdb works as designed.

    Check out the ExecutionLog3 view in the ReportServer DB.  There is lots of useful information, such as "Byte count", which tells you how much memory, in KB, the report took to build the report.  Byte count isn't an indicator of the final reports
    size, just how much memory it used to build it.  Here's a good web page with some other details about the view...
    http://technet.microsoft.com/en-us/library/ms159110.aspx

  • Error reading stored session data

    CF8/IIS6/Win2k3
    getting a ton of these messages:
    04/02 15:00:39 error Error reading stored session data
    (ID=70307b52029b2dd2dadc1f364fe3e4c3463e)
    java.io.StreamCorruptedException: unexpected end of block
    data
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    at
    java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.ArrayList.readObject(ArrayList.java:593)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at
    coldfusion.runtime.SessionScope.readObject(SessionScope.java:211)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at
    java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
    at
    coldfusion.runtime.J2eeSessionScopeStub.readObject(J2eeSessionScopeStub.java:86)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.Hashtable.readObject(Hashtable.java:859)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at
    jrun.servlet.session.SessionService.retrieve(SessionService.java:1357)
    at
    jrun.servlet.session.SessionService.retrieve(SessionService.java:1341)
    at
    jrun.servlet.session.SessionService.restoreSession(SessionService.java:1259)
    at
    jrun.servlet.session.SessionService.restoreSessionState(SessionService.java:876)
    at
    jrun.servlet.session.SessionService.setClassLoader(SessionService.java:504)
    at
    jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:300)
    at
    jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:203)
    at
    jrun.deployment.DeployerService.initModules(DeployerService.java:708)
    at
    jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
    at
    jrun.deployment.DeployerService.deploy(DeployerService.java:428)
    at
    jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
    at
    jrun.deployment.DeployerService.run(DeployerService.java:889)
    at
    jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Here is the arguments line in my jvm:
    # Arguments to VM
    java.args=-server -Xmx512m -Xms512m -XX:MaxNewSize=24m
    -XX:NewSize=24m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled
    -XX:+UseConcMarkSweepGC -Dsun.io.useCanonCaches=false -Xdebug
    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2702
    -Dcoldfusion.rootDir={application.home}/

    Beyond this I have not been able to identify or figure out
    what is causing the issue. I did a double check and some of the
    times are outside of our nightly back-up schedule. It looks like
    this issue hasn't happend for me since 27 Aug. I couldn't say why
    though. I'm hoping Adobe has an answer.
    Thx

  • How do I access session data through an EJB?

    Hi
    How do I access session data through an EJB?
    I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
    I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
    <jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
    <%
    String key = "test";
    String value = "This is the value";
    userContextWebImpl.setValue( key, value1 );
    %>
    </jsp:useBean>
    and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
    Please help!

    I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
    A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
    I have tried with this code, but with no luck.
    (ApplicationContextWebImpl is the JavaBean)
    public static String getBookingResult( String key )
         String myResult = null;
         String myKey = key;
         ApplicationContextWebImpl applicationContextWebImpl = null;
         try
              applicationContextWebImpl = new ApplicationContextWebImpl();
              myResult = (String)applicationContextWebImpl.getValue( key );
         catch ( java.rmi.RemoteException e )
         return myResult;
    }

  • TS3297 My 2nd generation ipod touch is giving me the following error when I try accessing Itunes or the app store. "Cannot connect to the Store. A secure connection could not be established. Please check your date & time settings"  I am on a secure networ

    My 2nd generation ipod touch is giving me the following error when I try accessing Itunes or the app store. "Cannot connect to the Store. A secure connection could not be established. Please check your date & time settings"  I am on a secure networkl.

    Can't connect to the iTunes Store
    Make sure that time zone is correct in addition to date and time

  • How to check the date and time when a material is blocked

    Hello,
       Please tell me how can i check the date and time when a material is blocked or unblocked.
    Regards,
    Priyanka

    Hi Pryianka,
    Are you speaking about blocked status of material master ('X-plant matl status' > MM03 > Basioc view 1; 'Plant-sp. matl status' > MM03 > MRP 1) or your problem is to find out the date when your material was booked into blocked state (stock category).
    If your problem is about mmr you can use the above mentioned MM04 (or MM03 > menu > Environment > Display changes).
    If your problem is to find out when your goods were posted to blocked stock you have to use MB51 + relevant movement types (e.g. 103, 344) + batch + etc. ()
    BR
    Csaba

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

Maybe you are looking for

  • NO White dot under open apps...

    This issue has been happening to me quite a few times lately and started about a week before the 10.6.3 update was released. Everything works fine, and then all of a sudden, I come to open an app, the app opens, but the dock icon doesn't display the

  • Why does something as simple as the date on my computer being wrong cause firefox to not allow me to open any websites?

    I saw others have this problem a few times...and people are trying to have them do all kinds of stuff to fix it. This is one of my errors: This Connection is Untrusted You have asked Firefox to connect securely to www.facebook.com, but we can't confi

  • How do I import a pdf into Dreamweaver CS4?

    I converted a Golive site to CS4, when I added a new pdf to my newsletter page and linked to it, I get an error message that the file can't be found. Everything looks to be correct. If I link to an older newsletter that was in the Golive site, so was

  • Is it true there is no tilt in week 38 and newer nanos?

    Hopefully I will have my last discussion with Apple about this tomorrow, after the local Consumer Affairs agency finishes talking with the Apple Customer Representative. She is trying to get me either yet another replacement nano 3g (it will be my 4t

  • Can I store my apps in one place and my music in another?

    I put my music on an external HDD at work. On weekends, I like to update podcasts at home on my laptop. This, though, deletes all my apps from my phone. So, is there a way to tell Itunes to put my apps on my laptop so they do not get deleted if i syn