Instrumenting arbitrary POJOs as Model MBeans on the fly

The open-source project Model MBean Instrumentor
deals with instrumenting arbitrary POJOs as JMX Model
MBeans on the fly. And it works.
[email protected]
Have fun,
wiedkla

Sorry,
URL is
http://jsesoft-mmbi.sourceforge.net/
wiedkla

Similar Messages

  • Error On-The-Fly with ProcessOneResult [Error Code: -2147024882]

    TestStand 4.2.0.134
    Have you seen this error before?
    I have a top sequence that starts 32 executions via a process model with On-The-Fly activated.
    It generates maybe 1 or 2 results per execution every 5-10 minutes and the execution is set to run for 48 hours.
    On 32 UUTs, 22 had the error:
    14 failed at the same time (at the 20th hour approx).
    6 failed at the same time (at the 26th hour approx.)
    2 failed at the same time (at the 46th hour approx.)
    10 passed successfuly.
    An error occurred calling 'ProcessOneResult' in 'ITSOnTheFlyReportGen' of 'zNI TestStand On-The-Fly Report Generator' Source: TSOTFRG [Error Code: -2147024882, User-defined error code.]
    Do you have any ideas what I should look for or have you seen this error code before?
    Are 32 execs for 48 hours might be too much for TestStand?
    The log file is 769 kb at the end when the 48 hours run successfully.
    Thank you.

    Hi MatLaroche,
    This error that you are receiving is most likely due to running out of memory on your machine as it is filling up with these hours and hours of report data.  How much RAM do you have on this machine and are you running a 32-bit or 64-bit operating system?  You could run a memory monitor which logs the memory usage over this period to observe if this is in fact correct.  One solution to consider will be to enable the Conserve Memory and Only Display Latest Results feature within report options.  This feature is described here:  http://zone.ni.com/reference/en-XX/help/370052J-01/tsref/infotopics/db_report_options_contents_tab/.  As described in the help documentation, you must enable the Discard Results or Disable Results When Not Required by Model option to use this as well.
    Justin D
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • How to add process model results to the sequence file results?

    After my sequence file runs, I would like to add some additional results using the process model. I need to log my equipment list which is obtained by the process model. Alternatively, I could add a sub-sequence to the end of each of my sequence files for doing this, but that would create maintenance problems if I ever needed to change the way equipment is logged. Does anyone know a way to (1) append process model results to the sequence file results or (2) force each client sequence file to call a sub-sequence before returning to the process model.

    Mark -
    The report and database process model routines expect a single subsequence step result that invoked MainSequence. This result contains the results from the sequence call.
    In TestStand after the process model root sequence call to MainSequence is performed, the property Locals.ResultList[0] is the MainSequence result. The subproperty Locals.ResultList[0].TS.SequenceCall.ResultList contains the results from the steps in MainSequence.
    One option is to create a subsequence call in the process model that logs the equipment info in the results for its steps. The call to the subsequence should not be checked to record results.
    This subsequence would have a parameter called ResultList. The Result type does not exist in the Insert menu, so you can only create the parameter by copying the empty Locals.ResultList and pasting it in the parameters. Then change its type from By Value to By Reference.
    In the setup of the subsequence, add the following steps which do not record results. These steps rename the Locals.ResultList parameter to ResultListOrig, and then create a new Locals.ResultList alias property that really references Parameters.ResultList. This way any additions to the Locals.ResultList really append to the Parameter.ResultList.
    Setup
    Step: "Rename Locals.ResultList"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultListORIG"
    Record Results: False
    Step: "Create Alias in Locals"
    StepType, Adapter: Actioin, Active-X
    Description:
    Action, Call PropertyObject.SetPropertyObject ("ResultList",
    0x201 ' Not Owning and Create, Parameters.ResultList)
    Record Results: False
    In the Main steps, you add your equipment info steps which record results.
    In the Cleanup steps you undo the steps performed in Setup.
    Cleanup
    Step: "Delete Alias in Locals"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Call PropertyObject.DeleteSubProperty ("ResultList",
    0x400 ' Refer to Alias)
    Record Results: False
    Step: "Rename Locals.ResultListORIG"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultList"
    Record Results: False
    I have attached a TS 2.0 version of SequentialModel.Seq that has a AppendResults subsequence in it and this is invoked after MainSequence in Single Pass entry point.
    Hope this helps...
    Scott Richardson (NI)
    Scott Richardson
    National Instruments
    Attachments:
    SequentialModel.Seq ‏174 KB

  • Instrument identification in process model

    Hi All,
    I have a set of Instrument using LXI,VXI,PXI,MXI and GPIB buses. I have the code module in Labview to indentify and initialize the instruments. I need to identify the instuments every time the Test sequence is loaded,hence i'm thinking to modify the process model to do the same.
    But i don have any idea,where to integrate my code module in process model. I require some suggestions for the same.
    Thanks in advance
    Regards
    VDC

    Hi VDC,
    I have tried the mentioned Callbacks. All workes as assumed. I figured out that SequenceFile callback ist probably not the best for you because you can not give the instrument handel to your running execution(uut) with a SequenceFile Global (OK there are other solutions but i think they are too deep or not effectiv.)
    I think you should try Pre and Post(for Cleanup Handles) UUT Loop
    Just try the TS4.0 example
    Greetings
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
    Attachments:
    DemoSeqFileCallback.seq ‏7 KB
    DemoUutLoopCallback.seq ‏8 KB

  • Satellite Pro A300D - What is the model number for the keyboard?

    My husband managed to dislodge a keycap on my keyboard, and broke the white scissor clip that holds hit on...(don't ask me how)
    He spoke to the authorised service centre here in Norway, and they sent us replacement scissor clips (actually they sent an old non-functioning keyboard) but the clips are of a different design to the ones on my laptop.
    I was wondering if anyone has an idea of the model/serial number of the keyboard used in the Satellite Pro A300D-151 (PSAK9E) so I can get the correct replacement part.
    I really don't want to have to replace the whole keyboard when it's just 1 of the scissor clips that is broken...the laptop is only 5 months old.
    Here are some photos of the scissor clip in question & the where it attaches to the keyboard (sorry about the quality)
    Link:[http://img31.imageshack.us/gal.php?g=1000683o.jpg]
    Thanks
    notsure

    Hi
    Sorry buddy but its not possible to exchange some single keys on a keyboard so in this case you must replace the complete keyboard. But normally this should not be so difficult.
    Either you exchange the keyboard yourself or you sent the notebook to the authorized service provider.
    The model number for the keyboard is not known to me but contact your ASP!! They can order all Toshiba parts and they should know the right part number.
    Bye

  • Can i Bind more than one Model object to the Custom controller or not

    Hi All, I trying to bind more than one model object to the custom controller, Both the model objects contains same attribute name called ( output). Both model objects created on to top of the BAPI. So when i bind first model object to the custom controller will work fine. When i am trying to bind the second model object to the same controller. This second model object also having the same attribute name called "output" . So it is giving an error of "Duplicate context element "Detail". Rename or uncheck duplicate elements.
    can i assign more than one model object to the single controller or not?
    But in the reference document, it has given that , we can create model object with more than one bapi.So in this case if both the bapis contains any element with the same name will also be problem. Any body give me the solution.
    Initially we have created one custom controller for each model object. But later i realized that, why con't we use same controller for all the model object. Because, the custom controller context is the public context. this context shared across all the view controllers.
    The concept which I am trying to do is right or wrong?

    Hi Vishal,
    of course, you can bind one controler to many models. When the same name occours you can simply RENAME binded node in controler.
    Regards
    Bogdan

  • Best practice for modelling rediects using the threat modelling tool

    I'm in the process of modelling systems using the threat modelling tool.
    There services in question do a lot of redirecting and handing off to one another on the client side, including things like ACS and identify providers.
    If Web App A redirects to Web App B what is the best way to draw this?
    1) App A (process) > HTTPs redirect > browser > request > App B (process) or 
    2) Can I just model it as HTTPS from A to B?
    Obviously 2 simplifies diagrams hugely , but does that then exclude a range of potential threats or does the tool cater for this implicitly?

    Storing documents outside the web root and using
    <cfcontent> to push their contents to the users is the most
    secure method.
    Putting the documents in a subdirectory of the web root and
    securing that directory with an Application.cfm will only protect
    .cfm and .cfc files (as that's the only time that CF is involved in
    the request). That is, unless you configure CF to handle every
    request.
    The virtual directory is no safer than putting the documents
    in a subdirectory. The links to your documents are still going to
    look like:
    http://www.mysite.com/virtualdirectory/myfile.pdf
    Users won't need to log in to access these documents.
    <cfcontent> or configuring CF to handle every request
    is the only way to ensure users have to log in before accessing
    non-CF files. Unless you want to use web-server
    authentication.

  • What is the model number of the processor used in MacBook Pro 13 inch late 2011 ?

    What is the model number of the processor used in MacBook Pro 13 inch late 2011 ?

    Click on the Apple logo in the upper left corner of your screen and select About This Mac. Click on the More Info...  button and you should see what your processor is.

  • What is the model number of the MAcbook Pro 15inch which i bought in 2011 sometime

    What is the model number of the MAcbook Pro 15inch which i bought in 2011 sometime  ... ? i want to check whther it supports WIFI - Direct with my sony TV for screen mirrirong

    Model Number
    A1286

  • What is the model Number for the ipod touch 5g.

    What is the Model Number for the ipod touch 5g?

    http://www.apple.com/euro/compliance/
    http://images.apple.com/euro/compliance/pdf/EU_DoC_A1421_2600.pdf
    It was a tough one.

  • Tcode  PFAL there is no model view for the distribution of HR Data.

    Hi friends ,
    i am facing new problem,i want to send iDOC to other system.
    previeous its working fine.
    but to day  when i open tcode PFAL.
    it give me Error:"There is no model view for the distribution of HR master data"
    what is the solution for that.
    i want to send HR Data.
    its urgent please give me any solution ithat will help me alot.
    thanks in advance

    There is already Distributed Model Created.
    can u give me annother tcode so i can  send Metarial data, by IDOC.
    please help me.
    Thanks

  • How to open the Transported model Object in the Target Portal Story Board

    Hi All,
    How To Transport Applications Modeled in Visual Composer from NetWeaver 2004s to NetWeaver 2004
    I have transported one VC model from Development  portal to Testing Portal. But Once i transported , under the
    PortalContent -> Visual Composer -> Models folder , i am able to see the transport model and the view. If i want to edit that model in the VC story board , I am not able to see that model name in the list when logged into the visual composer Tool of the Testing portal server.
    Is there any thing need to do the work around it.
    And onemore thing, In the development portal server, when i am working on that model , it will be depended on on system object for retreiveing the BAPI data. In the Testing protal server after i transported. , i need to map some system object to run the model in Testing portal.
    What is the work around this to map the system object  with the Transported model in Testing portal server.
    should i need to create the new system object even if the R3 server is same as in Testing portal server also. or the System object need to be create only if the mapped  R3 server is different from the Development portal server.
    Please let me know how to do this.
    Regards
    Vijay

    Hi Marcel,
    Thanks for the reply,
    I have exported the .gml file from the dev server Then i trying to import that .gml file in the production server. when i click on the import file option .it is opening the popup and disappearing immediately with out browsing the file I dont know wht is the problem around it.
    But agin in the production server, i have just opend one existing model. then i clicked on the Import file option. then the popup is allowing me to browse the .gml file. but after i browsed the file,  if say ok, it will be merging with the already opened model itself.
    Can u please tell me , what is the problem, i am not able to browse the file ,when no model is not opened in the VC.
    REgards
    Vijay

  • Accessing Runtime Mbeans from the command line.

    Hi,
    I just wanted to know if runtime Mbeans can be invoked from the command line.
    I tried accessing the ExecuteQueueRuntime mbean from the command line but nothing ever comes back.I am able to retrieve configuration mbeans without errors.
    Do I need to create the runtime mbeans before I can use them ?
    Or I need to invoke these commands via server code only?
    Thanks.

    Can you post the command you are using? I just tried this and seems to work.
    D:\>java weblogic.Admin -username weblogic -password weblogic get -type ExecuteQueueRuntime -pretty
    MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.RMI,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 2
    ExecuteThreadTotalCount: 3
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@3eb934
    Name: weblogic.admin.RMI
    ObjectName: weblogic.admin.RMI
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444704
    Registered: false
    ServicedRequestTotalCount: 87
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.System,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 5
    ExecuteThreadTotalCount: 5
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2cfc8c
    Name: weblogic.kernel.System
    ObjectName: weblogic.kernel.System
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444754
    Registered: false
    ServicedRequestTotalCount: 124
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Non-Blocking,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 0
    ExecuteThreadTotalCount: 0
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d125d
    Name: weblogic.kernel.Non-Blocking
    ObjectName: weblogic.kernel.Non-Blocking
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444764
    Registered: false
    ServicedRequestTotalCount: 0
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.HTTP,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 2
    ExecuteThreadTotalCount: 2
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d260e
    Name: weblogic.admin.HTTP
    ObjectName: weblogic.admin.HTTP
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444814
    Registered: false
    ServicedRequestTotalCount: 0
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 15
    ExecuteThreadTotalCount: 15
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d3a8c
    Name: weblogic.kernel.Default
    ObjectName: weblogic.kernel.Default
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444854
    Registered: false
    ServicedRequestTotalCount: 7
    Type: ExecuteQueueRuntime
    D:\>
    Thanks,
    -satya
    BEA Blog: http://dev2dev.bea.com/blog/sghattu/

  • Does Instrument I/O Assistant only work in the activated version of LabView 8.0 and not in evaluation version?

    I'm using the LabVIEW 8.0 evaluation CD and every time I try using the Instrument I/O Assistant I get this error message "Measurement and Automation Explorer or the Instrument I/O Assistant is not installed correctly. Please install these from the LabVIEW Driver CD." So I tried installing both from the Device Driver CD and still it didn't work. I also tried uninstalling all NI softwares and components and reinstalled everything from the LabVIEW evaluation CD and Device Driver CD and still the same result.
    I was wondering maybe the Instrument I/O Assistant will only work after I activate LabVIEW. Is this the reason why I can't use it or does Instrument I/O Assistant also work even if I'm only using the evaluation version? Please help!

    Glynster -
    Yes, Instrument I/O Assistant does work with the evaluation version of LabVIEW 8.0.  However, you need to install Instrument I/O Assistant from a version of the National Instruments Device Driver CD that shipped with LabVIEW 8.0 (or later). 
    NOTE: The link provided for Instrument I/O Assistant 1.0.1 DOES NOT work with LabVIEW 8.0. It is only for LabVIEW 7.x.
    You will need to obtain a Driver CD to get Instrument I/O Assistant to work with LabVIEW 8.0
    -Tommy

  • What are the Models for all iPod touchs in iOS? And what are the Model Numbers on the back of the all iPod Touch

    I'm trying to figure out what is the Model in iOS for the iPod Touch 1st Gen to iPod Touch 3rd gen, also I'm trying to figure out the model number on the back of it, are you able to check the Model in iOS to see what Gen? Or what is that for?

    Here you go, http://support.apple.com/kb/HT1353

Maybe you are looking for

  • HT1296 How can I stop and delete facebook names and phone numbers from my iphone

    How can I stop facebook names and phone numbers from being downloaded to my iphone and how can I delete the ones that are already there?

  • MIRO Not Allowing Partial Quantity To Be Invoiced

    In MIRO a user can enter 313.00kg or 314.00kg as the invoiced quantity, but not 313.60kg as is on the paper invoice we received. The system gives the error message: "order price quantity cannot be determined automatically." How can I go about solving

  • How to create outside Logging file in osb 11g using log4j.jar?

    Hi all, Currently, i am using osb 11g to develop a system. In the system we need to create a log file using log4j.jar library. This sub-program is working in the osb 10g base but fail to work in the osb 11g base. Can anyone give me some advice about

  • Beryl-settings not working

    When I run 'beryl-settings' in a terminal I get the following error: [n00b@archlinux ~]$ beryl-settings (beryl-settings:5720): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Traceback (most recent call last): File "

  • Adobe PDF download fails for one site

    Upgraded to FF 4.0 and now I cannot download monthly statements (PDF) from Wellsfargo. Had no problem under the last 3.x version. With other sites I have no problems getting PDF docs. Interestingly, I can get the PDF docs from Wellsfargo via Internet