Compare system state (number and types of objects in memory)

We have 2 exactly identical servers running our application talking to the same database.
When some obejct from server 1 is deleted, a message is passed to server 2 to delete the object from its cache too.
Forget the database, I want to design a testing system which compares the system-state (number and type of live-objects) in memory for server 1 and server 2 after the operation and the message, and reports any discrepancy.
Any ideas ?

Are you trying to debug a distributed cache implementation?
If you want to inspect the state of your application on multiple servers creating a JMX bean might be a solution.
http://java.sun.com/developer/technicalArticles/J2SE/jmx.html

Similar Messages

  • Can't select number and type of tracks from drop down menu!

    When I create an empty project you are supposed to be able to select the number and type of tracks you want from a drop down menu. This menu worked when I opened logic for the first time. In subsequent new projects this window does not drop down fully and I'm unable to make any selections!
    Can anyone help?

    Thanks for your replies.
    I tried Eriksimon's solution which worked the first time i re-opened Logic, but reverted back to how it was everytime after that!
    As you'll know when you launch Logic you get prompted to choose a template, so i slect empty project, then when the main window opens you're prompted with New Tracks drop down/pop out box. What I should get is a choice of Type - Audio, Software Instrument and External MIDI with another section underneath with Format, Input, Output etc... All i get is Number of tracks to choose and External MIDI as the only option! Even if i create the track any subsequent tracks are all External MIDI, no other options!
    When i installed Logic i left off the Jam packs as i'm short on HD space at the minute, i don't think this would be the cause but it's the only thing i've left out of the installation. If i have to re-install i will, but it took nearly 2 hours!

  • How to export & import interface type data object to memory

    Hi experts,
    My greetings to all.
    we have came across a situation where we need to pass interface type data object to memory
    and import same from memory.
    DATA context TYPE REF TO if_timecontext.
    its not possible with regular export statement.
    is their any other way to do it?
    Thanks in advanced,
    Sudhir

    Thank you saurabhmani & sandra.
    @ saurabhmani : i tried assigning object context to memory (field-symbol) and exporting it to memory, but got runtime error.
    @sandra : XML serialization & shared object concept sounds intresting but as you already checked that interface IF_TIMECONTEXT is missing the required IF_SERIALIZABLE_OBJECT interface.
    Istead of exporting context data object to memory we tried different approch and it worked out for our requirement
    Regards
    Sudhir

  • How to get equipment number and type for given PM order

    hello all,
    i know the PM order number and corresponding object number (like OR9100000175),
    now using these how do i get equipment number and equipment type..
    do i need to use any function module...
    thanks in advance...

    From VBAK table with order number AUFNR, get notification no - QMNUM.
    From QMIH table with this notification no QMNUM, get equipment no - EQUNR.
    And then from equipment master EQUI, you can get the equipment categeory EQTYP from EQUNR

  • System state synchronizations and express full backups of protected 2012 R2 machines overload DPM server.

    I have one DPM 2012 R2 UR2 server which is running on Windows 2008 R2 and 2 protection groups (A, and B). The server uses direct attached storage for all replicas and recovery volumes.
    Group A protects the system state and bare metal recovery of 25 Windows 2008R2 servers. It creates recovery points using express full backup each night at 6PM. The servers range from file/print, SQL, domain controllers, terminal servers, web servers, etc. Total
    data 3TB.
    Group B protects the system state and bare metal recovery of only 3 Windows 2012R2 servers. It creates recovery points using express full backup each night (morning) at 1AM. The servers are 1 domain controller, 1 WSUS server, and 1 server that runs VMware VCenter.
    Total data 90GB.
    During group A's nightly backup, which takes approximately 2 hours, the DPM server becomes noticeably slower but remains functional. I can open Windows update and check for updates, copy files to and from network locations, launch intenet explorer, etc. It's
    stressed since 25 servers are creating backups on it but it remains functional.
    During group B's nightly backup the DPM server grinds to a complete halt. Launching internet explorer takes an hour (literally), 10 minutes will pass before I get a menu after clicking the start button. Basically it becomes completely unresponsive until the
    backups finish which typically doesn't happen because I'm forced to cancel them upon arriving at work...8 hours later.
    I read that DPM uses the built in Windows Backup to protect system state and bare metal recovery. Did something change in Windows Backup from 2008R2 to 2012R2 that would cause this? Why can my DPM server easily backup 25 Windows 2008R2 machines at once in 2
    hours yet freezes solid for 8 hours or more when backing up only 3 Windows 2012R2 machines?
    I left performance monitor running during the night and it showed an average disk queue length of 49 during group B's backup but everything else was normal. Seems the disks on the DPM server are the bottleneck but again I ask why can my DPM server easily backup
    25 Windows 2008R2 machines at once in 2 hours yet freezes solid for 8 hours or more when backing up only 3 Windows 2012R2 machines? Both protection groups use the same disks.
    How can I fix this?
    Teenage angst has paid of well, now I'm bored and old.

    Hi CS,
    You can also run a performance monitor.
    For some basic perfmon counters to help narrow down the possible bottleneck:
    Perf Counters for DPM
    Logical Disk/Physical Disk
    \%idle
    • 100% idle to 50% idle = Healthy
    • 49% idle to 20% idle = Warning or Monitor
    • 19% idle to 0% idle = Critical or Out of Spec
    \%Avg. Disk Sec Read or Write
    • .001ms to .015ms  = Healthy
    • .015ms to .025 = Warning or Monitor
    • .026ms or greater = Critical or Out of Spec
    Current Disk Queue Length (for all instances)
    80 requests for more than 6 minutes.
    • Indicates possibly excessive disk queue length.
    Memory
    \Pool Non Paged Bytes*
    • Less that 60% of pool consumed=Healthy
    • 61% - 80% of pool consumed = Warning or Monitor.
    • Greater than 80% pool consumed = Critical or Out of Spec.
    \Pool Paged Bytes*
    • Less that 60% of pool consumed=Healthy
    • 61% - 80% of pool consumed = Warning or Monitor.
    • Greater than 80% pool consumed = Critical or Out of Spec.
    \Available Megabytes
    • 50% of free memory available or more =Healthy
    • 25% of free memory available = Monitor.
    • 10% of free memory available = Warning
    • Less than 100MB or 5% of free memory available = Critical or Out of Spec.
    Processor
    \%Processor Time (all instances)                                                                  
    • Less than 60% consumed = Healthy
    • 51% - 90% consumed = Monitor or Caution
    91% - 100% consumed = Critical
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Obtaining system form id and type

    Hi all
    i would like to know how can i obtain a system form's id and type? (for activity form forinstance).
    appreciate the help
    Yoav

    Hi Yoav,
    Surely, you can get it.
    oapplication.Forms.ActiveForm.Type
    oapplication.Forms.ActiveForm.UniqueID
    they will return the type and uid of active form.
    Regards,
    Hyunil Choi.

  • System stats - files and memory

    Please accept my apology if this is the wrong forum!
    Is there a way - system calls eg. - to tell how much memory and how many files a process or thread uses? I know I can use /proc to find info about file handles, but I expect there must be a place where the system keeps this information?
    I want to be able to tell from within the program itself - I'm using third party libraries, and apparently they allocate inordinate amounts of resources without freeing them; and they are not about to admit the fault is in their code, so I have to see which resources are in use before and after calling their code.

    Please accept my apology if this is the wrong forum!Yeah, this is Solaris OS question :-)
    Is there a way - system calls eg. - to tell how much
    memory and how many files a process or thread uses? I
    know I can use /proc to find info about file handles,Ugh, what's wrong with it?
    but I expect there must be a place where the system
    keeps this information? It's kept by kernel. The only interface you can see it is prosfs
    or proc tools (man -s1 proc), but these tools query /proc
    anyway,

  • Number and type on WAP for mobile workers

    Hello, dear specialists!
    I have 15 branches of office running under cisco.
    On one of offices our director wants to place 10 employes using iphones for scaning barcodes from our production. They will use wi-fi for connecting to our database and send to it information about incoming production. Maximum number of employes is 30 persons.
    We need WAP which can use PoE without external power supply,and cover about 30x20 meters room wth many iron shelfes
    I read that one WAP can hold up to 10 users who go for video or voice data and up to 25 users how go for MS Office, Browser and so on.
    Will one WAP be enough for covering this location?

    Great! thank you!
    Is it right to play 1142 in the center of the plan on the wall with PoE without external power supply?
    On the last plan the most importiant is to cover huge open area on the top, others doesnt actualy metter...
    I draw pluse field is area that should be covered with wi-fi and red dots are possible places of waps. Where would you advice me to place it?
    The last two pictures in this message are 2nd and 3rd floors of one building. Is it possible to unite them with one Wap?
    Can you please explain why 1142 and not 1042 or single bands?

  • PSV3 Business Information Report - comparing at Group level and Type level

    Good afternoon folks
    I am getting some instances where the summation of the hours for the "Business Event Information" report for a specific business event, when I run it at Event Group level is incorrect; however when run at Event Type level it is correct.
    Eg: business event 50135548 has a schedule of 2 hours.
    When I run the Business Event Information report at event type level it shows 2 hours for this specific event; however when I run it at Event Group levle it shows 120 hours for this specific event.
    Can anybody suggest as to why this is happening.
    Many thanks
    Dawn

    You could do this like this, I think:
    If Sum ({@total}, {@monthName}) = 0 Then
        0
    Else
        Sum ({@Unscheduled}, {@monthName}) / Sum ({@total}, {@monthName}) * 100;

  • Offsetting account number and type (GKONT and GKOAR)

    Hello
    I need to extract these 2 fields into BW. Basically, they fall under CO (Controlling). But I might need them in the PCA cube. Does anyone know if there is a standard extractor to do this? Or how would I enhance the PCA extractor (the key fields and join fields needed to write the code).
    I found these fields in the COEP table, but its too huge. Is there a smaller table where I can get the same info from?
    Any suggestions,
    Srini.

    The only standard content extractors that have this data are related to Asset Accounting, Activity Based Costing and WBS Element costs. As for the link from COEP to GLPCA, so that you can enhance the 0EC_PCA_3 and 0EC_PCA_4 DataSources, I that you're going to have to consult with your FI-CO function consultant or a customer end user that understands the table relationships. If it's possible, it's going to involve multiple typically large volume tables.

  • SSRS 2008 R2 calls Oracle stor proc produces error invalid number or type of parameters

    Hi,
    Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
    Trying to open any report in IE displays the following error:
    Query execution failed for dataset 'ds_MyDataset'. ---> System.Data.OracleClient.OracleException:
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'usp_MyOracleStoredProc'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The simplest example we're using to troubleshoot the problem is a report that has no parameters, which calls an Oracle stored procedure which has no input parameters, and only 1 output parameter (of type "Ref Cursor", the one Oracle needs in order to return the resultset). Even this simple report produces the error shown above.
    I placed a "debugging aid" inside the body of the stored procedure, a SQL insert statement to log to a table, so I can see if the body of the procedure's being executed at all. It never runs. That leads me to think that the error occurs before executing the procedure, when SSRS is probably using something like DeriveParameters() to detect the number and type of parameters the procedure has.
    This leads me to think that when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns 1 parameter (the output cursor). SSRS looks at the number of parameters defined in the report's dataset, and it finds zero b/c the output cursor parameter Oracle uses to return the data doesn't need or can't be defined in SSRS. Then SSRS compares 1 <> 0, and displays the error.
    So, in order to test, I removed the output parameter (the one of type "Ref Cursor") from the Oracle stored procedure, and then the report runs, and the body of the procedure gets executed. There are no errors, but no data b/c the output cursor parameter has being removed from the Oracle procedure.
    This leads me to think that in this case, when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns zero parameters. SSRS looks at the number of parameters defined in the report's dataset, and it matches b/c there aren't any, so SSRS proceeds to execute the procedure.
    Could there be a "miscommunication" between SSRS 2208 R2 and Oracle Client 12 in reference to the number of parameters, b/c with Client 11 all reports work, but with 12 none works?
    Any help with this matter will be greatly appreciated.
    Sincerely,
    Richard

    Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
    Havent' run across that one before but it sounds like more of a problem with SSRS than anything to do with Oracle.
    But what you posted above raises the obvious question: WHY?
    Why did you upgrad the Oracle client to 12c to begin with if you are still using an Oracle 11g database? Major upgrades like that are normally done for very specific reasons so what were they?
    I suggest you test by reinstalling the 11g client and get your reports working again.
    Also - did you install the new version of ODAC to support the new Oracle client? There could be a compatibility issue if you are using a new Oracle client but the older ODAC version.
    ODAC 12c Release 2 installation instructions
    You also need to make sure the bit versions (32 vs 64 bit) match.

  • Urgent : ADO / OraOLEDB gives random PLS-00306: wrong number or types of arguments

    Hi people,
    Using our production environment of Win2K AS, IIS 5.0 --> Win2K AS, COM+ / ADO, Oracle OLE DB 9i --> Solaris Oracle 9i we have a month of trace logs telling us that some calls to our PL/SQL package methods have the "PLS-00306: wrong number or types of arguments".
    Closer examination of our development systems also revealed these errors that seem to occur fairly randomly. (No recompiles in the database [at least according to USER_OBJECT.TIMESTAMP] and no invalid packages or schema objects).
    One call on a session will succeed (so there aren't any obvious syntax or data range boundary issues) and then with no obvious reason, a second call to the same package method will fail with the error message in the subject.
    Anyone else seen this behaviour and know of a fix?
    Thanks
    Lachlan Pitts

    Hi,
    The temp in the package and the temp in the anonymous block that calls the package are two different data types. They (coincidentally) have exactly the same number and type of elements, just as they (coincidentally) have exactly the same name, but they are still different.
    Since the type is declare in the package head, you can reference it from oputside the package. You don't have to create a similar type in the calling block: just reference the package type, like this:
    declare
      v_out pkg_1.temp;
    begin
        pkg_1.DoSomething( 'a', 'b',  v_out);
        dbms_output.put_line(v_out.val1);
    end;

  • Ho to Comapre with Number Data Type

    hi
    My reqt is to do validation in ValidateEntity Method.
    How to compare the with Number Data type:
    For ex: Number a = gatAbc();
    If(a>10)
    throw new oaExcption...
    But while comapring i got compiler Error
    Error(218,17): method >(oracle.jbo.domain.Number, int) not found in class abc.oracle.apps.per.irc.pqr.schema.server.XxabcEOImpl
    So plz tell me how to compare the integer value with Number data type
    Thanx

    Check with float. It will work definitely.
    float number = Float.parseFloat(HrsPerDay); //HrsPerDay is a String and I am converting it to float
    if(( number <= 0) || (number >= 21))
                            throw new OAAttrValException(OAAttrValException.TYP_VIEW_OBJECT,
                                              "xxCopyResourceVO1",
                                              rowi.getKey(),
                                              "NoOfCopies",
                                              rowi.getAttribute("NoOfCopies"),
                                              "PA",
                                              "xx_xx_COPY_POSITIVE_NUM");
                       }Here in this code i am also checking that the Hours cannot be less then 0 and greater than 20.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • System State backup of CA Server 2012 R2

    Hallo,
    I have read an article about
    ‘System state backup does not include CA private keys in Windows Server 2008 or in Windows Server 2008 R2’ 
    http://support.microsoft.com/kb/2603469
    Is this also valid for Server 2012 and Server 2012 R2?
    If yes, is there is an hotfix for the Certificate Server 2012 and Server 2012 R2?
    With kind regards,
    Vi
    Vi

    No, now with Windows Server 2012 and R2, the Windows Server Backup feature can be installed on the CA to create a System State Backup that includes the CA private keys.
    See here for more info:
    Windows Server 2012 Active Directory Certificate Services System State Backup and Restore
    http://blogs.technet.com/b/pki/archive/2013/03/22/windows-server-2012-active-directory-certificate-services-system-state-backup-and-restore.aspx

  • PLS-00306: wrong number or types of arguments in call to 'proc1'

    Hi All,
    I pass OUT paramter values to .NET as in below proc.
    PROCEDURE PROC1
         in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
         result_site_name         OUT     SYS_REFCURSOR,
         result                   OUT     SYS_REFCURSOR
    AS
      my_site_id sites.site_id%TYPE;      
      my_lane_numbers_string VARCHAR(100);
      my_site_name sites.short_name%TYPE;
    BEGIN
      my_site_id := get_site_id(in_report_parameter_id);
      SELECT short_name
         INTO my_site_name
         FROM sites
         WHERE site_id = my_site_id;
            OPEN result_site_name FOR
          SELECT my_site_name site_name
            FROM sys.dual;
               OPEN result FOR      
              SELECT site_direction_id,
                      site_lane_id
                FROM site_lanes
                JOIN report_parameters
                   ON site_lane_id = CAST(report_parameters.report_parameter_value AS NUMBER)
               WHERE site_id = my_site_id
                 AND report_parameters.report_parameter_id = in_report_parameter_id
                 AND report_parameters.report_parameter_group = 'LANE'
                 AND report_parameters.report_parameter_name = 'LANE'
           ORDER BY site_direction_id ASC, site_lane_id ASC;
              --   FROM SYS.DUAL;  
    END PROC1;During runtime it throws me the following error
    PLS-00306: wrong number or types of arguments in call to 'proc1'how could i solve this ?
    Thanks in advance.
    Regards,
    Indhu

    Hi, Indhu,
    user10641405 wrote:
    PROCEDURE PROC1
         in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
         result_site_name         OUT     SYS_REFCURSOR,
         result                   OUT     SYS_REFCURSOR
    AS ...During runtime it throws me the following error
    PLS-00306: wrong number or types of arguments in call to 'proc1'how could i solve this ?Call proc1 with the right number and types of arguments.
    The first argument is an IN argument, so it can be any kind of expression, including a literal or a function call.
    The second and third arguments are OUT arguments, so they must be variables.
    If you need more help, post the code that calls proc1 (and causes the error).
    Make sure you include the part of the code where the arguments are declared.
    I'm innocent of .net, so I probably won't be able to help you with that part, but it will be important for anyone who does know .net.
    By the way, is there a reason why you are using a SYS_REFCURSOR for result_site_name, when it will only return one row? A lot of folks would make the datatype of that argument sites.short_name%TYPE.

Maybe you are looking for

  • Iphoto library not loading

    Iphoto has not loaded since about 44 unwanted photos were sent to trash from the library file in pictures. I have since read the piece on tamper. But can anyone tell me if and how I can fix this? The files are still in 'trash'. Cheers.

  • Re-executing a function in IP web: buffer problem

    Hello everybody, we have performed 2 changes to our application: 1. for performance reasons we replaced a FOX function with an IP exit function and 2. to limit the number of entires appearing in F4 (000's) in the web application when selecting mater

  • HT3275 Airport Time Capsule - Password Retrieval

    I have an Airport Time Capsule. When I went to add another computer it to be backed up, I couldn't remember the passcode I used in initially setting up the Time Capsule. How does one retrieve it?

  • Pages does not update

    The current (31 Dec 2013) version of Pages is 5.01, my MacBook has version 4.3.  The App Store does not show any update and says for Pages "Installed". How can I update to the current version?

  • JAI pixel value after dct operation

    Hi. i've recently start to programming with JAI. I've applied the dct Discrete cosine Transform to a source image. My Problem is the follow: "How can i obtain the RGB value of each pixel from the resulting dct image". Here's the code: String filename