Cluster instance recover data cache (singleton) from another instance

Greetings,
          I've created a cache object in a Singleton in my EJB for storing data
          about result requests made for database simple query. I used this
          technique because was not acceptable using entity beans due the
          extremely large information and since that database is accessed by
          multiple interfaces.
          Question:
          - every time I reloaded a server instance, the cache is cleaned. Since
          the performance result depends on this cache element, I would like to
          answer about ways of getting the cache information from other running
          instances.
          Thanks,
          Pedro Salazar.
          

getting the cache from other running instances would probably incur the same
          cost as that is when you retrieve from a database. May be you can do this by
          using a startup class which populates the cache.
          "pedro-b-salazar\ATptinovacao\DOTpt"
          <"pedro-b-salazar\\ATptinovacao\\DOTpt"> wrote in message
          news:[email protected]..
          > Greetings,
          >
          > I've created a cache object in a Singleton in my EJB for storing data
          > about result requests made for database simple query. I used this
          > technique because was not acceptable using entity beans due the
          > extremely large information and since that database is accessed by
          > multiple interfaces.
          >
          > Question:
          >
          > - every time I reloaded a server instance, the cache is cleaned. Since
          > the performance result depends on this cache element, I would like to
          > answer about ways of getting the cache information from other running
          > instances.
          >
          > Thanks,
          > Pedro Salazar.
          

Similar Messages

  • Recovering data backed up from a diferent computer

    I have been running a X200 for over a year now, backing up using Rescue & Recovery to a external USB drive.
    2 Weeks ago my system crashed.
    I had another X200 of the same configuration sitting in storage.
    I got it up ang going with the same OS as the one that failed.
    All I want to do is recover a few files from the backup usb drive but R&R doesn't dsee the backup.
    How do I get at the drive to recover my data?
    Gerald

    Hi swimstc, and a warm welcome to the forums!
    I'd get EasyFind...
    http://www.macupdate.com/info.php/id/11076
    Search that drive for addressbook, folders only, that should get you to something like...
    /Users/YourUserName/Library/Application Support/AddressBook
    If perchance they could n't recover the folder, but just the files, her's the list of what is in mine...
    LastImport.plist
    Images
    AddressBook.data.previous
    AddressBook.data.beforesave
    AddressBook.data
    ABPerson.skIndexInverted
    ABPerson.skIndex
    .skIndex.ABPerson.lockN
    .import.lockN
    .database.lockN
    You could search for Files only of those names.
    AddressBook.data is the biggie.

  • Import data to spatial from another resoucres?

    Hi all!
    can anybody help me how to import data to oracle spatial from another resoucre such as : google map, bing...?
    thanks
    Edited by: OBIEE.vn on Dec 3, 2010 8:24 PM

    It depends how did You saved acquired data. It is possible for sure.
    First step, for example, would be to acquire data as KML file from par example google earth.
    Than You have an option to manipulate and manage them.
    You can as well convert data from KML to SDO_GEOMETRY data type.
    For this You can use already created SDO_UTIL.FROM_KMLgeometry.
    Note here, that KML input should start with one of the geometry tags like LinearRing, Polygon, etc.
    Additionally, if You manipulated Your KML file and transformed it to simple data without geographic coordinates - spatial reference,
    You can geocode them with par example GEOCODE_ASGEOMETRY function of oracle geocoder.

  • How modify data one view from another view in Cluster view

    Hi,
    I have a cluster view which includes two independent maintenance views. These views have not a direct relationship.
    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view.
    1.
    I have tried to use Extended Table Maintenance Events of the first view to modify the second but I cant access to the TOTAL and EXTRACT tables the second view from the fist view.
    Is there any way to get access from one view to another using Extended Table Maintenance Events?
    2.
    I have tried to use the Event 04/VC: Before Saving the Data in the Database of the cluster view. I can access and modify the second view internal table using routines
    READ TABLE vcl_struc_tab WITH KEY object = 'ZFIRST_VIEW' INTO structab_wa.
    if  not structab_wa-UPD_REQU is initial.
       perform VCL_SET_TABLE_ACCESS_FOR_OBJ using 'ZSECOND_VIEW' changing error_flag.
       it_tbl_second = <VCL_TOTAL>.
       loop at it_tbl_second into wa_second.
         wa_tbl_second-vim_action = 'U'.
         modify it_tbl_second from wa_second
       endloop.
    endif.
    But to save modified entries of the second view to database I have to twice press SAVE buttons.
    The first time I have pressed SAVE above routines are executed and modified entries appear only in the second view internal table. The second time I have pressed SAVE modified entries appear in the database.
    I would like user press SAVE button only once. How I can do it?
    Regards,
    Malnor
    Edited by: Malnor on Nov 30, 2010 9:11 PM

    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view
    Without a dependant field how will you perform this operation ?
    You have to link the fields in the tables, generate maintenance view, add it to cluster view and do it.

  • How to post a data into table from another table

    oracle forms6i
    Hai All
    I have created an form for the purpose of attendance generating. I had a problem that i can post only two data
    I have two tables One table was created dynamically the data in the tables are fetched from text file and they are divided and stored the fields are
    Barcode Bartime Bardate
    000011 0815 08-01-2010-- he come in
    000012 0816 08-01-2010
    000013 0815 08-01-2010
    000011 1130 08-01-2010--- he goes for a break
    000011 1145 08-01-2010--- he again comes in
    000011 1650 08-01-2010
    000012 1655 08-01-2010
    000013 1645 08-01-2010-- he goes home
    From this i need to move these data to the database table the table name is dail_att and the fields are
    barcode, timein,timeout,breakin,breakout,date Like i need like this
    Barcode Timein Breakin Breakout Timeout Attend_date
    000011 0815 1130 1145 1650 08-01-2010
    I have tried using some count function and row count but it is not working Pls let give some good solutions
    The coding is
    declare
         cnt number;
    bar_code varchar2(25);
    bar_date date;
    in_time varchar2(25);
    out_time varchar2(25);
    intr_intime varchar2(25);
    intr_outtime varchar2(25);
    Cursor c1 is
    select count(*),barcode,bardate,bartime
    --row_number() over ( order by bartime ) RN
    from temp_attendance
    group by barcode,bardate,bartime
    order by bardate;
    begin
    For r1 in c1 loop
    --select barcode,bardate,bartime
    --row_number() over partition by barcodeorder by bartime as rn
    -- from temp_attendance
    --group by barcode,bardate,bartime
    -- order by bardate;
         if (cnt <= 1 ) then
    select barcode,intime,intrtimein,introuttime,outtime,attend_date into bar_code,in_time,intr_intime,intr_outtime,out_time,bar_date from dail_att where attend_date = r1.bardate-1;
                   update dail_att set outtime= r1.bartime where attend_date=r1.bardate and barcode=r1.barcode;
              elsif(cnt <= 2 ) then
              insert into dail_att(barcode,attend_date,intime,outtime)
    values(r1.barcode,r1.bardate,min(r1.bartime),max(r1.bartime));
         --     else
              --     update dail_att set outtime= r1.bartime where attend_date=r1.bardate and barcode=r1.barcode;
              end if;
         End loop;
    forms_ddl('commit');
    exception
    when others then
    forms_ddl('rollback');
    message(sqlerrm||dbms_error_Text);
    message(sqlerrm||dbms_error_Text);
    End;
    Thanks & Regards
    Srikkanth.M

    Hai Sir
    Once again thanks for Your Response,
    Sir here i dont want to hard code timing because if there is any change in shifts then we need to change those thing
    So i have tried some thing like this
    declare
    Cursor c1 is
    Select BARCODE,BARDATE,BARTIME
    From temp_attendance
    ORDER BY BARCODE,BARTIME ;
    begin
    For r1 in c1 loop
    if c1% rowcount=0 then
    if sql%notfound then
    insert into dail_att(barcode,attend_date,intime)
    values(r1.barcode,r1.bardate,r1.bartime);
    else
    update dail_att set outtime= r1.bartime where barcode= r1.barcode
    and intime is not null and attend_date=r1.bardate;
    end if;
    else
    if sql%found then
    update dail_att set intrintime= r1.bartime where barcode= r1.barcode
    and intime is not null and attend_date=r1.bardate;
    else
    update dail_att set introuttime= r1.bartime where barcode= r1.barcode
    and intime is not null and attend_date=r1.bardate;
    end if;
    End loop;
    End;
    if it correct pls tell ur comments on this and further changes
    Thanks & Regards
    Srikkanth.M

  • Need Logic for Inserting data into table from another table

    Hi,
    Could you please give me some logic on below:
    TABLE_A has columns A,B,C,D
    What i did
    ==========
    Created new table
    TABLE_1_A with columns A1,A2,B1,B2,B3
    Requirement
    ===========
    I should populate columns A1,A2 (table TABLE_1_A) with the data from column A (table TABLE_A)
    & simillarly populate columns B1,B2 with the data from B.
    the data is huge in the table_a.
    Database: 10g
    Thanks.

    Hi,
    Here's one way:
    INSERT INTO  table_1_a
            (a1, a2, b1, b2)
    SELECT      a,  a,  b,  b
    FROM      table_a
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    If you're asking about a DML statement, such as INSERT, the sample data will be the contents of the table before the DML, and the results will be state of the changed table(s) when everything is finished.
    Explain, using specific examples, how you get those results from that data.
    See the forum FAQ {message:id=9360002}

  • [Solved] How to recover the package list from another installation?

    Hello,
    I supposed gparted could make a fine result by moving the partition, but it didn't.
    I was doing that on an USB installation, now fsck recover partially my partition, but mostly many files are gone. It seems that pacman databases are saved, then I would like to recover the list and try to reinstall all packages.
    I can't enter by chroot on that partition, bash fails.
    My attempt is to use pacman -r /mounted/partition packagelist, if I'll get the list, then it mostly possible to regain chroot access
    EDIT
    I got a flashback and I applied modifications in a temporary pacman.conf. In that configuration I modified the paths to all file used by pacman to reflect the other installation.
    Finally I could get the list, but I didn't go for an update, because the installation was too old. I'm doing a fresh install with the recovered package list.
    Last edited by TheSaint (2013-08-02 09:39:59)

    I'm entirely agreed with you.
    Some time I fail to remember such things. I don't regret much the loss, it was just a support installation for emergency cases. Home is safe in another partition
    However it is a good exercise to rescue the package list.

  • How do I recover data after update from iOS 4to iOS 7

    I just spent several hours making a backup of an iPhone 4S working on iOS 4 before upgrading to iOS 7 in order to use a specific APP.
    After the upgrade and restoring the backup I have lost all my old apps and associated data.
    I am sorely tempted to change to an android phone, unless someone knows how to restore the data in full?

    Stop using the drive immediately, un plug it.
    Buy a copy of ProSoft DataRescue 4 and use it to search for deleted files.

  • How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility

    How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility?
    Last night i was using my external hard drive, for some reason the folder just closed and i couldn't find it on my desktop.
    After googling solutions, i found it in the disk utilities, i clicked on the 'repair' button many times, but it said the 'error...' message.
    So i ejected it to try again, now when i connect the USB external hard drive it doesn't show up on my desktop or disk utilities.
    I really just want to either repair or recover the data on it because it literally has everything (documents, work files, photos etc) on it,
    I downloaded an application to recover my files but it needs the USB to at least show up.recognise it which mine doesn't.
    I know i should've backed it up on another USB, this definitely teaches me for next time to back up all my files.
    Are the files lost forever or can i recover them by going to a shop or using a software?

    Thank you for responding.
    This might sound stupid since i'm not really knowledgeable with Macs,
    but since all my files were moved from my mac computer to the external hard drive,
    is it possible to recover those files through my Mac - like recovering deleted files? 

  • Recovering data from HD ????????

    Hi
    My HD died on my G5 a few months back
    I am wondering if it would be possible to recover data from it
    The situation is this
    I had the idea that maybe if i start up my G5 whilst pressing T & connecting it up to my Macbook Pro via firewire 800 I might see the drives & be able to get files off there
    I didnt see the drives on the desktop but if i opened Disk Uility both drives on the G5 Are there
    They are both displayed as firewire drives each is named with another name underneath which is greyed out
    I can click on each drive but in repair all options "Repair Permisions, Repair disc ETC are greyed out
    I then tried to boot my Macbook pro with the installation disc & using disc utility from the installation CD with the same resut
    Now if i can get this far I should be able to take it one step further & be able to get data from the HD or am i just grasping at straws
    Any Ideas please ??

    A. I would suggest never use CD or DVD.
    B. Setup a disk drive just for repairs.
    C. Get in the habit of using backup like SuperDuper
    If you are running Leoaprd, use TimeMachine in addition to SuperDuper. SD makes an update that is bootable. And you want to insure it works.
    Data Rescue II from Prosoft sounds like a good idea.
    I would pick up a couple drives. A new boot drive, and one for backups, and to recover to. OWC has WD 640GB for $69.
    Only use idential drives when creating a RAID, whether stripped or mirror. And yes, some tests treat the volumes rather than the physical mechanism.
    SMART is not that helpful. When you tested in DW, it wrote to system log and shows how many spare blocks are left, used, which can be helpful.
    TechTool Pro is 4.6.2 (5.0 is out also) and can scan a drive for weak/bad sectors.
    You may need multiple backups. An original system and another of your data. When you used RAIDs you need to be doubly sure. And the best way to use maintenance utility is regularly, preventative medicine.

  • Recovering Data from an odb file found on a Dell X51 mobile device.

    I have had a db get over written that wasn't getting backed up and now all I have to recover from is an Ora 10g LIte R2 odb file recovered from a Dell Axim X51. I am wondering what is the best way to recover this data from the odb file.
    Thank you.

    If you have all your odb files + conscli.odb + polite.txt files recovered, you could try to sync the databases from another device. just install oracle lite on some other device, copy all the *.odb + polite.txt into \orace directory on the device and setup odbc.txt file according to your databases (you can use odbc.txt from the crashed device if you also restored it). Then you can try to sync the device - the modified data should be send to server.
    If you wasn't able to restore the conscli.odb file, you'll probably have to write some custom application which will export the data you need...

  • Recovering Data from a deleted Mac partition

    Through no fault of my own, (an IT department at a well know digital data storage company that will remain nameless) I had all the partitions deleted from my hard drive. No data was damaged, but the Mac partition and the FAT 32 I had windows 7 running on with bootcamp were both deleted. My hard drive is now 250 gigs of unallocated space.
    Is there any easy and inexpensive way to recover that data? I'm pretty sure I can't just "undelete" the deleted partitions but it would be nice to get my data off so I don't have to go from the DVD back ups from christmas time.
    Anyway I found Disk Warrior and Drive Genius that claim to recover data but they are both about $100.
    Any ideas?
    Here's the irony of the situation, I was using the utility given me by the IT department while trying to setup a NAS device so I can create regular time machine backups in case anything happened to my lappy. So by trying to get a system working that would help me protect my data, it deleted my data. I would have been fine without it. GRRRR...

    Hi, Take the HDD out and connect it to another system then run R-Studio against it. It can recover FAT partitions and I have used it many times with great sucess.

  • Can I recover data from a reformatted hard drive?  I did not do a back up prior to talking to Apple Support and the guy having me delete the hard drive and start anew.  My bad but is all lost??

    Can I recover data from a reformatted hard drive?  I did not complete a back up prior to talking to Apple Support and the guy having me delete the hard drive (10.5.8) and start anew (10.6.3).  My bad but is all lost?? Years of very important information....

    You will need to purchase reovery sofware such as such as FileSalvage
    http://subrosasoft.com/software/filesalvage
    You can download a demo copy that will tell you what it can recover
    If you want to recover that you must pay for the software then
    When you do the recovery, you will need another disk drive to receive the recovered files
    Having install a new operating system on the disk after the retformat is going to gradually reduce the amount of data that this software will be able to recover for you
    Allan

  • Recover data from external hard drive that was Windows format and connected on a Macbook Pro. Did I lose everything? What happened?

    Hi there this is my first question here!
    I connected my external hard drive originally formatted on PC on my new Macbook. The first time I connected it I could see all my files but today I connected it and after I couldn't see any file nor even on my pc appears as NO NAME with a different name and nothing on it. I think was reformatted, any help to recover all my data?
    It's really important stuff for me

    If the Apple Store couldn't get files off of the drive, it is unlikely that you will be able to. If you have backups, those would be the best way to go. You could also try booting up the computer and holding down T to boot into Target Disk Mode. Plug the broken computer into another one with FireWire and see if it works to recover data from external hard drive. If you can see it, try booting up the broken computer while holding down Option. Choose Recovery HD from the menu, then choose to Reinstall OS X.
    It is unlikely that this will work, because I'm pretty sure that the Apple Store would have tried this. You could try using expensive software to get files off the drive, but it would be risky and the results might not be any good.
    https://discussions.apple.com/docs/DOC-4273

  • How to recover data from bad hard drive

    Once a hard drive goes bad (cannot get into the computer), is there any hope of recovering any data from it?  If so, how?

    Do you mean the hard drive is mechanically broken for sure?  It's not a data corruption issue that is causing a problem with starting up the Mac, but maybe not be a bad mechanism?
    If the drive is definitely broken, there are businesses that specialize in recovering data from bad hard drives.  For example
    http://www.drivesaversdatarecovery.com/  (I always saw their booth at MacWorld Expos...)
    The cost of such services is usually high.
    cannot get into the computer
    So that probably means the hard drive in question is the internal drive?  If you don't know for sure that the hard drive is physically broken, you can try starting up using your Mac OS X installation disc.  Insert disc in optical drive and start up with the C key held down.  When you get to Installer's screen, go up to the menu bar and run Disk Utility from the Utilities menu.  Does the internal drive appear in the Disk Utility sidebar?
    Alternately, if you have another Mac (that has FireWire), you can try starting the Mac with the problem in FireWire Target Disk Mode,
    http://support.apple.com/kb/HT1661
    Connect the "target" Mac to the other Mac (running normally) using a FireWire cable.  Run Disk Utility on that Mac.  Does the hard drive of the Mac in FireWire Target Disk Mode appear in the sidebar?
    If you can get the internal drive to appear in Disk Utility, you may be able to run Repair Disk on the First Aid tab.  There are also third-party utilities, such as TechTool Pro (Micromat), Drive Genius (Prosoft), and Disk Warrior (Alsoft), that may be able to fix (or at least recover data from) the hard drive.

Maybe you are looking for

  • SQL Features for FIM Synchronization Server

    Hi, As we need to Install the FIM Synchronization server  of FIM 2010 R2 SP-1 only. Could you please suggest if all the below sql server features are mandatory to install for FIM synchronization Server.  Database Engine Services Full-Text Search Anal

  • HT1459 How do I restore my ipod when it is in the disable mode. I have try everything.

    i need help restoreing my ipod it is in the disable mode. I have connect it to itunes and it tell me that i need to enter a passcode which i have forgotten. I have tryed the holding the home buttom thing but that want work. What else can i try?

  • Green shadows when scrolling text after calibration

    Hello, I'm having strange screen behavior after calibrating it (I'm using Spyder 3 hardware with both its own software and ColorEyes DisplayPro). What happens is that when the screen is correctly calibrated I get annoying green shadows when I'm scrol

  • Debugging endless loops in Servlets

    Anyone got any neat tricks for this? My loop is in some service methods outside of the servlet class itself, so I don't have access to the servlet log. I suppose I'm going to have to put in icky print statements until I've isolated the problem but it

  • ASP transfer script

    I'm setting up iTunes U for my institute. I've run the initial login email and currently researching solutions for the transfer script. Has anyone come across any ASP solutions for this? Thanks.