Do the shell script have to login into Oracle Apps

I am calling the Document Processor Java API from a shell script. The problem I have that its unable to find the
xdo://PO.POXPRPOLXMLRTF.en.US/?getSource=true
file within the control file.
Is this because somewhere a shell variable needs to be set, or a login need to be made into the Oracle Apps, so this template stored in XML Publisher is accessible.
Please advise!

Another things you can do is
begin
tmp_res := apps.fnd_web_sec.CHANGE_PASSWORD('TESTUSER','changeme',false);
update fnd_user set password_date = null where user_name = 'TESTUSER'';
end;
Once you do this, when the TESTUSER logs in with the password=changeme, he/she will be redirected to the change password page.
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Why can't i connect to my iphone after updating to 7.1.1? i don't even get the screen that lets me login into my apple account??? plz help my phone was stolen and through help of the police i recovered it and now i can't access my phone

    why can't i connect to my iphone after updating to 7.1.1? i don't even get the screen that lets me login into my apple account??? plz help my phone was stolen and through help of the police i recovered it and now i can't access my phone

    You must have had find my iPhone on, or it was locked by your phone carrier.
    Call your our cell carrier first.
    then log on to a computer to iCloud to erase your iPhone.  
    NOW... You will be able to setup with a backup.

  • The Shell script keeps hanging

    Hello,
    I have the following shell script and when i execute, it keeps hanging and nothing happens
    Please let me know.
    Requirement is to read data from file and pass it to the sql and create files as shown.
    code
    #!/bin/sh
    while read user.dat
    do
    echo "user = $1 email = $2"
    done
    sqlplus -S /NOLOG << EOF
    connect username/pwd@schema
    select user_name,count(*) from apps.fnd_user
    where 1=1 and user_name ('$1') and email_address ('$2')
    group by user_name;
    EOF
    if [ $? -ne 0 ]
    then
    % cat > user_exist
    else
    % cat > user_notexist
    fi
    exit 0
    Data File
    rsreenivasa null

    Well, youy have many problems here:
    while read user.dat
    do
    echo "user = $1 email = $2"
    done
    The "user.dat" string is an invalid variable name, so this loop never runs.
    Then, in this sequence:
    if  $? -ne 0
    then
    *% cat > user_exist*
    else
    *% cat > user_notexist*
    fi
    The cat(1) commands then copy stdin to either "user_exist" or "user_notexist".
    You don't show how you run this command, so we cannot tell what happens exactly.
    Please delete everything below the "while read ..." loop. Get that loop working as you expect it should. Then add a few more lines and test those. Build the shell script incrementally, debugging each as you go.
    Hint: since this is a shell script, run it like this:
    $ sh -x ./myscript arg1 arg2 ...
    to see what happens as it happens.
    Cheers

  • Where is the Shell Script directory?

    I have been asked to run a script in the Shell Script directory.
    I found the directory /library/scripts ... when I ran the script in there I did not get the expected results, so I assume the directory is incorrect.
    Please help..

    AFAIK, that folder's for AppleScripts, not shell scripts. For shell scripting, see https://developer.apple.com/library/mac/#documentation/OpenSource/Conceptual/She llScripting/Introduction/Introduction.html

  • I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into m

    I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into my Adobe account...AGAIN!  And then to further add insult to injury, I'm prompted to enter in the license number of my product.  I've gone through this process a dozen times now...SCREAM!!!

    Paulou12 what type of a Creative Cloud Membership do you have?  You can find details on how to update Lightroom using the Creative Cloud Desktop application at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    Finally if you are in a managed environment then please work with your I.T. department to apply the update.

  • Error when running the OWB process flow from the shell script

    Hi,
    I am able to deploy the process flow succesfully but when I execute the process flow from the shell script,I am getting the following error.Previously it worked fine.
    I had to make some chnage in the IP address,so i had to deploy again.
    Connected.
    SQL> @/oracle/product/owb92028/owb/rtp/sql/oem_exec_template.sql OWB_RTR LOC_P_REL PROCESS P_W_SOURCE "," ","
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.01
    Stage 1: Decoding Parameters
    | location_name=LOC_P_REL
    | task_type=ProcessFlow
    | task_name=P_W_SOURCE
    Stage 2: Opening Task
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 17
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 137
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 164
    ORA-06512: at line 205
    Thanks in advance.
    Vinay

    Hi Kamal and kanakam kolla,
    This is just to let you know that,I solved my problem little differently by creating a new location and deployed the process flow.Now my process flow is working fine when i call from the shell script.What i see is that, it does not update properly when we update and redeploy the process flow.So far this is the work arround i could think off and i succesfully tested this.
    Thank you Kamal and kanakam kolla,for giving a thought towards my problem.
    Thanks
    Vinay

  • I have an old MacBook (Mac OSX 10.5.8) with iPhoto '08.  Is there any way to back up not only the photos, but the way I have organized them into events and labeled them?

    I have an old MacBook (Mac OSX 10.5.8) with iPhoto '08.  Is there any way to back up not only the photos, but the way I have organized them into events and labeled them?

    Yes. Back up the Library.
    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store

  • I want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.   At the moment i have to go into post-production and manually set the graph equalizer at various time points .

    i want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.
    At the moment i have to go into post-production and manually set the graph equalizer at various time points ...

    This won't be real-time as you record, but you could tweak the EQ in real-time after the recording thus:
    Record what you want to tweak into GB with no effects.
    Solo the track and output it into something like Audacity.
    Start Audacity recording, then play your track in GB as you make those tweaks. That's what Audacity will record.
    Get that file from Audacity and put it into GB, then you'll have that effect.
    Sorry if it's complicated, but that's what came to mind. Hope it works.

  • All of my apps are in iTunes AND on my iPod Touch. in iTunes it the checkbox next to sync apps is UNchecked. should i check the box and have to reorganize all my apps or leave it "un-synced"?

    all of my apps are in iTunes AND on my iPod Touch. in iTunes, under my iPod, the checkbox next to 'sync apps' (in the Apps page under my iPod) is Unchecked. if I check it, all my apps will be all over the place and I will waste hours trying to get it back to the way it was. I don't really have a reason to check the box but I don't know. should I check the box and have to reorganize all my apps or leave it "un-synced"?
    by "un-synced" I mean how it is on my iPod and iTunes at the same time but its not synced
    this happened b/c I had to make a new user acct on my only [Windows 7] computer and when i clicked transfer purchases, this happened.
    any help would be greatly appreciated
    And as you can see ( besides my problem here) i am out of dropbox space. it would be nice if you can click http://db.tt/TQiPs59V to make an acct to give me and you more space

    You should ALWAYS make sure that everything is on your computer and backed up, most especially before any update. The iphone is designed to be synced to your computer regularly.
    If you have failed to do this, then you need to redownload:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Issue with IE8, during login to Oracle Apps 11.5.9 front end

    Hi,
    One of the user is getting below error message window in IE8, when he tries to login to Oracle Apps 11.5.9 front end, with his username and password:
    "Errors on this webpage might cause it to work incorrectly.
    Element not found
    Common2_2_24_2.js Line 2722
    Code:0 Char:1
    URI:http://myserver.x.com:8020/OA_HTML/cabo/jsLibs/Common2_2_24_2.js"
    User tried deleting cookies and temporary internet files aslo, restore default as well nothing seemed to be worked.
    Please suggest.
    Regards,
    Purnima

    I assume you mean in the security settings screen of IE. There are several differences:
    Description     User's Computer     Other Computer
    Allow previously unused ActiveX controls to run without prompt     Enable     Disable
    Allow Scriptlets     Enable     Disable
    Automatic prompting for ActiveX controls     Enable     Disable
    Only allow approved domains to use ActiveX without prompt     Disable     Enable
    Automatic prompting for file downloads     Enable     Disable
    Access data sources across domains     Prompt     Disable
    Allow scripting of Microsoft web browser control     Enable     Disable
    Allow script-initiated windows without size or position constraints     Enable     Disable
    Allow websites to open windows without address or status bars Enable Disable
    Don’t prompt for client certificate selection when no certificates or only
    one certificate exists     Enable     Disable
    Include local directory path when uploading files to a server     Enable     Disable
    Launching applications and unsafe files     Enable     Prompt
    Software channel permissions     Medium safety     Does not have this option listed
    Use Pop-up Blocker     Disable     Enable
    Use SmartScreen Filter     Disable     Enable
    Allow status bar updated via script     Enable     Disable
    Allow websites to prompt for information using scripted windows     Enable     Disable
    Enable XSS filter     Disable     Enable
    User even changed above IE setting according to the other IE but he still gets the same error.
    Regards,
    Purnima

  • How to displays the standard open file dialog box in Oracle Apps Server

    Hi,
    I am having a form, where i am opening a file and putting that file content in a text box.
    This is my code written in WHEN-BUTTON-PRESSED trigger:
    declare
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(8000);
    filename VARCHAR2(30);
    BEGIN
    filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
    in_file := Text_IO.Fopen(filename, 'r');
    LOOP
    Text_IO.Get_Line(in_file, linebuf);
    :text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
    END LOOP;
    EXCEPTION
    WHEN no_data_found THEN
    Text_IO.Put_Line('Closing the file...');
    Text_IO.Fclose(in_file);
    END;
    I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
    "FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
    I think the GET_FILE_NAME function is not supported in the Apps Server.
    Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
    Pls let me know.

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

  • Logging into Oracle Apps R12 throws error - unable to authenticate session

    Hi All,
    Working on R12 OS:AIX
    Logging into Oracle Apps R12 throws error - "unable to authenticate session".
    Earlier Guest user was end-dated which has now been removed and autoconfig was run.but still the same issue..(services were bounced too)
    Guest user password is:ORACLE(uppercase) in xml file,dbc file,GUEST profile options..
    could anyone please share such an experience encountered before and suggest resolution...
    Would appreciate an early response!
    Thanks for your time!
    Regards,

    Pl see ML Note 342332.1 on steps needed to troubleshooot login. Although this doc is for 11i, it should also apply to R12
    Srini Chavali

  • What all happens when we login to Oracle apps

    What all happens when we login to Oracle apps ? What all files are touched when we login to applications, like when DBC file is use, applsyspub/Guest user comes into picture ?
    Thanks

    Hi;
    Pelase check below thread i belive they will answer you:
    Login process
    Full cycle ...
    Re: Full cycle ...
    Regard
    Helios

  • Every time I click on a link from my university online learning module, i lose my link back to the universitry site and then have to login into the uni site again. How do I fix this annoying problem?

    Whene using a link supplied from a university online learning mode, the link appears immediatly, HOWEVER, i then lose the university page and have to login in again. I find myself having to re login multiple times as I need to go into several links, several ltimes a day.

    Hi spmorris,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    Finally, your issue may be because you've been hit with some [https://support.mozilla.org/en-US/kb/Is%20my%20Firefox%20problem%20a%20result%20of%20malware?s=malware&r=0&e=sph&as=s#w_how-do-i-get-rid-of-malware Malware].
    Hopefully this helps!

  • Shell Script Programming -- Loading data into table

    Hello Gurus
    I am using Oracle's sql*loader utility to load data into a table. Lately, I got an unlikely scenario where in I need to process the data file first before loading it into the table and where I need help from you guys.
    Consider the following data line
    "Emp", DOB, Gender, Subject
    "1",01/01/1980,"M","Physics:01/05/2010"
    "2",01/01/1981,"M","Chemistry:02/05/2010|Maths:02/06/2011"
    "3",01/01/1982,"M","Maths:03/05/2010|Physics:06/07/2010|Chemistry:08/09/2011"
    "4",01/01/1983,"M","Biology:09/09/2010|English:10/10/2010"Employee - 1 will get loaded as a single record in the table. But I need to put Subject value into two separate fields into table. i.e. Physics into one column and date - 01/05/2010 into separate column.
    Here big problem starts
    Employee - 2 Should get loaded as 2 records into the table. The first record should have Chemistry as subject and date as 02/05/2010 and the next record should have all other fields same except the subject should be Maths and date as 02/06/2011. The subjects are separated by a pipe "|" in the data file.
    Similarly, Employee 3 should get loaded as 3 records. One as Maths, second as Physics and third as Chemistry along with their respective dates.
    I hope I have made my problem clear to everyone.
    I am looking to do something in shell scripting such that before finally running the sql*loader script, the above 4 employees have their records repeated as many times as their subject changes.
    In summary 2 problems are described above.
    1. To load subject and date into 2 separate fields in Oracle table at the time of load.
    2. If their exists multiple subjects then a record is to be loaded that many times as there exists any changes in employee's subject.
    Any help would be much appreciated.
    Thanks.

    Here are some comments. Perl can be a little cryptic but once you get used to it, it can be pretty powerful.
    #!/usr/bin/perl -w
    my $line_count = 0;
    open FILE, "test_file" or die $!;
    # Read each line from the file.
    while (my $line = <FILE>) {
        # Print the header if it is the first line.
        if ($line_count == 0) {
            chomp($line);
            print $line . ", Date\n";
            ++$line_count;
            next;   
        # Get all the columns (as separated by ',' into an array)
        my @columns = split(',', $line);
        # Remove the newline from the fourth column.
        chomp($columns[3]); 
        # Read the fields (separated by pipe) from the fourth column into an array.
        my @subject_and_date = split('\|', $columns[3]);     
        # Loop for each subject and date.
        foreach my $sub_and_date (@subject_and_date) {
            # Print value of Emp, DOB, and Gender first.
            print $columns[0] . "," . $columns[1] . "," . $columns[2] . ",";
            # Remove all double quotes from the subject and date string.
            $sub_and_date =~ s/"//g;
            # Replace ':' with '","'
            $sub_and_date =~ s/:/","/;
            print '"' . $sub_and_date . '"' . "\n";       
        ++$line_count;
    close FILE;

Maybe you are looking for

  • No, I don't want to share my iTunes library between users.

    My wife and I have accounts on my Mini, and separate iTunes libraries. We also have our own iPods tied to our own iTunes setups. Problem is with fast user switching. If I plug in my iPod, if her profile has iTunes running *at all*, it won't connect t

  • I need to reset Apple ID

    Good day. I have this problem. I need to reset Apple ID. I have the receipt and box from this device this confirms that the unit belongs to me. It was established by the seller at the store he not asked me my name and my mail. And I think that they p

  • How to call a shell script via ODI

    Hi, I need suggestion on following issues: 1) How to call a shell script via ODI?.. I tried using OSCommand utility .inspite of the execution being successful the data is not written into the new file in the desired format. After processing new file

  • Limits in Condition Type

    Dear All, I want to maintain limit in value for a condition type like in ED, CST & Freight, for the particular condition type calculation is based on fixed amount or in quantity level. 1. I have made it in SPRO---MMu2014Purchasingu2014Conditionsu2014

  • When streaming Vid with flash player, audio and video are not in sync

    With Flash 11.6, audio and video are not in sync. Video is slower. Using Firefox 20.0.1