Unable to start Java Function Activity Agent

When I try to start the Java Function Activity Agent
I get the following message:
Workflow JAVA Execution Agent
Oracle Workflow 2.6.0 JAVA Function Activity Agent
Error in parameters
Is there any way to tell what parameters it is referring to?
Thanks, Tom

Just to clarify:
The Oracle Workflow Java Function Activity Agent is supported by Oracle for the Database and Application Server releases. It was not certified for Oracle E-Business Suite customers, as we thought it better to focus our efforts on the Oracle Workflow J2EE Engine. In the next standalone releases, we will be provinding better system management for the Java Function Activity Agent, on demand processes, that sort of thing.
We did a lot of work to make sure that messages do not get lost ie. if an unexpected error is encountered, the transaction will get rolled back and the message will go back on the queue. If you are finding messages get lost, there are 2 possibilities: a bug in your code (ie. the transaction was committed in your code, so roll back would not help), or a bug in our code (a reproducible test case would be helpful).
Cheers
Mark

Similar Messages

  • Java Function Activity Agent not starting

    Hi,
    I am facing some problem in starting Java Function Activity Agent on Windows XP.
    I hav modified WF_CLASSPATH of wfjavlsnr.bat script to include classes12.jar, ojdbc14.jar & my custom jar files.
    But when I run this script from command prompt using following syntax
    wfjvlsnr.bat owf_mgr/password@host:portid:sid or
    wfjvlsnr.bat owf_mgr/password@sidfollowing messge is thrown...
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    t2cCreateState
    Connected to owf_mgr@dbserver:1521:ORA10G with character set
    UTF8
    Unable to connect to dbserver:1521:ORA10G
    Can anybody please point out what could be the problem....?
    what is this t2cCreateState? I have never see this "t2cCreateState" when we run JFAA in unix box.
    Any points will be appreciated..
    Regards,
    Nitin

    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

  • What's Java Function Activity Agent?it's wfapi.jar?

    pls explain the words below,tks a lot:
    You must include the JAR files containing your custom classes in your
    CLASSPATH to make the classes accessible to the Java Function
    Activity Agent. The custom class files should reside on the same
    platform where the Java Function Activity Agent is run. The Java
    Function Activity Agent does not need to reside on the same tier as the
    database, however.

    Hi,
    I am facing some problem in starting Java Function Activity Agent on Windows XP.
    I hav modified WF_CLASSPATH of wfjavlsnr.bat script to include classes12.jar, ojdbc14.jar & my custom jar files.
    But when I run this script from command prompt using following syntax
    wfjvlsnr.bat owf_mgr/password@host:portid:sid or
    wfjvlsnr.bat owf_mgr/password@sidfollowing messge is thrown...
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    t2cCreateState
    Connected to owf_mgr@dbserver:1521:ORA10G with character set
    UTF8
    Unable to connect to dbserver:1521:ORA10G
    Can anybody please point out what could be the problem....?
    what is this t2cCreateState? I have never see this "t2cCreateState" when we run JFAA in unix box.
    Any points will be appreciated..
    Regards,
    Nitin

  • Java function activity agent fails

    Hello,
    Trying to run workflow java function activity agent ends with dr. Watson. Environment:
    OS: NT40 sp 6
    DB: 8.1.7.0.0
    JRE: 1.1.8
    Anybody came across this or is this a known problem? Please share your findings.
    Thank you.
    Anatoliy

    Sorry,
    The problem was with the wrong jar file.

  • Java function activity getting deferred

    Hi
    I have created a simple Java Class File which set values to the item type attributes and return.
    Placed the class file in jdk/bin folder.
    Then i associated the class name to a function activity as “External Java” type. When i launched this process that function activity is moved to deferred state.
    When i checked the WF_OUTBOUND_TABLE all the java related activities which i executed are still in the Queue.
    And I tried by giving a wrong class name to a function, which is not at all in the server. That process activity also moved to deferred state without showing error.
    So Java Function activity agent not even picks that function/class to process.
    I tried the standard workflow provided by Oracle Workflow Standalone Server for demonstration. For that also same thing is happening (moving to deferred state).
    Your help is much appreciated
    Regards
    Ariv

    Hi,
    Are you running the external processor for Java? IIRC, it's a .bat script which does the dequeue for you, calls your code, and then puts a message on the inbound queue - but it's been a LONG time since I looked at working with Java in standalone workflow.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Unable to start java engine: dispatcher status is "yellow" in windows2003

    Hi Gurus,
    we have installed ECC6 in windows 2003.
    we are getting an error while starting java engine, dispatcher node is in yellow colour with a message
    "J2EE status info unavailable"
    and dev_disp says "<<
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      04
    sid        ECC
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    146
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        3688
    Wed Apr 22 18:22:22 2009
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (04 3688) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 146 successfully loaded
         shared lib "dw_xtc.dll" version 146 successfully loaded
         shared lib "dw_stl.dll" version 146 successfully loaded
         shared lib "dw_gui.dll" version 146 successfully loaded
         shared lib "dw_mdm.dll" version 146 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3904
    Wed Apr 22 18:22:25 2009
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0000.qqq.nxst) took 3 seconds
    Wed Apr 22 18:22:29 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >ECC6_ECC_04                             <
    DpShMCreate: sizeof(wp_adm)          18672     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 09310040, size: 4930904)
    DpShMCreate: allocated sys_adm at 09310040
    DpShMCreate: allocated wp_adm at 09312090
    DpShMCreate: allocated tm_adm_list at 09316980
    DpShMCreate: allocated tm_adm at 093169B0
    DpShMCreate: allocated wp_ca_adm at 097294B0
    DpShMCreate: allocated appc_ca_adm at 0972F270
    DpShMCreate: allocated comm_adm at 097311B0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 097B2070
    DpShMCreate: allocated gw_adm at 097B20B0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 097B20E0
    DpShMCreate: allocated wall_adm at 097B20E8
    Wed Apr 22 18:22:30 2009
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 5052
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=65000
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( ECC6) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >ECC6_ECC_04                             <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 146
    Release check o.K.
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:22:31 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 480
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2089) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=5052)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Wed Apr 22 18:23:10 2009
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 4104
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64999
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:23:11 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 7 / sock 416
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2166) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=4104)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    >>
    Kindly, help.
    Thanks & Regards,
    Devender V

    Hi Community,
    I have to warm this topic again.
    I'm facing the same problem like devender. I followed the posted advices, whithout any change. I also checked note 741289 - no change. I restarted the j2ee engine out of TA SMICM where I also checked the application server's state (j2ee Server Operational = FALSE) - no effect.
    In SAPMMC I restarted the instance without any effect. The disp+work.EXE still has a yellow state, says "Running, Message Server connection ok, Dialog Queue time: 0.00 sec, J2EE status info unavailabe.
    I think the developer trace says the same like devenders:
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1668]
    ***LOG Q0K=> DpMsAttach, mscon ( chopin) [dpxxdisp.c   12364]
    DpStartStopMsg: send start message (myname is >chopin_EI3_00                           <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 175
    Release check o.K.
    Fri Nov 12 11:34:00 2010
    DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
    I followed ravi raj's instructions, so that is the part of the  content of dev_jontrol:
    [Thr 6844] *** WARNING => JsfOpenShm: ShmCreate (69, 295952, CREATE) failed(rc = 4 SHM segment already exists) [jsfxxshm.c   715]
    [Thr 6844] *** ERROR => JsfOpenShm: Shm version mismatch (shm "JSF-ADM-CORRUPT", code "JSF-ADM-015") [jsfxxshm.c   761]
    [Thr 6844] *** ERROR => Can't create shared memory segment 69 (rc = 8) [jcntrxx.c    1749]
    [Thr 6844] *** ERROR => Can't initialize JControl Administration [jcntrxx.c    273]
    [Thr 6844] JControlCloseProgram: started (exitcode = -1)
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm.c   1243]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm.c   1250]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm.c   1257]
    [Thr 6844] JControlCloseProgram: good bye... (exitcode = -1)
    Can someone please translate it for me, or give me an tipp what to do?
    Thanks in advance,
    -ty-
    Edited by: Tan Yildiz on Nov 12, 2010 1:38 PM
    In the servers process-list (Task Manager) there is no entry for jlaunch (related to [Java Startup und Control Framework|http://help.sap.com/saphelp_NW70/helpdata/de/4f/7ead42c893b211e10000000a155106/content.htm] )
    Edited by: Tan Yildiz on Nov 12, 2010 2:18 PM
    There's the solution manager running on the same server. In his instance everything's fine.
    After changing some instance parameters i'm getting some errors:
    1. Parameter Name: jstartup/instance_properties
       General standardvalue: $(jstartup/j2ee_properties)$(FILE_SEP)$(jstartup/sdm_propert
       Specified standardvalue: D:\usr\sap\EI3\D00\j2ee\cluster\instance.properties;D:\usr\s
    2. Parameter Name: exe/j2ee
        General standardvalue: (Default)
        Specified standardvalue. D:\usr\sap\EI3\SYS\exe\run\jcontrol.EXE
    Ok, I think I got it. The specified standardvalues the system is selecting are wrong.....but how can I influence the systems selection?
    Edited by: Tan Yildiz on Nov 12, 2010 2:29 PM
    Edited by: Tan Yildiz on Nov 12, 2010 2:42 PM

  • Customized java class for an external Java function activity

    Hi,
    how can i customize my jdeveloper in order to build my own classes for external Java function activities ?
    because any time i try to build my class the compiler tells me that it doesn't know WFFunctionAPI! And i do not have any idea neither which libraries i have to reference nor where i can find them. i tried to reference the *.jar file from my <ORACLE_HOME>.Wf.Java\Oracle\Apps\Fnd\Wf path, but the compiler still was mocking at me!
    Thanks for your help
         abi

    In the "Project" menu, select "Project Properties";
    In the "Libraries" tab, click the "Add" button;
    Click "New";
    Type "Oracle Workflow" (or any other name) in the Name field;
    In the "Class path" field, click the "..." button;
    Click "Add path" and select <ORACLE_HOME>/wf/java;
    Click "Add ZIP/Jar" and select wfjava.jar and wfapi.jar from the <ORACLE_HOME>/wf/java/oracle/apps/fnd/wf/jar directory.
    Click "Ok" in all those windows and compile your class.
    Regards,
    Daniel Viero - [email protected]
    iProcess Solugues em Tecnologia
    Porto Alegre, RS - Brasil

  • Unable to start java tools - Error : Environment variable JAVA_HOME not set

    hi all,
    I am not able to start the java tool - Visual Admin, Configtool, etc in the solaris Bash shell.
    I was given authorizations on solaris and i'm able to view the logs and browse in solaris boxes,
    But, when i try to start Visual Admin, it says" ERROR environment variable JAVA_HOME not set "
    Since,my colleagues are using this tool for years, how come the environment variable is not set only for my user profile ?
    Is it like the environment variable has to set seperately for every user profile ?
    Do i need to set it initially for my profile eventhough it is working for others ?
    i am confused..please help.
    Addy

    Nicholls, Thanks for your quick reply.
    Ofcourse, I use my login ID to use java tools and they use their's obviously.I don't use <SID>adm.
    We WRQ reflection for X-Windows and Putty for Command line Solaris Access.
    When i try to use VA through the X-Window tool WRQ reflection, I am not able to start the tool.
    My doubt here is, Do we need to setup the environment variable for every new user initially for the first time ? ( I am a new user for this environment )
    Supposing if i need to setup the environment variable, do i need to set it up for the all the Solaris Boxes i use ?
    I am able to browse through the files.when i try to start the VA by giving ./go i am not able to start it up.
    Appreciate your time and valuable replies.
    Addy

  • Application Unable to start Java inside Internet Explorer

    Hi Good afternoon
    Since last round of MS Win 8.1 PRO x64 Updates as of 16/11/2014, JAVA version 1.8 build 25 cant start inside Internet Explorer v11.0.14 Update KB: 3003057.
    Even After Updating to EMET v5.1.5426
    For example Cisco NetAcademy Environment Checker:
    EMET detected ASR mitigation in IEXPLORE.EXE
    ASR check failed:
      Application : C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
      User Name : XXX\abc
      Session ID : 1
      PID : 0xEBC (3772)
      TID : 0x1AB4 (6836)
      Module : jp2iexp.dll
      Web address : http://skills.netacad.net/check/check.html
      Url zone : Internet
    If ASR is disabled in Internet Explorer everything runs flawlessly.
    Please review EMET policies

    stefancpt wrote:
    I am not able to run Java 1.7u71 in IE 11 on any 32 bit Windows 7 PC. I also have EMET 5.1 installed. I have added the website to the Trusted Sites list but it does not work unless I disable ASR. It only seems to work on 64 bit Windows 7 PCs. Is anyone else
    experiencing this?
    This is what was logged in the event log:
    EMET detected ASR mitigation in iexplore.exe
    ASR check failed:
      Application     : C:\Program Files\Internet Explorer\iexplore.exe
      User Name     : xxx
      Session ID     : 2
      PID         : 0xFE0 (4064)
      TID         : 0x1014 (4116)
      Module     : jp2iexp.dll
    When I browse to http://javatester.org/version.html (a site which uses Java but doesn't belong to my trusted sites) I get this message:
    I don't get a EMET mitigation warning from the EMET 5.1 icon in the system tray (anymore) which I used to get with EMET 5.0. I also don't get a event in the application event log! When I add the site to the trusted sites Java starts and asks for permission
    to start the applet because it isn't signed.
    The message that the page requires Java is confusing because a user might think that Java isn't installed and may try to install Java again (and maybe not from the official install page but from a page with malware)....
    Can you check some settings? Open the GUI of EMET 5.1, goto Apps, select IExplore.exe and click on 'Show All Setting'. You should see something like the image below.
    Is the 'Trusted sites' zone selected?
    ...continue to the next post...
    W. Spu

  • Unable to start java VM for JDeveloper

    I follwed the instruction in the release notes for JDeveloper 3.2.2 to use jdk 1.3.0.
    I Set up my Windows NT shortcut like this: "C:\Program Files\Oracle\JDeveloper 3.2\bin\jdeveloper.exe" -jdk=1.3.0
    I also tried the suggestion of modifying the jdeveloper.ini file. The result was the same.
    I now get the error shown above.
    Is there something else I have to do?

    Hi,
    Did you carry out the step which modifies the library.ini file make sure you have a
    [JDK_java version "1.3.0"]
    section?
    If you have done this, check that all the paths in this section are correct.
    Brian

  • 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

  • Different ways of starting external java activity agent?

    Hi All,
    Can any one tell me different of ways of starting Oracle Workflow 2.6.4.0.0 JAVA Function Activity Agent in Solaris .
    The one option i know is using shell script wfjvlsnr.csh.This option requires connection string to be given.
    But according to the user of my application ,im allowed to use only datasource to get the workflow database connection.
    Can any one please let me whether there is option to run java activity listner using Workflow database as datasource.
    Thanks in advance.
    Cheers,
    Cherry

    Can any one pls help me out...plsssssss
    Cheers,
    Sharath

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • External Java Function with a Result Type

    Dear all,
    I have created a workflow process which use a Function Activity of type "External Java" without a result type and it works fine, but i have created another with the result type of boolean (WFSTD_BOOLEAN) and it doesn't work properly. I will explain what is happening.
    I start a process and it stops in that function activity, then the oracle Function Activity Agent executes the class associated to that function and it works fine. Then i review the workflow process and check that the status of the activity is "Deferred". I execute the wf_engine.background process, and then the status of the activity is "Complete" but the result field is blank, thus the process is stopped and did not go through the "True" branch of the process. I have follow the Oracle Workflow and Java Technical White Paper to build the class associated to the function activity, and i return true in the execute method and don't put anything in the errorStack variable.
    The documentation says:
    resultOut If a result type is specified in the Activities properties page for the activity in the Oracle Workflow Builder, this parameter represents the expected result that is returned when the procedure completes.
    Note: Unlike the resultout for a PL/SQL procedure called by a function activity, the resultOut for a Java procedure does not include a status code. In the Java API, only the result type value is required. The status of the activity will be set automatically by the Workflow Engine depending on whether there is a value in the errorStack variable.
    am I doing something wrong? could anyone help me?
    Thanks in advance.

    Hi Allison,
    I've found the solution to the problem. If i set the variable resultOut to "T" or "F" before finnishing the execute method it works.
    I think that you have to set the variable resultOut with the internal value of the lookup type that you are using as the result type of the function activity.
    Bye!

  • Is Function Activity execution synchronous/asynchronous?

    Hi,
    I would like to know the mode of execution of Function activity, that is whether it is synchronous/asynchronous?
    Suppose if I have 2 activities in a process, one is of type PL/SQL and another is of type External Java. When I start the process from a java program, when will the calling program get the control back? will the exceution of each activity is synchronous or asynchronous?
    thanks in advance
    Regards
    honnur

    Thanx for the reply.
    I find that if the function activity is of type PL/SQL then the calling function(WF Engine) waits till the PL/SQL procedure/function exection is complete. But if the function activity is of type External Java then the calling function(WF Engine) does not wait until the Java function execution is complete. In this case, when External Java Agent finishes the function excution, we have to explicitely invoke background process to complete that activity.
    So the Java function activity execution is asynchronous from calling function perspective.
    is my understanding right??
    TIA
    honnur

Maybe you are looking for

  • Failed formatting of new hard drive

    I installed a new Caviar SE 120Gbyte SATA II hard drive in my PowerMacG5. This will serve as a back-up to the start-up HD. When I started up the computer, it was not recognized. I used the "erase" and "partition" options in disk utility to no avail (

  • G5 blurry monitor

    I"m running a new G5 imac 20". Just started today getting a problem where the pixels on my monitor get blurred for a quick second. Then everything goes back to normal. Also as I'm typing here, some of the text gets blurry for a sec. Haven't moved or

  • An error message comes up on my computer when I attach ipod

    Since updating to version 9, now when I connect my ipod 'nana' I get an error msg on computer saying an error has occurred and itunes must close. I have tried unistalling itunes and other Apple applications then reinstalling but problem persists, I h

  • Why has verizon's customer service went so down hill

    I have had 3 different discussions on the phone trying to get my billing cycle changed to something that works with my new pay periods.  The first person firstly was so rude and insulting and couldn't put the date to exactly what I needed for some re

  • Validations for G/L accounts and Cost Centers!

    Help!!! I need to create bunch of validations: Ex. If account is 12345  - then is can be posted to only cost center XXX, YYY, ZZZ, BBB... If G/L account is 33333 - then it can be posted to cost centers AAA and BBB... There are different rules for 137