Howto manage object-livecycle in distributed systems?

Hi there,
I am currently working on a distributed clients-server system where a GUI resides on the clients whereas the programmer programs to server-side dummies like the GUI would be running local.
Therefor I map between client-side-Implementation and server-side-dummy using object-IDs:
client-side-widget-implementation ------ network (only ID is transferred) ------ server-side-dummy-object
The problem I have is that I would like a system without forcing the programmer to explicitly dispose an object (since both sides don't know wether the object is still visible on the other side). How did RMI solve this issue and are there some clever designs to avoid this problem?
Thank you in advance, lg Clemens

There are only three possibilities: dispose/destroy, timeouts or wait for GC.
And timeouts are probably required regardless.

Similar Messages

  • CRIO Doesn't Show Up In The Distributed Systems Manager

    All,
     Any idea why my cRIO wouldn't show up in the distributed systems manager? I'm running Real Time 3.2.1 and I've already deployed my shared variables. I can see the cRIO through MAX and with my project just fine.
    - Ken 

    Hi Ken,
    I have a couple of questions/things we can try:
    1.  How are you connected to the cRIO? (Crossover, switch, router with DHCP)
    2.  Are you able to manually add the cRIO by IP Address to My Systems?  (Right-click My systems, select Add Systems..., type in the IP Address and select OK.)
    3.  Are the shared variables hosted on the cRIO?  If not, do you see the Shared Variables in the Distributed System Manager?
    4.  Try enabling CPU Load Monitoring through the cRIO Target Properties in the LabVIEW Project (Right-click cRIO, select Properties, go to Miscellaneous and check Enable CPU Load Monitoring, deploy the settings and reboot the cRIO).
    5.  If you already had Distributed System Manager, does pressing F5 to refresh help? 
    Finally, I would like to know what version of Distributed System Manager/LabVIEW you are using.

  • Credit Management in Distributed Systems

    Hi All,
    Could you please explain what triggers outbound DEBMAS idoc from central FI system to Sales System.?
    We are about to implement Credit Management in our distributed systems.
    I would like to know, how frequently credit limit data is sent from Central FI system to Sales System. What triggers these outbound Idocs generation? How customer masters to be sent is determined.?
    Thanks in advance.
    Regards,
    Ravi Kumar

    Hi All,
    Could anyone please advice.?
    Thanks,
    Ravi Kumar

  • Distributed System Manager SysMan ACL.acl

    I've managed to lock myself out of the Distributed System Manager. 
    The help file http://zone.ni.com/reference/en-XX/help/372572A-01/sysman/ni_acl_db/ says to reset security settings remove the SysMan ACL.acl file from the default LabVIEW Data directory.  I cant find it
    I've completed a search on my hard drive and found no file with an .acl extension
     I was logging in and out trying to get the Shared Variable Engine operating correctly and for some reason I decided it would be a good idea to add a new host.  A message along the lines of "Changing this setting will no longer allow (Nobody) to log in"  It was a Friday afternoon and I presumed that as it was trying to log in with the User (Nobody), this was why my Shared Variable Engine would not connect to my OPC Server
    Now the host name I changed it to does not work.  It says the user is invalid.
    Any ideas how to reset the host settings so I can at least get in?
    Alan

    Hi Tony
    Thanks for your help
    See attached I went to Actions>ConfigureSecurity>then selected add New User/Host
    Then checked configure new host and typed in the username of the PC.
    Not the cleverest thing Ive done recently
    Alan
    Attachments:
    Doc6.doc ‏44 KB

  • RT Target Resources and Distributed System Manager

    Hello all,
    Does anyone know of some potential reasons why an RT target might not publish its CPU and memory usage?  This particular target is a cFP-2200 running a complete installation of FieldPoint 6.0.2 (RT 8.6) including System State Publisher.  For some reason I can't view the memory usage on this target and I haven't been able to figure it out.
    Thanks in advance,
    Jim

    Hello Hillman,
    Thanks for your reply!  I sort of
    figured that this one would go by the wayside and not be answered. 
    Actually, I'm not using RTSM; I'm using the Distributed System Manager
    - It's a relatively new tool that ships with LabVIEW RT 8.6.  In my
    humble opinion, I find it to be much superior to the RT System Manager
    in its own way.  The only downside, really, is that you can't log with
    it natively, but there are ways around that.
    You've
    got some great suggestions.  I definitely was using the correct IP, I
    could target it with LabVIEW because I loaded my application on there,
    and I didn't get any boot errors when I connected.  You're absolutely
    right, too, that the CPU is always maxed out at 100%.
    I
    guess I was perplexed because, one moment I could see the resources in
    DSM (is that acronym valid yet?), and after I reloaded the software
    from scratch, I could see lots of variables on the target, but for some
    reason the system resources weren't showing up.  After no one jumped on
    the question, I went back to tweaking various settings and realized
    that I hadn't rebooted after enabling VI Server.  In fact, I didn't
    think that VI Server would be the issue and hadn't really thought of
    checking there.  My reasoning followed that, if all of the other
    variables showed up, surely it wouldn't be VI Server, but that fixed it.
    I definitely appreciate your getting back to me, though.
    Cheers,
     Jim

  • Shared variables missing in distributed system manager

    I have multiple shared variables in a library (.lvlib).  These are all network-published shared variables.  I can see the library in Distributed System Manager but not the variables in the library.  When I look at the properties page in Share Variables Properties Dialog, aliasing is not enabled because the library is hosted on the same machine as the application. 
    I tried to run the Shared Variable Monitor application but was given a Runtime Error for TagMonitor.exe; "This application requested Runtime termination in an unusual way.  Contact application support team."
    I also tried undeploying and deploying the library as suggesting by KB 56PCQ3RR.
    Why does Distributed System Manager see the shared variable library but not the shared variables in it?

    Hello faustina,
    Has there been any software or hardware changes on the application since the error occurred? Also I would recommend to format and reinstall the software on your Real-Time target, after this you can follow Matt’s recommendation to test this behavior with a new project and single shared variable.
    Regards
    Jose R

  • How to uninstall NI Distributed System Manager 2012?

    Hi,
    My PC started off with LabVIEW 2012 and related modules. After I installed LabVIEW 2013, I uninstalled all the 2012 software that I could find (that aren't dependencies of any 2013 software) through the "National Instruments Software" dialog. However, Distributed System Manager 2012 persists in my system, alongside DSM 2013. How can I remove DSM 2012?
    Thanks!

    Hi Ranjeet,
    I don't remember seeing the installer upgrading my DSM, but I might have missed it.
    After I installed LabVIEW 2013 and other newer software, I restarted my computer because the installer asked me to. After that, I used the National Instruments Software dialog to uninstall LabVIEW 2012 and other older software. Then, I restarted my computer again:
    There were no error messages, but there are now two versions of DSM in my Start menu (you can see all the default icons placed by NI installers):
    All the DSM files are still in my computer:
    I can launch both versions. Their "About" boxes show that they are two different versions:
    How do I uninstall DSM 2012?
    Thanks!

  • OPC server trouble seeing tags in NI Distributed System Manager

    I have created my own OPC server for simulation purposes.  If I create an I/O server and select my OPC server I can then "create bound variable" in which I can browse my OPC tags which are all in there.  I use another program which makes use of property nodes to acquire a list of paths to these tags.  The list is empty.  I noticed that when I run the "NI Distributed System Manager" I can see the I/O Server but the sub tree doesn't show my tags.  If I got them to show up in "NI DSM" then I could get a list of tag paths.  Does anyone know why my tags would show up in the "created bound variable" window and not the "NI DSM" window?  I have tried deploying the library that the I/O server is in but this doesn't work.
    Thanks
    Matt

    Thanks for the reply Charris,
    I have two OPC servers.  One is the simulator and one that I connect to at a remote location which required some OPC client software (some service in windows registry which I am not familiar with). All I know is that I can browse all tags on the remote OPC server by first creating an I/O server (yes I use OPC client) and selecting "create bound variables".  Before I bind any shared variables to OPC tags I can go into DSM and see all the tags that are not yet shared variables.
    When I try doing this with the simulator, I first create the I/O server before I can browse all the tags in "create bound variables".  But this time when I go to the DSM, they are not listed under the I/O server.  This is just an observation.
    My real problem is that I use this piece of code found on the NI website to get a list of tags (URLs).  This code works with the remote OPC server but not with the simulator.
    I don't really understand the code.  All I know is that if I input the name of the library and the name of the I/O server as well as the path to the PC, it brings back a list of URLs pointing to tags.  Maybe there is something in this VI you can help with.
    Thanks
    Matt
    Attachments:
    Get Tag List.vi ‏38 KB

  • CompactRIO distributed system manager.

    We are using CompactRIO and would like to access each module and monitor the I/O values using distributed system manager.
    When using Scan engine mode we were able to see the modules. Now are we are using FPGA mode and cannot see the modules.
    Is there a way to use distributed system manager to access the modules using FPGA mode ?

    blindbrooks,
    Unfortunately, this is not possible, due to the way Scan Mode and FPGA Mode work.  Scan Mode is a precompiled bitfile that accesses each channel of a module in the chassis, and then publishes the values to the RT target, where they are hosted in a special Shared Variable called an I/O Variable.  This is why you are able to automatically see each of the channels in Distributed System Manager (DSM).  However, in FPGA mode, this is not the case, as you are creating your own bitfiles, and not explicitly setting the values into Shared Variables.
    If you do want to see values from your modules in DSM, you can manually publish your data to a network-published Shared Variable, which would then appear in DSM.  This article goes a bit more in depth into shared variables:
    http://zone.ni.com/devzone/cda/tut/p/id/4679
    Drew T.
    NIC AE Specialist

  • No element type defined for object type BSEG and system / Disp Management

    Hi all,
    I get the error message
    No element type defined for object type BSEG and system ...
    Message no. UDM_MSG006
    when I try to save a dispute case.
    What do I have overlooked in config?
    Thanks
    Hein
    Points guaranteed as always.

    Hi Sai,
    I have configured the standard settings in there.
    When I add 2 customer-disputed objects from 2 different customers I get that error.
    Any solution to this?
    Thank you!

  • Error in Export of ABAP+JAVA  Distributed system

    Hi
    I am exporting an ABAP(ECC 6.0)+JAVA Add-in system .
    I have started the database instance export from the database instance host .
    I am geting the following error :
    An error occurred while processing service SAP ERP 6.0 Support Release 3 > Software Life-Cycle Options > System Copy > MS SQL Server > Source System Export > Distributed System > Based on AS ABAP and AS Java > Database Instance Export( Last error reported by the step :uncaught exception: nw.usageTypes.utlError: Execution of UTL tool 'D:\j2sdk1.4.2_13-x64\bin\java.exe -classpath D:\usr\sap\ERS\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    sdsapdbsbx1/sapmnt/ERS/SYS/global/security/lib/tools;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/antlr.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/exception.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/jddi.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/logging.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/offlineconfiguration.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/opensqlsta.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/SDMutil.jar;D:/usr/sap/ERS/SYS/global/sltools/sharedlib/SLUtil.jar;D:/usr/sap/ERS/SYS/exe/nuc/NTAMD64/mssjdbc/sqljdbc.jar -export -type=keydb "-expfile=C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=ERS -dsn=jdbc/pool/ERS -ssprops=D:/usr/sap/ERS/SYS/global/security/data/SecStore.properties -ssk=D:/usr/sap/ERS/SYS/global/security/data/SecStore.key' aborts with return code 1. Check 'UTL_load_usages.log' and 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/UTL.java.log' for more information. (in script unknown, line 0: ???)).
    The file UTL.java.log is as follows:
    java version "1.4.2_19-rev"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_19-rev-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_19-rev-b07, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    Please help.
    Regards
    Ratnajit

    Hi
    with 1.4.2_18 and 1.4.2_19 we are currently having massive stack overflow check the below link for more clarifications
    X64 java 1.4.2_18 for SAP
    Regards
    Uday

  • I need help about distributed systems

    Dear guys...
    I search for answer about these question but not found the answer ,please help me?
    1.What are the main objective and key issues of distributed systems address by Java EE and who can benefit from this system compared to other systems?
    2. what is about Java EE based on distributed system evaluation criteria such as transparencies, reliability, security, performance and etc. I need summary?

    oh .

  • Installation ERP 6.0 EHP4 on a distributed system

    Hello,
    We are in process of the ERP 6.0 EHP4 installation (abap only) on a distributed system. The database is already installed (MaxDB). After that we installed the ERP6 EHP4 from the DVD ERP 6.0 EHP4 READY. After the installation was successfully done, we found out that the EHP4 was not installed, just the ERP 6.0 (600). So why the sapinst did not ask us where he can find the EHP4 packages?
    If we tried the installation with sapinst as a central system (host and db on same server) it asks about the installation export of the EHP4. So thats a little bit strange..
    Any ideas?

    Hi,
    When you install ERP 6.0 EHP4 system then first EHP4 Ready system will be installed in which all netweaver base components like SAP_Basis, SAP_ABA etc. will be on 7.01 release and all ERP components will be on 600 release. And this system is called as EHP4 Ready system. After that you have to upgrade your EHP4 Ready System to EHP4 level.
    This restriction applies because when you will upgrade EHP4 Ready system then you can upgrade only those Technical Usage which you want to use on the system instead of upgrading all components. So, When you will upgrade your EHP4 Ready system , then you have to download packages & stack xml file from MOPZ in solution manager. In MOPZ you have to select Central Components which is mandatory and it contains SAP_APPL and EA-APPL package, once it will be upgraded to 604 level then your system will be EHP4 system. If apart from Central Application technical usage, you want to install any other Technical usage then you can select them in MOPZ and can upgrade in one go.
    For more information, check Technical FAQ and How to install eHP4 document on http://service.sap.com/erp-ehp.
    Thanks
    Sunny

  • Howto determine Object size in memory?

    HI there!
    I know the JVM has a function which prints out a list of all obejcts currently instantiated with the object size and the number how many objects of this type are alive, but I dont know anymore howto enable this feature.
    My Profiler does not show this information :-(
    Any ideas?
    Thanks in advance, lgClemens

    Read in another thread that you coudl do like this:
      public static long calculateMemoryUsage(ObjectFactory factory) {
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        long mem0 = Runtime.getRuntime().totalMemory() -
          Runtime.getRuntime().freeMemory();
        Object handle = factory.makeObject();
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        System.gc(); System.gc(); System.gc(); System.gc();
        long mem1 = Runtime.getRuntime().totalMemory() -
          Runtime.getRuntime().freeMemory();
        return mem1 - mem0;
    public interface ObjectFactory {
      public Object makeObject();
    }Gil

  • Updating Connection object HOUSE_NUM1 in the system

    Hi,
    I need to update Connection object HOUSE_NUM1 IN THE SYSTEM.
    Can you suggest me  a function modjule fkor the same.
    The standard function module ISU_S_CONNOBJ_CHANGE says coding for no dialog will be included if required.
    Regards,
    Jyothsna

    Hi Jyothsna
    I was a little bit surprised as well to see this comment instead of the necessary code for background processing.
    However, it is not overly difficult to create your own function to do so (if you don't want to change the classification).
    First have a good look through ISU_S_CONNOBJ_CREATE and create the new function with following calls:
    ISU_O_CONNOBJ_OPEN
    Here you have to populate the structures ADRC_STRUC and EHAU
    ADDR_ACCEPT_REG_DATA_ERROR  (optional)
    ISU_CONNOBJ_CHECK
    ISU_O_CONNOBJ_PREPARE_CLOSE
    ISU_O_CONNOBJ_ACTION
    ISU_O_CONNOBJ_CLOSE
    If you only want to change address information you could use functions from the central address management, of course.
    Yep
    Jürgen

Maybe you are looking for

  • Condition Type issue

    Hi, i have assigned 3 vendors to one customer master , 1 vendor to another customer master & No vendor assigned to another customer Vendor partner functions Z1, Z2,Z3 i have created 3 condition Types ZCO1, ZCO2,ZCO3 as a commission Percentage and als

  • Airport Dual Ethernet connecting to DSL.

    My normal system is a Windows XP PC connected to 2wire dsl router from SBC. My wife has an iBook(the white one)that we are trying to get connected to the internet using an Airport Dual ethernet. THe iBook has a wireless card installed and before I mo

  • Changing document type for invoice

    hi i posted invoice with doc type vendor invoice in detailed tab then i reverse it credit memo by mistake i used doc type vendor document then i again invoiced with doc type ven invoice now i want to change the doc type of reverse from vend doc to ve

  • Function of lot size PB,FS.

    Hello SAP Gurus,    Can you help in understanding the function of lot size PB(period lot size=posting period) and FS (Fixing and Splitting).      I mean i what to know how these lot sizes works.With this also share that where can i get study material

  • Test Run with BAPI_PRICES_CONDITIONS

    Hi, I am using BAPI_PRICES_CONDITIONS in my program to create pricing conditions. BAPI is working fine and it creates pricing conditions.  I can see them in VK13 and in table A9**. The surprising thing is - this BAPI creates pricing conditions in dat