Verify whether the session data is kept in the Coherence caches

I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
All the following steps are right?
The procedure is as the following:
1. Create a WebLogic domain: Map_domain.
2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
3. Install Coherence.jar as a library on WebLogic.
4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
and add the following contents:
<weblogic-web-app>
     <library-ref>
          <library-name>coherence-web-spi</library-name>
          <specification-version>1.0.0.0</specification-version>
          <implementation-version>1.0.0.0</implementation-version>
          <exact-match>false</exact-match>
     </library-ref>
<weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
7. Install the MapViewer as a WebLogic application.
8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
The content of web-cache-server.cmd file:
@echo off
@rem This will start a cache server
setlocal
:config
@rem specify the Coherence installation directory
set coherence_home=F:\coherence
@rem specify the JVM heap size
set memory=256m
:start
if not exist "%coherence_home%\lib\coherence.jar" goto instructions
if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
:launch
set java_opts="-Xms%memory% -Xmx%memory%"
"%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
%coherence_home%\lib\coherence-web-spi.war
-Dtangosol.coherence.management.remote=true
-Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
-Dtangosol.coherence.session.localstorage=true
com.tangosol.net.DefaultCacheServer %1
goto exit
:instructions
echo Usage:
echo   ^<coherence_home^>\bin\cache-server.cmd
goto exit
:exit
endlocal
@echo onEdited by: jetq on Jan 13, 2010 9:32 AM

Any opinions are welcome.

Similar Messages

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

  • 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

  • Getting the session data.

    Dear all,
              Is there any mechanism by which I can get the session data (processed data/Error data). I want to capture that data in a file and send it to the specific user in a mail.
             quick replies appreciated.
    Thanks in Advance,
    Suresh

    Hi Suresh,
    Look at Reading session log. These two threads will give all the details you need to know about the sessions.
    Srinivas

  • Store the session data temporary

    Hi
    I'm a beginner in JSP, and I started to design a webpage to ebook store site.
    I have a problem with saving the session data , because i didn't want to use data base in may site. and that data will used in the later pages in the web site.
    as example : if the user needed to add more than one item to his\here cart , then all that items must appeared in the page named view cart .
    so please help me.....

    for u store data in a session u have
    Declare session object
    ---HttpSession session =getSession(true);
    session.setAttribute("key",value);
    if u want to the data added in a different u have to just
    Object obj =session.getAttribute("key",value);
    if(obj != null)
    String str =(String)obj;
    System.out.println("value is ===" + str);
    }

  • Get the session trace files and also the TKPROF reports for storedprocedure

    Hi ,
    I am trying to find out the bottlenecks on a storedprocedure, which does a insert into a table, where the target table has lot of indexes/constraints, so i want to see, which indexes/constraints is causing the problem. so in order to do I want to get the session trace files and also the TKPROF reports to see the bottlenecks for a oracle stored procedure,
    Could you please give us the list of steps to get the tracefiles and tkprof reports.

    781649 wrote:
    Thanks for input, i am using oracle10g standard edition. i dont think i have these tools available (DBMS_PROFILER or DBMS_HPROF). Did you even bother to try the following?
    SQL> DESC DBMS_PROFILER
    SQL> DESC DBMS_HPROF
    I understand it would be too much to expect you to actually Read The Fine Manual
    I am using bulk collect for all in my storedprocedure to insert the rows into a big table. In order to perform analysis on this bulk collect which tool will help me to identify the bottlenecks .
    I want to compare background session properties for both runs (like inserting the data with indexes/constraints vs without indexes/constraints). please let me know..I am willing to bet you the problem/slowness is on the SELECT side & not the INSERT!
    Just Curious
    Handle:      781649
    Status Level:      Newbie
    Registered:      Jul 12, 2010
    Total Posts:      35
    Total Questions:      17 (14 unresolved)
    Why so many unanswered questions?
    Edited by: sb92075 on Jan 17, 2012 3:13 PM

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • Error in DTP (The master data is deleted in the Background)

    Hi,
    while loading the data  to Data target (0chrt_acct_attr) through DTP...... I got the Error "  The master data is deleted in the Background". Plz advice me it is an urgent issue.

    Does the log in SLG1 say any more details?
    Use RSDMD as Object & MD_DEL as Sub Obj. Leave the other field to *.
    Is it happening for 1 specific object or for all? What type of data (attr or text)?

  • UCCX copy data in the enterprise data window right to the clipboard

    Hello I need help please! how to write a macro to copy data in the enterprise data window right to the clipboard? I should be able to take the data right from enterprise data and copy it to the clipboard so the agent can paste it into any application they want.  The macro step wants an application first - how do I get around this?
    Thanks.Hello I need help please! how to write a macro to copy data in the enterprise data window right to the clipboard? I should be able to take the data right from enterprise data and copy it to the clipboard so the agent can paste it into any application they want.  The macro step wants an application first - how do I get around this?
    Thanks.

    Do you have more than one enterprise fields showing your CAD layout?
    Do you wish to copy all of the them or just one of them?
    Do you wish to copy the name as well as the value?
    At any rate, a macro is not needed to copy the enterprise data.  You simply double click it and press CTRL+C.
    See this video here, which shows me doing just that:
    http://www.youtube.com/watch?v=88E-z0ShlFE&list=UUkB02mmFBBZqVBWY5XHAsoA&index=12&feature=plcp
    A macro might just complicate the matter, and force the Agent into a single option.  But let's get your answers to the above first, before we make any final decisions on the matter.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • How do I delete duplicate songs in my iTunes? I have hundreds and I don't want to delete them one by one. They were all added on the same date, so sorting by the date won't help.

    How do I delete duplicate songs in my iTunes? I have hundreds and I don't want to delete them one by one. They were all added on the same date, so sorting by the date won't help.

    Hi, if this is in regards to your library simply open up itunes and do the following steps:
    Click File
    Scroll down to "show duplicates"
    A list will then appear of your duplicate song titles.
    Be sure to CAREFULLY review each song to make sure it is a duplicate ( as I have some music that is the same song but live, acoustic etc...)
    Proceed to manually delete each song from the list and leave alone any song that you wish to keep.
    Best of luck,
    Cait

  • Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    No. Only those Apps that are not installed on the new will migrate over.

  • I have a macPro 10.6.8. i have been receiving mail with the same date--March 14 and the same time--8:51am..I cannot correct:who knows the solution?

    I have a macPro 10.6.8. i have been receiving mail with the same date--March 14 and the same time--8:51am..I cannot correct:who knows the solution?
    Thank you.

    You may need to replace the Pram battery.

  • How do I add the capture date and time to the bottom corner of a photo?

    How do I add the capture date and time to the bottom corner of a photo?

    Not to the bottom, that I'm aware of, but to the top right or left in Grid view or to the top left in Loupe view. It is in the View Options.

  • How do I completely crop a PDF so that the cropped data is removed and the file size is reduced?

    How do I completely crop a PDF so that the cropped data is removed and the total file size is reduced?
    When I use the "Crop" function, the cropped data still remains in the file and there is no reduction in file size. I need a way to truly crop a PDF using Acrobat software.

    When you export, try to get the full file path or else you will have to do a lot of manual searching.
    If you downloaded the picture from Messages, the picture is stored in your User Library/Messages. to make your User Library visible, hold down the option key while using the Finder “Go To Folder” command. Enter ~/Library/Messages/Attachments. 
    If you prefer to make your user library permanently visible, use the Terminal command found below.
    http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/
    You might want to bookmark the command. I had to use it again after I installed 10.8.4. I have also been informed that if you drag the user library to Finder it will remain visible.

Maybe you are looking for