First Hit Session Data Replication

We are using WLS 5.1 with sp3 in a cluster of three
          servers using in-memory-rep, JSP, and Apache as our proxy.
          Session data replication between a primary and secondary server
          seems to work fine except in the following case:
          1) Make first hit to the cluster. During the JSP processing of
          that hit set some HTTP session data via setAttribute().
          2) Kill-off the primary server (the one that handled the first hit).
          3)Make a second hit to the cluster, it is handled by another
          server (the secondary), the session is recognized as an ongoing
          session however the session data that was set during the first hit is not
          present in the second hit.
          If we make two hits to the first server and set data, then kill-off
          the primary server, the secondary has the data at the third hit. The
          only issue seems to be when the primary is killed after the first hit.
          Anyone have any ideas?
          Thanks,
          -darren
          

You can configure ClusterServlet in your web server farm (WLAS as web
          servers) to proxy JSP and servlet requests to the WLAS farm (WLAS processing
          your JSP and servlet).
          Set up in-memory replication in your WLAS farm. Session in JSP will be
          replicated.
          Cheers - Wei
          Yen Liu <[email protected]> wrote in message
          news:[email protected]...
          > Hello,
          >
          > I read breifly the section on BEA's online documentation talking about
          in-memory
          > replication and clustering.
          >
          > In it, it mentioned the ClusterServlet and configuring the
          weblogic.properties
          > file to assign servlets to the ClusterServlet so that sessions will be
          handled
          > correctly and all.
          >
          > My question is, "what about JSP" I am using a lot of JSP pages which sets
          > session parameters for the specific user into session objects.
          >
          > Any tips, recommendations will be most helpful.
          >
          > Thanks,
          >
          > Yen Liu
          > 510/870-1169
          >
          > Prasad Peddada wrote:
          >
          > > Darren,
          > >
          > > It shouldn't be the case. After your first hit, when you kill the
          primary
          > > server, when you make your next request you should find all the info in
          the
          > > session. I will post again, if we find the same problem on monday in our
          test
          > > environment.
          > >
          > > Thanks
          > >
          > > Prasad
          > >
          > > Darren Kessler wrote:
          > >
          > > > We are using WLS 5.1 with sp3 in a cluster of three
          > > > servers using in-memory-rep, JSP, and Apache as our proxy.
          > > > Session data replication between a primary and secondary server
          > > > seems to work fine except in the following case:
          > > >
          > > > 1) Make first hit to the cluster. During the JSP processing of
          > > > that hit set some HTTP session data via setAttribute().
          > > > 2) Kill-off the primary server (the one that handled the first hit).
          > > > 3)Make a second hit to the cluster, it is handled by another
          > > > server (the secondary), the session is recognized as an ongoing
          > > > session however the session data that was set during the first hit is
          not
          > > > present in the second hit.
          > > >
          > > > If we make two hits to the first server and set data, then kill-off
          > > > the primary server, the secondary has the data at the third hit. The
          > > > only issue seems to be when the primary is killed after the first hit.
          > > >
          > > > Anyone have any ideas?
          > > >
          > > > Thanks,
          > > >
          > > > -darren
          >
          

Similar Messages

  • HTTP session data replication

    Single admin server and two managed servers in a cluster. Using NES plugin API from three web servers to the cluster. EJB is deployed with PersistenceStore=Memory.
    Session data is not replicating. Cluster is configured for Round-robin. One jsp hits server (A) the next hits server (B). Well,
    server (B) requires the session data from the first jsp.
    Anyone have any idea where I should look next to troubleshoot this.
    TIA

    Hi.
    You need to make sure you have PersistentStoreType set in your weblogic.xml as follows in order to replicate http session data:
    <session-descriptor>
    <session-param>
    <param-name> PersistentStoreType </param-name>
    <param-value> replicated </param-value>
    </session-param>
    </session-descriptor>
    HTH,
    Michael
    Tim Perkins wrote:
    Single admin server and two managed servers in a cluster. Using NES plugin API from three web servers to the cluster. EJB is deployed with PersistenceStore=Memory.
    Session data is not replicating. Cluster is configured for Round-robin. One jsp hits server (A) the next hits server (B). Well,
    server (B) requires the session data from the first jsp.
    Anyone have any idea where I should look next to troubleshoot this.
    TIA--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • How to replicate session data at the user level?

    Hi all,
    my client has users who use laptop/tablet computers in the field with wireless connections. The application requires the users to complete long multi-page forms where the data is only submitted to the EIS layer at the end of the process. The connections regularly drop out which understandably is a cause of some grief. In addition, the users want to be able to switch to another machine in order to complete their session.
    The 'switching machine' requirement kills the idea of using persistent cookies and session replication unfortunately. So I am faced with the idea of storing the session data (keyed by user id), in serialized form, either on a stand-alone disk which is accessible by each webserver in the cluster or is the database. The problem with the database idea is the performance hit of traversing the EJB and JDBC layers.
    Can anyone suggest the best practice in this case? Or point to an article or tool that covers the problem?
    BTW, the app serves a small (<50) and stable base of authenticated users so scalability is not really an issue whereas failover is.
    Regards,
    Dave.

    > Is it possible to close a PO at the header level
    Po can be closed at Item level and not Header level. You can set Deletion Indicator and further can be archived thru SARA MM_EKKO
    or a way to deactivate the PO so that no new items can be added?
    You can activate Release strategy and Choose a Proper Release indicatory so that no new changes to be carried out.
    Else go for User Exits

  • Session State Replication of Referenced Objects

    Here is question on Clustering and Session state replication:
              Scenario:
              Consider two Session Objects A and B.
              Object A has-a reference to object B.
              So whatever changes done to Object B is reflected in Object A.
              In-memory Session replication happens on every HttpSession.setAttribute() call.
              The question is will the two session objects(A and B) be replicated to the other cluster and will still maintain the reference relationship or will they be two separate objects with same data (in different memory locations).
              regards,
              Jaiganesh

    Ok, I have been meaning to dig into session replication in a bit more detail and your question is a good excuse to do it!
              First stop the docs:
              Bea Docs
              The bits that jump out are under:
              Programming Considerations for Clustered Servlets and JSPs
              1) Session Data Must Be Serializable, so both your objects are serializable.
              2) Use setAttribute to Change Session State In an HTTP servlet that implements javax.servlet.http.HttpSession, use HttpSession.setAttribute (which replaces the deprecated putValue) to change attributes in a session object. If you set attributes in a session object with setAttribute, the object and its attributes are replicated in a cluster using in-memory replication. If you use other set methods to change objects within a session, WebLogic Server does not replicate those changes. Every time a change is made to an object that is in the session, setAttribute() should be called to update that object across the cluster.
              Likewise, use removeAttribute (which, in turn, replaces the deprecated removeValue) to remove an attribute from a session object.
              >Will the reference as shown in the step 3 will be >maintained after replication on the other cluster ?? I >guess not!!
              I don't understand "on the other cluster" There is normally one cluster made up of a few servers. The session state is maintained on one primary server and a secondary server. So you have aObj.a2 = bObj, from the docs I would understand that at the momment you called session.setAttribute the aObj and all its fields provided they are seriliazable will be replicated in Mememory.
              >There the aObj and bObj stored in the two different >session objects will not have a reference relationship >in other words if i change bObj on the other cluster >will the reference a2 of aObj be able see it ??
              This is testing the limits of my understanding, but would have thought if the objects are in different sessions they should not be able to reference each other in the manner I think you are suggesting, so if I access aObj.a2 (an instance of bObj) and changed it in one session it should not affet any other bObj unless bObj is a singleton....I think!
              What say you?

  • 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 to clear all session data in adf through coding?

    Hi Everyone,
    i have created many pages in an application.I want to clear all session data when i get back to my first page.
    how to do that?
    such that my application should run as i am running for the first time.
    Thanks.

    Hi Jabr,
    i have used this code in initMethod() (Before phase) of my page.
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession session = (HttpSession)ectx.getSession(false);
    session.invalidate();
    this code got executed but the page has 2 lovs.
    im getting error null pointer exception that EmpLovVO not found.
    if i remove the above code then the page is running correctly.
    What to do now?
    Thanks.

  • Save the session data in the database !

    Hello everybody,
    I read an article on JavaWorld website about saving the session data of an application in the database instead of mantaing them in memory.
    In this way, the web application is more scalable and in case the application server crashed the session data can be taken by another application server.
    I was sure that this was a good motivation of writing a class to save the session data of my application in the database, but i read another article where a good methodology to
    create a scalable web application was to save the session data in more application server so if one application server crashed another application server can take the control of the entire application.
    I think that at the moment i have just a bit of confusion in my mind.
    Any suggestion ?
    Cheers.
    Stefano

    What you've read was a method of "load balancing" where "state" is maintained by a backend server instead of the web servers themselves. Yes, if done properly, this would achive true web server independance, and if one crashed, another would pick up where it left off. Of course, you'll still need an HTTP load balancer in front of the web server farm, so it can dynamically shift the load.
    From an architecture standpoint, it's a good way to go, but only IF you really need 7x24 with zero downtime. Reason being twofold. 1) It's a huge performance hit, becase each GET/POST requires a trip to the DB, because it's holding state. 2) It's a lot of work, because you're now taking on the role of "managing" sessions (e.g. when to expire, reading the cookie/URL for session IDs.
    I was once responsible for a 7x24 Intranet that ran core business applications. My service level agreement with my customers was 7x24 alright, but with the risk of a possible "blip" (meaning, if one server crashed, simply reconnect and continue your work). Worst case, one lost just that one page worth of work.
    I hope that helps explain!
    bRi

  • Issue in data replication for one particular table

    Hi,
    We have implemented streams in out test environment and testing the business functionalities. We have an issue in data replication for only one custom table all other tables data replications are proper no issue. When we do 100 rows update data replication is not happening for that particular table.
    Issue to simulate
    Update one row -- Replication successful.
    100 rows update -- After 3-4 hrs nothing happened.
    Please let me know did any of you have come across similar issue.
    Thanks,
    Anand

    Extreme slowness on apply site are usually due to lock, library cache locks or too big segments in streams technical tables left after a failure during heavy insert. these tables are scanned with full table scan and scanning hundreds of time empty millions of empty blocks result in a very big loss of performance, but not in the extend your are describing. In your case it sound more like a form of lock.
    We need more info on this table : Lob segments? tablespace in ASSM?
    If the table is partitioned and do you have a job that perform drop partitions? most interesting is what are the system waits nd above all the apply server sessions waits. given the time frame, I would more looks after a lock or an library cache lock due to a drop partitions or concurrent updates. When you are performing the update, you may query 'DBA_DDL_LOCKS', 'DBA_KGLLOCK' and 'DBA_LOCK_INTERNAL' to check that you are not taken in a library cache lock.

  • LSMW  Field Mapping: can't map Batch Input Structure for Session Data

    In step 5 Maintain Field Mapping and Conversion Rules, I can not see Batch Input Structure for Session Data Fields.
    Can somebody tell what's wrong?
    Here's what I see:
    Field Mapping and Rule
            BGR00                          Batch Input Structure for Session Data
                Fields
                BMM00                          Material Master: Transaction Data for Batch Input

    Hi Baojing,
    To see structure BGR00  you have to map this structure first with input file structure in step 4 (maintain structure relationship).
    Regards
    Dhirendra

  • NullPointerException: Could not deserialize session data

    Hi all,
    I am getting this exception on the portal application again and again. Can somebody help me out with this?
    ####Sept 29, 2007 2:34:23 PM EST> <Error> <HTTP Session> <beapweb1> <HUSLM01> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<anonymous>> <> <BEA-100028> <Could not deserialize session data.
    java.lang.NullPointerException
         at com.bea.wlw.netui.pageflow.FlowController.valueUnbound(FlowController.java:1968)
         at com.bea.wlw.netui.pageflow.PageFlowController.valueUnbound(PageFlowController.java:643)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:543)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:345)
         at weblogic.servlet.internal.session.ReplicatedSessionData.removeAttribute(ReplicatedSessionData.java:597)
         at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:854)
         at weblogic.servlet.internal.session.ReplicatedSessionData.remove(ReplicatedSessionData.java:312)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.invalidateSession(ReplicatedSessionContext.java:567)
         at weblogic.servlet.internal.session.SessionContext$InvalidationAction.run(SessionContext.java:612)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:323)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:101)
         at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.cleanupExpiredSessions(SessionContext.java:560)
         at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(SessionContext.java:467)
         at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:293)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:323)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:101)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:213)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:214)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:179)
    The application is on WebLogic Portal 8.1 SP5 and it's on a cluster.
    Any help would be greatly appreciated.
    Thanks
    Sam

    Hi
    you seem to have session replication turned on in your cluster .
    In which case any private member variable in any pageflow must be serializable for the session replication to work.(or marked as transient etc.)
    regards
    deepak

  • How to find first and last date of a fiscal week using SQL

    Hello,
    I want information about FISCAL Week, means a Week based on ISO standard. I know format strings ‘IW’ or ‘IYYY’ gives fiscal week and fiscal year respectively from a given date. But I want to find the first and last date of a fiscal week. Say suppose I have a fiscal week is 2, and fiscal year is 2008, how to find the start and end date of the given fiscal week.
    Any kind of help would be greatly appreciable.
    Thanks,
    Prince

    davide gislon wrote:
    The following query evaluate the begin of a fisical week, where &year and &week are respectively the year and week you want to calculate.
    To evaluate the end of the week you have to add 6.
    Note that my database is set to have monday as day number 1 of the week, and sunday as day number 7; if your database settings are different you should modify the query accordingly.
    SELECT CASE TO_CHAR(TO_DATE('&year','YYYY'),'D')
    WHEN '1' THEN TO_DATE('&year','YYYY')+((&week-1)*7)
    WHEN '2' THEN TO_DATE('&year','YYYY')+((&week-1)*7-1)
    WHEN '3' THEN TO_DATE('&year','YYYY')+((&week-1)*7-2)
    WHEN '4' THEN TO_DATE('&year','YYYY')+((&week-1)*7-3)
    WHEN '5' THEN TO_DATE('&year','YYYY')+((&week-1)*7+3)
    WHEN '6' THEN TO_DATE('&year','YYYY')+((&week-1)*7+2)
    WHEN '7' THEN TO_DATE('&year','YYYY')+((&week-1)*7+1)
    END BEGIN_FISICAL_WEEK
    FROM DUAL
    Hope this is helpful.
    Cheers,
    Davide
    Edited by: davide gislon on 08-Jan-2009 07:19Your query does nothing you say it does. TO_DATE('&year','YYYY') returns first day of the current month for year &year. And the only reason it returns January 1, &year is that we are currently in January:
    SQL> select TO_DATE('&year','YYYY') from dual
      2  /
    Enter value for year: 2005
    old   1: select TO_DATE('&year','YYYY') from dual
    new   1: select TO_DATE('2005','YYYY') from dual
    TO_DATE('
    01-JAN-05
    SQL> As soon as we roll into February:
    SQL> alter system set fixed_date = '2009-2-1' scope=memory
      2  /
    System altered.
    SQL> select sysdate from dual
      2  /
    SYSDATE
    01-FEB-09
    SQL> select TO_DATE('&year','YYYY') from dual
      2  /
    Enter value for year: 2005
    old   1: select TO_DATE('&year','YYYY') from dual
    new   1: select TO_DATE('2005','YYYY') from dual
    TO_DATE('
    01-FEB-05
    SQL> alter system set fixed_date = NONE scope=both
      2  /
    System altered.
    SQL> select sysdate from dual
      2  /
    SYSDATE
    08-JAN-09
    SQL> But even if TO_DATE('&year','YYYY') would always return January 1, &year, or you would fix it to TO_DATE('0101&year','MMDDYYYY') it still would be wrong. ISO week rules are
    If January 1 falls on a Friday, Saturday, or Sunday, then the week including January 1 is the last week of the previous year, because most of the days in the week belong to the previous year.
    If January 1 falls on a Monday, Tuesday, Wednesday, or Thursday, then the week is the first week of the new year, because most of the days in the week belong to the new year.Therefore, next year:
    SQL> DEFINE YEAR=2010
    SQL> DEFINE WEEK=1
    SQL> ALTER SESSION SET NLS_TERRITORY=GERMANY -- enforce Monday as first day of the week
      2  /
    Session altered.
    SQL> SET VERIFY OFF
    SQL> SELECT CASE TO_CHAR(TO_DATE('0101&&year','MMDDYYYY'),'D')
      2  WHEN '1' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7)
      3  WHEN '2' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7-1)
      4  WHEN '3' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7-2)
      5  WHEN '4' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7-3)
      6  WHEN '5' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7+3)
      7  WHEN '6' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7+2)
      8  WHEN '7' THEN TO_DATE('0101&&year','MMDDYYYY')+((&&week-1)*7+1)
      9  END BEGIN_FISICAL_WEEK
    10  FROM DUAL
    11  /
    BEGIN_FI
    04.01.10
    SQL> SELECT TRUNC(TO_DATE('0101&&year','MMDDYYYY'),'IW') FROM DUAL
      2  /
    TRUNC(TO
    28.12.09
    SQL> 2 user10772980:
    Use:
    SELECT  TRUNC(TO_DATE('0101&&year','MMDDYYYY'),'IW') + (&&week-1)*7 FISCAL_YEAR_&&YEAR._WEEK_&&WEEK
      FROM  DUAL
    FISCAL_YEAR_2010_WEEK_1
    28.12.09
    SQL> SY.

  • Data Replication issue for R/3 on i5

    QUESTION:
    1) Do we need the data in following 2 files to be replicated when the production operation runs on
    Stand-by system?
    DBSTATIDB4 Index Sizes in the Database (statistical data)
    DBSTATTDB4 Table Sizes in the Database (statistical data)
    2) If we don't need data in those 2 files when production operation is underway on Stand-by,
    please let us know any considerations if you have.
    BACKGROUND INFO:
    Although our customer has two R/3 system on i5 configured as a production and a stand-by system
    and replicate R/3 production data to stand-by system using data replication tool called MIMIX,
    sometimes we encounter a problem with the data of following files are out of synchronization.
    Files cannot be replicated:
    DBSTATIDB4     F@Index Sizes in the Database (statistical data)
    DBSTATTDB4     F@Table Sizes in the Database (statistical data)
    The reason for that is  because of the new DB function called fast-delete since V5R3.
    This problem happens due to the fact that this function execute ENDJRN/STRJRN and it makes
    problem within MIMIX replication operation.
    In order to avoid this problem, we'd like to make sure that it's possible to eliminate these files
    out of synchronization and need more information for these files.

    Hello Yuhko,
    first of all thank you very much, that you are the first user/customer, that is using this new and great forum !!!
    We will move lot's of further customers into this forum soon.
    Fortunately, yes you can ignore these 2 tables if you like - they are not really interesting for the healthy of your SAP system. But, are you really on the latest PTF Levels of V5R3 - because I know this error and it should be fixed in the meantime - perhaps you need a newer MIMIX version as well - you should at least check.
    Then you could configure to run this "crazy" job not twice a day, but once a week only - that makes even your system faster ... This could be done in ST03 in the collector configuration. It is RSORATDB or RSDB_TDB in TCOLL - depending on your SAP release.
    But again:
    If you want to exclude these 2 tables from replication you are fine as well - but I would make this job even more rarely for better performance.
    Regards

  • "Could not deserialize session data" error during sign out

    Hello,
    I have an application deployed on WLS 8.1, one instance, no clustering. The application EAR contains 1 web module and 2 ejb modules. When I try to sign out(I use Single Sign-On for Multiple Applications - a sign out application deployed separately) I receive the attached error.
    Notes: my session is serializable - I did a test that serialize and deserialize the session and I have no errors.
    Q: Why does WLS try to deserialize the session data during sign out? I don't use any session persistance/replication.
    The error ClassNotFoundException from my point of view is normal: UsersTableModel(from web modile) is not visible from the Application Classloader.
    Here is the error:
    <> <BEA-100028> <Could not deserialize session data.
    java.lang.ClassNotFoundException: xxx.controller.actions.UsersTableModel: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that cluster
         at weblogic.j2ee.ApplicationManager.loadClass(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;Z)Ljava.lang.Class;(ApplicationManager.java:344)
         at weblogic.j2ee.ApplicationManager.loadClass(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Ljava.lang.Class;(ApplicationManager.java:258)
         at weblogic.j2ee.ApplicationManager.loadClass(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Class;(ApplicationManager.java:253)
         at weblogic.j2ee.ApplicationManager.loadClass(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Class;(ApplicationManager.java:216)
         at weblogic.common.internal.WLObjectInputStream.resolveClass(Ljava.io.ObjectStreamClass;)Ljava.lang.Class;(WLObjectInputStream.java:48)
         at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
         at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
         at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject([B)Ljava.lang.Object;(AttributeWrapper.java:173)
         at weblogic.servlet.internal.AttributeWrapper.getObject(Z)Ljava.lang.Object;(AttributeWrapper.java:114)
         at weblogic.servlet.internal.AttributeWrapper.getObject()Ljava.lang.Object;(AttributeWrapper.java:69)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(Ljava.lang.String;Z)Ljava.lang.Object;(SessionData.java:614)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(Ljava.lang.String;)V(SessionData.java:596)
         at weblogic.servlet.internal.session.SessionData.remove()V(SessionData.java:808)
         at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(Lweblogic.servlet.internal.session.SessionData;)Z(MemorySessionContext.java:69)
         at weblogic.servlet.internal.session.SessionData.invalidate()V(SessionData.java:750)
         at weblogic.servlet.security.ServletAuthentication.invalidateAll(Ljavax.servlet.http.HttpServletRequest;)Z(ServletAuthentication.java:184)
         at xxx.framework.authentication.WebAuthenticationHelper.invalidateSessions(Ljavax.servlet.http.HttpServletRequest;)V(WebAuthenticationHelper.java:574)
         at xxx.framework.authentication.WebAuthenticationHelper.closeSession(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WebAuthenticationHelper.java:523)
         at xxx.framework.authentication.WebAuthenticationHelper.logout(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WebAuthenticationHelper.java:250)
         at xxx.yyy.ViewDispatcher.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ViewDispatcher.java:75)
         at xxx.yyy.ViewDispatcher.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ViewDispatcher.java:42)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    Edited by: user11291053 on 22-Jun-2009 02:52
    Edited by: user11291053 on 22-Jun-2009 03:01
    Edited by: user11291053 on 23-Jun-2009 01:42

    When OptimisticSerialization is turned on, WebLogic server does not serialize-deserialize context and request attributes upon getAttribute(name) when a request gets dispatched across servlet contexts. This means you will need to make sure that the attributes common to Web applications are scoped to a common parent classloader (they are application-scoped) or placed in the system classpath if the two Web applications do not belong to the same application.
    When OptimisticSerialization is turned off (which is the default) WebLogic Server does serialize-deserialize context and request attributes upon getAttribute(name) to avoid the possibility of ClassCastExceptions. The value of OptimisticSerialization can also be overridden for specific Web applications by setting the optimistic-serialization value in weblogic.xml.
    [http://edocs.bea.com/wls/docs100/ConsoleHelp/pagehelp/Corecoredomaindomainconfigwebapptitle.html]
    [http://e-docs.bea.com/wls/docs90/webapp/weblogic_xml.html#1067857]
    I hope this helps :)

  • "Import Session Data"?

    Hola,
    Just curious to know if there's an option in Logic similar to Pro Tools' "Import Session Data" where you can import entire tracks (audio, plug ins, etc) from one session into another. For example, I have created two sessions, one for the music, and another for the vocals, just to save on some screen real estate and CPU power. Now they are both where I'd like them and I want to import them for fine touches and to make sure they work together.
    Thanks!
    Brian
    15 Powerbook G4   Mac OS X (10.4.6)   Logic Express 7

    Wouldn't that just import the file? My vocal session has snippets of files all over the tracks with automation, plug ins, and different routing. I want to import the entire track with all of its information (autoamtion, plug ins, plug in settings, regions, files, etc). I want to essentially combine the tracks. Thank you for the freeze info. I often use freeze, but I kinda lied in my first post... I didn't actually track the sessions. A friend of mine did in Garageband and I'm mixing them in Logic.
    Does this make more sense? I don't want to just import the audio. I want to import the entire track and all its associated info. Is this a Pro feature, or a Logic feature at all?
    Thanks,
    Brian

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

Maybe you are looking for