Running a program on a remote system

hii all
i jus wanted to noe if there was any approach using which the one could send a block of code across to more than one remote systems. i also need to fetch the object returned by executing this, back to the server. Can anyone help me with this......

You could use RMI callback technique. You should send a Remote object proxy to your RMI Server so you can call that remote object methods in order to call back to the client. There's a lot of information on the net related to that particular technique.

Similar Messages

  • "Program terminated in remote system NONE: Logon failed" when adding a new table

    Hello,
    I set up a replication flow from a SAP ERP 6.0 EHP7 with SAP ASE 16.0 source to SAP HANA 1.0 rev 82 target
    I am using a standalone SLT system NetWeaver 7.0 with DMIS 2011_1_731 (with SP 1 to 7).
    I have 100 tables to replicate.
    I succeeded to set up replication for 57 tables. These tables are replicating properly.
    Whenever I try to add a new one (with LTRC transaction, Data Provisioning -> Start Replication), the new table is marked as 'Failed' after a little while.
    When I press 'Show Error Log' button I got an obscure error message:
    "Program terminated in remote system NONE: Logon failed "
    I do not understand this message. I checked both on SAP ASE source and SAP HANA target. I am still able to connect against both source and target.
    Can you please tell how to troubleshoot this error.
    Thanks in advance,
    Christian

    First thank you for answering my questions. I really appreciate your answers.
    I rechecked the documentation.
    "Application Operations Guide SAP Landscape Transformation Replication Server Document Version: 2.3 – 2014-07-08"
    Page 29 - 30
    3.5.2.2 Data Transfer Jobs
    This section explains the relationship between the number of data transfer jobs and the number of available background work process.
    Data transfer and data transformation processing on SLT server system is accomplished by the background work processes of the underlying SAP NetWeaver ABAP application server. Each job occupies 1 background work process in the SAP LT Replication Server system. For each configuration, the parameter Data Transfer Jobs restricts the maximum number of data load job for each mass transfer ID (MT_ID). In total, a mass transfer ID (MT_ID) requires at least 4 background jobs to be available:
     One monitoring job (master job)
     One master controller job
     At least one data load job
     One additional job either for the migration objects definition, access plan calculation or to change configuration settings in the Configuration & Monitoring Dashboard
    Example
    If you set the parameter Data Transfer Jobs to 04 in a configuration “SCHEMA1”, a mass transfer ID 001 is assigned. As a result, the following jobs should be in the system:
    1 Master controller job: /1LT/IUC_REP_CNTR_001
     At most 4 parallel jobs for MT_ID 001: /1LT/IUC_LOAD_MT_001_001/~002/~003/~004
    When configuring your data load or replication scenario, consider the following:
     Do not define more data transfer jobs than the number of available application server background work processes. If all available background work processes are already occupied by jobs, any other job will have to wait until a free work process becomes available. This can lead to long wait times until a new activity (for example creating triggers) can start, and can also result in significantly increased latency times for data replication.
     The number of dialog work processes in the source system corresponds 1:1 with the number of data transfer jobs in the SAP LT Replication Server system.
     Besides the work processes allocated by the data transfer jobs you need to provide additional available work processes for controller and monitoring jobs, the migration objects definition, access plan calculation or to perform configuration changes, and so on.
    Sizing for SAP LT Replication Server involves determining how many work processes are required to perform the initial load of data into the target system within an acceptable timeframe, and accomplish the change capturing and the transfer of data changes to the target system within expected latency times.
    Ensure that you add enough additional work processes to allow other required SAP LT Replication Server jobs to run.
    Finally, you map the number of required application server work processes to their system resource consumption (CPU, memory, disc space) using the formulas provided by the SLT Sizing Guide.
    With the simple formula below, you can calculate the number of required application server work processes (WPs) on the SLT Server for each active SLT configuration.
    The number of required work processes can be determined by adding
     The Number of required data transfer jobs ,
     plus one background work process for Central Master (Monitoring) Job (only one per system!),
     plus one background work process for Master Controller Job,
     plus 3-5 additional empty background work processes (recommended per configuration),
     plus approx. 3 dialog work processes (recommended for each configuration).
    Note: A lack of available free application server work processes can negatively affect the data load or data replication processes.
    To summarize everything, the number of 'Data Transfer Jobs' must be set depending of the number of source tables, it is not the actual number of tables.
    Assume that for my 100 tables I use 10 'Data Transfer Jobs' :
    - The number of work processes on the SLT server would be 20. I took the simple formula of the documentation:
    10 data transfer jobs ,
    + 1 background work process for Central Master (Monitoring) Job (only one per system!),
    + 1 background work process for Master Controller Job,
    + 5 additional empty background work processes (recommended per configuration),
    + 3 dialog work processes (recommended for each configuration).
    - The number of dialog processes on the source server would be 10 ( equal to the number of 'Data Transfer Jobs')
    Am I correct ?
    Regards,
    Christian

  • How to run TestStand script on a remote system from a TestStand script?

    I would like to run a test stand script on a remote system from within another TestStand script. How can this be done?

    Hi EyaID,
    I believe you are looking for the Remote Sequence Call feature. Look at this last paragraph in this knowledge base and section 5-18 of the TestStand Reference Manual for more help:
    How can I Call an External Sequence with Parameters when the Sequence is Located on Another Computer...
    Regards,

  • How do I send a command to run a program on a remote computer

    I am trying to use the TCP vi's to send a command to a remote computer on our local area network, so that a program runs on that remote computer. How do I do this, if possible?

    Set one server VI on the remote computer to LISTEN (create listener / wait on listener) continuously for one port. When it receive something, READ the string and see if it is the one that you are expecting. On your computer, set a client VI, which first CONNECT (open connection) to the remote computer (using remote's IP and port number) and then it SENDs a string containing the command.
    Hope it helps.
    p.s.: Uppercase words name the Vis that you should use for this application.

  • Remote run a program and quit

    Besides VNC, any other way to keep running a program on a remote Linux without keep a login? And late user can login to check the status of the running program?

    Well, depends what kind of programs you want to run. Some console programs can be run in the background. For console programs that can't be run in the background, there's Screen. (Some basic info about screen can be found in a link from this thread.) If you mean GUI programs, AFAIK VNC is the only one.

  • Can I find the OS of a remote system using LabVIEW?

    I wish to be able to start an application on a remote system using
    LabVIEW. To do this, I need to know what the OS of the remote system is
    (Windows, Linux, etc). I can ask the user to provide this information
    for me, but is there any way I can get LabVIEW to automatically
    retrieve this information? I know I can use the application node with
    the OS sub-section to get this information for the local machine... is
    there any way I can remotely run this? Would VI server allow me to run
    this, if I turned it into a VI, on the remote system such that I could
    retrieve this information for the remote system? Or is there a neater
    solution I'm missing?
    Cheers,
    M.J.

    Heya... many thanks for the suggestion(s).
    The problem with my case is there's any number of users on the network
    that might be using this, and it could be running on a Windows or Linux
    box, depending on user circumstances, so trying to get a VI Starter
    type application put into the start-up of all machines just in case is
    a) overkill & b) more than I want to bite off So basically I
    need to have the VI running on the machine in order to use VI server is
    what I'm hearing & reading from the help, which essentially my idea
    of dynamically firing off labview & loading/running any VI on the
    remote system just ain't possible... hmmmn.
    Back to the drawing board then, it looks like...
    Cheers,
    M.J.

  • Display files/directories of a remote system (RIO) on a host machine (PC)

    Hello,
    Please assume that we are discussing software built on the standard "Labview FPGA Control on Compact RIO" sample project. The host is a standard PC running LV14 Fall edition, the remote system is an sbRIO-9636 having an SD card and a USB HDD attached. The objective is process control. The process being controlled is not relevant to the question.
    This question is about implementing the following functionality: the user operates a host machine running a Labview user interface vi (UI Main.vi) locally on the host machine. Part of this vi must offer the user a built in dialogue (some express vi or another) or custom dialogue (a bespoke vi displayed on demand). The dialogue must display the directories and files of the remote system which runs RT Main.vi and it must allow the user to select a single XML file on the remote system (which contains some generic configuration information). The name of the file will then be passed to the remote system and the remote system will act to open it and populate some configuration variables.
    I am sure that a widely used solution exists for this problem but I've not found the right words to type into my favourite search engine yet to produce the result. I propose the following:
    1) User clicks a "select config file" button on UI Main.vi
    2) The UI Main.vi event loop enqueues a message on the UI Main message queue based on the value change event caused by the button press
    3) The UI Main.vi message loop enqueues a separate message on to the "UI Command Stream" network stream
    4) The RT Main.vi, RT Loop - UI Commands.vi subvi receives the message from the stream and enqueues it on the RT Main.vi message queue
    5) The RT Main.vi message loop performs some functions to read the disk structures, directories and file names from the RT system
    6) The file and directory name data in (5) is converted to a variant and is passed along with a suitable message into the RT Writer network stream
    7) The UI Main.vi periodically reads the RT Writer network stream (it's in the "monitoring loop") and enqueues the received message (from 6) into the UI message queue
    8) The UI Main message queue populated the UI Main front panel with the data
    9) The user selects the directory and file they desire and clicks an "ok" button
    10) The ok button click causes the event loop of UI main to enqueue a message in UI Main.vi's message queue due to the value change on the ok button
    11) The UI Message loop enqueues a message on to the "UI Command Stream" network stream with the selected fully qualified file name of the selected file as the data (stored as variant)
    12) The RT Main.vi, RT Loop - UI Commands.vi subvi receives the message from the stream and enqueues it on the RT Main.vi message queue
    13) The RT Main.vi message loop opens the XML file and populated the appropriate variables with the configuration options therein.
    The user should be able to cancel the dialogue and avoid using a configuration file but I have not delt with that here.
    Now for the questions:
    1) Is this a logical approach?
    2) Are there any suggestions for a better way?
    3) Any links to some pre-written code that will allow me to impliment all or part of this with minimum effort (I'm thinking here of the dialogue box bit rather than the network streams and events bit as those structures are extant and have lots of bespoke code already in them)?
    Thanks,
    James
    Solved!
    Go to Solution.

    Hi Bob,
    Thanks for your input. You're right I have used network streams. 
    I implimented more or less what I said in my original post. It works. My main objective was to keep all the config stuff, and data for the particular target on the target's SDCard. On reflection that did make my life much harder than keeping stuff on the host. 
    It is more (quite a lot more) involved to keep the config files on the target and send directory info etc. back to the host on demand. If I was to do this again I would probably keep the config files on the host machine and keep them in Dropbox or a Google drive so that if I had more than one host to work from (Work PC, Home PC and Laptop...) I would have all my files with little effort. Still I didn't konw that when I started.
    Thanks,
    James

  • File- XI- RFC produces no output on remote system...

    My RFC call is not producing the output I expected.
    (scenario: file ->XI->remote RFC call)
    When I go into the debugger for the RFC and plug in the
    same values as in my text file, I get no error messages, and
    I get my desired output (creates a Purch Request on remote system).
    However, when set up to run from within XI, there is no output.
    Questions --
    1. Where on the remote system can I look for possible error msgs?
        ABAP dump analysis shows no entries for this RFC
        SM58 RFC log has no entries.
    2. SXMB_MONI on XI shows no error msgs.  Where else can I look?
        No dumps on XI either.

    >. Check if the RFC needs explicit commit, if so handle the same in the receiver RFC adapter.
       Commit is in the RFC.  It works, at least when run in debug mode on remote system.
    >2. Check if there is any conversion exit needs to be done for any field.
         I found some earlier problems with the input file, but fixed them.
         Plugging the same exact values into the debugger nets a result.
    >3. For testing purpose you can try with a sync call so that you will have the return parameter as response so you can debug easily.
          Haven't tried this one yet.
    >4. Did you check the Adapter /communication channel monitoring and is it succesful?
         Yes, the commx channel is working.  I know the RFC is being run, since I had previous
         errors that showed up in the remote systems dumps.  Fixed those problems, but now
         I get no feedback and no output.

  • Extending Dos facility to Remote System

    Requirement
    The Requirement is that The solution should able to execute interactive DOS commands on remote system(windows system) from current system(windows system).
    Constraints :
    �Operating system authentication is not allowed
    �Port opening is disabled due to security reasons
    �Should work over low bandwidth dial up line
    Can anybody throw some idea how to do this in java?

    Requirement
    The Requirement is that The solution should able to
    execute interactive DOS commands on remote
    e system(windows system) from current system(windows
    system).
    Constraints :
    �Operating system authentication is not allowedSo you want to run DOS commands on a remote system without logging on. Sounds nice and secure.
    �Port opening is disabled due to security reasonsUse the MM protocol. It bypasses firewalls.
    �Should work over low bandwidth dial up lineMM protocol does.
    >
    Can anybody throw some idea how to do this in java?

  • Error :No operating system credentials were set for running the program

    i am getting this error when i am trying to execute a shell script in cmc. i got the status as failed, when clicked on that failed message this is what i got
    Title: delete_month 
    Document Type: Program 
    Status Failed 
    Destination: Unmanaged Disk destination properties have been set to the chosen Job Server's defaults. 
    Owner: boadmin 
    Server Used: cms_451.ProgramJobServer 
    PID: 15010 
    Folder Path: Temp/ 
    Remote Instance: No 
    Creation Time: 12/1/2010 7:21 PM 
    Expiry: 12/1/2020 7:21 PM 
    Start Time: 12/1/2010 7:21 PM 
    End Time: 12/1/2010 7:21 PM 
    Error Message: No operating system credentials were set for running the program.
    what might be the reason

    what do u mean by pm application, i didn't get that
    we r  using boe xi 3.1 sp3.on sun solaris
    my exact scenerio  is
    I wrote a shell script to delete the reports which r one month old. the reports generated by the boe r placed in unix machine(in a specific folder for example abc) and my boe server is also on unix .I imported the the shell script into boe.I assigned the path /xx/yy/abc (the path where our reports r stored) to the arguments and i gave the working directory path as the xx/yy/bobj/bobje/data/frsinput/a0_89/ ( this is the path where my shell script is present).after giving these details i am unable to delete any of the content from that folder. I am getting the failed message when i am trying to execute the object in cmc. i am pasting the shell script as well as the error message here if any body knows anything help me. do i need to set anything in cmc or what i need to do
    this is the shell script to delete the files in the specified directory
    #!/bin/ksh
    # set -x
    if [[ $# != 1 ]]; then
       echo "Usage : $0 [Directory Path]"
       exit 0
    fi
    echo "Source directory : " $1
    # To display the list of files more than a month older
    for v_fname in $(find "$1"/ -name "*" -mtime +30 -type f)
    do
      echo "$v_fname"
    done
    # To delete the files of more than 1 month older
    find "$1"/ -name "*" -mtime +30 -type f -exec rm {} \;

  • Printing or exporting  files from remote system running SAP

    Hi to everyone,
    I am trying to print or save exported data from SAP (in Excel)to a remote system where I am working. SAP is running in a remote server to which I am connected. So far I have only been able to print and save in the remote system (where SAP is running ), but can't do it to my printer/PC. It is probably a simple problem but I can't see an answer.
    Thank very much to anyone who can give me a clue.
    Antonio

    check if printer LP02 or similar is defined on your SAP system. It prints via SAPLPD to your local printer.
    To save anything to your local PC - you can use "save to local file" from the report, or WS_DOWNLOAD FM from ABAP.

  • When I try to run EJBclient on remote system I get the following exception

    Hi all,
    I try to run EJB's sample,system is Windows XP,J2SDK1.3.1,J2EE1.3,code is:
    Properties env = System.getProperties();
    env.putContext.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://ysmlj:1050");
    env.setProperty("org.omg.CORBA.ORBInitialHost","ysmlj");
    Context initial = new InitialContext();
    Object objref = initial.lookup("HelloWorld1");
    HelloWorldHome home = (HelloWorldHome)PortableRemoteObject.narrow(objref, HelloWorldHome.class);
    HelloWorld helloWorld = home.create();
    helloWorld.sayHello();
    But on remote system run this Client,I get exception is
    org.omg.CORBA.COMM_FAILURE: minor code: 1398079490 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnectio
    n.java:919)
    at com.sun.corba.se.internal.iiop.IIOPConnection.send(IIOPConnection.jav
    a:980)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStre
    am.java:76)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequest
    Impl.java:91)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.
    java:158)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.
    java:198)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:459)
    at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub
    .java:393)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at MyStandAloneClient.main(MyStandAloneClient.java:27)
    Please help me how to do! My E-mail is: [email protected]
    Thank you!!

    This minor code error may due to different version of JVM in your server and clients. I had same error when i change client JVM version with server version i could solve the problem..
              properties.put(javax.naming.Context.PROVIDER_URL,"iiop://server:1050");
              properties.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
              InitialContext ic = new InitialContext(properties);
              Object objref = ic.lookup("lookup name");

  • Two operating systems in one computer - Running a program

    Hi.
    I have just installed two operating systems in my Thinkpad: windows 8 and windows 7. Is that possible to run a program, say Photoshop, MS Office, installed in windows 8 OS while I am running windows 7? I do not want to reinstall all the programs in windows 8 when using windows 7 because they are still in the same computer.
    I tried to clicked on a program (from W8 Program x86). It asks for serial keys. I entered but it said that i do not have sufficient priviledge???
    One more question:
    I have an external hard drive. Is that possible when I install a program on that external hard drive, instead of internal hard drive, and run from that external hard drive? I mean: I install a program on external hard drive, then run that program in external HD from other computer?
    I hope to have your insight solutions for this problem.
    Thank you
    Solved!
    Go to Solution.

    Basically all more advanced programs cannot be run this way. They utilize registry entries, app data, environment variables etc. hence are tied to the OS they are installed on. 
    Some simple applications, which don't require to be installed or have a portable version will work. This list does not include Office or Photoshop.
    The answer for the external hard drive is the same. You'll need a "portable" application, which doesn't store any OS or user specific information.
    You can look here http://portableapps.com/ for applications that are not tied to an OS.

  • Can't run some programs after system restore to remove virus

    Hi,
    My duaghter's Toshiba had a nasty virus that pretended to be an antivirus software product, that snuck in, between the time her default Norton service expired and I had the time to install Trend.
    Could not remove it using Trend, so upon advice from a friend, decided to do a windows system restore to a point prior to the infection. This worked successfully, and the virus is gone, but now she can't run some programs, I have tried to install Trend again, but that fails as it says that you have to uninstall Norton first. But I can't run Norton, or uninstall it, and some folders on C: are no longer accessible.
    Should I do a complete Toshiba system restore (ie back tofactory settings? This seems a drastic measure, but the issue is beyond my meagre PC skills.
    Thanks,
    Graeme

    Thanks for your reply.
    The main issue is that we cannot run the Norton Anitvirus that came prepackaged with the laptop, and we can't uninstall it either. If you try to perform either action, nothing happens.
    However, when we try to install a new antivirus software, Trend, the install fails because it detects that Norton is installed, and indicates that we must uninstall Norton before we can complete the Trend installation. But we cannot unistall Norton for some reason.
    I am getting my daughter to check what else doesn't work, but Microsoft Office works OK, and most of the games she installed seem to work. I just don't understand why Norton won't work now, and why we cannot uninstall it. I don't know if its due solely to the system restore, or some combination of events. The introductory 3 mont Norton licence has expired some time ago, but it should still let us uninstall. I have also tried to unistall through the Control panel, but nothing happens when I try that either.
    Is there any way to force the uninstall of Norton? Or is a factory reset the only viable option now?
    Thanks,
    Graeme

  • What is the best spec to run multiple programs with photographs?  Includes:  Lightroom, PhotoMechanic, and Internet DAM system?

    What is the best spec to run multiple programs with numerous photographs?  Includes:  Lightroom, PhotoMechanic, and Internet DAM system?
    For a Macbook Pro.  What's the least amount I need to process, upload, download images using these 3 programs?
    Thank you.
    pt

    That's a nice system Kevin, and it will work very nicely with Photoshop.  I do take it that you have 16Gb RAM in Total?
    250Gb SSD is a good size, but you can still run short, and that will affect Windows performance.  When you get your system, instal WinDirStat which gives you a graphic display of everything on your drive, like below. Clicking on any of the large areas will tell you what and where they are, so you can think about moving cache folders etc. to one of the HDDs.
    Leave the Pagefile.sys on the boot drive.  Think about disabling Hyphenate as it takes a ton of space, and too often crashes on wake up.
    My Documents
    Desktop
    Downloads
    Look at Bridge cache
    iTunes backup
    Other stuff like that.
    Think about another 500Gb drive just for Photoshop Scratch.  Drives are cheap as chips nowadays
    Do yourself a favour, and invest $100 in Shadow Protect (or similar if there is such a thing) SP saves incremental backups every 15 minutes (you can set the interval, but it has no impact on performance with a system like yours).  If you have a problem you can mount the back up at any of those 15 minute points, and open files from it.  You can also make a bootable DVD image of your C drive, and be back up and running five minutes after disaster strikes.
    Optimize Performance in Photoshop
    Photoshop CC and CC 2014 GPU FAQ
    For more ideas, swing by the Premiere Pro Hardware forum.  Those guys are serious good at this stuff, and you'll find links tips and ideas.
    Happy computing, and have fun with your Creative Cloud® apps.

Maybe you are looking for

  • Use of Spl GL in document parking

    We have a defined Spl GL for Salary Advance as "S". Advances are paid as down payments and the recovery happens through the monthly payroll processing. This is not through SAP and we only pass a JV through F-02. This JV contains line items with Spl G

  • Valuation Class / GI and Profit Center

    Respected MM Experts, We created a new valuation class, however when I post goods issue to COGS instead of posting to the profit center found at the material level it post to an unallocated profit center that we don't want. We created a sales order p

  • RE: (forte-users) Forte SMTP and POP3 Support

    Scaffolds includes in a protocol library an smtphandler which allows us to send emails. It works great! You can try contacting someone at Metamor to see if they can give you more information on this. I can't give you any code as it is part of their p

  • Iweb themes

    I've built a web site using the highlighter theme in iweb, and I've noticed when I publish and view my site, there's still a grey frame around the outside of my actual pages. Is there a way I can change the color of that? Thanks! Jennifer

  • WIN_API_ENVIRONMENT equivalent in APEX

    Is there an equivalent to the forms win_api_environment.get_windows_username I am looking to update a field with the users windows login. Thanks Fiona