Custom.pll - bounce listener ?

Hi there,
After adding changes in custom.pll under $AU_TOP/resource and generating custom.plx , do we need to bounce the Forms Listener to have the changes reflected in application ?
Thanks in advance.

Assuming you are using Forms 9.x or newer:
Module changes will only appear in new form's sessions. So, existing sessions will not see the changes. In most case, you do not need to bounce anything, I say "in most cases" because we have had reports of instances where changes were not reflected until OC4J_BI_FORMS was restarted.
If you are using versions older than 9.x and are using the Forms Server, I would recommend restarting it.

Similar Messages

  • Custom.pll and custom.plx location changed

    Hi Friends,
    I am having Oracle Apps 11.5.9 and i had the custom.pll and custom.plx on $AU_TOP/resource and make the changes there and it's working fine.
    Now suddenly the changes made on the file is not refelecting so i searchd the server and i could see another copy of custom.pll and custom.plx on the $COMMON_TOP/admin/scripts and the changes being made on this files is getting reflected(not the one from $AU_TOP)
    I don't know how this change happened.
    So Please let me know how to change the location of custom.pll and custom.plx from $COMMON_TOP/admin/scripts to $AU_TOP/resource?
    Regards,
    Arun

    Arun,
    How did you verify that the one which is used is the one under $COMMON_TOP/admin/scripts?
    So Please let me know how to change the location of custom.pll and custom.plx from $COMMON_TOP/admin/scripts to $AU_TOP/resource?Copy the CUSTOM.pll file back to $AU_TOP/resource, and compile the file again. Make sure both files (CUSTOM.pll and CUSTOM.plx exist under this directory), and bounce the application services then.
    Also, delete all CUSTOM* files under $COMMON_TOP/admin/scripts (take a backup of the files first).
    Regards,
    Hussein

  • Compiling custom.pll requires an outage?

    Hi,
    We need to compile the custom.pll in production. Does this require an outage to do that? What is the impact of compiling custom.pll without an outage?
    -Ritesh

    If this compile is done during non-business hours, and if some users are still connected to forms sessions. Would they have issues connecting to forms? Throw any kind of error? We are planning to compile the custom.pll today evening after business hours and bounce the services in the weekend. We are concerned that compiling custom.pll would cause an issue to existing users if they r connected?
    My question basically is - compiling a custom.pll without shutting down services does it effect any end users to experience errors?
    -Ritesh

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

  • Error while compiling CUSTOM.PLL with frmcmp_batch

    We have a strange issue here. One of the users is unable to compile custom.pll . He is getting the issue
    PDE-PLI038 Cannot open file for use as a PL/SQL Library
    This is the below file permission for the custom.pll
    -rwxrwxrwx 1 applmgr oaa 20480 Apr 29 02:57 CUSTOM.pll
    This is the one with custom developments in it.
    This is user id
    uid=114(ccankim) gid=1026(oaa)*
    But when I as a applmgr user is able to compile the CUSTOM.pll successfully.
    applmgr>frmcmp_batch module=CUSTOM.pll userid=apps/***** module_type=library
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release  - Production
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.5.0      Production
    Compiling library CUSTOM...
    Compiling Package Spec CUSTOM......
    Compiling Package Body CUSTOM......
    Done.
    Any idea Gurus...
    EBS 12.1.3
    UNIX HP-UX B.11.31 U ia64 4294967040 unlimited-user license
    DB 11.2.0.2

    $ which frmcmp_batch
    /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    $ ll -ltr /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    -rwxr-xr-x 1 applmgr oaa 22544380 Dec 21 12:17 /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    The user has execute permission.( because his user id belongs to group oaa which has execute permission)
    Full 777 permission on the directory where this CUSTOM.pll exists.
    The confusing part is, if the file would have been corrupted, it would not have been compiled successfully under applmgr user. So the doc id 1082077.1 as of now doesn't help a lot.
    :(

  • Error FRM-30312 while compiling a custom pll library on forms 11g weblogic

    hi,
    this is my case:
    Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
    Forms files compiled correctly, also webutil.pll was correctly compiled.
    but if I try to compile my custom pll I can see the error...
    when I run application, this erros msg appears:
    FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
    I have this script to compile .pll files (libraries):
    +#SCRIPT TO COMPILE LIBRARIES+
    export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
    export ORACLE_HOME=/opt/oracle/Middleware/as_1
    export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    export FORMS_DEFAULTFONT="Lucida.9"
    for i in `ls *.pll`
    do
    echo Compiling: $i ....
    file=$i
    +$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
    done
    But this error is shown:
    Compilation errors on RP2RRO:
    PL/SQL ERROR 201 at line 106, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 106, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 123, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 123, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 153, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 153, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 169, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 169, column 8
    Statement ignored
    Failed to generate library.
    FRM-30312: Failed to compile the library.
    I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
    I need help.

    InoL, Thank you very much.
    I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
    but I did not know that my custom pll had the rp2rro as a program unit.
    I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
    THANKS again.

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • R12's Custom.PLL

    Hi,
    To all users of R12, is it true that custom.pll is gone and cannot be modified in R12 anymore???

    Hi,
    CUSTOM.PLL is still available in R12 (just like 11) -- Note: 579318.1 - How To Bring Up 10G Forms Builder In R12 Environment?
    Oracle E-Business Suite Developer's Guide
    http://download.oracle.com/docs/cd/B53825_06/current/acrobat/121devg.pdf
    Thanks,
    Hussein

  • India Localization+custom.pll

    Hi,
    We are applying India Localization to Oracle application is already running in global instance.
    What kind of back up we must take for custom.pll. There are many customizations done in global instance.
    Thanks
    Naveen,Sankuratri

    India localization ships a CUSTOM.pll, which has code for some of the functionality to work. You have to merge the code in your CUSTOM.pll with the CUSTOM.pll shipped by localization patches/ patchsets.
    Note: 335113.1 - Oracle India Localization Service Tax FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=335113.1

  • How to use two dimensional array in custom.pll

    HI
    How to use two dimensional arrays in custom.pll
    I tried by the following way .
    type ship_array is table of number index by binary_integer;
    type vc_array is table of ship_array index by binary_integer;
    But I am getting the error as that
    A plsql table may not contain a table or a record with composite fields.
    Please tell me the way how to use them

    which forms version are you using? two dimensional arrays are available in >= 9i if memory serves.
    regards

  • Messaging using CUSTOM.pll

    Hello,
    I have registered a message named 'HAC_ASN_PO_ALERT' with the message type 'Note'. I have generated the message and am using the CUSTOM.pll to show the message when a specific event occurs. I am using the code below to call the message.
    FND_MESSAGE.SET_NAME('HAC','HAC_ASN_PO_ALERT');
    FND_MESSAGE.SET_TOKEN('ASN_STRING',x_asn_string);
    FND_MESSAGE.ERROR;
    This works just fine, the message displays when I want it to, but it shows with the error bell as an error message. I wanted to display the message as a note with the note icon. I have looked at the FND_MESSAGE package and there is not a procedure called NOTE. I tried SHOW, but I got an error. Can anyone please help me to get this message to display correctly?
    Thank you,
    Mike

    I am facing the same issues in R12.. Any solution for this.
    Thanks in Advance.
    Chetan

  • Error while compiling a custom pll with forms 11g and weblogic

    Hi there,
    I just posted a thread here:
    Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
    please, I need help

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Custom PLL with GO_BLOCK

    Hi
    please help or suggest.
    I'm setting a Delivery To Location on Purchase Order Distribution Block required, so that when users a trying to save the record a message should pop up notifying then that they must populate the DELIVERY TO LOCATION address field i've used the GO_BLOCK but im getting this error frm-40737: illegal restricted procedure go_block in WHEN-VALIDATE-RECORD trigger.
    Please help and see my code below.
    begin
         app_item_property2.set_property ('PO_DISTRIBUTIONS.DELIVER_TO_LOCATION',required,property_true);
         if name_in('PO_DISTRIBUTIONS.DESTINATION_TYPE') = 'Inventory' then
                app_item_property2.set_property ('PO_DISTRIBUTIONS.DESTINATION_SUBINVENTORY',required,property_true);
         end if;     
         if p_event_name = 'WHEN-VALIDATE-RECORD' then
               if p_block_name = 'PO_LINES' then
                   if name_in('PO_DISTRIBUTIONS.DELIVER_TO_LOCATION') is null  then
                             fnd_message.set_name('XX','XX_PO_DELIVER_TO_LOCATION');
                               fnd_message.error;                          
                               raise form_trigger_failure;
                   end if; 
                   if name_in('PO_DISTRIBUTIONS.DESTINATION_TYPE') = 'Inventory' and name_in('PO_DISTRIBUTIONS.DESTINATION_SUBINVENTORY') is null then
                             fnd_message.set_name('XX','XX_DESTINATION_SUBINVENTORY');
                               fnd_message.error;
                               raise form_trigger_failure;
                   end if; 
           end if;
         end if;
      exception
              when FORM_TRIGGER_FAILURE then
              Go_Block('PO_DISTRIBUTIONS');
                 IF NOT FORM_SUCCESS THEN
                      RAISE Form_Trigger_Failure;
                 END IF;          
              when others then
              Raise;
      end;     

    Lethu,
    you cannot use navigational triggers in WVR.
    Why can't you use forms personalization to achieve this?
    This is way simpler than modifying the custom.pll.
    HTH,

  • Using Custom.pll on AP Invoices form goes into error in 11.5.10.1

    Hi All,
    I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_CURRENCY_API", line 327
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
    Can any body help me??
    Raj

    Hi Helios,
    Thank you for the update, actually the problem is solved.
    The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
    This problem is strange. Any ways, i am raising an SR with Oracle.
    Raj

  • How to close a custom form from CUSTOM.pll

    Dear Friends,
    We need your help on the following issue related to Oracle Apps Forms.
    We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
    To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
    We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
    The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
    we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
    Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
    Thanks,
    Uma

    I thing you haven't any (supported) option to close a form via custom.pll.
    For a long time, we have search a solution for the same problem without any result.

Maybe you are looking for