Call a shell script using the OA framework page.

Hi all
I'm new to Framework.There OA is a condition in which I have to call a shell script using a Web page using OA framework. Can someone shed some light on how can we do this?

Concerning

Hello

You can save the script shell as simultaneous program and submit this OAF page request.

Sambi

Tags: Oracle Applications

Similar Questions

  • Execution of shell script using OSLinetoken fetchlet

    HII,

    I have a requirement. I need to use a shell script in the fetchlet of OSLineToken. In the metric system of response I will check whether or not the directory already exists on the server. To verify the existence of the directory, I created a shell script. But how can I report its result with the metric of the answer? The shell script is as follows:

    Shell script:

    If test d $1; then
    echo "DIR exists."
    on the other
    echo 'no '.
    FI

    The answer for the same metric will be:
    < QueryDescriptor FETCHLET_ID = "OSLineToken" >
    < property NAME = 'command' SCOPE = 'GLOBAL' >
    SH {nom_repertoire where the shell script is transferred} / {shell script file name} {dir_name_parameter} < / property >
    < property NAME = 'startsWith' SCOPE 'GLOBAL' = > em_result = < / property >
    < property NAME = "separator" SCOPE = 'GLOBAL' > | < / property >
    < / QueryDescriptor >

    Please suggest what is the use of em_result here?

    Once the existence of the directory is checked, if it upward, then I need to call another shell script to concatenate the contents of all files with .log extension (this will be the setting of shell script). Get the output of shell script and view it in custom management plug-in. As I use cat *.log > > consolidatefile command to concatenate the data, I need to read the file consolidatefile from the server and return these data to concatenated plug-in file. Yet once, how can I read the contents of the consolidatefile file in EMF? I will create another matrix to this effect say 'read_content '. the querydesciptor the same thing will be as follows:

    < QueryDescriptor FETCHLET_ID = "OSLineToken" >
    < property NAME = 'command' SCOPE = 'GLOBAL' >
    SH {nom_repertoire where the shell script is transferred} / {shell script file name} {dir_name_parameter} {extension of the files concatenated} < / property >
    < property NAME = 'startsWith' SCOPE 'GLOBAL' = > em_result = < / property >
    < property NAME = "separator" SCOPE = 'GLOBAL' > | < / property >
    < / QueryDescriptor >

    I'm not sure what all the properties to use in this case... I saw that several example files use some of them perbin, scriptsdir, but some of them do not... The related pdf also does not say anything about this kind of properties. Please suggest.

    I hope that the explanation of the problem is not so heavy. Please let me know if you have any question to understand.

    Thank you
    AS

    The guide of extensibility will have instructions on how to package your files as an Archive Plug-in management (MPA). Once you have this file archive, the EM grid control will point to import your plug-in management (MP) in the repository. Once imported, you can deploy them through the user interface for all agents in your grid control. (You can get to the UI Plug - ins by clicking on Setup in the upper right corner, then management Plug-ins to halfway down on the left side of the page).

    When the MP is deployed to the agent, the emx / the directory structure is created and all the scripts that you have the package with your MP are placed in this directory. So when you create your target type metadata file, you'll want to consult this directory.

    Properties with a range of systemeparametres get their values from the emd.properties file.

    If you decide to put up on the agent (which is probably easier than reconditioning of all your files whenever you are editing, and then re-importation and redeploy their), you will need to create the directory structure in the % scriptsDir %. So if you finally Pack your plug-ins all work even.

  • How do to identify the documents called "models of library" using the RESTful API?

    How do to identify the documents called "models of library" using the RESTful API? Furthermore, what constitutes a document to be a "model of library"? I see nothing in the libraryDocuments RESTful documentation that describes this type of document, such as presented on the tab 'Manage' my developer account. Please see the screenshot below. There is a model of Document named "[DEMO ONLY] Test model" listed under "Library Templates" and I try to figure out which classifies that document to be included this way and how does produce a similar announcement by using the RESTful API.

    Screen Shot 2014-10-29 at 11.16.48 AM.png

    Thank you!

    Hello

    You can connect to access library models using the REST API, use 'GET /libraryDocuments' allowing to recover documents in library for a user. Models are created in the account of EchoSign, which later are accessible via the REST method mentioned above.

    Jat

  • How to run a script using the OMB tcl

    I'm trying to run a tcl script using the following syntax in cmd

    D:\app\Username\product\11.1.0\db_2\owb\bin\win32 > ombplus.bat c:\t.tcl

    and I get the error

    OMB01001: Not connected to the repository.

    The tcl script was basically accompanied by a tutorial and I can't continue the OWB tutorial, unless I run it first

    Departure ombplus.bat

    You can then start the script with the source command such as

    source C:/t.tcl
    

    Be careful with the backslash (he is not C:\t.tcl)

    You must also add a connection before your script to OWB with the OMBCONNECT

    OMBCONNECT $UserLogin/$UserPassword@$DBHostName:$DBHostPort:$ServiceName USE REPOSITORY '$RepositoryUser' USE MULTIPLE_USER_MODE
    

    Replace the parameters $ with your own value.

    And then your script, you can disconnect:

    OMBDISCONNECT
    

    Success
    Nico

    Documentation is here for the 11g OMBCOMMAND
    http://download.Oracle.com/docs/CD/B28359_01/OWB.111/b31279/TOC.htm

  • Call the batch file and not the shell script using measures of the event

    Can I use EVENTACTIONS at the door of gold like

    eventactions (SHELL, /path-to-batch-file/test1.bat)

    will this work? I am on a windows machine, so I need to run a batch file and not a shell script

    In GGSCI, you can shell OUT to the BONE and call a command/executable file.

    For example on Windows:

    GGSCI (WIN2003) 2 > shell dir

    Volume in drive C has no label.

    Volume serial number is 8CCC-9E58

    Directory of C:\ggs

    18/08/2012 07:23

    .

    18/08/2012 07:23

    ...

    2010-10-15 06:37 bcpfmt.tpl 426

    2010-10-15 06:37 bcrypt.txt 1 725

    22/04/2011 03:41 2 560 category.dll

    05/11/2011 10:43

    cfg

    2010-10-15 07:15 739 chkpt_ora_create.sql

    ...

    What were the results when you tried this in an EVENTACTIONS clause?

  • sqlplus from a shell script with the variable in unix

    I'm having some trouble calling sqlplus from a shell script... I am basically asking for a path/name of file which I attribute to one to a variable called $code. Then use cp to move the file ($code) to a new directory. I think that there is something wrong with my sqlplus below. echo $code does not work yet. I thought that $code was variable, which I could see, but rather it seems that the script is trying to rerun the SQL command each time.

    Any help would be greatly appreciated... condensed version of the code is below. Thank you!

    file in $FILES
    do
    Code =""
    code ='sqlplus-s $USER_PWD < < EOF
    Set the off position;
    set pagesize 0;
    Select r.outfile_name OUTFILE
    some paintings
    where file_name = $file;
    EXPRESSIONS OF FOLKLORE"
    echo $code
    CP $code $newdir

    Hello

    I hope code below will help but set feedback off so that he won't be any info if no line selected

    echo ${CODE}
    if [ -z "${CODE}" ]
    then
    echo "No rows returned"
    else
    echo "Returned"
    fi
    

    Concerning
    CA
    uninstall security tool
    essential elements of the Security window
    Windows startup configuration
    the Award bios update

  • IPhone-to-iPad call phone cellular continuity uses the data

    Many times I drive to work using my iPad Mini 4 WiFi + cell phones driving to work to play music of different applications via bluetooth to my car audio system.

    Whenever my phone rings, my iPad has the T-Mobile (my support for iPhone & iPad) also allows cellular continuity. My question is, if I were to answer the call on my iPad I will be charged data or the call still counts against cellular minutes? So, basically the iPad use VoIP (data) or VoLTE (phone calls / minutes) to manage the call? Thanks for any help!

    Updated - talked with my contact at T-Mobile, who is Advisor senior technical/engineering. He said phone calls on iPad via transfer cell/continuity is currently working on Facetime Audio that is essentially a VoIP service and use the cell data.

    However, T-Mobile is looking for ways to eliminate the use of data for its customers on Facetime Audio (and perhaps even Facetime video as well) through their programs free music and frenzy on. If that happens, it would be incredible!

  • Call a VI that uses the 'exec.vi system' with the LabVIEW runtime as adapter

    Hello

    My TestStand sequence called a VI that includes a call to 'exec.vi system '. When I try to load it in TestStand and if LabVIEW adapter is set to the runtime, I get an error message «Unable to load Vi...» ». If I change the map to the 'development system', then it works fine.

    Is it possible to use the 'exec.vi system' in a VI that is called by TestStand with LabVIEW run-time?

    Thank you

    Alex

    Hi Alex,

    In case you, you get an error-18002.

    The reason is explained in the following link:

    -18002 errors in TestStand

    http://digital.NI.com/public.nsf/allkb/D82FEAF0B4BA293A862575710053E252?OpenDocument

    Please take a look at # 2. This is your case.

    It will be useful,

    Regrads

  • Extract the value of CallType when the call is connected by using the callConnected() method

    Hi all

    I want to get the value of CallType when a call is connected I use this code:

    Public MyClass extends AbstractPhoneListener {}

    private static int callType;

    public MyClass()

    {

    }

    {} public void callConnected (int callId)
    Boolean checkType is Phone.getCall (callId) .isOutgoing ();.
    If (checkType)
    callType = PhoneCallLog.TYPE_PLACED_CALL;
    on the other
    callType = PhoneCallLog.TYPE_RECEIVED_CALL;
    }

    }

    but I did not value of callType when the call is connected. I also debug application but control entered the callConnected method. What should I do now please help...

    have you added the phonelistener?
    http://www.BlackBerry.com/developers/docs/7.1.0api/NET/RIM/BlackBerry/API/phone/phone.html#addPhoneL...

  • ESXi 4.0 - trying to suspend a virtual machine with the script using the remote CLI

    Sorry if this is in the wrong forum; I can't find the specific forum ESXi 4.0.

    This is the script I tried to use to get my VM to suspend in ESXi 4.0 remotely using the remote CLI:

    "vmware - cmd.pl" - Server 192.168.5.6 - xxxx - xxxx password username "/ vmfs/volumes/datastore1/Helix/Helix.vmx" suspend soft

    This error message appears after you have clicked on enter:

    SOAP fault:

    -


    Error string: error. RestrictedVersion.summary

    Lack of details: RestrictedVersionFault

    Cannot perform the operation.

    SOAP fault:

    -


    Error string: error. RestrictedVersion.summary

    Lack of details: RestrictedVersionFault

    I just need to be able to suspend my VMs on ESXi 4.0 box remotely.  Any suggestions on how to get this to work?  I'm open to other ways...

    Take a look at this article for your answer: http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • Call a java script function, the loading of the page while in ebiz

    Hi gurus of the OFA.
    I have a requirement for a java script to each page renders OFA function call or charges.
    That is when any OAF page load or make in Oracle e - biz, I have a java script function that should be called is possible to implement the above mentioned requirements.

    Thanks in advance...
    Sourav

    OK, I have your condition. It's one of the basis OFA classes then you can try class decompile OAPageBean. I tried yesterday, there are many interesting ways you can add JavaScript and recompile class. do the backup of old, of course. And your JavaScript will work on any page of the OFA

  • Execution of the script using the shortcut key will launch the ExtendScipt Toolkit.

    Run the script by using the shortcut key assign will launch the ExtendScipt Toolkit in a machine.

    Maybe not the Script because it works normally if a double-click is used to run instead.

    Another idea?

    What shortcuts are you trying to use? If they include the shift or Alt/Option keys, then ESTK is raised to the top because it is this that these keys if you hold either button down on launching a script.

    Dave

  • Execution of a Shell Script in the process flow (USER_DEFINED)

    I split my path of the shell and in the value of the ORDER and he appears to find and run, but I got these errors:

    PF_FTS_SCRIPT
    Success

    PF_FTS_SCRIPT:RUN_SCRIPT
    Success


    Here - deleted fts.csv
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 9: rm: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 16: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 19: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 22: Cat: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 16: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 19: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 22: Cat: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 16: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 19: find: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 22: Cat: command not found
    /Home/Oracle/MIDAS_SCRIPTS/FTS_LOGS.sh: line 27: cc: command not found

    It seems he cannot use the standard linux commands to operate on the file for writing, ideas?

    RM fts.csv
    CP fts.csv $directory_to_copy_to

    THE CMD SHOULD BE SOMETHING LIKE THIS:
    ' / usr/bin/CP /user2/cog/ftp/lkp_dates/d.dat/user2/cog/ftp/lkp_dates /'d3_ "/ usr/bin/cut - f1-d '.' /user2/cog/ftp/lkp_dates/CURR_MONTH_YEAR.csv".dat ".
    / usr/bin/chmod 777/User2/cog/ftp/lkp_dates/d3 * OR DELETE in YOUR CASE.

    Please click on the link that I posted above.

  • Phone calls suspects, eager to use the DOS commands on the computer

    * Original title: possibility of abuse

    Lately, I got several calls from East Indian, who say they work for Microsoft and they have detected the problem with my Windows and the computer.  I usually hang up on them, because I don't think that Microsoft is doing this.  I just got this call and has played with the guy for a while, but he was willing to go to make changes via commands back that sounded suspicious to me so I hung up.  I'm just confirm, but Microsoft does not doesn't it?

    This is a scam that last for years. Microsoft never does unsolicited phone calls.

    Is calling, Microsoft, a scam?
    http://answers.Microsoft.com/en-us/protect/wiki/protect_other-protect_scanning/is-that-call-from-Microsoft-a-scam/6718e389-8a00-4E4B-ACA1-d07298ea4c19

    Report the scam
    http://support.Microsoft.com/reportascam

    Scams by e-mail or web: how to protect yourself
    http://www.Microsoft.com/security/online-privacy/phishing-scams.aspx

    It's a real call from Microsoft?
    http://www.ComputerActive.co.UK/CA/PC-help/2134917/genuine-Microsoft

    Avoid scams to phone for tech support
    http://www.Microsoft.com/en-GB/security/online-privacy/avoid-phone-scams.aspx

    Do not fall for phony phone technical support
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/03/09/Don-t-fall-for-phony-phone-tech-support.aspx

    Aggressive, persistent Windows tech support fraudsters continue to track consumers
    http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers

    What is a certified Microsoft [or] partner?
    http://securitygarden.blogspot.com/2011/09/Microsoft-removes-Gold-Certified.html

    And see this post by bhringer
    http://answers.Microsoft.com/en-us/protect/Forum/MSE-protect_scanning/recieved-eventvwr-cold-call/0f82d183-2046-469F-A2D2-8f9fa291f082#LastReply

  • We cannot pull a script using the grid control?

    Hi all
    II need a script for the table and the indexex which is present in the database.
    Is it possible to remove a script for this purpose in gridcontrol?

    Thank you

    In the console...

    1. go on the homepage of the database
    2. in the tab "schema".
    3. on the link of the table or index
    4. connect to the database
    5. Select the schema
    6. Select the table or index
    7. in the drop action, select 'generate the ddl' and click 'go '.

    Best regards
    Robert

Maybe you are looking for

  • Should I have Norton Security for Safari?

    Should I have Norton Security for Safari?

  • Why ctrl + shift + t doesn't work anymore?

    Why ctrl + shift + t doesn't work anymore?

  • Several utilities for Time Capsule

    I hard set up Time Capsule and so tried to do 3 times.  Now, I have Time Capsule utility 1, 2 and 3 and none work properly.  How can I delete all these and start again as if for the first time? Thank you. -Carol

  • VeriStand system definition file

    Greetings! I'm trying to customize the sysytem Veristand definition file. In the definition file system when adding simulation models, we have an absolute path to the dll. Is there a way by which I can change to accept the absolute paths. Also, I wan

  • Help with gel

    Why my program freezes instantly? As you can see in the picture as an attachment with the smudge on it stops as soon as it enters the main loop of the program. I have attached the vi but you won't be able to run it without all the necessary drivers f