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

Similar Messages

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

  • "Error reading credit master data"  in contract management in CRM 7.0

    Hi All,
    In CRM 2007,whenever we navigate to contract management screen,error message come which is "Error reading credit master data "
    Any suggestion on how to solve this issue.
    Regrads
    Nikhil

    Hi All,
    This is resolved.
    Just set the  entry in the table CRMV_CREDIT_GEN to 'Do not Display credit master data '
    Regards

  • Why I get "Error in getting session data" error when running report?

    Hello,
    I have reporting services on one server, and SharePoint 2010 on other server. When I view report from browser, I got blank page. From Report Server Log file, I got below error:
    v VERBOSE: writting session cookie: ekkrjbubp00t5wzc3rzspvzb
    v VERBOSE: Saved report snapshot to session in a background thread <for same session id>
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database.;
    e ERROR: Error in getting session data: Expired Session: ekkrjbubp00t5wzc3rzspvzb
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution ekkrjbubp00t5wzc3rzspvzb has expired or cannot be found
    Are there anyone getting the same issue as mine? I did not see any solutions for this issue when I searched.
    Thanks,
    Megan

    There are a number of timeouts in SSRS; session timeout, report execution timeouts, http request timeouts.  A session timeout in SSRS is not the same as a session timeout in ASP.NET.  Below are some articles that can help you understand the timeouts
    and hopefully lead you down the path of discovery.
    This articles is a good article as it discusses the session timeout and the keep alive that is sent from the report viewer.
    http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx
    This article is good as well in describing some of the timeouts.
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

  • 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

  • "Error reading crrdit master data " error in Contract management(CRM 2007)

    Hi All,
    In CRM 2007,whenever we navigate to contract management screen,error message come which is "Error reading credit master data "
    Any suggestion on how to solve this issue.
    Regrads
    Nikhil

    Hi All,
    This is resolved.
    Just set the  entry in the table CRMV_CREDIT_GEN to 'Do not Display credit master data '
    Regards
    Ankit

  • Error reading label stock data ; Messag No: CBGL00103

    Dear Experts,
    I have created the Label Size and Label Stock SIze in 108 client and moved to 105 via SCC1 in same server DEV.
    Customizaiton is appering in 105 now.
    While creating the Label stock,  getting following error
    Error reading label stock data; see long text
    Messag No: CBGL00103
    Dignosis: An iternal error occured reading the previously created data record or label stock header data
    Main Program: SAPLCBGL_LS04, SAPLCBGL_LS00
    Function Module: CBGL_LB10_LSHDIOT_READ
    Return Code: 1
    Procedure
    Notify your system Adminstrator.
    Can anybody help to resove this issue.
    Regards
    Amol

    Hello Michael,
    Thanks for identifying exact solution.
    Appriciating your SAP EHS Expertise...

  • Error: Reading Credit Master Data in IC

    We are having trouble reading credit master date in the Collection Factsheet tab on the Navigation Bar of the IC. Does anyone have any ideas? Thanks.

    Hi, we are facing the same issue. Were you able to solve it?
    Thanks!
    Marcelo

  • Error reading in file data on second entry and save of the data

    Hi,
    I'm trying to write a class that will save two integers and a string to a text file, which can later be searched. Both integers and the string are input by the user in the main class via the keyboard. The file is saved as follows,
    100 1
    901,111,offer releaseThe first line represents the maximum number of videos, and the current number of videos in the list. The second integer on the first line is automatically incremented to represent the correct number of video copies.
    When the test main class is run again to allow the user to enter a second line of data, it returns with the following error,
    Error in SimpleInput.readInt() - digit expected
    ,111,offer releaseWhy is it unable to find the first integer on the second line?
    My constructor for the class is as follows,
    public Video(int refNum, int titlerefNum, String filmOffer) {
            referenceNumber = refNum;
            titleReferenceNumber = titlerefNum;
            String[] words = filmOffer.split(",");
            videoOffer = words[0];
        }and my test main class is,
    import simplejava.*;
    import videos.*;
    import java.io.*;
    public class AddVideo {
        public static void main(String[] args) {
            //String film, actor1, actor2, director, title;
            int videocodeNum, titlecodeNum;
            String currentvideoOffer;
            SimpleReader keyboard = new SimpleReader();
            SimpleWriter screen = new SimpleWriter();
            SimpleReader inFile = new SimpleReader("title_test.txt");
            SimpleReader inFile2 = new SimpleReader("video_test.txt");
            TitleList titles = new TitleList(inFile);
            VideoList videos = new VideoList(inFile2);
            videocodeNum = keyboard.readInt("Reference Code for the Video?");
            titlecodeNum = keyboard.readInt("Reference Code for the Title?");
            currentvideoOffer = keyboard.readLine("Current Video Offer Code?");
            videos.add(new Video(videocodeNum, titlecodeNum, currentvideoOffer));
            screen.println(videos);
            Title search = titles.lookUp(titlecodeNum);//searches the title_test.txt file to find
            if (search == null)//the title code for the relevant number.
                screen.println("Not found");
            else screen.println(search);
            SimpleWriter outFile = new SimpleWriter("video_test.txt");
            videos.saveTo(outFile);
            outFile.close();
    }Any help or advice appreciated!!

    Hi,
    I'm trying to write a class that will save two integers and a string to a text file, which can later be searched. Both integers and the string are input by the user in the main class via the keyboard. The file is saved as follows,
    100 1
    901,111,offer releaseThe first line represents the maximum number of videos, and the current number of videos in the list. The second integer on the first line is automatically incremented to represent the correct number of video copies.
    When the test main class is run again to allow the user to enter a second line of data, it returns with the following error,
    Error in SimpleInput.readInt() - digit expected
    ,111,offer releaseWhy is it unable to find the first integer on the second line?
    My constructor for the class is as follows,
    public Video(int refNum, int titlerefNum, String filmOffer) {
            referenceNumber = refNum;
            titleReferenceNumber = titlerefNum;
            String[] words = filmOffer.split(",");
            videoOffer = words[0];
        }and my test main class is,
    import simplejava.*;
    import videos.*;
    import java.io.*;
    public class AddVideo {
        public static void main(String[] args) {
            //String film, actor1, actor2, director, title;
            int videocodeNum, titlecodeNum;
            String currentvideoOffer;
            SimpleReader keyboard = new SimpleReader();
            SimpleWriter screen = new SimpleWriter();
            SimpleReader inFile = new SimpleReader("title_test.txt");
            SimpleReader inFile2 = new SimpleReader("video_test.txt");
            TitleList titles = new TitleList(inFile);
            VideoList videos = new VideoList(inFile2);
            videocodeNum = keyboard.readInt("Reference Code for the Video?");
            titlecodeNum = keyboard.readInt("Reference Code for the Title?");
            currentvideoOffer = keyboard.readLine("Current Video Offer Code?");
            videos.add(new Video(videocodeNum, titlecodeNum, currentvideoOffer));
            screen.println(videos);
            Title search = titles.lookUp(titlecodeNum);//searches the title_test.txt file to find
            if (search == null)//the title code for the relevant number.
                screen.println("Not found");
            else screen.println(search);
            SimpleWriter outFile = new SimpleWriter("video_test.txt");
            videos.saveTo(outFile);
            outFile.close();
    }Any help or advice appreciated!!

  • 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

  • Getting error while reading file from /data/interface

    HI Experts,
    while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    Edited by: stiw382 on Dec 1, 2011 1:17 PM

    > while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    is that file accessible on the operating system? Is the filesystem mounted?
    Z-transaction codes are customer developments, since nobody here knows, what this program does I suggest you contact the developer of that transaction.
    Markus

  • Read System Analysis Data Error - Sol 10 u5 x86

    This morning, smpatch analyze and update via updatemanager will not work, giving this error:
    "Read System Analysis Data Error
    There is an error in reading system analysis data. Click on "Check for Updates" to restart a system analysis. If the problem persists, report the issue to your sysadmin or Sun."
    Is this a temporary problem with the Sun update system computers, or is this something I should worry about?
    Updatemanager worked fine yesterday.

    Never mind. The problem went away.

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • Error reading data from CLOB column into VARCHAR2 variable

    Hi all,
    Am hitting an issue retrieving data > 8K (minus 1) stored in a CLOB column into a VARCHAR2 variable in PL/SQL...
    The "problem to be solved" here is storing DDL, in this case a "CREATE VIEW" statement, that is longer than 8K for later retrieval (and execution) using dynamic SQL. Given that the EXECUTE IMMEDIATE statement can take a VARCHAR2 variable (up to 32K(-1)), this should suffice for our needs, however, it seems that somewhere in the process of converting this VARCHAR2 text to a CLOB for storage, and then retrieving the CLOB and attempting to put it back into a VARCHAR2 variable, it is throwing a standard ORA-06502 exception ("PL/SQL: numeric or value error"). Consider the following code:
    set serveroutput on
    drop table test1;
    create table test1(col1 CLOB);
    declare
    cursor c1 is select col1 from test1;
    myvar VARCHAR2(32000);
    begin
    myvar := '';
    for i in 1..8192 loop
    myvar := myvar || 'a';
    end loop;
    INSERT INTO test1 (col1) VALUES (myvar);
    for arec in c1 loop
    begin
    myvar := arec.col1;
    dbms_output.put_line('Read data of length ' || length(myvar));
    exception when others then
    dbms_output.put_line('Error reading data: ' || sqlerrm);
    end;
    end loop;
    end;
    If you change the loop upper bound to 8191, all works fine. I'm guessing this might have something to do with the database character set -- we've recently converted our databases over to UTF-8, for Internationalizion support, and that seems to have changed underlying assumptions regarding character processing...?
    As far as the dynamic SQL issue goes, we can probably use the DBMS_SQL interface instead, with it's EXECUTE procedure that takes a PL/SQL array of varchar2(32K) - the only issue there is reading the data from the CLOB column, and then breaking that data into an array but that doesn't seem insurmountable. But this same basic issue (when a 9K text block, let's say, turns into a >32K block after being CLOBberred) seems to comes up in other text-processing situations also, so any ideas for how to resolve would be much appreciated.
    Thanks for any tips/hints/ideas...
    Jim

    For those curious about this, here's the word from Oracle support (courtesy of Metalinks):
    RESEARCH
    ========
    Test the issue for different DB version and different characterset.
    --Testing the following PL/SQL blocks by using direct assignment method(myvar := arec.col1;) on
    different database version and different characterset.
    SQL>create table test1(col1 CLOB);
    --Inserting four CLOB data into test1.
    declare
    myvar VARCHAR2(32767);
    begin
    myvar := RPAD('a',4000);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('a',8191);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('b',8192);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('c',32767);
    INSERT INTO test1 (col1) VALUES (myvar);
    commit;
    end;
    --Testing the direct assignment method.
    declare
    cursor c1 is select col1, length(col1) len1 from test1;
    myvar VARCHAR2(32767);
    begin
    for arec in c1 loop
    myvar := arec.col1;
    --DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar);
    dbms_output.put_line('Read data of length: ' || length(myvar));
    end loop;
    end;
    The following are the summary of the test results:
    ===================================
    1. If the database characterset is WE8ISO8859P1, then the above direct assignment
    method(myvar := arec.col1;) works for database version 9i/10g/11g without any
    errors.
    2. If the database characterset is UTF8 or AL32UTF8, then the above direct assignment method(myvar := arec.col1;) will generate the "ORA-06502:
    PL/SQL: numeric or value error" when the length of the CLOB data is greater
    than 8191(=8K-1). The same error can be reproduced across all database versions
    9i/10g/11g.
    3. Using DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar) method to read CLOB data into a VARCHAR2 variable works for both WE8ISO8859P1 and UTF8
    characterset and for all database versions.
    So - it seems as I'd surmised, UTF8 changes the way VARCHAR2 and CLOB data is handled. Not too surprising, I suppose - may you all be lucky enough to be able to stay away from this sort of issue. But - the DBMS_LOB.READ workaround is certainly sufficient for the text processing situations we find ourselves in currently.
    Cheers,
    Jim C.

  • Use of error page resulting in could not deserialize session data exception

              We have recently converted classes that store objects in the HTTP Session to implement
              serializable.
              Our application uses an error page set up in our web.xml for 500 errors.
              It also uses filters.
              When our application throws an exception and allows the server to handle it
              via the error page setup, we end up with the exception we threw, plus a number
              of
              "Could not deserialize session data" exceptions in the stack trace.
              In general, the exceptions can be traced to lines in code that attempt to reference
              one of our "serializable" session objects to get user info for logging purposes.
              Problem is, other applications that do not use error pages to handle exceptions
              do not throw these types of exceptions in the wl-domain.log and they use the same
              classes.
              Does anyone know why this happens when using error pages and what we need to do
              to correct it?
              We are using Weblogic 8.1sp2.
              Thanks!!
              Example of the stack trace messages:
              ####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
              <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
              <Could not deserialize session data.
              java.io.NotSerializableException: weblogic.servlet.internal.FilterConfigImpl
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
                   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
                   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
                   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                   at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
                   at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
                   at doh.stuff.OurFilter.doFilter(OurFilter.java:67)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
                   at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              ####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
              <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
              <Could not deserialize session data.
              java.io.NotSerializableException: java.util.Vector$1
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
                   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
                   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
                   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                   at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
                   at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
                   at doh.stuff.OurHTML.<init>(OurHTML.java:57)
                   at doh.stuff.OurFilter.startLog4j(OurFilter.java:513)
                   at doh.stuff.OurFilter.doFilter(OurFilter.java:75)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
                   at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              

              We have recently converted classes that store objects in the HTTP Session to implement
              serializable.
              Our application uses an error page set up in our web.xml for 500 errors.
              It also uses filters.
              When our application throws an exception and allows the server to handle it
              via the error page setup, we end up with the exception we threw, plus a number
              of
              "Could not deserialize session data" exceptions in the stack trace.
              In general, the exceptions can be traced to lines in code that attempt to reference
              one of our "serializable" session objects to get user info for logging purposes.
              Problem is, other applications that do not use error pages to handle exceptions
              do not throw these types of exceptions in the wl-domain.log and they use the same
              classes.
              Does anyone know why this happens when using error pages and what we need to do
              to correct it?
              We are using Weblogic 8.1sp2.
              Thanks!!
              Example of the stack trace messages:
              ####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
              <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
              <Could not deserialize session data.
              java.io.NotSerializableException: weblogic.servlet.internal.FilterConfigImpl
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
                   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
                   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
                   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                   at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
                   at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
                   at doh.stuff.OurFilter.doFilter(OurFilter.java:67)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
                   at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              ####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
              <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
              <Could not deserialize session data.
              java.io.NotSerializableException: java.util.Vector$1
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
                   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
                   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
                   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
                   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                   at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
                   at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
                   at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
                   at doh.stuff.OurHTML.<init>(OurHTML.java:57)
                   at doh.stuff.OurFilter.startLog4j(OurFilter.java:513)
                   at doh.stuff.OurFilter.doFilter(OurFilter.java:75)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
                   at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              

Maybe you are looking for