Calling the procedure from URL is not working

Hi Experts,
We are in the process of 11i to R12 upgrade of oracle EBS system.
In 11i they have done some personalization in the form which will trigger a URL and a notfication will open in the browser.
11i url
HTTPS://abc.xyz.t.COM:8070/PLS/abc/XXM_PO_NOTIFICATION_PREVIEW.SHOW?P_PO_HEADER_ID=1711&p_type=PO
r12 url
HTTPS://abcr12.xyz.t.COM:8070/PLS/abcr12/XXM_PO_NOTIFICATION_PREVIEW.SHOW?P_PO_HEADER_ID=1711&p_type=PO
The URL is calling the function XXM_PO_NOTIFICATION_PREVIEW.SHOW by passing the parameters and it is working fine in 11i.
In r12 it is constructing the correct URL but when the page opens it is saying page not found.
My question is when we pass call the package in browser URL..does it  executes?
We have put some debug message in the package but it is not getting pritntig.
Many Thanks
Bharat

Page not found (404) is a generic error from the web server. It simply says something went wrong when it serviced that URL from the browser - not what exactly went wrong.
You need to look in the error log of the Apache server for the details.
Assuming a standard OHS (Oracle HTTP Server) install. The URL contains a DAD (Database Access Descriptor) - in your case it is abcr12.  This DAD will be defined in the Apache config file called dads.conf in the mod_plsql directory.
Part of the DAD definition will be an Oracle username, password, and Oracle connection string (typically TNSFormat).
The error you see on the browser side is often due to this DAD connection and authentication details failing. E.g. Oracle schema is locked. Oracle password is wrong. TNS connection string requests a non-existing service from the Oracle Listener. Etc.
But it would make sense to first confirm that this is indeed a connectivity error, via the Apache error log.

Similar Messages

  • How to call a procedure from url

    hello,
    I'd like to call a procedure from the url. <br>
    I've tryed several ways to call that procedure, but none of it worked. <br><br>
    so can someone please tell me the correct syntax of such a call?<br>
    thanks in advance.

    Hi ,
    I have implemented this in one of my apps in the following way:
    - Created a database procedure (called download_file that accepts a parameter). This procedure opens a document stored in the database.
    - In a report region, in the Column Link attributes, I set the Link Text to "Download", set Target to "URL" and set URL to "#OWNER#.download_file?p_file=#MYFIELD#"
    Hope this helps.

  • Calling a ztransaction from function module not working

    Hi experts,
    I have made a ztransaction through SE93 called Z_TRANS.When I am calling this transaction from a program in SE38, it is giving the screen corresponding to the transaction. But when same
    Call Transaction 'z_TRANS' is used in SE37 in a function module, program is abending.
    Please help...

    Hi ,
    Also check the 3 check boxes for GUI support.
    Regards.

  • Calling Sub-Templates from a Template not working

    I have a Template that I want to call a multiple Sub-Templates, and the Sub-Templates actually define an entire report. After I load the Data and try to preview I get the following error:
    Caused by: oracle.xdo.parser.v2.XSLException: <Line 39, Column 62>: XML-22049: (Error) Template 'MWAC_JOB_RTG' invoked but not defined.
    Can someone tell me what this means? Is what I'm trying to do even possible?

    Is the sub template accessible by the main template? Have you included the import statement in your main template?
    Thanks!
    BIPuser

  • Error when calling a procedure from my apex application

    Hello.
    I want to create a small APEX application that can configure asynchronous change data capture (distributed hotlog) on certain tables.
    Basically, what the application should do is to simply create change tables. Everything else is set up as prerequisite.
    My problem is that when I run the following script from schema apex_cdd (using sqldeveloper) , it works; but if I run it from my apex application by calling it when pressing a button as a pl/sql process, it doen't work.
    BEGIN
    apex_cdc.enable_table_capture
         (     i_owner => 'staging_cdcpub',
              i_change_table_name     => 'g_changeTable',
              i_change_set_name     => 'Source_changeSet',
              i_change_source          => 'orcl01_cs',
              i_source_schema          => 'My_src',
              i_source_table          => 'G',
              i_column_type_list     => 'STARTDATE DATE,STATUS CHAR(1),NAME VARCHAR2(10),ENDDATE DATE,DESCRIPTION VARCHAR2(255),ID NUMBER(8,0),VALUE NUMBER(10,2)'
    END;
    If I look in the trace file, i see that the error is:
    CDCdebug:in ChangeTable.java enableDisabledTriggers: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    Other remarks:
    - My procedure calls: sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE.
    - I gave the same rights that I gave for apex_cdc schema to flows_030200 and APEX_PUBLIC_USER schemas (just to see if it works), but it doens't.
    Is APEX calling the procedure from another schema ?
    Does anyone has an idea why this procedure crashes if called from APEX application, but works ok if called from the same schema APEX application runs on, but using SQLDeveloper ?
    Any thoughts are appreciated.
    Radian

    The procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
    BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
    When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
    The code is like this:
    CREATE OR REPLACE PROCEDURE enable_table_capture
              i_owner               IN VARCHAR2,
              i_change_table_name     IN VARCHAR2,
              i_change_set_name     IN VARCHAR2,
              i_change_source          IN VARCHAR2,
              i_source_schema          IN VARCHAR2,
              i_source_table          IN VARCHAR2,
              i_column_type_list     IN VARCHAR2
         IS
         BEGIN
              EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
              EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
    sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
    owner => i_owner,
    change_table_name => i_change_table_name,
    change_set_name => i_change_set_name,
    source_schema => i_source_schema,
    source_table => i_source_table,
    column_type_list => i_column_type_list,
    capture_values => 'both',
    rs_id => 'y',
    row_id => 'n',
    user_id => 'n',
    timestamp => 'y',
    object_id => 'n',
    source_colmap => 'n',
    target_colmap => 'y',
    options_string => NULL);
    END enable_table_capture;

  • Urgent! Call stored procedure from jdbc vs. call from sqlplus?

    Hello I met a strange problem when using JDBC (to Oracle). I have a stored procedure mypack.myproc, which updates a table (only one row and one column in the table). I found that when I called the procedure directly from sql*plus, like:
    ==========
    BEGIN
    mypack.myproc;
    END;
    ==========
    the value is 2, which is correct.
    However, if I call the procedure from with in java via jdbc, the value become 591 (which is ridiculous), the jdbc call looks like:
    ================
    cstmt = con.prepareCall("{call mypack.myproc}");
    cstmt.executeUpdate();
    con.commit();
    ================
    This is really wield, Any idea?
    Thanks

    Hey buddy, it's you again. Just let you know that you are right. The problem is caused by mis-match between jdbc date and oracle date (that procedure is used to do some date calculation). My co-worker suggested me to add this statement in the procedure, and it did solved problem:
    ================
    DBMS_SESSION.SET_NLS( 'NLS_DATE_FORMAT', '''DD-MON-RRRR''' );
    ================

  • I have an iPod and an Ipad and want to use FaceTime calling from the iPod to the Ipad but it does not work. I use the same iCloud acount.

    I have an iPod and an Ipad and want to use FaceTime calling from the iPod to the Ipad but it does not work. I use the same iCloud accountedge

    Did you set up different email addresses for each device?
    iOS: Using FaceTime
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems

  • Safari is not working on the Mac. Internet is fine, mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar.

    Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If extensions aren't causing the problem, see below.
    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • I want to share Microsoft word from my desktop mac to my laptop but every timeIi try and do it, it says that it can't open because it is not supported by the software. I have tried several times and updated it on the mac but its still not working.

    I want to share Microsoft word from my desktop mac to my laptop but every timeIi try and do it, it says that it can't open because it is not supported by the software. I have tried several times and updated it on the mac but its still not working. Any ideas?

    You need to install Office on the computer from the installer DVD or disc image you purchased.

  • My iPhone 5 rear camera was not working, now the rear camera is also not working. I have procured the phone in 2012 from San Fransico. USA Can anyone help me, please?

    My iPhone 5 rear camera was not working, now the rear camera is also not working. I have procured the phone in 2012 from San Fransico. USA Can anyone help me, please?

    No one here can help you. If your phone is no longer under warranty, a third-party repair shop will most likely be your best bet. You can't mail the phone to Apple, in the US, as Apple does not accept international shipments. You could mail it to a friend/relative, in the US, & they could take it to an Apple store for you. Some Apple stores repair iPhones. Otherwise, you're looking at an out of warranty replacement.
    Good luck.

  • Calling a procedure from an OAF page through a button in the screen

    problem: calling a procedure from an OAF page through a button in the screen

    CREATE OR REPLACE procedure APPS.xx_delete_dept_prc(p_id in number)
    as
    begin
    delete from xx_training_dept_tbl where td_dept_id=p_id;
    commit;
    end;
    2.     create image button for delete
    3.     set the following property to this button:
    action type : fire action
    event :DeleteDept
    parameter :
    name: DEptIdParam value: ${oa.XxTrainingDeptVO1.TdDeptId}
    4.     create Co and writing the following code on process form request
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String actionInscreen=pageContext.getParameter(EVENT_PARAM);
    if ("deleteDept".equals(actionInscreen))
    String deptidparam=pageContext.getParameter("DeptIdParam");
    Serializable [] s={deptidparam};
    Class [] c={deptidparam.getClass()};
    OAApplicationModule am=pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteDept",s,c);
    throw new OAException("delete completed",OAException.INFORMATION);
    5.     create AM and writing the following code
    public void deleteDept(String deptid) {
    XxTrainingDeptVOImpl deptview= getXxTrainingDeptVO1();
    deptview.deleteDept(deptid); }
    6.create VO and writing the following code in view object class
    public void deleteDept(String deptid
    System.out.println("Dept ID =" +deptid);
    String s = "call xx_delete_dept_prc(:1)"; // :1 is the number of parameter to pass it to procedure
    CallableStatement cs =trx.createCallableStatement(s,1); // 1 number of record to fetch but delete always delete 1 row
    try
    cs.setString(1,deptid); // the name of the first parameter
    cs.execute();
    cs.close();
    catch (SQLException e)
    e.printStackTrace();
    }

  • My Mother in law messed up my Adobe reader some how to the point that it is no longer in my computer. I have tried to download it from the internet but it is not working. What am I missing? what else do I need to do? I am not even able to watch youtube...

    My Mother in law messed up my Adobe reader some how to the point that it is no longer in my computer. I have tried to download it from the internet but it is not working. What am I missing? what else do I need to do? I am not even able to watch youtube...

    Soccerdm,
    a direct download of Adobe Reader X 10.1.4 (which seems to be the most recent standalone version that runs on Mac OS X 10.5.8) is here.

  • The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I'm very computer literate and am pretty sure the problem is on your end.

    The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I've tried it multiple times and continue to get the same message: "NOT FOUND The requested item could not be found". I also tried through the Market application on the phone but ended-up with the same result.
    I'm very computer literate and am pretty sure the problem is on your end. If this is the case then no one can download the app. I considered that perhaps because it's still in Beta that it was removed due to some other type of software issue. I would really like to use Firefox on my new Droid (2.0); when with this be available?

    Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
    Or, if you have a supported phone, you can download the app directly by typing this address into your phone's browser: http://bit.ly/fxbeta3
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • I just buy operativesystem onlocker from 3 webshop i got the mail and it says i need to but it on itunes i do the all  steps but its not working its lockt to 3!

    i just buy operativesystem onlocker from 3 webshop i got the mail and it says i need to but it on itunes i do the all  steps but its not working its lockt to 3!

    sorry my english is very cash I think we got the paper on the lock operator and we have done all the steps but it will not play if it is unlocked, bought locked to three paid 350kr

  • HT1212 i forgot my passcode, i did whatever was told to me from the above information but its not working.

    i forgot my passcode, i did whatever was told to me from the above information but its not working.

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iPod will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up    
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    
    If problems, what exactlyhappens or does not happen and when?

Maybe you are looking for

  • How to update data in af:table

    Part Database: 1. I create 2 table in database - tb_closed_order - id - closed_date - lot - tb_order - id - order_number - title - detail - lot - status_closed_order 2. At tb_closed_order, I create trigger type after insert When I insert new record,

  • Is it possible to create an album in iTunes 11?

    Is it possible to create an album (not just a folder on the left) in iTunes (11)? A while back I purchased an entire comedy album but they came over as individual songs. They are not in album form with other comedy albums in my Comedy folder. Very fr

  • How to add new rows in Advanced Table along with attribute value?

    Hi, I have one advanced table that contain one messageChoice and messageTextInput field. I want to add new rows in advanced table. I can able to add rows using the AddMoreRows button in the footer of the advanced table, but I want to add attribute va

  • Sd-Scenarios

    Dear SDN'rs, can any one help me to get some Business scenarios for the following things, 1)  Third-party order processing 2)  Cross Company Sales Activities 3)  Stock Transfer Cross Company Stock Transfer. 4)  Backorder Processing. Points are assure

  • PC able to detect all except for the analog output channel of my SCB-68 device.

    I would like to use the analog output channel of my SCB-68 device. I tried to locate the analog o/p using the wizard but still unable to detect. Why is that so? Any possible steps/procedure that i have missed out? Thanks