Windows Host Concurrent Program

Hi,
I created a batch script to print a PDF file on the network. Now this batch file works when I execute from Forms HOST command. Now I want to register this as a host concurrent program. I followed the steps in the metalink to create Host Concurrent program for Windows OS. When i try to create a soft link, I am getting error listed below:
Application Object Library cannot set environment variable PRSAVOUT
Cause: The system is out of memory or a system error occurred.
Action: Contact your system administrator to check for available system memory.
Could someone help me to figure out what I am missing here. I am able to relink Oracle's standard ones thru adadmin with no problem.
Thanks in advance.

Hi,
The printc.cmd file has the following script
C:\Reader\AcroRd32.exe /t "\\Oratest\RECO\certs\BP1A.pdf" "\\prtsvr\Engineering1"What if you map the network drives, do you get the same error?
I copied the fndcpesr file to the CUSTOM_TOP/bin directory, re-named copied file to CUSTOM.exeIs APPLBIN environment variable set properly?
Is your CUSTOM_TOP also set?
I am not sure how& where to set the environment variable PRSAVOUT. Is this standard env variable or we should set it up as CUSTOM env variable?I do not have this env variable set in any of my environments -- Please see if (Relink of adadmin & adpatch hanging on Windows platforms [ID 416977.1]) is relevant.
Thanks,
Hussein

Similar Messages

  • Host Concurrent Program Error

    Hi,
    I ran the Host Concurrent Program. It is showing the following error
    usdsop: exec failed during spawn/u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/touchXXSAMPLEHOSTCP: No such file or directory
    /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/touchXXSAMPLEHOSTCP
    Program exited with status 1
    Thanks in advance.

    952602 wrote:
    pls provide output of below command from server
    ls -lrt /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/touchXXSAMPLEHOSTCP*
    Thanks,
    JDMy actual file is XXSAMPLEHOSTCP*.
    Output of "ls -lrt /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/XXSAMPLEHOSTCP*" is
    "-rw-r--r-- 1 oracle oinstall 1531 Oct 24 06:32 /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/XXSAMPLEHOSTCP1.prog
    -rwxrwxr-x 1 oracle oinstall 1531 Oct 25 07:10 /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/XXSAMPLEHOSTCP.prog
    lrwxrwxrwx 1 oracle oinstall 52 Oct 25 08:20 /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/XXSAMPLEHOSTCP -> /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/bin/fndcpesr"If your actual file name is XXSAMPLEHOSTCP* then you should not get the file "touchXXSAMPLEHOSTCP" reported in the error message.
    What if you rename the files from XXSAMPLEHOSTCP* to touchXXSAMPLEHOSTCP*, do you still get the same error?
    Are you using the touch command to create any file? -- http://linux.about.com/od/commands/l/blcmdl1_touch.htm
    Thanks,
    Hussein

  • Create Host Concurrent Program with parameters

    Hi All,
    I have created a host concurrent program in Oracle APPS with one parameter. My shell script in unix is this :
    cd $1
    mv _oracle.txt Especificacion.txt
    it is in $AC_TOP/bin directory.
    When I execute the host concurrent program with oracle APPS with one parameters that is the path that I want to send it to shell script this error occurs.
    /hogr-949-000/oracle/prodappl/ac/11.5.0/bin/xx_opm_cambio_nomarch_iweb: cd: bad argument count
    mv: cannot rename _oracle.txt to Especificacion.txt:
    No such file or directory
    /hogr-949-000/oracle/prodappl/ac/11.5.0/bin/xx_opm_cambio_nomarch_iweb
    Program exited with status 1
    I have read many papers in metalink and I understand that at first parameter it includes many details programs such as, user id, concurrent program name, etc etc, and not only the value that I want to send.
    So I know the problem, but my question is, how can I resolve it ?. I'm not a unix expert.
    Please,
    Thanks in advance
    Mariano.-

    It doesn't work. But I finally find the solution. The point is this...
    p1=`echo $1|cut -f9 -d " "|cut -f2 -d '"'`
    In f1, f2, f3, etc you receive the information of the concurrent, and in f9 receive the first value of your parameter that you create in de concurrent program.
    Regards,
    Mariano.-

  • Not able to do 'cd $DIRECTORY_NAME' from host concurrent program

    Hi Friends
    I am trying to run the below from a host concurrent program:
    cd /interface/j_dcgr07/DDCGRI/incoming
    and I am getting
    /ddcgri/applmgr/CUSTOM/xxdc/11.5.0/bin/XXDCIMAGECOPY.prog: line 43: cd: /interface/j_dcgr07/DDCGRI/temp: Not a directory
    but now when I log into the mid-tier as the concurrent program user I am able to do a "cd" for the same directory.
    Has anyone else encountered the same error? What could be the issue here? We are on Oracle 11.5.10.2 on AIX 5.3 (64 bits).
    Thanks in advance !
    Regards,
    Shashank

    user8094949 wrote:
    The directories exists. Below is the output:
    $ ls -l /interface/j_dcgr07/DDCGRI/temp
    total 0
    $ ls -l /interface/j_dcgr07/DDCGRI/
    total 10
    drwxrwx--- 2 tmoss j_dcgr07 2 Sep 28 2010 archive
    drwxrwx--- 3 j_dcgr07 j_dcgr07 4 Jun 7 10:40 incoming
    drwxrwx--- 2 j_dcgr07 j_dcgr07 2 Sep 28 2010 invalidfiles
    drwxrwx--- 3 j_dcgr07 j_dcgr07 3 Sep 28 2010 outgoing
    drwxrwx--- 2 j_dcgr07 j_dcgr07 2 Sep 28 2010 src
    drwxrwx--- 2 j_dcgr07 j_dcgr07 2 May 27 03:02 tempIs "j_dcgr07" the owner of the application tier node files?
    Thanks,
    Hussein

  • Is it posible to return warning message from HOST concurrent Program

    Is it posible to return warning message from HOST concurrent Program?
    Exit 0 -> successful
    Exit >1 is an error
    is there anyway to send the warning status through Host cooncurrent program ?
    Thanks
    Sachin

    I do not have access to a test instance to try this, but I believe "exit 2" will make the host concurrent program complete with a warning status. Can you pl try this and post your results here ? :-)
    HTH
    Srini

  • Securing apps password in host concurrent program

    hi guys,
    i've been searching for a solution about this issue we are having... i've read somewhere that i can use ENCRYPT in the Concurrent Program executable options to hide password from the $1 argument. at first i thought it would encrypt the password in the argument $FCP_LOGIN, unfortunately it didn't.
    i use sqlplus inside my host file and unfortunately i need to pass the user/pass so i can use $FCP_LOGIN here. problem is if we echo $FCP_LOGIN then we get the password.
    is there a way where any developer can't access the password by doing the echo $FCP_LOGIN?
    thanks
    allen

    hi,
    thank you for your suggestion.
    unfortunately it doesn't help as much. the note you provided is exactly what i'm doing right now and unfortunately it doesn't encrypt the password like it says. it only hides the password in the argument $1 but still shows the user/pass in the argument $FCP_LOGIN not encrypted.
    regards,
    allen

  • HOST concurrent program failing

    I have a concurrent program of type "HOST" failing.
    ERROR:
      ORA-12545: Connect failed because target host or object does not
    exist
       Invalid option.
      Usage: CONNECT <username> [AS SYSDBA|SYSOPER]
      ERROR:
      ORA-01017: invalid username/password; logon denied
       unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    From the app tier I was able to connect to the database using SQLPlus

    Please check following MOS Notes:
    Troubleshooting ORA-12545 / TNS-12545 Connect failed because target host or object does not exist (Doc ID 553328.1)

  • Linux Host Concurrent Program

    Hi All,
    I am calling PL/SQL procedure from my SHELL Script, it was working fine for UNIX O/S but giving me following error now in LINUX:
    "Conncurrent program ends with an Error and error is as Follow"
    line 21: bad substitution: no closing "`" in `
    Here is my Shell Script:
    #!/bin/sh
    # Script runs the data load #
    filename="XX_CHAMP_VENDOR_DATA.csv"
    sqlldr $FCP_LOGIN control=$XBOL_TOP/bin/XX_CHAMP_VENDOR_CTL.ctl data=$XBOL_TOP/bin/$filename
    # Script move the file to archive folder #
    backup_file=$filename.bck.`date +"%Y%m%d%H%M"`
    mv $XBOL_TOP/bin/$filename $INTERFACE_HOME/incoming/processed/$backup_file
    # Script insert data into MTL_TRX_INTERFACE from Staging Table #
    sqlplus $FCP_LOGIN <<EOF
    execute APPS.xx_champ_po_vendors;
    exit 0
    EOF`
    # End of script
    Please let me know what to do?
    Thanks

    I changed the code with the following:
    sqlplus -s << EOF1
    $LOGIN
    #dbms_output.put_line('Control Totals do not match, data has been deleted from the staging tables...');
    BEGIN
    APPS.XX_CHAMP_PO_VENDORS;
    dbms_output.put_line('Execution Ended...');
    END;
    EOF1
    #export PP
    Now concurrent program is showing successful but in the LOG file it displays the following message:
    Invalid option.
    Usage: CONNECT <username> [AS SYSDBA|SYSOPER]
    Invalid option.
    Usage: CONNECT <username> [AS SYSDBA|SYSOPER]
    Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

  • Host Concurrent Program

    I am calling pl/sql procedure,from my shell method concurrent prog and using Fnd_file.put_line in the procedure to log message in the output file, But when I click on VIEW OUTPUT, THERE IS no OUTPUT.
    Thanks
    j

    Hi Hussein,
    Thanks for reply, Actually what is happening I am calling Procedure whose output I want to show in either VIEW LOG OR VIEW OUTPUT of Concurrrent program, when I set the SERVEROUTPUT ON, the procedure output is shown in VIEW LOG but it also contains other stuff which I don;t want. Now please tell me how to clear the other contents OR show output in VIW OUTPUT. OUTPUT from view LOG is also shown below.
    #!/sbin/sh
    # Script runs the data load #
    filename="mrp.csv"
    sqlldr userid=apps/dev05sys@dev05 control=$LEITCH_TOP/bin/mrp.ctl data=$LEITCH_TOP/bin/$filename
    backup_file=$filename.bck.`date +"%Y%m%d%H%M"`
    mv $LEITCH_TOP/bin/$filename $LEITCH_TOP/archive/$backup_file
    sqlplus $FCP_LOGIN <<EOF
    SET SERVEROUTPUT ON SIZE 1000000
    execute APPS.HAR_MRP_FORCAST_INTERFACE.HAR_MRP_FORCAST_INSERT;
    execute HAR_MRP_FORCAST_PROCESS;
    exit 0
    EOF
    # End of script
    OUTPUT
    Leitch Custom Application: Version : UNKNOWN - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    LTCH_TEMP_LOADER module: Leitch Temp Loader
    Current system time is 19-MAY-2010 10:02:09
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed May 19 10:02:09 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> SQL>
    D
    X
    SQL>
    PL/SQL procedure successfully completed.
    SQL> SQL> "ITEMNUMBER","FORECAST_DESIGNATOR","ORGANIZATION_CODE","FORECAST_DATE","QUANTITY
    ","PROCESS_STATUS","CONFIDENCE_PERCENTAGE","BUCKET_TYPE","FORECAST_END_DATE"
    "palmOTDR-S20A","T&M-MAY","LAP","5/24/2010","0","2","100","3","5/24/2011"
    "palmOTDR-S20C","T&M-MAY","LAP","5/24/2010","0","2","100","3","5/24/2011"
    "PTC-3A","T&M-MAY","LAP","5/24/2010","3","2","100","3","5/24/2011"
    "PTC-4","T&M-MAY","LAP","5/24/2010","12","2","100","3","5/24/2011"
    "RCU-CMS","T&M-MAY","LAP","5/24/2010","13","2","100","3","5/24/2011"
    "VDA-16P CE","T&M-MAY","LAP","5/24/2010","0","2","100","3","5/24/2011"
    "VMM-4SNY-3GB","T&M-MAY","LAP","5/24/2010","13","2","100","3","5/24/2011"
    "VMM-H23GB-F","T&M-MAY","LAP","5/24/2010","3","2","100","3","5/24/2011"
    "VSG-410-RM ","T&M-MAY","LAP","5/24/2010","5","2","100","3","5/24/2011"
    PL/SQL procedure successfully completed.
    SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Executing request completion options...
    Output is not being printed because:
    The print option has been disabled for this report.
    ------------- 1) PRINT   -------------
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 19-MAY-2010 10:02:11
    Thanks
    John

  • Custom Concurrent Program works under one user, not the other

    Hi,
    We created a custom concurrent program in our 12.1 Windows EBS environment. This is a "host" concurrent program which executes a cmd file on the host.
    Using user A with responsibility X this program runs OK. Using user B with the same responsibilty X it does nothing. Request finishes completed, but it does nothing.
    With user B, if I remove the .exe from the %XX_TOP%\bin directory it ends in error. When I remove the .cmd from %XX_TOP%\bin it ends completed succesfully.
    User A and B have the same user preferences and the same profile option values at the user level.
    Can someone tell me what more to check to solve this problem?
    Thanks, Marco

    No the concurrent program is not user-dependent. It starts with copying a file from one directory to another and then starting a sqlloader process. But even if I only put an echo in the cmd file, it is not started when executing with user B. The concurrent request logfile is empty (besides the usual lines about program name,start/stop timestamps, printing info,etc. in it).
    I run the concurrent program under the same responsibility for both users.

  • SQL*Loader-128:  Error in Concurrent program of type SQL* Loader

    Hi,
    Am facing below error with CP of SQL*Loader execution format. Both Control and data files are placed under bin directory under CUSTOM TOP.
    CP doesnt have any parameter. I believe we dont need to pass login details to a CP. So how can we default the DB Login to SQL Loader in CP?
    Appreciate your quick help.
    SQL*Loader-128: unable to begin a session
    ORA-01017: invalid username/password; logon denied
    SQL*Loader: Release 10.1.0.5.0 - Production on Wed Dec 14 02:03:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-128: unable to begin a session
    ORA-01017: invalid username/password; logon denied
    Program exited with status 1
    Concurrent Manager encountered an error while running SQL*Loader for your concurrent request 1040692.
    Review your concurrent request log file for more detailed information.
    Here the Control and Data file for the same.
    Control file:
    LOAD DATA
    INFILE 'XXX_Customer_Master.dat'
    BADFILE 'Customer_bad.bad'
    DISCARDFILE 'Customer_discard.bsc'
    APPEND
    INTO TABLE XXX_AR_CUSTOMERS_INT FIELDS TERMINATED BY "|" OPTIONALLY ENCLOSED BY '"'
    ORIG_SYSTEM_PARENT_REF ,
    ORIG_SYSTEM_CUSTOMER_REF,
    CUSTOMER_NAME,
    CUSTOMER_NAME_PHONETIC,
    COUNTRY,
    STATE,
    CITY,
    ADDRESS1,
    POSTAL_CODE,
    RECORD_NUMBER          SEQUENCE(MAX, 1),          
    CREATED_BY                CONSTANT -1,
    CREATION_DATE           CONSTANT SYSDATE,
    CUSTOMER_TYPE          CONSTANT 'R',
    INSERT_UPDATE_FLAG           CONSTANT 'I',
    LAST_UPDATE_DATE           CONSTANT SYSDATE,
    LAST_UPDATE_LOGIN          CONSTANT -1,
    LAST_UPDATED_BY          CONSTANT -1,
    ORG_ID               CONSTANT 102,
    PRIMARY_SITE_USE_FLAG     CONSTANT 'Y',
    SITE_USE_CODE          CONSTANT 'BILL_TO'
    *Data file:*
    'XXX_Customer_Master.dat'
    50|792086|Test Customer |Test Customer |759843055|Australia|VIC|MELBOURNE|"Level 4 457 St Kilda Road"|3004
    59|792232|Test Customer |Test Customer |751756404|Australia|ACT|Tuggeranong|PO Box 1035|2901

    Do we have to create soft link like we create for host program directory ?How to Register a Host Concurrent Program in Applications [ID 156636.1]
    How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script [ID 266268.1]
    How To Setup A Custom Concurrent Host Program [ID 147455.1]
    Also, please see (How to Use 9i or 10g Features in SQL*Loader for Apps? [ID 423035.1]).
    Thanks,
    Hussein

  • Running sqlldr (sql*loader) as an concurrent program executeable in 11.5.10

    Running 11.5.10.2 on Linux
    I have a .ctl file written for my linux environment but I am having trouble with the following.
    Properly configuring the concurrent program executable. Is there documentation on this setup? I have looked through OTN, MetaLink and the database utils guide, but no luck.
    How do you pass the variable of the control file to sqlldr using the executable/concurrent program approach?
    How do you pass the variable of the username/password and database to sqlldr using the executable/concurrent program approach?
    my sqlldr script is listed below. All other activity takes place in the .ctl file and this is working good.
    sqlldr apps/password@dev control='/sea/apps/dev/ora/8.0.6/rates.ctl'

    Please see these docs.
    11i FND:How to specify Record Terminator In Sql*Loader type of concurrent program [ID 252850.1]
    How to Register a Host Concurrent Program in Applications [ID 156636.1]
    How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script [ID 266268.1
    How to Use 9i or 10g Features in SQL*Loader for Apps? [ID 423035.1]
    Is there a Method for Returning a 'Warning' Status from Host Language Concurrent Program? [ID 866194.1]
    Use Encrypt To Prevent Apps Pwd Being Displayed In Log/Sql Script [ID 377858.1]
    Thanks,
    Hussein

  • Executing host through a concurrent program to load data

    hello all,
    Dear Friends, i want to use host command in a concurrent request to load data in a table from a flat file .
    for that i wrote one flat file(test_data_host.txt) , one control file(test_data_host.ctl) , one script file(test_data_host_prog.prog)
    Finally i made one concurrent program BPIL_TEST_DATA_HOST and saved it as ' HOST '.
    i added to my test_data_host_prog.prog file four compulsory parameters ,but during registration in sysadmin -&gt; concurrent-&gt; program -&gt; define ,In parameters window, i had left all blank.(previously, same was running when i made one link from '$FND_TOP/bin/fndcpesr' file using command: ln -s $FND_TOP/bin/fndcpesr test_data_host_prog through telnet.)
    During running of the concurrent program it is giving error: The executable file /dev02/CPS/apps/apps_st/appl/ja/12.0.0/bin/test_data_host_prog for this concurrent program can not be executed.
    my files data is attached here with:
    1) test_data_host.txt file:
    Tamojit,1,history
    Vishnu,2,maths
    Krishna,3,HRMS
    2) test_data_host.ctl file:
    LOAD DATA
    APPEND
    INTO TABLE BPIL_TEST_CONTROL_FILE
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY'"'
    TRAILING NULLCOLS
    ( name1,
    class1,
    subject,
    record_status CONSTANT 'NEW')
    3) test_data_host_prog.prog file:
    # Parameters passed into program
    ORA_USER_PASS=$1
    USERID=$2
    USERNAME=$3
    REQUESTID=$4
    #LOGON_STRING='apps/appscps@cps'
    #FILENAME=$5
    sqlload userid=apps/appscps@cps control=/usr/tmp/test_data_host.ctl data=/usr/tmp/test_data_host.txt log=/usr/tmp/test_data_host_log.log bad=/usr/tmp/test_data_host_bad.bad ERRORS=100000 silent=FEEDBACK &lt;&lt;!
    RC=$?
    echo "The sql loader exit code for loading Header table is :"$RC
    if [$RC -eq 0 -o $RC -eq 3 |http://forums.oracle.com/forums/]
    then
    echo 'Loading of file table successful.'
    else
    echo 'Error: Loading of file table has errors. Sqlload return code is '$RC
    exit 1
    fi
    case "$RC" in
    0) echo "SQL*Loader execution successful" ;;
    1) echo "SQL*Loader execution exited with failure, see logfile" ;;
    2) echo "SQL*Loader execution exited with warning, see logfile" ;;
    3) echo "SQL*Loader execution encountered a fatal error" ;;
    *) echo "unknown return code $RC" ;;
    esac
    kindly help me with the same to run the concurrent request successfully to load the data .
    Thanks & Regards
    Vishnu Pratap Patel
    ([email protected])
    Edited by: user649889 on Sep 2, 2008 2:01 PM

    Hi Gareth,
    I tried the code which you had given to me,but its not working .
    Since i am not very competent enough in shell script , so i want to know that is there any other way or do spaces in that code (during writing that code in my bpil_test_data_prog .prog file) can also make the code inefficient to successfully run my concurrent request.
    My .prog file is attached for your notice.
    # Parameters passed into program
    #ORA_USER_PASS=$1
    #USERID=$2
    #USERNAME=$3
    #REQUESTID=$4
    REQUEST_ID=`echo $*| cut -f2 -d" "|cut -c11-`
    USER_ID=`echo $*| cut -f3 -d" "|cut -c11- | sed 's/\"//g'`
    ORA_ID=`echo $*| cut -f4 -d" "|cut -c12-`
    APPS_USERNAME=`echo $*| cut -f5 -d" "|sed 's/\"//g'|cut -c14`
    #LOGON_STRING='apps/appscps@cps'
    #FILENAME=$5
    sqlload userid=apps/appscps@cps control=/usr/tmp/test_data_host.ctl data=/usr/tmp/test_data_host.txt log=/usr/tmp/test_data_host_log.log bad=/usr/tmp/test_data_host_bad.bad ERRORS=100000 silent=FEEDBACK <<!
    RC=$?
    echo "The sql loader exit code for loading Header table is :"$RC
    if [ $RC -eq 0 -o $RC -eq 3 ]
    then
         echo 'Loading of file table successful.'
    else
         echo 'Error: Loading of file table has errors. Sqlload return code is '$RC
         exit 1
    fi
    case "$RC" in
    0) echo "SQL*Loader execution successful" ;;
    1) echo "SQL*Loader execution exited with failure, see logfile" ;;
    2) echo "SQL*Loader execution exited with warning, see logfile" ;;
    3) echo "SQL*Loader execution encountered a fatal error" ;;
    *) echo "unknown return code $RC" ;;
    esac
    kindly have a look over it & help me for the same.
    Thanks & Regards
    Vishnu

  • Call a host script from concurrent program without exposing APPS password?

    My understanding is as of now I need to link $FND_TOP/bin/fndcpesr in order to launch a unix script as concurrent program. This implies that there will be 4 standard input parameters when a certain unix script is called including oracle schema and password. As I see it now APPS password is provided to such scripts.
    Is there a way to execute a unix script from under 11i without exposing APPS password?

    Many thanks.
    Protecting Your Oracle User Password
    In some cases, there are security concerns with passing your Oracle username and
    password directly to your HOST program. If you do not want the concurrent manager
    to pass your username/password to your program, you can have the manager pass it as
    an environment variable instead. Or you can pass an Oracle Applications
    username/password for a user with the System Administrator responsibility.
    Alternatively, you can not pass it at all.
    First, define your concurrent program executable as a HOST program in the Concurrent
    Program Executable form.
    To have the username/password passed as an environment variable, enter the term
    'ENCRYPT' in the Execution Options field of the Concurrent Programs window when
    defining a concurrent program using this executable. 'ENCRYPT' signals the concurrent
    manager to pass the username/password in the environment variable fcp_login. The
    argument $1 is left blank.
    If you do not want the username/password passed to the program at all, enter
    +'SECURE' in the Execution Options field. The concurrent manager will not pass the+
    username/password to the program.

  • Testing Java Concurrent Program on the command line in Windows

    I'm using the suggestions in:
    http://blogs.oracle.com/xmlpublisher/2007/05/02
    to test my Java concurrent program on the command line. Our production environment is running on Unix. I've been able to test it successfully on the Unix environment from the command line. However, it fails when I try to test it on the Windows command line with the following stack trace:
    Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps
    .jtf.base.resources.FrameworkException: IAS Cache initialization failed
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:225
    at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:14
    44)
    at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:752)
    at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
    at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
    at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
    at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
    at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
    at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
    at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileSto
    re.java:498)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileS
    tore.java:119)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContex
    t.java:4312)
    at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:
    1171)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:970)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:952)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :958)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :918)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:752)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: null
    null
    CacheDefaultConfig.properties (The system cannot find the file specified)
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(Fr
    ameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(Framew
    orkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:249)
    ... 26 more
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache n
    ot initialized
    at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(AT
    GCacheMgrDelegateImpl.java:325)
    at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCac
    heFactoryImpl.java:44)
    at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:116
    9)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    I've put the appsborg2.zip file in my classpath. I've also copied the entire (1 GB) worth of Java .class files for Oracle apps onto my computer and placed it on my classpath. Is there something that prevents me from testing out my Java concurrent program on my Windows machine from the command line?

    i think if u run the ap in the command line then it has to stay open, you could try writing a .bat file then when that is executed it will only open the command line for the program execution (i think)

Maybe you are looking for

  • IE9 Shows Blank window for Quicktime Video

    Hi There. I installed latest Quicktime (Quicktime 7)  in My windows 7 PC. I am displaying quicktime video in my Asp.Net page. The Video is playing after a very long time, but it is not showing  buffering info , it shows a blank white screen until the

  • Hi all, I'm still having problems with my security questions as they were not the ones I answered. Now I'm confused

    Still having problems with my security questions as they were not the ones I answered and now I'm confused.

  • Idlj crashes

    I hope that this is the correct forum. If it's not please tell me where to send the bug report. I'm new to CORBA IDL. I can't find anything which says that the sequence: attribute octect headerByte; typedef sequence <headerByte> headerBytes; attribut

  • APEX and RS232

    Hello, Can APEX capture data from RS232 serial communication? Thank, Tom

  • CS4 no video when capture

    I'm using Premiere CS4 to capture footage, and everything shows up fine during capture, but once it is captured, and I play the video in Premiere, there is only audio and no video. I am capturing from a Canon Vixia HV40, however the footage was shot