OEDQ 9.0.8 - external task - execution of Shell Script

Hello Disqualification Experts.

I am looking for your expert advise on this... With the help of the external task I am able to call the .bat (batchfiles) but I'm not able to run .ksh (UNIX shell script file), attached is the example script I am trying to run via the external task.

File name: testfile.ksh

#! / usr/bin/ksh

Set - x

$ORACLE_HOME/bin/sqlplus - s edq_test/edqtest@edqd < < EOF

WHENEVER SQLERROR EXIT SQL. SQLCODE

EXECUTE SP_TRUNCATE_TABLE ('ABC_OWN', 'ABC_TABLE');

COMMIT;

quit smoking;

EXPRESSIONS OF FOLKLORE

output

Disqualification-> Manager-> External tasks-> Creates a new task called TestTask who has the below...

Command: testfile.ksh

Working directory: \opt\local\software\edq\config\commandarea

Get this error Message:

The external task (Execute testfile.ksh) failed because of the following exception: cannot run program "/ opt/local/software/edq/config/commandarea/testfile.ksh": error = 2. No such file or directory

Thanks in advance!

BG

Dear Richard, thank you for your prompt response.

# / bin/bash helped and I also have to export the ORACLE_HOME in the script, somehow the $ORACLE_HOME is not recognized by the external task.

Example of Script working:

#! / bin/bash

export ORACLE_HOME=/ora02/oracle/product/11.2.0.4/client

$ORACLE_HOME/bin/sqlplus - s edq_test/edqtest@edqdev<>

WHENEVER SQLERROR EXIT SQL. SQLCODE

EXECUTE SP_TRUNCATE_TABLE ('ABC_SCHEMA', 'ABC_TABLE');

COMMIT;

QUIT SMOKING;

EXPRESSIONS OF FOLKLORE

output

Thanks for your help!

BG

Tags: Fusion Middleware

Similar Questions

  • ORA-01017 encountered during execution of shell scripts

    Hello

    During execution of the backup script for one of my databases, the script contains a login section which breaks down as shown below

    Section login script:

    sqlplus / < < END > /tmp/$PROGRAM.tmp


    Error generatedf in the log file:

    SQL * more: Production release 11.2.0.3.0 on sea Apr 10 11:32:06 2013

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    ERROR:
    ORA-01017: name of user and password invalid. connection refused


    Two points to note:
    1) there are two other databases on the same server and they have no problem
    (2) I am able to connect to this database as ' / '.
    (3) I am able to connect to the database as sysdba from another server
    (4) the script runs successfully when I change like: sqlplus / as sysdba < < END > /tmp/$PROGRAM.tmp

    Hi, for the use of this you must create a user authenticated externally then it will work... Check other databases where you are using the sqlplus / connection for your refrence command

  • 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.

  • The execution of an external task with dynamic parameters

    The current scenario is that a job is running a process that will return an XML of records and their corresponding scores after going through a few search rules. Finally, these files will be returned to Siebel, but until this is done, we would like to run a XSL Transformation on them. We have developed an external executable that takes input and the output XML target files as arguments and applies the transformation.

    Logically speaking, Disqualification will have to write to an XML file, call the external task (pointing to the correct XML file as it may be several simultaneous research generating XMLs), wait for the task to complete, read the XML data, and then pass this information through the web service.

    As mentioned above, the biggest problem here would be the potential of many users at the same time research. Therefore, a Shared output THAT XML is not a workable solution.

    How dynamic arguments can be passed in writing to an XML file and the execution of an external task?

    It depends on.

    In general, we use attributes of the entry on the message to change the behavior of a service in real time. The match of entry score threshold is an example of this - the process uses this attribute do not return the results below. Similarly, we use attributes in the address for service of cleaning that control whether to change the address of entry. Your customer may have a logic that defines the entry attribute values - in the case of Siebel, the threshold value is a good example of what it can be configured in Siebel and defined by the connector for Siebel Disqualification.

    Then there are options outsourced in a process of the Disqualification. These can vary for different works the same task using a profile or command-line... run the limitation of which is that the evolution of the option for a given service means stopping and restarting, but it allows things such as the same configuration to have different behaviors on different series, or by operating on different machines.

    I recommend you to read about outsourcing in the online help. Most of the settings configuration of the Disqualification can be outsourced and substituted at execution - a powerful feature that can and has been used to solve a variety of problems.

    Kind regards

    Mike

  • External tasks in OEDQ

    Hello

    I'm new to OEDQ. I am trying to build a work from end to end of the downloading of a file, do a cleanup and formatting, matching and finally inserted/updated to update to the final table. I'm stuck with the options "External task" on OEDQ.
    «Could someone please show how to use the options of "External Executable" and "file download" with some examples please.» I am trying to download a file from a computer on the network (something like / / machinename/foldername/filename.csv)
    Appreciate your help

    Thank you
    JAI

    Hi Jai,

    This should be as simple as using a file:// syntax in the URL of the file download task field.

    For example file://server/directory/subfolder/file.ext

    Kind regards

    Mike

  • Disqualification external tasks

    Hello

    I have a stored procedure, and I am the appellant through a Windows File batch (.bat) in the location "edq\oedq.local.home\commandarea".

    The procedure is completed successfully, but the external task is not getting out even after that stored procedure runs correctly. We have to manually cancel.

    Because the command line is not automatically get closed. Is there any solution to get out of the external Disqualification task task?

    Appreciate your input on this.

    Untitled.jpg

    Thank you

    Anand R

    As we've said before, you must add an EXIT statement at the end of your script. It works for me if you do this:

    ...

    end loop;

    END;

    /

    EXIT;

    /

  • Operation failed. Validation of the backup task execution failed error message on startp

    Title: backup original validation task execution failed

    Receive message at next startup:

    Operation failed. Backup validation task execution failed. Description: Description of the scene see log operation for more details.

    I looked at the log of the operation and there were entries for each occurrence. Unable to determine anything else.

    Hi BobBianconi,

    (1) since when are you facing this problem?

    (2) what backup program do you use?

    It seems that you use non-Microsoft backup software. If this is true, you can check with the provider of software for known problems.

    The following steps can worth a try:

    Method 1: Run the fixit available in the link below for common system maintenance tasks.

    Difficulty of broken desktop shortcuts and common system maintenance tasks


    Note:
    Fixit would attempt to recover bad sectors on the hard disk, in the course of this process there are chances of data loss from that particular area.


    Method 2:
    activate the boot and then check if the problem persists

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

  • How to catch the end of an external task?

    Hello

    How to catch the end of an external task?
    OS: Windows 2003
    DB: 10.2.0.1

    The code I wrote will run forever:
    declare
       d date;
       n number;
       -- and more
    begin
        d := sysdate;
        dbms_scheduler.create_job(
          job_name => c_job,
          job_type => 'executable',
          number_of_arguments  => 14,
          job_action => c_cmd,
          enabled => false,
          auto_drop => true
        );
        dbms_scheduler.set_job_argument_value(c_job,1,'/c');
        dbms_scheduler.set_job_argument_value(c_job,2,c_command);
        dbms_scheduler.set_job_argument_value(c_job,3,c_pw);
        dbms_scheduler.set_job_argument_value(c_job,4,c_pw_val);
        dbms_scheduler.set_job_argument_value(c_job,5,c_port);
        dbms_scheduler.set_job_argument_value(c_job,6,c_port_val);
        dbms_scheduler.set_job_argument_value(c_job,7,c_key);
        dbms_scheduler.set_job_argument_value(c_job,8,c_key_val);
        dbms_scheduler.set_job_argument_value(c_job,9,c_agent);
        dbms_scheduler.set_job_argument_value(c_job,10,c_batch);
        dbms_scheduler.set_job_argument_value(c_job,11,c_source);
        dbms_scheduler.set_job_argument_value(c_job,12,c_dest);
        dbms_scheduler.set_job_argument_value(c_job,13,c_log);
        dbms_scheduler.set_job_argument_value(c_job,14,c_yes);
        dbms_scheduler.enable(c_job);
     
        -- Job started, waiting...
        loop
          select count(1)
          into n
          from user_scheduler_job_run_details t
          where job_name = c_job and
                t.log_date >= d;
          exit when n > 0;
          dbms_lock.sleep(1);
        end loop;
     
    end;
    The work ends in fact, user_scheduler_job_run_details is updated (if you run the select statement in the loop in another session, it returns 1), but the selection running into the loop will always return 0.
    Any help is appreciated.

    Kind regards
    Lmocsi

    Hello

    It's strange, maybe you can try to use the timestamp type rather type date and with the help of an offset in the case where the work already finished for example d = systimestamp - second interval '1'

    Another thing to watch is if you compare the dates in the same time zone, otherwise you must ensure that all sessions use the same time zone (setting the default_timezone attribute Planner can help).

    Hope this helps,
    Ravi.

  • JSF and JSFF paged called by external task flow

    Hello world.

    After working with JDeveloper and ADF Faces not too much but not too little time, I have a question:

    What is the best and practice how to call from a workflow in a project, external Pages JSF or JSFF located in another project?

    In my particular case, I have:
    First: a project with all the JSF and JSFF stuff and a task runs for navigation JSFF which are called in a "main" JSF page
    Secondly: another proyect with all nodes in key workflows and activities.
    The two projects are in the same application.

    I studied the Oracle Fusion developer's Guide, read the Blog of the Andrejus Baranovskis to
    [http://andrejusb.blogspot.com/2008/06/how-to-call-remote-task-flow-in.html]
    And of course to review several post here in the Oracle Forum.

    For most of the JSF pages, I use the display component of the URL in the workflow project, providing the URL of the page.
    I call to the JSFF, just in the "main" JSF page workflow that calls the JSFF workflow. In a way, it's like a network of workflow.

    {So: any suggestions on how to improve this approach ' "?}

    Perhaps using an ADF file library JAR could improve this, but I don't know and I don't understand exactly how it works.
    A fact more: instead of using business components, I use the ADF faces with the EJB 3.0 technology because work requeriments.

    And... This will work also for projects in separate applications? or it is necessary that the workflow and the JSF stuff must be in the same application and even in the same project?

    Thanks in advance.

    Hello

    You can call external task (called remote task flow) flow of a workflow but call activity only if the workflow is using JSPX pages - no fragments of the page. If the workflow that you want to access using fragments of the page then the best practices to follow are to create an ADF of the workflow library and put at the disposal of an ADF Jar library. The library of the ADF JAR can be imported into a project in JDeveloper, using the range of resources in JDeveloper.

    Frank

  • External JAR and run the Script

    It is a way to use external jar (Drools) in run script step? Alternatives?

    Thank you

    You can use external jar files in LiveCycle along with other java web applications.

    1. place your JAR file in the application's lib directory.

    for example c:\jboss\server\all\lib

    2 import the package within the ExecuteScript activity and start using classes.

    Nith

  • The external task - prepare method - encode - decode

    I ecrire write code in the prepare method, see thread:

    How to call a java application in the middle of the process
    Papi to work with processes using
    How to call a java application in the middle of the process

    If the error is caused by the decoding and the encodeing the URL, please tell me how to solve this problem.

    Thank you very much.

    The following code snippet
    -------------------code-----------------------------------------------
    getInstance package;

    Import fuego.lang.DynamicObject;

    Import fuego.papi.Arguments;
    Import fuego.papi.CommunicationException;
    Import fuego.papi.InstanceInfo;
    Import fuego.papi.ProcessService;
    Import fuego.papi.ProcessServiceSession;
    Import fuego.papi.OperationException;

    to import java.util.Iterator;
    import java.util.Map;
    import java.util.Properties;

    public class prepare {}
    {} public prepare()
    }

    Public Shared Sub main (String [] args) {}
    prepare prepare = new prepare();

    Properties configuration = new Properties ();
    configuration.setProperty (ProcessService.DIRECTORY_ID, 'default');
    configuration.setProperty (ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
    configuration.setProperty (ProcessService.WORKING_FOLDER, "/ tmp" "");
    System.out.println("1111111111111");

    Arguments argumentsResult = Arguments.create ();
    String taskIn = '0 '.
    Activity of channel = "/InvokeJavaProcess#Default-1.0/InteractiveJava"; both are very well
    Activity of channel = "InteractiveJava"; both are very well

    String instanceId = ' / InvokeJavaProcess#Default-1.0/203/0 ';

    try {}

    ProcessService processService = ProcessService.create (setting);

    ProcessServiceSession session = processService.createSession ("jcooper", "welcome1', 'host');
    System.out.println ("instanceID 33333 =" + instanceId);

    argumentsResult = session.activityPrepare (activity, instanceId, Arguments.create ()); error begins here

    System.out.println("444444444");
    DynamicObject obj = argumentsResult.getDynamicObject ();

    Map fieldMaps = obj.asFieldsMap ();

    for (iterator Iterator < String > = fieldMaps.keySet () .iterator (); iterator.hasNext ();) {

    Key of type string = iterator.next ();
    System.out.println ("key:" + obj.getField (key) + key "value");

    DynamicObject obj2 = argumentsResult.getDynamicObject ();
    Map fieldMaps2 = obj2.asFieldsMap ();
    for (Iterator < String > it = fieldMaps2.keySet () .iterator (); it.hasNext ();) {
    System.out.println ("key:" + key + "value:" + obj2.getField (key));
    }

    }

    session. Close();
    } catch (OperationException e) {}
    e.printStackTrace ();
    }





    }
    }


    ------------------------------------------------------------------

    But I get an error as follows:

    -------------------error---------------------------------------
    E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe-client - classpath E:\Jdeveloper10131_20090318\jdev\mywork\Java_be_invoked\getInstance\classes;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar getinstance.prepare
    1111111111111
    Connector creation [fuego:SQL]
    Creation of ProcessService with the id "oracle/2009-03-31 18:08:47 + 08:00 '.»
    File local/tmp\system\Schema3387192-1796619082\catalogs found.
    Loading of the catalogues of local folder: / tmp\system\Schema3387192-1796619082\catalogs
    1 pots found locally.
    Local successfully jar '126' loaded.
    [CatalogMgrCache] =.
    Registration CatalogMgr [oracle/2009-03-31 18:08:47 + 08:00]... CatalogManagerCache 14949315:
    Managers:
    {}
    Counters:
    {}
    [CatalogMgrCache] =.
    CatalogMgr [oracle/2009-03-31 18:08:47 + 08:00] RECORDED! CatalogManagerCache 14949315:
    Managers:
    {18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc oracle/2009-03-31}
    Counters:
    {}
    ProcessService ' oracle/2009-03-31 18:08:47 + 08:00 ' created successfully.
    33333 instanceID=/InvokeJavaProcess#Default-1.0/203/0
    Tolerance of inaccessible engine (seconds):
    default: 0
    to serve: 0
    This customer papi sets cache not exceptions that involve that an engine could not be reached.
    Adding a local catalog for project: 124
    [CatalogLoaderMgrCache] =.
    CatalogClassLoader [oracle/2009-03-31 18:08:47 + 08:00 - 124] added to the cache

    ClassLoader catalogue card:
    {oracle/2009-03-31 18:08:47 + 08:00-124 = CatalogClassLoader (FuegoObjectCatalog (catalogIn: 124, directoryId: oracle/2009-03-31 18:08:47 + 08:00))}))}

    Cache Catalog Manager:
    CatalogManagerCache 14949315:
    Managers:
    {18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc oracle/2009-03-31}
    Counters:
    {oracle/2009-03-31 18:08:47 + 08:00 = 1}
    fuego.papi.exception.TaskFailedException: task '0' activity ' / InvokeJavaProcess # default - 1.0 / Interactive [InteractiveJava]' for example ' / InvokeJavaProcess#Default-1.0/203/0' cannot be run successfully. The task failed when executing method 'PREPARE %. "
    at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
    at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3572)
    at fuego.fengine.FEngineProcessBean.createTaskFailedException(FEngineProcessBean.java:398)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.component.Message.process(Message.java:585)
    at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
    at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
    at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
    at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
    at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    at fuego.component.CustomExecution.next(CustomExecution.java:176)
    at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
    at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:695)
    at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1420)
    at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1414)
    at getinstance.prepare.main(prepare.java:43)
    Caused by: fuego.lang.ComponentExecutionException: the "CIL_interactiveJavaPrepare" class method "oracle. InvokeJavaProcess.Default_1_0.Instance' cannot be run successfully.
    at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:519)
    at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273)
    at fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219)
    at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1280)
    at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
    at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:425)
    at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
    to fuego.server.AbstractProcessBean$ 48.execute(AbstractProcessBean.java:3184)
    to fuego.server.execution.DefaultEngineExecution$ AtomicExecutionTA.runTransaction (DefaultEngineExecution.java:304)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.component.Message.process(Message.java:585)
    at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
    at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
    at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
    at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
    at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.NullPointerException
    at oracle. InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare (Instance.xcdl:1)
    at oracle. InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare (Instance.xcdl)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512)
    ... 34 more
    Process has finished with exit code 0.

    ----------------------------------------------------------------

    The following is the only difference with the code of yours and mine, and it does not work for me.

    fuego.papi.Arguments args = fuego.papi.Arguments.create ();
    args = papisession.activityPrepare (activity, instanceId, args);

    Note that I don't have another object to restultArgs you. Not sure if this should make a difference.
    Second, the arguments that I have nothing in it. For you, there is an argument in this object, which is var1 = dyn. I guess that since there is no argument in your prepare method entry mode, this variable could not be transmitted to the prepareMethod. (Just a guess)

    Here's my understanding:
    prepareMethod is used to pass arguments of BPM for external application. So, you can define arguments of prepareMethod as arguments of mode 'out '. These arguments are defined in 'args' when you call "args = papisession.activityPrepare (activity, instanceId, args); The external application can then perform a treatment based on them and later call commit and go back a few arguments to BPM.

    May be worth trying another

  • External task does not work

    Hello

    I try to call a batch file that has copied the fdr files from one folder to another and runs sarmanalyzer to generate csv files in the disqualification landing area.

    The batch file works well when called from the prompt command or double click on the server of the disqualification, but does not work as expected when it is called project or work.

    I have generated a log file that confirms that the log file is running of the task for the last line, but commands to copy and file sarmanalyzer don't work quite simply.

    Pointers are greatly appreciated.

    Thank you

    SID

    SID,

    I don't know enough about the security of windows so I don't know if the Network Service account should run or not, but there is certainly a problem of security here [Account NetworkService (Windows)]. You certainly have correct permissions on the sharing of this machine [Note that it is not seeking to connect by using a domain account]. You can also change the service runs under a domain account - you can test it by running tomcat using your logon credentials. It would be the equivalent of the execution of the batch from the command line.

    Thank you

    Nick

  • External tasks

    I am trying to use the type of implementation 'External' of interactive activities, but I have some difficulty. I do not understand how the customer, also I don't know how the BPM engine knows who to call.

    Someone at - it an example of a project that can send me?

    Rodrigo Zuchetto

    Hi Rodrigo

    You can follow the following steps

    BPM
    1. in the title of the external resource, create a new resource of type "Server Configuration". Specify your host, port and path of servlet/jsp.
    2. for the main task of the interactive activities, choose the type of implementation as "external".
    3. create a preparation method and validation. Prepare method will be called from your servlet, and you can set arguments (like output args) which will be forwarded to your external java application of BPM
    4 validation method will be called from your java application, once you are done with the treatment. Here you can set args (as a starter). These args will be fixed in java app when he calls this method commit.

    In JavaApp
    1. for the servlet that you set in step 1 above, define a default handler and initialize a session of papi here.
    2. call activityPrepare on this papisession and get in on the variables passed to the step 3 above
    3. perform your treatment
    4. call activityCommit on the papisession and pass new parameters

    HTH

  • My judgment of the computer during the task execution.

    my computer shutdown when you perform this task, the download, scaning my computer with microsoft essentials or the backup of my computer also while making this charge I have my powersaver as ever to stop, but still it shutsdown.befor it shuts down the computer goes into overdrive and a clik noise and it closes and is not becous the computer is hot.

    Original title: shut down the computer

    The clicks you hear may be a symptom of a faulty fan or a hard drive failed. These two are indicative of a potentially catastrophic incident. I'd get this diagnosed with certainty as quickly as possible.

    If the HARD disk fails, you will be able to get the information that it climb in a remote box after installing a new HARD drive and reinstalling everything provide you get this fact before the drive completely fails. The computer and your backup files could only accelerate failure.
    I'm curious to know how you know that the shutdown behavior is not due to the accumulation of heat. If you have a CPU fan that is a failure it can take as little as 5-10 seconds after the "by clicking on" begins before a closed thermal is forced. If you have a faulty fan, the heat closed isn't enough to avoid damaging your components of the computer/CPU/motherboard and repeated forced closing of the bottom are harmful to your computer.
    If your computer is under warranty, send it to the manufacturer for repair after all product information and program keys off the machine. You will probably be sent back a computer with nothing but a new operating system on it and it is possible that you may not yet retrieve the same computer.
    If your computer warranty has expired and you are uncomfortable taking off one of the panels of the case, and try to locate the source of the ' by clicking on '. Get a can of compressed air and blow out the dust. Look for cables or wires that may be resting against the movement of fans and causing the 'click '. If it is a laptop, stop it and remove the battery before performing any adjustment of material and/or any change.

    If you are not comfortable "the case of cracking", then any information out on your computer you can (including product keys) and take it to a reputable professional. Stress that you want to a prior notification to any attempt to repair and balance the work estimate against the cost of a new computer.

  • simple external task works in windows 7 Enterprise, but not windows 2008 R2, Enterprise Edition.

    SQL * more: 11.2.0.1.0 output

    widows 7 sp1 and company 2008 sp1

    The task runs without error on both environments of windows 7, but the job fails on windows 2008 with:

    Error 255

    "EXTERNAL_LOG_ID ="job_89424_68834 ",
    ORA-27369: jobs of type EXECUTABLE failed with exit code: extended attributes are incompatible.
    "

    I know that's not the credentials that I can replace it with another undefined user and it will tell me the username and/or password is not valid.

    I create a directory specified with the user in question and checked I can read/write in it.

    without arguments to cmd.exe job, I still get the error.

    Joe can run the cmd.exe without problem.

    Is there some slight difference in windows 7 and 2008 server (security?) that would explain this?

    the user joe is a member of local administrators and ora_dba on all servers groups

    employment and identification information defined as follows:

    BEGIN
    () sys.dbms_scheduler.create_credential
    username = > 'joe. "
    password = > joespassword,
    database_role = > NULL,
    windows_domain = > NULL,
    Comments = > NULL,
    credential_name = > ""DBREP"". "" Joe' "
    );
    END;

    BEGIN

    SYS. DBMS_SCHEDULER. () CREATE_JOB

    job_name = > "'BLAH'". "test" ', "

    job_type = > 'EXECUTABLE. "

    job_action = > "C:\Windows\System32\cmd.exe"

    number_of_arguments = > 0,

    start_date = > NULL,

    repeat_interval = > NULL,

    End_date = > NULL,

    job_class = > ' 'SYS '. ' ' DEFAULT_JOB_CLASS ' ',

    activated = > FALSE,

    auto_drop = > FALSE,

    Comments = > ",

    credential_name = > "'BLAH'". "" Joe' ',

    destination_name = > NULL);

    SYS. DBMS_SCHEDULER. () SET_JOB_ARGUMENT_VALUE
    job_name = > "'BLAH'". "test" ', "
    argument_position = > 1,
    argument_value = > ' / c ');
    SYS. DBMS_SCHEDULER. () SET_JOB_ARGUMENT_VALUE
    job_name = > "'BLAH'". "test" ', "
    argument_position = > 2,
    argument_value = > 'dir');
    SYS. DBMS_SCHEDULER. () SET_JOB_ARGUMENT_VALUE
    job_name = > "'BLAH'". "test" ', "
    argument_position = > 3,
    argument_value = > 'c:\temp');

    SYS. DBMS_SCHEDULER. SET_ATTRIBUTE)

    name = > ' 'BLAH '. "' test ' ',

    attribute = > 'logging_level', value = > DBMS_SCHEDULER. LOGGING_FULL);

    SYS. (DBMS_SCHEDULER). Enable

    name = > ' 'BLAH '. ("' test ' ');

    END;

    /

    Thank you Greg,.

    I appreciate it.

Maybe you are looking for

  • Trouble quitting after SP2 XP Reinstall

    Reinstalled SP2 the week last in the forlorn hope of solving a problem of CD/DVD drive. Since then, whenever I have shutdown, it passes through the movements and then falls (flashing some kind of error message in the BACK) and automatically restarts.

  • Elapsed time

    Hi guys, I use the elapsed time to set an expectation and to have, at the same time, the ability to stop waiting. The problem is that if for example I put on hold for 1 minute the first time everything works fine, but when I repeat the same operation

  • HP dv7 Touch Bar Launches MS Office Excel 2007

    HP dv7-1245dx laptop Windows Vista Edition operating Home Premium (64-bit) Service Pack 2 Whenever I touch the touchscreen (bar) volume control MS Office Excel 2007 starts. If I type the volume control vs sliding your finger on it, you will get sever

  • Cannot find modem drivers

    Hello I have a HP Pavilion Notebook ze5568CL and am using Windows XP Professional. I looked at downloads of driver for this model and I can't seem to find a driver for the modem 56 k I contacted the help section of online chat and they can't tell me

  • BlackBerry smartphones change your Signature

    I've read several ways to change your signature on your bb device.  "Sent from my Verizon Wireless Blackberry".  Anyone know how to change this signature?  I have the 8330 & Verizon service.   BTW, thanks for all the help with my last post to .3gp fi