Pl/sql gateway timing

Hi, does anyone know how to measure the time it takes the mod pl/sql gateway to render the htlml in apex?

Hello:
This conversation in the thread referenced below might answer your question
Re: Calculating Page Load time - Request to Vikas
Varad

Similar Messages

  • Dynamic SQL and PL/SQL Gateway

    This question is kind of out of curiosity...I had created a procedure that used some dynamic sql (execute immediate), and was trying to use it on pl/sql gateway. I kept getting page not found errors until I removed the execute immediate statement, and reverted to using static sql statements.
    I am just curious, is dynamic sql not supported at all with pl/sql gateway?
    Thanks
    Kevin

    > Relax damorgan, no need to be condescending. Of course I read the docs ..
    Well, you're one of the few that actually read the docs.. And one of many that lacked to state any real technical details for forum members to understand the actual problem, the actual error, and what the environment is that this is happening in.
    Remember that you came to this forum for forum members to help you. In order for us to do that, you need to help us understand
    - your problem
    - your environment
    - what you have tried
    What PL/SQL Gateway do you refer to? Thus is an old term for an old product - today in Oracle there are two "gateways" into the PL/SQL engine via HTTP. Via Apache/mod_plsql and via the internal Java servlet web engine called EPG inside Oracle.
    As for what the "Gateway" access to the PL/SQL engine via HTTP.. whether it supports EXECUTE IMMEDIATE or not is like asking if a car "supports" soft drinks or not (just because a human that may consume soft drinks acts as the driver of the car). Not sensible or relevant at all.
    mod_plsql creates an Oracle session to the database instance, and executes a PL/SQL procedure in the database. This is no different from any other client connection to Oracle. Oracle has no clue that the client is mod_plsql and not TOAD or Java or VB or PHP or Perl or whatever else.
    So how can this support or not support the EXECUTE IMMEDIATE command? Does PL/SQL support EXECUTE IMMEDIATE? Well duh...
    Why do you get a generic 404? Because the PL/SQL call made by mod_plsql failed with an unhandled exception. mod_plsql gets that exception and now what? Was a valid HTP buffer created for it to stream to the web browser? If the buffer perhaps partially completed? All that mod_plsql knows is that it asked for a HTP buffer via that PL/SQL call and it got an exception in return.
    A 404 HTTP error is the only reasonable and logical response for it to pass to the web browser in this case.
    PS. to see why mod_plsql fail, refer to the access_log and error_log of that Apache httpd server

  • Issues with using Embedded PL SQL Gateway with Apex 4.2

    Hi,
    I have installed Oracle 11g R2 and want to develop an application using Apex 4.2 (needs upgrade from 3.2 version which has come bundled).
    For the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.
    I would like to know what are the performance related issues b/w using the embedded PL/SQL Gateway (Oracle XML DB HTTP Server) that comes with Oracle 11g R2 as against the HTTP Server found as a part of the fusion middleware bundle. Is it wise to procure the license for HTTP Server?
    Details:
    DB OS: Windows 7 (64 bit) (DB and Apex are on the same machine)
    Number Of Users of application: 10-20
    Application is mainly used more for keeping track of details as against heavy processing or the like
    Thanks

    For the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.What gives you this impression? The licensing position remains the same: OHS is covered by the DB license if OHS is run on the same server. See Joel's post and the document he links to: +{message:id=9256804}+.

  • How can I enable embedded pl/sql gateway to run on port 80

    I have a new 11G install on OEL 4.0, database created. I would like to be
    able to access the instance using the pl/sql gateway. Works fine with
    port 8080, the default. How to I enable it to run on port 80?
    I found this statement in the following docuementation:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#ADXDB2500
    Using HTTP(S) on Nonstandard Ports
    By default, HTTP listens on a nonstandard, unprotected port: 8080. To use HTTP(S) on
    the standard port, such as 80, your DBA must chown the TNS listener to setuid ROOT
    rather than setuid ORACLE, and configure the port number in the Oracle XML DB
    configuration file /xdbconfig.xml.I have root priviledges on the box.
    I've tried setting the listener file permissions:
    chown root:dba /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    chmod 6775 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    Also put root in the dba group.
    The permissions turn out like this:
    -rwsr-sr-x 1 root dba 830854 Jun 17 21:04 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    I stopped the listener, bounced the database, and started the listener again.
    But it still shows the process being owned by oracle:
    oracle 29682 1 0 21:08 ? 00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER -inherit
    Changing the port is easy:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    8080 2100
    At this point, I can access the apex home page with the following url:
    http://hostname:8080/apex/f?p=4550:10:1454849288245548
    I can than change it to port 80:
    SYS>begin
    dbms_xdb.sethttpport('80');
    dbms_xdb.setftpport('2100');
    end;
    2 3 4 5
    PL/SQL procedure successfully completed.
    SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    80 2100
    When I try to access apex with the following url:
    http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
    I get the following:
    Failed to Connect
    Firefox can't establish a connection to the server at hostname.com.
    Though the site seems valid, the browser was unable to establish a connection.
    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings
    * can interfere with Web browsing.I can set the port. Just can't talk to it.
    This is the entry from the listener log:
    <msg time='2008-07-03T15:40:09.741-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname'
    host_addr='xxx.xxx.xxx.xxx'>
    <txt>TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    Linux Error: 13: Permission denied
    </txt>
    </msg>
    So this looks like an permissions problem. But where? I posted
    this on the apex forum here:
    Re: How can I enable embedded pl/sql gateway to run on port 80
    They suggested asking here.

    No, that thread did not provide the information that I need. Some more data:
    I have the port set to 8080:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    8080 2100
    At this point, I can access the apex home page with the following url:
    http://hostname:8080/apex/f?p=4550:10:1454849288245548
    I can than change it to port 80:
    SYS>begin
    dbms_xdb.sethttpport('80');
    dbms_xdb.setftpport('2100');
    end;
    2 3 4 5
    PL/SQL procedure successfully completed.
    SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    80 2100
    When I try to access apex with the following url:
    http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
    I get the following:
    Failed to Connect
    Firefox can't establish a connection to the server at hostname.com.
    Though the site seems valid, the browser was unable to establish a connection.
    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
    I can set the port. Just can't talk to it.

  • Three tier (mod pl/sql) vs. two tier (PL/SQL Gateway)

    I've been using 10g Database and 10g application server on separate servers for some time now.
    Going the two tier (11g) route has some attractions, but what are the disadvantages?
    The Oracle documentation I've seen says very little on making the decision, giving benefits as:
    Ease of configuration
    Included in the database
    No separate server installation
    - but no negatives.
    Does anyone have any real live experience of comparing the two options?
    I'm inclined to believe that three tier might have more tuning flexibility, better performance if each tier is on a different server. Maybe worse than two tier if on one server, assuming two tier eliminates communication overheads..
    Does pl/sql gateway have the caching ability of Apache/mod pl/sql - I assume not? - that could make a big difference.
    Any thoughts would be welcome...

    There are several key performance advantages of OHS over EPG. I'm working a lot with the EPG right now and pushing the XDB team to add several of these features (maybe in 11.2, possible backport, but don't count on it). I used recommendations from the yslow Firefox add-in to do some performance tuning. Here's there list of Best Practices:
    http://developer.yahoo.com/performance/rules.html
    - EPG does not add an "Expires" header. So, lets say you have 25 images in your page template, and none of them change. Each page view will still request those 25 images. They use etags, so you don't have to download the images, but your browser still makes the requests which is quite slow. From my testing, pages could be up to 4 times slower with the EPG with a pretty standard template. The XDB team is aware of this and working hard to resolve it.
    - EPG does not support gzip. This is another HUGE performance hit.
    Keep in mind you can't test any of those issue with debug mode in APEX, you really need to use a browser plugin such as Firebug + ySlow. The render speed from APEX's point of view will be the same, no matter what HTTP server you use.
    The other big on is mod_rewrite support. There is no way easily create friendly URLs for your apps. Another thing to consider is that a number of Identity Management systems, such as Oracle Access Manager (OAM) work by installing an Apache Module or in the case of IIS, some type of plugin (forget what they call it). There is no concept of this in EPG.
    IMHO, it's convenient for laptops, but I would never use it for production unless you needed some feature that it exposes, such as WebDav or FTP access to the XDB repository...
    Tyler

  • Where is "httpd.conf" file in Apex 3.2 w/ embedded PL/SQL gateway (in 11g)?

    Hi,
    I need to config the file to direct the standard ApEx URL (ie: http://xxx.x.x.x:8080/apex/f?p=108:1) to a nicer URL (ie: http://xxx.x.x.x:8080/apex/test.html, for example) to the end users. I believe the file should be located in something like $ORCLE_HOME/Apache/Apache/conf in the Oracle HTTP Server Apache web server version. However, it's NOT in the Embedded PL/SQL Gateway version.
    Any idea?
    Thanks much,
    Helen

    I don't think that you could do this using the native embedded gateway. Since it is not actually running Apache. It is actually running through the XML DB connectors.
    2 options:
    1) Use a front end server as a proxy, or as the mod_plsql gateway
    2) Pretty up your URL's using the application/page aliases: http://xxx.x.x.x:8080/apex/f?p=app:page where app and page have been assigned as application and page aliases resp.
    -Richard

  • PL/SQL gateway in runtime

    All,
    I created an application in DEV environment (Apex 3.2.0, Oracle 10g, XP, localhost, Language: de).
    I imported it into Prod environment (APEX RUNTIME, PL/SQL Gateway, Oracle 11g, Linux) and enabled it.
    When I try to access my application via http://192.xxx.xxx.xx/apex I get the message:
    ‘Page does not exist’.
    How can I check the settings of the PL/SQL Gateway?
    Or might there be another cause for that prob?
    Thanks in advance
    lucio

    Hi,
    thanks for your fast response.
    I get the message "ORA-31050: Zugriff abgelehnt", which means I don't have sufficient rights.
    Do I need to be sys or is APEX_ADMIN_ROLE sufficient?
    Regards
    lucio

  • Virtual Directory Change from Oracle HTTP Server to Embedded PL/SQL Gateway

    We finally upgraded from htmldb 1.6 to ApEx 3.1.2 late last year. This was in conjunction with setting up a new server and installing Oracle 11g DB, while our production DB is still 10g. During this install, I opted for the Embedded PL/SQL Gateway, whereas our htmldb is running with the Oracle HTTP Server.
    During the conversion of one of our applications I learned that Virtual Directory references to #IMAGE_PREFIX# are no longer valid for custom CSS so I had to change an entry in the page templates that I'm using to use #WORKSPACE_IMAGES#. Now I am importing another application from our htmldb 1.6 environment to our ApEx 3.1.2 environment, and I have a new problem that I think is related.
    In this application we have been uploading report files for outside users to be able to download at their convenience. I think the upload is working OK, but when I try to download the report file I get the following:
    Not found
    The requested URL /apex/IMR.ofile was not found on this server.
    The download is accomplished with a link on an SQL Report region. The Column Link info is:
    Link Text = <img src="#IMAGE_PREFIX#edit_big.gif" border="0" alt="Icon 1">
    Target = URL
    URL = #OWNER#.ofile?p_file=#VIEW_REPORT#&v_auth=&APP_USER.
    When I change the Link Text to <img src="#WORKSPACE_IMAGES#edit_big.gif" border="0" alt="Icon 1"> I lose the Edit Icon image. However, what I'm really concerned about is the URL not found error
    Now, maybe I'm barking up the wrong tree, so if the problem isn't related to virtual directories, which tree should I be barking up?
    Any suggestion?
    Thanks,
    Gregory

    Is the IMR.ofile a custom package for downloading files? If so, you might need to add it to the wwv_flow_epg_include_mod_local function.
    I am not certain how this function also plays into the embedded pl/sql gateway, but do know it would affect this running through Oracle HTTP server when configured with the before proc.
    With the embedded gateway it may very well be that you need to add this package into the ACL for outside availability.

  • Setup for PDF printing using Embedded PL/SQL Gateway, 11G DB and APEX 3.1

    I've setup APEX on 11G using the Embedded PL/SQL Gateway. Its all working well.
    I've enabled Network Services and can see a couple of printers I've defined after running
    select * from DBA_NETWORK_ACLS;
    and also can see the FLOWS_030100 and FLOWS_030000 users when I run
    select * from DBA_NETWORK_ACL_PRIVILEGES;
    I have been through http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html and can see that I have a few choices ...
    * Oracle BI Publisher,
    * Apache FOP or
    * some other XSL-FO Processing Engine.
    I am not able to use Oracle BI Publisher ... license required:-( ... so that leaves the other two choices .. as I'm using the Embedded PL/SQL Gateway the Apache FOP is not an option ..
    that leaves other XSL-FO Processing Engine .. has anyone had any experience in this area .. and can give me a few pointers ...
    I'm kinda surprised I have little choice .. am I missing something?
    Regards
    Adam

    Adam,
    >> as I'm using the Embedded PL/SQL Gateway the Apache FOP is not an option
    Not a true statement. Using Oracle Containers for J2EE (10.1.3.2), as listed in that document you reference, is all you need to use Apache FOP. You don't know the full-blown Apache.
    Joel

  • Using a Domain name with embedded PL/SQL Gateway

    Hello all
    I wish to link domain name to an application
    e.g. www.mydomain.com goes to application 100
    or www.ano.mydomain.com goes to application 135
    I have successfully done this in the past using HTTP server.
    My new installation does not used HTTP server ... I have only configuration Embedded PL/SQL gateway
    Can I route using embedded PL/SQL gateway a URL to an application?
    Thanks
    Pete

    PS ... I am using APEX 3.1 with 11g

  • File Upload and Download in Oracle iAS PL/SQL Gateway

    i'm using the example 113471.1 to "File Upload and Download in
    Oracle iAS PL/SQL Gateway"
    when i press the submit button after i select a file to upload
    i get the next message in the browser "No se puede mostrar la
    pagina" HTTP 404 file not found.
    I think the problem is in ctnsample.upload_form in the line
    htp.formOpen(curl => 'cntsample.upload', cmethod => 'POST',
    cenctype => 'multipart/form-data');
    The ctnsample.remove work fine.
    Could you,help me...

    There is a document in the Oracle 9iAS 1.0.2.2 Library titled "Using the PL-SQL Gateway" Part Number A90099-01.pdf that explains file upload and download through modplsql. In particular there is a section there titled "Direct BLOB Download" which explains how one can easily download a blob utilising the wpg_docload package.
    I am still concerned that there exist duplicate copies of my blob content. One copy in the wwdoc_document$ table, and one in my custom table.
    Dmitry/Oracle can you confirm this?

  • Enable SSL/https on ApEx Embedded PL/SQL Gateway/11g?

    Hi,
    I'm a newbie to ApEx. And I notice that most of ApEx applications are run on "http" instead of "https". Aren't you concerned about its security? What's your take on SSL/https with ApEx?
    I understand that it takes several steps to set it up on Oracle HTTP Apache server (ie: set up Oracle Wallet Manager, go to a certificate authority to get obtain a certificate, configure Oracle HTTP Server...etc). But does it work on Embedded PL/SQL Gateway (ie: runs XML DB HTTP instead of a separet Apache web server)?
    Any experience/suggestions/ideas?
    Thanks much,
    Helen

    Here is the Oracle documentation:
    [http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#CHDCAHDH]
    Here is a little more friendly post:
    [http://wiki.shellprompt.net/bin/view/Apex/SSLandAPEXxdbHttp?TWIKISID=6fa6f4a0bbb698921c333d6d0c859970]
    Friendly post originally from:
    Can the embedded PL/SQL gateway handle SSL?
    -Richard

  • Where is HTTP access and error log when using Embedded PL/SQL Gateway?

    Hello,
    I am using Embedded PL/SQL Gateway to run stored procedures.
    I can't find access log and error log (something like Oracle HTTP Server has).
    In listener.log are only simple data and there are no usernames and procedure names...
    Thanks.
    Marian

    You might be better off asking this on the Apex forum: Oracle Application Express (APEX)

  • Is Embedded PL/SQL gateway installed

    Hi,
    I am trying to find out if my oracle "10gR2 standard edition" meets the requirements to install Apex 3.2.1.
    Is there a view to query if "Embedded pl/Sql gateway" is installed or "Oracle http server and mod_plsql" is installed.
    Can we query such requirements from dba_registry view?
    thanks in advance,

    Hi,
    dba_registry will give info on Oracle components for which catalog ha been created in the database. But there could be some components installed on the binary but not used in the database. To check what components has been installed, you can use Oracle installer and then choose installed components from the first o 2nd screen.
    Regards

  • How to deploy in the "embedded PL/SQL gateway" architecture

    Hello,
    I thought I could use an url like "http://my_server_ip:8080/apex" in order to reach my application from another machine in the same subnet, but I get "failed to connect" error!
    Is there any configuration I must do prior for this to work?
    My architecture is The embedded PL/SQL gateway
    Please help
    Mujos

    <ol><li>What version of the database are you using (11.1, 10.2, XE)?
    </li>
    <li>What version of APEX?
    </li>
    <li>Did you install APEX yourself or are you using APEX pre-installed in XE or 11g?
    </li>
    <li>What steps of the installation guide did you complete?
    </li>
    <li>Did any of them fail?
    </li>
    <li>If so, what errors?</li>
    </ol>
    Tyler

Maybe you are looking for

  • Updating ipod error message

    when i connect my ipod 30gb to my laptop it opens itunes and tells me there is an upate avalible for my ipod. when i try to update it comes up with error 1417. I have tried to restore my ipod to factory settings at it fails with error message 1428. A

  • DW Extensions for e-Commerce / WorldPay

    Hi, I'm new to setting up a e-commerce website ....and I would be very grateful for any advice on the best DW Extension (and/or 'shopping cart s/w') to buy/download that is easy to learn, works with DW 8 and is compatible with WorldPay. I'm not an ex

  • PREVIEW WON'T PROJECT??

    I was doing a Keynote presentation, and I wanted to stop that and show a PREVIEW slideshow via my projector, a new Casio, but when I tried to show the slides from the PREVIEW pdf, all I got was a black screen. I clicked slide after slide, but got not

  • Lotus word doc with .lwp extension transfer to MAC OS

    any ideas?  I don't have a reg PC and solutions so far are not working for me.

  • Where is "gallery"

    how do i publish a web gallery from iPhoto. i cannot see the "gallery" button, just the "mobileMe" icon, and clicking on that only tells me that i AM signed in , and takes me to the "account", "sync", etc... window. i have no "gallery" anywhere in, o