Invoke OATS script from a remote Linux machine

We have the entire Oracle Application Testing Suite installed on a Windows machine. The test scripts (Open Scripts) are on the same machine. Is there a way to invoke the test scripts on this machine from a different Linux machine? These are not load testing scripts. These are functional testing scripts.
Will the Linux version of remote agent help here?

Hi,
Functional tesing is only available on Windows (for the moment). It is to do with the browser .dlll.
(unlesss someone can prove me wrong :) )
Wayne.
Edited by: byrne_wayne on Jun 2, 2012 12:35 AM
Edited by: byrne_wayne on Jun 2, 2012 12:35 AM

Similar Messages

  • Finder to remote linux machine communication

    Amongst other things, I'm using my mac as a display for jobs being run on a remote linux workstation via X11. That all works great. I have the linux machine mounted on my mac and can navigate it via the Finder. What I'd like to be able to do in the Finder is navigate to a specific kind of file (whose extension is 'use') on the linux box and double click on it and have the linux machine start a job on that file and display it back to the mac. If I double click on such a file, can I invoke a shell script (or whatever) on the mac which takes the full path name of the double clicked file as an argument. That shell script would basically contain something like:
    xhost + linux_machine
    rsh linux_machine -l myuserid linux_script fullfilename
    where linux_script is a script that would run on the linux box which would start the desired job and xdisplay it back to the mac.
    Ideally the script that runs on the mac would not bring up any transient terminal windows etc.
    Any ideas on the best way to accomplish this?
    Many thanks,
    Mick.

    Hi Michael,
    I'm (mostly) all up and running now. I wrote an AppleScript based application that does all the shell script commands (ssh etc) based on the file and path name passed into it from the Finder when I double-click on my *.use files. I have tried to set up all *.use files to be operated on by my AppleScript application via the GetInfo window but, infuriatingly, the GetInfo window refuses to accept the application when I click on Change All. When I do that the Open With application just changes to <None>. I tried removing my ~/Library/Preferences/com.apple.LaunchServices.plist file and letting it regenerate itself, but the system stubbornly refuses to accept the application binding. I can do the bindings individually, but not globally. I have hundreds of these files...
    If anybody know their way around this Finder bug (I think it's a bug) then I'm all ears.
    Thanks.

  • Applet unable to connect to a remote linux machine

    I have an applet running on my system. There is a server running on the linux machine. while trying to connect to this server from my applet the following exception is obtained.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.20.244:5222 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.jabber.applet.connection.ContinuousConnection.connect(ContinuousConnection.java:148)
         at org.jabber.applet.communication.JabberComm.connect(JabberComm.java:129)
         at org.jabber.applet.JabberApplet.logonUser(JabberApplet.java:1016)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:645)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:633)
         at org.jabber.applet.JabberApplet.init(JabberApplet.java:407)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    from the applet can i connect to the remote server?
    how could the connection be obtained
    thanks in advance
    zeta

    There could be compatibility issues. Refer to "WebLogic Server Compatibility".
    Link: [http://download.oracle.com/docs/cd/E12839_01/web.1111/e14529/compatibility.htm#INRMP118]
    Are you using a JMS bridge between the two domains?
    Edited by: Manish Chellappan on Sep 3, 2009 3:35 PM

  • Execute .sql scripts from a remote login

    Hello,
    1) How do I execute a remote sql script from sqlplus?
    SQL>@remote_server:$HOME/test_sql.sql ...this did not work, which would work?
    2) Another question, in sqlplus I can do...! echo testing123>$HOME/test123.txt.
    How do I do this within a store procedure?
    This does not work, which would work?
    declare
    v_test varchar2(300) := '! echo testing123>$HOME/test123.txt';
    begin
    execute immediate v_test;
    end;
    /

    Re Q2.
    I take it that's an sqlplus feature on unix as it doesn't work on windows:
    SQL> ! echo testing123>$HOME/test123.txt
    SP2-0734: unknown command beginning "! echo tes..." - rest of line ignored.
    SQL>Also the reason this isn't working from within PL/SQL is that the execute immediate statement is used to send SQL statements to the SQL engine. What you are attempting to do is to send sqlplus commands to the SQL engine which obviously knows nothing about sqlplus commands. Those commands are very specific to the sqlplus executable and will only work in that environment.
    ;)

  • Invoking Shell Script From QTP

    Hi,
    Appreciate, if somebody tells me about how to invoke a Shell script from QTP tool..?
    I would also like to know any specific Approaches, Documents and related informations about this topic..
    Thanks in Advance..!

    Pleass search the forums for "runtime" as there are many threads and examples already posted.

  • How to invoke environment variables from a remote server

    Hi Guys;
    I am new to java programming and have very basic knowledge. I am trying to get some environment variable information from a remote server. I have created a program that gives me the env variables from my machine but I need to connect to some other server and bring those variables.
    Can someone help me with this?
    Regards,
    Aditya

    there is no way to get that information from a remote machine without that machine having some program installed on it that you can poll to ask for it (and no machine should have a program like that on it, it's a potentially massive security hole).

  • Invoking JavaFX script from Java

    Hi,
    Just started working on javafx and got the error below while trying to invoke javafx from java.
    /******************** my java code *************************/
    package fxexamples;
    import javax.script.Bindings;
    import javax.script.ScriptContext;
    import javax.script.ScriptEngine;
    import javax.script.ScriptEngineManager;
    import javax.script.SimpleScriptContext;
    import javax.swing.SwingUtilities;
    public class RunFX {
         public static void main(String[] args) {
              final DataObject myObj = new DataObject();
              Runnable fxScript = new Runnable() {
                   public void run() {
                        ClassLoader loader = Thread.currentThread()
                                  .getContextClassLoader();
                        ScriptEngineManager manager = new ScriptEngineManager(loader);
                        ScriptEngine engine = manager.getEngineByExtension("fx");
                        String script = "import fxexamples.FXtoJava;";
                        try {
                             engine.eval(script);
                        } catch (Exception ex) {
                             ex.printStackTrace();
              SwingUtilities.invokeLater(fxScript);
    /*****************my fx file **************************/
    import javafx.stage.Stage;
    Stage {
    title: "Die, Ajax! - Hello World"
    width: 250
    height: 50
    /*******************stack trace********************/
    javax.script.ScriptException: compilation failed
         at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.parse(JavaFXScriptEngineImpl.java:260)
         at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.eval(JavaFXScriptEngineImpl.java:149)
         at com.sun.tools.javafx.script.JavaFXScriptEngineImpl.eval(JavaFXScriptEngineImpl.java:140)
         at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
         at fxexamples.RunFX$1.run(RunFX.java:30)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Thanks in advance.

    I too, am having problems with using JSR-223 to use JavaFX script from within Java, specifically using Java FX 1.1 and Java 6. Please see:
    http://forums.sun.com/thread.jspa?threadID=5373145

  • Invoking Shell Script from JAVA Stored procedure

    I am trying to invoke shell script using Java Stored procedure.
    When I run my java class outside of oracle using oracle user
    account it works but as soon as i load it into database and try
    to inovoke that class using PL/SQL wrapper it runs java class
    but is not able to invoke the shell script. Any ideas would be
    greatly appreciated.

    Pleass search the forums for "runtime" as there are many threads and examples already posted.

  • Lion Recovery from a Remote Time Machine Disk

    I maintain the time machine backup for my MBP on a large USB drive hanging off of my Mac Mini.  Yesterday I decided to upgrade the internal hard drive on my system to a faster, higher-capacity disk.   I assumed that this would be very straightfoward given I had a complete time machine backup.  Time machine has saved my bacon many times.  It was slightly trickier than I expected so I am publishing this recipe in the hope that it helps someone else trying to accomplish the same thing.
    The instructions below are in the context of a hard drive replacement.   Skip to step 5 if you are just looking for the recovery instructions.
    One last caveat, I have not tried this procedure over WIFI.  I did my successful restore over a GigE hard line.   It may or may not work over Wifi and I would bet WIFI greatly increases the odds that something unexpected might go wrong and it will probably take many times longer as well.
    YMMV.  RTFM.   Good Luck.
    Before you start you need the following things:
         A USB Drive that you don't mind erasing.
         A tiny phillips screwdriver
         A T4 torx driver
    Step 0: Run Lion Recovery Disk Assistant
         * download this from apple support http://support.apple.com/kb/dl1433
         * this creates a USB stick that boots up the recover tools. 
    Step 1:  Make sure time machine backup is up to date
    Step 2: [paranoid] turn off time machine
    Step 3: Cleanly shut down laptop
    Step 4: Follow instructions in user manual to replace hard drive
         * you can download your laptop user manual here - http://support.apple.com/manuals/#macbookpro
         * this required a very tiny phillips head screwdriver and also a T4 torx screwdriver/bit
    Step 4a: Be prudent: carefully save your old hard drive in case something goes wrong.
    Step 5: Make sure laptop is on wall power
    Step 6: Boot to recovery USB stick
         * insert the stick, hold down option while booting
    Step 7: Select "Restore From Time Machine Backup"
         * When you get to the "Select a Backup Source" dialog you don't see your time machine share or any way to connect to a remote drive.
    Step 8: Mount your remote backup
        Open Terminal  ( Utilities | Terminal... )
        Run these commands:
            mkdir /Volumes/tm
            mount_afp afp://[username]:[password]@[name of host system].local/[name of remote disk] /Volumes/tm
            you need to supply all of the arguments in brackets above
                 eg. mount_afp afp://fred:[email protected]/TimeMachine /Volumes/tm
            You can test if this succeeded by running
                   ls /Volumes/tm
            If you see the files you expect, then you successfully mounted your remote disk.
            Now attach the sparsebundle that contains your remote system backup.
                hdiutil attach /Volumes/tm/[MyMachine].sparsebundle 
            If this works when run "ls /Volumes" you should see a directory called "Time Machine Backups" in the list.  Once that is done quit
            the terminal application.  When you do this you should see "Time Machine Backups" listed in the "Select  a Backup Source" dialog.
    Step 9: Select "Time Machine Backups" from menu
    Step 10: Select the backup in time ( probably the most recent one from 10 minutes ago! )
    Step 11: Select destination disk
    Step 12: If your destination disk does not appear, format it with disk utility
         Utilities | Disk Utility...
         Select your new unformatted drive
         Give your new drive a super duper clever name and then click Erase
         Quit Disk Utility
          Select your newly formatted and cleverly named root drive
    Step 13: Go have some fun away from your computer., my system took about 4 hours to restore ~300GB.
    Some number of hours later your system will reboot itself to the login screen and you will be good to go.  Obviously don't do anything silly in the intervening time like
           * Unplugging your laptop
           * Turning off the system that hosts your time machine backup
           * Resetting your network router

    Quick answers.
    1. no
    2. yes
    3. no
    Your only option is to install Lion onto the mini and then set up the other accounts.

  • Invoking shell script from java

    I hava a shell script on a unixbox which needs to be invoked through a web application. How do I do it? What is the method to login,and then invoke the shell script? Also, should the password be directly mentioned in the java file?

    Pleass search the forums for "runtime" as there are many threads and examples already posted.

  • Invoke perl script from JAVA 1.4.2

    Hello All,

    Has this been resolved?
    I'm having an issue with it also, using the command line as such:
    j2sdk-1_4_2_02-windows-i586-p.exe /s /v "/qn ADDLOCAL=jrecore IEXPLORER=0 INSTALLDIR=D:\Progra~1\j2sdk-1_4_2_02 REBOOT=Suppress JAVAUPDATE=0 /L D:\temp\jvm142install.log"
    I've also tried different variations of the commands in "", but still no luck.
    From the command prompt it appears to hang, but comes back to the command prompt about 10 seconds later and nothing gets installed.
    Previous to installing it from the command line, I had installed it manually, and ran add/remove programs to remove it from the system.
    Is there something I should check in the registry that might be prevening the above command to run?
    InstallSheild's web site was helpful, but gave command line options for the msiexec to run.
    Any help would be appreciated!

  • Starting JWS on a remote linux Machine

    how can i start an application through JWS, running as a daemon in the background, without using X11 as my application doesnt need one

    You can't.
    Java Web Start turns any application into a swing application, and so, requires X11 initialization on unix.
    /Dietz

  • Remote debugging from Windows to Linux

    Is there a full description of every step needed to do remote cross-platform C++ debugging? I'm using the Indigo version of Eclipse CDT on Windows and would like to debug an application on a remote Linux machine.
    On Windows, I do not have the ability to install a compiler or cygwin, but I do have plink and ssh on Windows. I am able to access the remote machine via RSE SFTP (a la stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh). I do have VNC but I find that the Eclipse IDE is very unresponsive under that setup, hence the desire to develop and debug from a native Windows app.
    This FAQ is the most complete (wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F), but doesn't discuss how to deal with Windows using backslash paths and having a different filesystem root compared to Linux and its forward slashes.
    I am able to get a remote connection by playing around with the suggestions here (www.eclipse.org/forums/index.php?S=5e54b35462bb80f79ebb9fbbaf93a288&t=msg&th=173880), resulting in console output that looks like:
    Last login: Fri Apr 6 20:19:09 2012 from foo.bar.com
    echo $PWD'>'
    /usr/bin/gdbserver :12345 /linux/path/to/my/binary args_to_my_binary;exit
    but it fails with "Error while launching command: gdb --version"
    The old FAQ is very incomplete and seems out of date: wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_Debugging_with_CDT.3F
    This suggests it's possible but does not have sufficient details on how to set the myriad configuration options in Eclipse: stackoverflow.com/questions/6044138/remote-debugging-in-eclipse-cdt
    I suspect many people would benefit if there was a clear set of instructions in one place on how to make this happen.
    --Gerald Dalley

    OK. I just spent the last two days figuring this out, so here are step-by-step instructions that hopefully will help others (This list is unusually anal by the standards of this group, but really simple concrete instructions would have helped me).
    on the target linux box, make sure you have gdbserver. If you don't, get the gdb sources. Note: Making gdb does not build gdbserver. Instead, you have to go into the gdbserver directory and configure/make there.
    Run gdb on the linux box. In the startup banner, it will say what its target is. This will be something like x86_64-unknown-linux-gnu or i686-pc-linux-gnu. Remember this for later.
    Install MinGW on your Windows box (I had trouble building gdb on cygwin, so I recommend MinGW).
    Download expat from http://sourceforge.net/projects/expat/files/expat/2.1.0/.Note: Do not download the Windows expat installer. Download the sources instead.
    In the expat directory. "./configure --enable-shared", make, make install.
    Download the gdb sources
    ../gdb-7.4/configure --with-expat --target=x86_64-unknown-linux-gnu --host=i686-pc-mingw32
    make, make install
    Time to test. On your linux box, create and compile hello.cpp to hello.
    On your linux box, gdbserver :4444 hello
    Note:If you are on a corporate network, non-standard ports may be blocked. Set up an ssh tunnel if necessary.
    Copy hello.cpp and hello to your Windows machine
    From the MinGW prompt, run "x86_64-unknown-linux-gnu-gdb ./Hello" Note: Substitute the name of the gdb you built as appropriate based on the target platform you got in step 2.
    In gdb, load the executable with "file hello"
    target remote localhost:4444 Note: This assumes that you have an ssh tunnel on localhost. Modify appropriately.
    Verify that gdb commands like break, cont, and run work here.
    Now we want to run it from outside of MinGW. In Control Panel/System/Advanced/Environment Variables add something like E:\MinGW\bin to the path. This is necessary for the loader to find libiconv_2.dll, etc. Now verify that you can do the preceding step from an ordinary Windows command prompt.
    Launch Eclipse (finally!). New debug configuration C/C++ attach to process.
    In Main, give path to the copy of the Linux executable on the Windows system.
    In Debugger tab, set Debugger dropdown to gdbserver. Set "GDB debugger" to something like "E:\MinGW\msys\1.0\local\bin\x86_64-unknown-linux-gnu-gdb.exe" based on where your gdb is. For Connection, choose TCP and fill in the hostname and port number you've been using from gdb in the previous steps.
    Make sure gdbserver is running (it often quits when the program ends) and launch the debug configuration
    In the gdb console, enter "file hello," "break main," and cont or run (sometimes it wants one. Sometimes the other) and voila, you should be there.
    Let me know if this works, and I'll post it somewhere better.
    Good luck,
    Mike

  • Shell scripts to migrate from Unix to Linux

    Hi All, Can any one let me know what are common issues will face while migrating the shell scripts from Unix to Linux. Thanks in Advance..!

    Hi  There is windows batch script which uses local variable %DATE%  Date format behaves differently across environment  In Preproduction : Powercenter9.5.1hotfix2 Windows NT 2008 date format for all users in server machine dd/mm/yyyy (checked regedit/allusers/default/international) Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is dd/mm/yyyy when batch file is run from Informatica.  Production : Powercenter9.6 Windows NT 2012 date format for all users in server machinedd/mm/yyyy Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is day dd/mm/yyyy when batch file is run from Informatica.   If environment variable INFATOOL_DATEFORMAT is set in production,even then date format is not set to dd/mm/yyyy  Where could the issue be?  Thanks Kani

  • URGENT- Need advice on executing scripts from Forms 6i

    Hi all,
    Quick background info:
    I'm working on a conversion project from Forms 4.5 client/server applications to a three tier, web based Forms 6i environment.
    We're running Oracle 8i DB on HP-UX machines, Oracle 9ias on HP-UX machines, and users access forms through Netscape
    on Win2000 platform.
    The problem:
    I have a SQL execution interface form from which users have been able to run dynamic SQL scripts w/o having direct access to
    a SQL Plus prompt (uses the 'HOST' command in 4.5). How can this functionality be implemented in the three tier environment?
    Unless other options are available, my plan is to use a Java servlet to access the 8i database on the UNIX box and display
    output on an html page. Is there a better/easier way?!
    Any advice is appreciated...
    FLM
    Paychex, Inc.

    Thanks for the response,
    I may be able to invoke the script from Forms using the HOST command, but how is the script output
    displayed back to the browser?
    FLM
    [email protected]
    You can probably still use the host to sqlplus, but this time it will run on the Forms Server.
    You just need to make sure that the dynamic SQL files are uniquly identified for each customer.

Maybe you are looking for

  • An error occurred while creating a subprocess in the processing server.

    Hi, I have developed a Crystal Report using CR 2008 with SAP BW as the datasource. The report is executing fine in CR 2008, but when saved to the BOE, in Infoview it is throwing the following error: An error occurred while creating a subprocess in th

  • Cannot Create a new ALSB Configuration Project in Work-Space Studio!?!

    Hi friends, I am using BEA WorkSpace Studio version 1.1 which gets automatically installed with ALSB 3.0 To get started with the ALSB project development, I try creating a new ALSB Configuration Project But I am getting a pop-up that says- {color:#33

  • Deleted files automatically return

    Hi there, I have a strange problem. Somehow when I delete a collection of .torrent files (and empty secure my trash), after a while the deleted files 'automatically' return in my movies-folder. I want them deleted... What can cause this problem? It d

  • Process IDOC stuck up in TRFC

    Hi,   I have an IDOC that is still being stuck in TRFC Queue. The status shows as '03', but I can see that IDOC in the TRFC queue. It is lying there for a month. I need to process that IDOC manually so that it goes to the other system. Which transact

  • The saposcol service failed to start.

    Hi everyone: - We have detected that in our production database system there are two error messages: 1. The saposcol service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.