Is it possible to execute OS commands/files on remote server using SOA Suite/BPEL , just like we have JCA adapter File/FTP to exchange files across servers ?

I am working on technical process automation requirement wherein files need to be exchanged and executed as well , SOA workflow capabilities are helping but I could not find a way to remote OS comman execution yet.
Please help.
Thanks

The whole idea of SOA is to run web services located anywhere. So I believe if you can expose the runtime in remote servers as services then you will be able to call those services like any other web service.
Or if you requirement is to execute files on the SOA server itself then you can use the java embedding activity.

Similar Messages

  • Execute commands on a remote server

    hello,
    1. how can i execute commands on a remote server using java (how to connect and how to execute) without having java on the remote server
    (i cannot connect with Socket object)
    2. how can i execute commands on the local computer
    please help me

    Well, for #1, if you can possibly know what commands you'd have to call you could set a perl script up on the remote machine to perform that command and return to you the results. problem is, you'll have to have a web server of some sort to do this (as far as i know).
    I know it's not a very good solution, but it's helped me plenty of times where i couldnt install Jakarta or the likes on a server and couldnt connect to it using sockets.
    Justin

  • How do I copy a file to a remote server using runtime exec - plz Help!

    Hi,
    I am trying to copy a file to a remote server using a runtime exec command as follows:
    Runtime.getRuntime().exec("scp "+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_JAR)+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_JAR_NAME)+".jar "+" "+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_USERNAME)+"@"+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_URL)+":"+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_JAR));
    Problem is this statement does not execute, as when I try it directly on command line, it requests for a password. Any suggestions on how I can get rid of that? I think I might have to configure my ssh_config file, but when I did some "Googling", I found the configuration settings of a ssh2_config file. I tried those (changing it to Host-based Authentication), but it didn't recognise them. Please help, this is so urgent!
    Regards,
    Simz

    Don't use Runtime.exec (or ProcessBuilder) for this. Check out JSch at JCraft (or some other Java SSH API.

  • Issue in executing an application from another remote server

    Hi Experts,
    I have an application on one of the remote server which is running on Windows Server 2003.
    I would like to execute this application from another remote server (also running on Windows Server 2003). I am able to browse the application path using "\\", but when double clicking on the application
    gives "you may not have appropriate permission to access the item"
    How do I set the permission & what permission is required?
    Please anybody can explain?
    Thanks in advance.
    Regards,
    Naveen J V

    Is this a single exe file, or is it part of an installed application with exe, dlls, registery settings, etc?
    If this is an installed application, you cannot run it like this. That would be like trying to start microsoft office which is installed on a different computer.

  • Is it possible to use SOA Suite 11g with JDeveloper's integrated WebLogic?

    Is it possible to use SOA Suite 11g with JDeveloper's integrated WebLogic? Or do you have to install an external WebLogic?
    Thanks for help.
    Edited by: user7722720 on 07-Dec-2011 02:04

    Hi
    By default, NO it is NOT possible to deploy any SOA Applications on Integrated Weblogic Server that comes with JDeveloper. This integrated weblogic server is very light weight basic weblogic server with single domain (only 1 AdminServer) to deploy a standard J2EE, ADF Applications like EJBs, WebApps, WebServices, ADF Apps etc. BUT SOA (having BPEL, BPMs etc ) cannot be deployed.
    There is an option to upgrade this integrated weblogic server and install SOA on top of this. Like download soa installer that matches with your JDeveloper version and install soa on top of this weblogic. BUT I strongly do not recommend this, because you will not be able to upgrade iin future to the latest versions.
    Yes, its always better to install the standalone Weblogic Server that matches with your JDeveloper version. Then install SOA on top of this Weblogic Server. Then create RCU Schemas in any Oracle Database. Run config wizard and create a SOA Domain. Now integrate this in your JDeveloper to deploy any soa applications.
    Make sure that JDeveloper, Weblogic Server, SOA Software, RCU all these versions should match and they should be same.
    Thanks
    Ravi Jegga

  • Execute .cmd command file on application server

    Hi all,
    I have written a dosprogram with .cmd trigger that i want to execute via an ABAP statement. Is there a function module that can execute this specific command file on the server?
    If so, can someone send an example of such a coding?
    Thanks in advance for your reply!
    Best regards,
    F. Geldof
    Moderator message: FAQ, please search for available information before asking.
    locked by: Thomas Zloch on Sep 14, 2010 11:46 AM

    Hi F. Geldof,
    - Create a command in SM69
    - Execute the command using the function module: SXPG_COMMAND_EXECUTE
    [Refer to this program|http://saplab.blogspot.com/2007/10/sample-abap-program-to-execute-unix.html]
    Thanks,
    Duy

  • Possible to execute 2 commands in 1 line?

    Hi,
    is it possible to concatenate 2 commands, i.e. "desc dba_tables" and "select count(1) from dba_tables" in one line and execute them? ...
    SQL> desc dba_tables && select count(1)...
    or something like that?
    I don´t want a script!
    THX in advance...
    Paul

    SQL> desc dba_tables && select count(1)...
    is not possible, but you could try
    select column_name "Name", decode(nullable,'N','NOT NULL') "Null?", substr(decode(data_type,'VARCHAR2','VARCHAR2('||DATA_LENGTH||')',
    'CHAR','CHAR('||DATA_LENGTH||')',
    'NUMBER','NUMBER'||decode(DATA_PRECISION,null,null,'('||data_precision||decode(data_scale,0,null,','||data_scale)||')'),
    data_type),1,20) "Type"
    from dba_tab_columns
    where table_name = 'DBA_TABLES'
    union all select to_char(null),to_char(null),to_char(null) from dual
    union all select '  COUNT(*)',to_char(null),to_char(null) from dual
    union all select '----------',to_char(null),to_char(null) from dual
    union all select to_char(count(*)),to_char(null),to_char(null) from dba_tables;
    Name                                     Null?    Type
    PCT_INCREASE                                      NUMBER
    FREELISTS                                         NUMBER
    FREELIST_GROUPS                                   NUMBER
    LOGGING                                           VARCHAR2(3)
    BACKED_UP                                         VARCHAR2(1)
    NUM_ROWS                                          NUMBER
    BLOCKS                                            NUMBER
    EMPTY_BLOCKS                                      NUMBER
    AVG_SPACE                                         NUMBER
    CHAIN_CNT                                         NUMBER
    AVG_ROW_LEN                                       NUMBER
    AVG_SPACE_FREELIST_BLOCKS                         NUMBER
    NUM_FREELIST_BLOCKS                               NUMBER
    DEGREE                                            VARCHAR2(10)
    INSTANCES                                         VARCHAR2(10)
    CACHE                                             VARCHAR2(5)
    TABLE_LOCK                                        VARCHAR2(8)
    SAMPLE_SIZE                                       NUMBER
    LAST_ANALYZED                                     DATE
    PARTITIONED                                       VARCHAR2(3)
    IOT_TYPE                                          VARCHAR2(12)
    TEMPORARY                                         VARCHAR2(1)
    SECONDARY                                         VARCHAR2(1)
    NESTED                                            VARCHAR2(3)
    BUFFER_POOL                                       VARCHAR2(7)
    ROW_MOVEMENT                                      VARCHAR2(8)
    GLOBAL_STATS                                      VARCHAR2(3)
    USER_STATS                                        VARCHAR2(3)
    DURATION                                          VARCHAR2(15)
    SKIP_CORRUPT                                      VARCHAR2(8)
    MONITORING                                        VARCHAR2(3)
    CLUSTER_OWNER                                     VARCHAR2(30)
    DEPENDENCIES                                      VARCHAR2(8)
    COMPRESSION                                       VARCHAR2(8)
    DROPPED                                           VARCHAR2(3)
    OWNER                                    NOT NULL VARCHAR2(30)
    TABLE_NAME                               NOT NULL VARCHAR2(30)
    TABLESPACE_NAME                                   VARCHAR2(30)
    CLUSTER_NAME                                      VARCHAR2(30)
    IOT_NAME                                          VARCHAR2(30)
    PCT_FREE                                          NUMBER
    PCT_USED                                          NUMBER
    INI_TRANS                                         NUMBER
    MAX_TRANS                                         NUMBER
    INITIAL_EXTENT                                    NUMBER
    NEXT_EXTENT                                       NUMBER
    MIN_EXTENTS                                       NUMBER
    MAX_EXTENTS                                       NUMBER
      COUNT(*)
    930

  • How to execute a batch file on different remote server using TFS Build

    I have a build server and have 2 web servers. I am deploying using TFS Builds. Now, I have a requirement to execute a batch file which is kept on these 2 web servers. i.e. C:\MyBatch\CreateMe.bat
    After my build is successful, I need to execute this batch from the build server.
    Note, I cannot make any shared folder.

    Hi Sameer, 
    Thanks for your post.
    What’s the version of your TFS?
    How do you deploy solution using TFS Build, run MSBuild deploy command or using Release Management?
    That C:\MyBatch\CreateMe.bat file stay on your two web server machines separately? 
    If you want execute this bat file on your two web server machines separately using build process template, you need configure your web server machine as build agent, then add the InvokeProcess activity in build process template to run the bat file on build
    agent machine after build, please refer to Hari’s answer reply in this post:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/b8bcb19f-1296-441c-8356-e701b949445a/tfs-2010-how-to-execute-a-batch-file-after-build?forum=tfsbuild.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I executed stopsap command and I rebooted server.Now I can not use startsap

    I executed stopsap command and rebooted server.Now I can not use startsap
    I use Oracle Database
    System gives me message below:
    Checking ORC Database
    ABAP database is not avalable via R3Trans
    ABAP Database ORC must be started on remote server
    How can I solve this problem?
    Thanks.

    Hello Cemil,
    Could you save the output that the script startsap returns to a file and upload it somewhere. Also the startsap logs, the location of which you could see when you run the startsap script. You could use http://www.rapidshare.com/ to upload the files.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • Best method to execute a command on a remote machine?

    I am currently using runtime.exec to execute commands on the machine where my java gui is running. What I would like to do is to execute the programs on a remote networked machine.
    What should I be looking at? creating sockets, using rmi?
    eventually it would be good to utilise ssh for the connection.
    Any help is much appreciated.

    haven't really looked at this properly, was really after some advice on what methods would be useful.....
    I can see that a telnet type solution can work... need to look further at rmi i think

  • How to execute BC4J code on remote server using DBC Files

    Hi People,
    I have a requirement here that i do not know if it's possible to achieve. We have an Application Module that fetches some records and another Application Module that receives them as parameters and inserts these records in interface tables. However, the BC4J code is installed on the JAVA_TOP of the Development Instance, and will not be installed on the destination server. What i would like to do is to place the target instance DBC file on the FND_TOP/secure directory on the Dev instance, and instantiate the Application module pointing to this DBC file, so that the AM connections would point to the target instance (thus inserting the data on the correct tables). Is that possible?
    Please let me know if you want further clarification. I have seen something similar working on iSetup (extract from source env -> Load on dest env) but have got no clue about implementing that.
    Best regards
    Thiago

    Hi,
    you can follow this steps.
    1. Create a database link to the remote server
    CREATE DATABASE LINK remote_Server
    CONNECT TO apps IDENTIFIED BY apps
    USING 'remote';
    2. Create a Synonym for the table in the remote server
    CREATE SYNONYM po_headers_remote
    FOR po_headers_all@remote_Server
    3. Create entity object based on this synonym.
    4. Create View Object based on above EO.
    Through this view object you can udpate remote database...
    Hope this helps.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on a USB and upgrade that way. I would like to have a back up of the OS just in case i have a problem later. Help!

    I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on to a USB and upgrade that way. I would like to have a back up of the OS installation files just in case i have a problem later. Please help me!

    You can create an install disc but you would have to download Mountain Lion to do so..
    How to create an OS X 10.8 Mountain Lion install drive | MacFixIt - CNET Reviews
    And make sure your Mac can upgrade to Mountain Lion.
    See Step 1, 2, and 3, here >  Apple - Upgrade your Mac to OS X Mountain Lion.

  • File/ftp adapters in SOA Suite (BPEL/ESB) 10.1.3.x

    Questions below are relative to SOA Suite 10.1.3.3 adapters:
    1. In creating a File Read/Write adapter - how can I specify a variable portion of the file name - can XPath expressions be used. I know that in specifing the file name one uses a %---% but want to make the rest of the file name flexible as well.
    2. If I am going to use SFTP - how is that done as opposed to simple FTP?
    Thanks - Casey

    Hi,
    wrong forum, try the BPEL forum
    Frank

  • How to execute Remote scripts using OSB or BPEL

    Hi all,
    Can we execute the Remote Scripts from OSB and BPEL ??
    What is best way to invoke the scripts using OSB ?
    Thanks
    Phani

    Sutirtha,
    Thank you very much. I really appreciate all of your responses.
    I have one more question ( Sorry for flooding you with lot of questions :) )
    How to capture the errors which occured inside the SQL Scripts.
    My scenario is like this. I have two sql scripts Script_1.sql and Script2.sql namely. I would like to put dependency on the execution of the scripts.
    If Script_1.sql executes succesfully without any errors, then EXECUTE Script_2.sql
    else if Script_1.sql execution contains errors then DON'T EXECUTE Script_2.sql
    As of now, i observed that the Process flow shows Success State even if there is an error in the sql script execution. Because of which i was not able to put dependency on the execution of the scripts.
    I think i can do it by tweaking(changing) the code inside the SQL Scripts, like logging the errors in some log table and reading it before the next script execution.
    But the restriction is, I Should not touch/change the existing SQL Scripts.
    Do we have any mechanism in the ProcessFlows to identify the SQL Errors that occurred during execution of SQL Scripts ?
    Please suggest any idea on this. It will be great if you can help in this.
    Thanks in advance,
    SriGP.

  • It is possible to execute a batch file from a business service

    Hi,
    I am developing on inbound batch interface. The interface will be trigged by a batch file and I want to invoke that batch file from within Siebel. To this I've written a business service that uses the Clib.System() method to launch the batch file but I don’t know how don’t send row id as an input with that.
    Please correct me below script is correct or not,
    var ret = Clib.system(“C:\\SEA752\\siebsrvr\\Batch\\CreditCard.exe \I “ + sRowId);
    Regards,
    Sankar.P

    Hi,
    You might want to post this in [Siebel Forum|http://forums.oracle.com/forums/category.jspa?categoryID=151]
    -Arun

Maybe you are looking for