Oracle Workflow Java API

Hi everyone,
some questions to that API (maybe only Oracle can answer):
1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
Do we have to implement this function/method ?
2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
An Example: CreateProcess
The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
Is there a special reason for that ?
Thanks
Ralf

Ralf,
1) setItemOwner should be in the WFEngineAPI class in the package oracle.apps.fnd.wf.engine.
2) It is true that the Java and PL/SQL implementations are not exactly the same - some APIs are available only in PL/SQL, others only
in Java. The Workflow Guide lists which ones are currently available where. If there is functionality you would like to see added, I
think the best thing to do is log an enhancement request.
Regards,
Clara
Hi everyone,
some questions to that API (maybe only Oracle can answer):
1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
Do we have to implement this function/method ?
2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
An Example: CreateProcess
The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
Is there a special reason for that ?
Thanks
Ralf

Similar Messages

  • Java.lang.SecurityException when trying to execute Workflow-Java-API from Servlet

    I'm trying to call some of the Oracle Workflow-Java-API Classes/Methods from a servlet running on OC4J.
    The following Code-Sample is exactly copied from the WFTest Example shipped with Oracle-Workflow:
    wfDB = new WFDB(user, ident, "jdbc:oracle:thin:@", "host:1521:tnsstring");
    String charset = System.getProperty("CHARSET");
    if (charset == null) {
    charset = "UTF8";
    ctx = new WFContext(wfDB, charset);
    if (ctx.getDB().getConnection() == null) {
    throw new Exception ("Keine Verbindung zum Workflow");
    On OC4J integrated in JDeveloper everything works fine when i run my test-servlet with this code.
    On 9ias with OC4J running on a SuSE-Linux Server i get the following Error:
    java.lang.SecurityException: class "oracle.apps.fnd.wf.WFContext"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java:554)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:482)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at oracle.apps.fnd.wf.engine.JdbcEngineAPI._sqlQueryText(JdbcEngineAPI.java)
    at oracle.apps.fnd.wf.engine.EngineAPI.getItemTypes(EngineAPI.java)
    at WorkflowData.doGet(WorkflowData.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    As you can see, the first Workflow-API-Object (WFDB) gets correctly instantiated. But the second one crashes.
    The java.policy and java.security files are exactly identical on both machines, my PC and the Linux-Server.
    Where might be the problem ?
    How can we fix this ?
    thanks in advance for any help
    Ralf

    okay, okay,
    my/our own fault.
    To prevent anyone else of makeing the same mistake, a short decription:
    We stored the wf????.jar files inside the $JAVA_HOME/jre/lib/ext directory.
    The correct way is to let them inside $ORACLE_HOME/jlib dir of the oracle db and extend the classpath, respectively add the following lines to 'orion-application.xml' of the app.
         <library path="$ORACLE_HOME/jlib/wfapi.jar" />
         <library path="$ORACLE_HOME/jlib/wfjava.jar" />

  • Oracle BPM Java API - getting informations about process activities

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

  • Oracle Reports Java API link Error

    The Oracle Reports Java API link on the Oracle Reports page produces an error.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/docs/index.html

    1) In Oracle Reports *10g*, Reports services are exposed as a webservice. Though it does not contain all possible actions, you can use it to run report, get job info and some other operations . [ Other than this there is no exposed java API yet ]
    Please see chapter 14
    "Using the Oracle Reports Web Service"
    in http://download-west.oracle.com/docs/html/B10314_01/toc.htm
    Thanks
    The Oracle Reports Team

  • Any javadoc documentation available for Workflow Java API?

    Does anyone know if there is a "proper" Javadoc generated set of documentation for the Workflow Java API. The supplied html/pdf documentation describing the Java API has lots of omissions (eg, the getItemAttributes method returns an instance of WFTwoDDataSource - but where is the WFTwoDDataSource documented and how should I use the methods in that class?) I've tried loading some of the undocumented class definitions into a class browser, but the class methods have unhelpful parameter names like 'param1', which doesn't help in understanding how some of the classes and their methods should be used. I've tried searching technet and metalink for more specific documentation without success. If anyone can point me at a more useful set of documentation for the class hierarchies and their methods, it would be much appreciated.
    Thanks

    Hello,
    I'm also starting with workflow 2.6 java api. Just wondering if you had any luck in getting the source for wftest sample program... In case you did, could you send it to me please.
    Thanks in advance.
    /Fernando Pereira

  • Where's the Oracle Forms Java API documentation for 11g?

    Hi,
    Can anyone point me in the direction of the Oracle Forms Java API documentation?
    The only thing I can find is this: http://www.oratransplant.nl/1012jdapiDoc/oracle/forms/jdapi/JdapiModule.html but this seems to be for 10.1.2 and it doesn’t correspond to the version I’m using (11.1.1.3).
    Help appreciated,
    Donal.

    i couldn't find the api either however if you implement the class you will simply get compiler errors explaining what you left out.

  • URGENT: Oracle Workflow Error: API-10020 on Creation of OWB Process Flows

    I am trying to use Oracle Workflow to create Process Flows, in order to link together various mappings and components in Oracle Warehouse Builder. However, in the process flow editor window when I attempt to drag an object such as a mapping onto the editor panel, I get an error message stating the below:
    API-10020: Unable to determine if the map is a PLSQL or SQLLDR map, please correct the map or choose another map.
    All my maps are in PLSQL, and the language setting is set to this. I have tried modifying the langauge settings to see if it makes a difference but with no luck. My colleague believes this is a known bug in Oracle Workflow and there is a patch available to correct it.
    Can anyone help with this query please? Thank you for your time.

    In some versions of OWB (10.1, 10.2) The mapping property will display PL/SQL, but will actually be set to NULL in the repository (which will cause PL/SQL to be displayed as default).
    The fix is easy enough: in the developer navigator, right-click on the mapping and go to configure and set the generation language first to something other then PL/SQL (you should get an error) and then place it back to PL/SQL. This should force the GUI to reset the parameter.
    Alternatively, use OMB*Plus:
    OMBALTER MAPPING 'MAPPINGNAME' SET PROPERTIES \
    (GENERATION_LANGUAGE) VALUES ('PLSQL');
    Good Luck,
    Robbert

  • Oracle Workflow Java Activity Agent not starting up

    Hi,
    I am trying to start the Java Activity agent of Oracle workflow.
    As specified in the installation and setup guid I am running the following script (for NT):
    wfjvlsnr user/password@connectString
    The activiy agent does start up but then I get a NullPointerException in the main thread of the Java Activity Agent class.
    Appreciate you help.
    thanks.
    Here is the dump.
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>rem $Header: wfjvlsnr.bat 26.5 2001/07/02 09:13:06 smayze
    ship $
    E:\Ora9idb\wf\admin>rem USAGE:
    E:\Ora9idb\wf\admin>rem 1) Workflow Schema User/Password@Database
    E:\Ora9idb\wf\admin>rem 2> "Workflow Schema User Password Database [protocol
    [charset]
    E:\Ora9idb\wf\admin>rem To disable output, use the jrew command instead of jre
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>set WF_UN=workflow/workflow@workflow
    E:\Ora9idb\wf\admin>set WF_CHARSET=
    E:\Ora9idb\wf\admin>IF "" NEQ "" set WF_CHARSET=-DCHARSET=
    E:\Ora9idb\wf\admin>set WF_CLASSPATH=;e:\Ora9idb\wf\java;C:\PROGRA~1\Oracle\jr
    1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9idb\jlib\wfjava.jar;e:\Ora9idb\wf\x
    \java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wfapi.jar;e:\Ora9idb\jdbc\lib\classe
    11.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\jlib\ewt3.jar;e:\Ora9idb\jlib\ewt3
    ls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;
    E:\Ora9idb\wf\admin>"C:\PROGRA~1\Oracle\jre\1.1.8\bin\jre" -classpath ";e:\Ora
    db\wf\java;C:\PROGRA~1\Oracle\jre\1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9i
    \jlib\wfjava.jar;e:\Ora9idb\wf\xml\java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wf
    i.jar;e:\Ora9idb\jdbc\lib\classes111.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\
    ib\ewt3.jar;e:\Ora9idb\jlib\ewt3-nls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;"
    nojit oracle.apps.fnd.wf.WFFALsnr workflow/workflow@workflow
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    Connected to workflow@workflow with character set UTF8
    Listening...
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9996 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9997 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9997 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9998 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9998 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9999 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9999 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/99910 test.SelectApprove
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/99910 test.SelectApprove
    T
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    GET ATTR=REQUESTOR
    GET EVENT=EVENTMESSAGE
    GET TAG=/ORDER/REQUESTOR
    PUT REQUESTOR=BLEWIS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEAC_IT1/SYSADMIN JayTestFunction
    PUT TEST_RESULT=JAVA
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEAC_IT1/SYSADMIN JayTestFunction
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEST_REQ/9996 test.ApproveRequisi
    on
    PUT TEST_ATTRIBUTE=This value was set in the Approve Requisition Activity
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.ApproveRequisi
    on
    Exception in thread "main" java.lang.NullPointerException:
    at oracle.apps.fnd.wf.WFFALsnr.listen(WFFALsnr.java)
    at oracle.apps.fnd.wf.WFFALsnr.main(WFFALsnr.java)
    E:\Ora9idb\wf\admin>

    Hi,
    I tried to run the same without entering password,but still i am getting error.
    The error description is:
    Oracle Workflow 2.6.3 JAVA Function Activity Agent
    Please Enter Database Password :
    ORA-06401: NETCMN: invalid driver designator
    Unable to connect to nn0734.nucleussoftware.com:1521:asdb
    Accepted arguments:
    java <program> <user> <conStr> [oci8]
    java <program> <user> <conStr> thin
    Where <conStr> is in the form of <host>:<port>:<sid> for thin
    and DB Service name for oci8
    Please Help. Is there any problem with my tnsnames.ora or something else.
    Thanx in advance,
    Sarab

  • Connecting to Oracle using Java API

    I'm fairly new to Oracle, but what I'm trying to do should be straight forward (at least that's what I thought). I'm simply trying to connect to an Oracle database using the latest java API (J2SE 1.4.1).
    I downloaded JDBC OCI (type 2) driver form the Oracle Web site along with the appropriate DLL; however when I try to run the following two lines
    String dbUrl = "jdbc:oracle:oci8:@test";
    String user = "user";
    String password = "password";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection c = DriverManager.getConnection(dbUrl, user, password);
    I get the following error message:
    "java.exe - Entry Point Not Found
    The procedure entry point slzsetevar could not be located in the dynamic link library oracore8.dll."
    Please note that I am running under Windows 2000 Pro, have Oracle Client 8.1.5 installed, and am able to connect to the same Oracle database using ODBC and PowerBuilder native drivers.
    Then I read somewhere that I should use 8.1.7 version of the Oracle client software, so I downloaded it from the Oracle Web site. However when I try to install it under Windows 2000 (by double-clicking on the setup.exe) nothing happens!!!
    Any ideas?!

    Sorry, I should have been more specific. The error message I was referring to shows up in a pop-up windows when I try to run the program. The actual java error message (that shows up in the command prompt window) is as follows:
    "Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\WINNT\system32\ocijdbc8.dll: The specified procedure could not be found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:192)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:142)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:214)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at lookup.main(lookup.java:16)"
    I'm running the program through Windows 200 Pro command prompt, and the version of java is, as I mentioned in the previous message, 1.4.1:
    java -version
    java version "1.4.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

  • Oracle Spatial 10g R2 Java API

    Hi All,
    I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
    http://download-llnw.oracle.com/docs/html/E11829_01/
    I have searched for a similar one for 10g R2 but found only like
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
    which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
    thank you in advance, best regards: Balázs Bámer

    Hi Balázs,
    the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
    your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
    jeffrey

  • Oracle 11g Standard Edition + Locator Java API

    We have Oracle 11g Standard which includes the Oracle Locator package, but not the Oracle Spatial.
    I would like to use the Oracle® Spatial Java API in my java code, but am unsure of the licensing implications of this.
    I require some form of java api in order to access the geomettry objects stored in the database. Oracle do not allow the download of the java files seperately. I was unable to find any reference to a 'Oracle Locator Java API'
    Could someone let me know what exists in terms of Java API's, what i am entitled to use under the current licensing rules, and where I can download the necessary source/jar files?

    Thanks for letting me know the location of the jar files, that will at least help me get things going.
    I am still concerned about licensing issues, as your reply appears to contradict itself:
    "There is no licensing issues if you just want to use Oracle Spatial Java API(sdoapi.jar) with your spatial data in the Oracle 11g Standard DB."
    and
    "You cannot use some oracle spatial features (PL/SQL packages and their java APIs) in the standard edition."
    I could use some clarification on this. I'm currently assuming that you mean I can legitimately use the spatial java API with any features I have available within the 11g Standard DB (i.e Oracle Locator subset of the Oracle Spatial package), but that I can't take that for granted, especially considering how militant Oracle are being over licensing and patents these days.

  • Wf_engine.background & java api

    Hello,
    When i run a workflow process with an external java routing, i should use the wf_engine.background procedure to read out the queue. This works only the first time i connect to the DB.
    If i start another process and run this procedure again it does not work. After reconnecting in sqlplus and running the procedure again, it works fine.
    What am i doing wrong ?
    Can anyone also tell me if there is a javadoc version of the java api for workflow supplied and if there is,
    where can i find it ?
    Tnx
    Chris.

    There was a bug in the workflow engine in Workflow 2.6.0 which caused this issue. An easy workaround is to use the DBMS_JOB.SUBMIT database package to submit the workflow background engine. We released a technical whitepaper in lieu of JAVADOC on the Workflow Java APIs. See: http://otn.oracle.com/products/integration/content.html (you'll have to scroll down).
    Hello,
    When i run a workflow process with an external java routing, i should use the wf_engine.background procedure to read out the queue. This works only the first time i connect to the DB.
    If i start another process and run this procedure again it does not work. After reconnecting in sqlplus and running the procedure again, it works fine.
    What am i doing wrong ?
    Can anyone also tell me if there is a javadoc version of the java api for workflow supplied and if there is,
    where can i find it ?
    Tnx
    Chris.

  • Quick Oracle Workflow and Oracle9iAS question

    Is it safe to assume that Oracle Workflow v.2.6.2 can be integrated seamlessly with ANY web application running on Oracle9iAS Release 2?

    The Oracle Workflow Java interface provides a means for any Java program to integrate with Oracle Workflow. The Oracle Workflow Engine and Notification APIs are accessible through public server PL/SQL packages and published views. The Oracle Workflow Java interface exposes those APIs as Java methods that can be called by any Java program to communicate with Oracle Workflow. The Java methods directly reference the WF_ENGINE and WF_NOTIFICATION PL/SQL package procedures and views and communicate with the Oracle Workflow database through JDBC.
    Additionally, Java functions can be incorporated within Workflow processes as external Java function activities.
    For more information please use the Workflow Guide 2.6.2 as reference. This white paper must be useful as well..
    http://otn.oracle.com/products/integration/workflow/wfjavawp.pdf

  • How to disable BPEL java api logging in SOAP mode?

    Hi,
    I have build an 11g ADF based application using the Oracle BPEL java API to access the BPEL and workflow engine. Since i am unable to make it running with the REMOTE_CLIENT on Weblogic 10.3 we run it in SOAP_CLIENT mode. This generates a lot of logging which i want to turn of in our production environment. Does anybody know how to achieve that? Or even better, how to use the bpel api in REMOTE_CLIENT mode from a 11g adf application?
    Kind Regards,
    Andre

    No you dont have to change your startManagedServer.cmd/.sh everytime you need to have a Java Embedding activity. You only need it in case of using Log4J. As log4j requires a configuration xml viz log4j.debug.xml and log4j.dtd you need to let the soa managed server know about it. The best way to load this configuration files is using the JAVA_OPTIONS command during server startup.
    Hope the explanation helps.

  • How to suppress log messages reported by Workflow Services API

    Hi,
    I have noticed that messages are written to standard output/error when the acquireTask of the Oracle Workflow Services API fails to acquire a task. The messages are written out even when our application code catches the WorkflowException and handles it appropriately.
    Does anyone know which logging facility the Workflow Services API use and
    whether I can suppress unwanted ones?
    The version of SOA suite I have is 10.1.3.1 with Oracle XE 10.2.0.1 as its dehydration store on Windows XP Professional version 2002.
    P.S. I have tried configuring the log4j properties, but with no effect. So, my conclusion is that the API doesn't use log4j.
    Below is a sample of the messages written:
    To standard error
    10/08/2007 14:43:29 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    ORABPEL-30036
    Invalid action on workflow task.
    Action ACQUIRE on task acaba3510ad6779a:193d5a8e:1144ce9b5b8:-7fb0 is not valid because of .
    Contact oracle support if error is not fixable.
         at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3416)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3440)
         at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:1785)
         at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:1776)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.acquireTask(TaskServiceBean.java:746)
         at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at TaskServiceBean_RemoteProxy_68d4144.acquireTask(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-30036
    Invalid action on workflow task.
    Action ACQUIRE on task acaba3510ad6779a:193d5a8e:1144ce9b5b8:-7fb0 is not valid because of The task has been completed..
    Contact oracle support if error is not fixable.
         at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
    -----------------------------------------------------------------------------------------------------------------------

    erikw wrote:I have this problem too but loglevel=4 does not hide them for me.
    You misread.
    headkase wrote:
    From Here led to Here I set "loglevel=3" in my kernel boot line.
    From /boot/grub/menu.lst, my new kernel line looks like this:
    kernel /vmlinuz-linux root=/dev/sda4 ro loglevel=3
    At loglevel=4 the messages reappear.
    See above; you need loglevel=3.

Maybe you are looking for

  • Automatic Backup not working like it should

    Is anyone else having any problems with their iDevice not doing the automatic iCloud backups?  Ever since I installed iOS 5, I have had to run the iCloud backup manually and its a little concerning that it wont run automatically.

  • Is it possible to burn purchased films from the iTunes Store to a disc?

    Is it possible for me to purchase films from the iTunes Store on my iMac and then burn the film to a disc and watch on a DVD player?

  • 27" monitor suitable for a 2011 model Mac mini

    I have just purchased a new 2011 Mac mini i7 and I am looking to buy a 27" monitor with webcamera and speakers if possible; what brand is compatible with this Mac mini other than apple display ?

  • Updating iOS App without deleting the SQL DB

    Hello there, I have a huge knot in my brain right now.... I need to update my iOS App, wich has a local SQL db installed (generated when you run the app for the first time). Users have encrypted data stored in this database. Now, i'm not sure of what

  • Mac App Store shows already installed updates

    I'm new in Mac OS, I bought MacBook Pro ME864. I have already install Mac OS Yosemite, but App Store keep saying that update available. Every time when I install this update again nothing changes, but the space on my hard disk decreases. What is wron