Forcing usage of HTTP/1.0 (EPG & Oracle 11g)

Hi all,
We've installed APEX 4 w/ EPG on Oracle 11g Database. End users use a squid proxy, which convert any HTTP request using HTTP/1.0.
The problem is: when users attend to display a page in the application they have to wait 60 seconds before getting any result. We've found out that squid sends his requests with HTTP/1.0, then XMLDB reads the request, and sends the response using HTTP/1.1. The proxy seems not to understand the response quickly.
The question is: is it possible to force XMLDB to treat and answer to any request using HTTP/1.0? The end users environment does not allow to upgrade the proxy or change anything.
Our database environment is:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Regards,
Matthieu

Fiddled around a bit on the www. Version 3.1 should (reads a bit like more or less, but test and you will see) support HTTP1.1 (http://wiki.squid-cache.org/Features/HTTP11)
Also read up a bit on the development cycle and support of Squid. I have this stuff working, the functionality via Apache and hadn't had any issues. Maybe you should ask your customer and/or at least address why the use a product with such an unstable support. As said Apache has no issues (I used 11.2.0.1 database/Apex 3.21 for one of our customer setups).
Not sure if you can "downgrade" the HTTP level of the Oracle XDB Protocol Listener functionality. Have you tried with a 10.2.0.3 database or higher 10.*2*.0.x. version?

Similar Messages

  • Tablespace usage in Oracle 11g

    Hi Guys,
    Not sure if this has been asked before.
    I have created a couple of table spaces in my database and one of these tables is holding all my data. For that table space, I have added at least 8 data files so far and it seems that Oracle uses the free space very quickly. I would like to know following things
    1. Is there anyway to know that usage of data files with respect to table stored in it? In other words - would I be able to know if Table-A stored in datafile 1?
    2. Is there anyway to reuse the old data files?
    3. I am not sure if it is an Oracle instance, but it seems to be that Oracle 11g uses the free space very quickly (I can understand that it depends on the data) so just curious to know if there is anyway to minimize the usage.
    Any information on this would be useful and appreciated.
    Thanks
    Regards
    Jiggy

    Is there anyway to know that usage of data files with respect to table stored in it? In other words - would I be able to know if Table-A stored in datafile 1? The tables are actually stored in the tablespaces itself , spanned to multiple datafiles. Query dba_segments and dba_extents to find out that in which tablespace and datafile(s) , your tables are spread across.
    Is there anyway to reuse the old data files?In what way? If it is a Locally Managed Tablespace, Oracle would reuse the space becoming free automatically within the tablespace for the subsequent data.
    I am not sure if it is an Oracle instance, but it seems to be that Oracle 11g uses the free space very quickly (I can understand that it depends on the data) so just curious to know if there is anyway to minimize the usage. No such thing at least in my knowledge. Space being used would solely depend on the incoming data and not on the release of the db.
    Aman....

  • HTTP server on Oracle 11g R1 and apex listener

    I have installed APEX 4.0.1 on Oracle 11g R1 and things went well until the installation of the APEX listener.
    - I followed the installation guide and I opted for the basic connection type but I found the following message:
    the network adapter could not establish the connection
    I then checked my services and i noted that i had only four services which are:
    - OracleDBConsoleORCL
    - OracleJobSchedulerORCL
    - OracleOraDb11g_home1TNSListener
    - OracleServiceORCL
    And there is no oracle HTTP server as I had for oracle 9.2 on another machine.
    Can Anybody help on this ?
    thanks in advance for your help,
    Pierre

    Hi Pierre,
    as Tony posted, you usually chose the APEX Listener to access your APEX instance by using a J2EE container (like OAS/OC4J, Oracle WebLogic, Sun Glassfish) rather than using OHS+mod_plsql. So you'd need to search for the service that comprises the J2EE container to which you deployed the war-File for the APEX Listener.
    So as it seems you did not deploy to an existing J2EE container (you would not the proper URL...) you probably want to use the embedded web container of the APEX Listener. This container does not register any service and is started on demand.
    If you deployed to an existing J2EE container, use its access scheme ( PROTOCOL://HOST:PORT/CONTEXT ) to access the APEX Listener, where CONTEXT is defaulted to apex if you stick to the installation manual. Remember to configure the APEX Listener after deployment via PROTOCOL://HOST:PORT/CONTEXT/listenerConfigure , as described in the installation manual.
    Please follow the installation manual for the APEX Listener thoroughly to configure that instance and get the right port to access the service on the machine on which you started that embedded container, probably your localhost.
    -Udo

  • APEX Oracle 11g HTTP Server - Cannot get SSL working

    I have installed APEX on Oracle 11g with the Oracle HTTP Server on MS Windows server.
    Data base up and running, APEX up an running.
    All works as expected on port 7777
    When I try 4443 I get error message re self signed certificate by Oracle, but if I click through error message I get an https connection.
    I want to replace default cert with a locally signed cert, and get SSL working on 4443, then switch to port 443.
    I have used the Oracle Wallet manager, generated a CSR, had this signed by my corproate CA, and installed the corporate CA cert and the newly signed server cert into the wallet (with Auto Login Set) and saved it in:
    D:\orahttp\Oracle_WT1\instances\apex\config\OHS\ohs1\keystores\infosec2wallet
    This creates two files: ewallet.p12 and cwallet.sso
    I then manually add the group/users "SYSTEM" and "Administrators" to these two files to match the security tab on the default wallet.
    I T then go to the ssl.conf file located at:
    D:\orahttp\Oracle_WT\instances\apex\config\OHS\ohs1\ssl.conf
    and changed the entry:
    #SSLWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/default"
    SSLWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/infosec2wallet"
    I then stop and start the Oracle HTTP Server - ohs1 from the start menu.
    Then I try to connect from my desk top machine using the following URL:
    https://us-pghinfosec2.ariba.com:4443/pls/apex/f?p=101:1:
    I get the clasic MS IE Message:
    ==========
    Internet Explorer cannot display the webpage
    Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    What you can try:
    Diagnose Connection Problems
    More information
    This problem can be caused by a variety of issues, including:
    Internet connectivity has been lost.
    The website is temporarily unavailable.
    The Domain Name Server (DNS) is not reachable.
    The Domain Name Server (DNS) does not have a listing for the website's domain.
    If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
    For offline users
    You can still view subscribed feeds and some recently viewed webpages.
    To view subscribed feeds
    Click the Favorites Center button , click Feeds, and then click the feed you want to view.
    To view recently visited webpages (might not work on all pages)
    Click Tools , and then click Work Offline.
    Click the Favorites Center button , click History, and then click the page you want to view.
    ==========
    I am at a loss as to what to do. It acts like Oracle HTTP can not open my wallet.
    I suspect it needs the password to the wallet but I cannot find any place to specify the password, and Auto Login should have addressed that issue.
    Any insights welcome.
    Thanks - Elton Hay

    Hello Lakshmi,
    >
    I got your point but in our case HTTP Server and Oracle Database (APEX) running on different machines.
    Oracle HTTP Server running on a Windows 2003 server and Oracle Database running on Sun Solaris machine.
    So do i need to change Oracle 10g HTTP Server? do i need to install Oracle 11g HTTP SErver?
    Please let me know if my question is not clear.
    >
    <ul><li>
    I got your point but in our case HTTP Server and Oracle Database (APEX) running on different machines.Did I missed something?
    You should have mentioned this additional information in the original question itself.
    </li>
    <li>Oracle HTTP Server running on a Windows 2003 server and Oracle Database running on Sun Solaris machine.As long as [url http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BHAFJJDA]dads.conf is configured correctly there should not be a problem with this.
    From Original question:
    We are having Oracle APEX 3.1 version on Oracle 10g Database and Oracle 10g HTTP Server as web server in our organization.How did this setup of APEX worked?(i.e. on different machines)
    If you still have doubt about this you can do the setup and find out before upgrading.
    </li>
    <li>So do i need to change Oracle 10g HTTP Server? do i need to install Oracle 11g HTTP SErver?This question is answered in the above post. As long as you fulfill the [url http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/pre_require.htm#CFHIIJBE]HTTP Server Requirements for APEX 4.2 (Also we are discussing this long about only Oracle 10g HTTP Server but which version?)
    </li></ul>
    Hope now I am more clear!
    Regards,
    Kiran

  • What is the URL for administration of a standalone Oracle 11g HTTP server (OHS + Web Cache)

    Hi,
    I have a running Oracle 11g HTTP server (OHS + Web Cache). A stand-alone installation.
    What is the URL to access the administration page of the OHS server?
    Thanks by advance.

    Try this:
    http://hostname:7777/demos.htm

  • Restrict or disable file system export to force usage of CTS+

    Is there any way to restrict or disable direct file system export in a portal environment (for example by authorizations or customizing) to force usage of CTS+?
    Thanks in advance for any kind of input!
    Cheers,
    Andy

    Hi Lokendra,
    I know that already. Basically I need to know if it's somehow possible to limit the selection on CTS+ only when trying to export any kind of objects out of a Portal environment - meaning the option file export is not availbale at all. If not - is it somehow possible to distinguish between File Export and CTS+ by authorization (not file system authorizations)? As far as I've seen it, the authorizations for both functions are based on the same objects and need the same parameters at least for export. Doesn't seem like a way to solve this issue.
    Cheers,
    Andy

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • How to Install oracle 11G Solaris 10 NO GUI using command line

    Hello
    I need to install oracle 11G R2 on Solaris 10 but cant use interactive mode i tried the following
    /runInstaller -silent -force -debug FROM_LOCATION="/var/tmp/oracle/database/stageproducts.xml" ORACLE_HOME="/oracle/product"
    As per oracle metalink documentation - however i get the following messages
    [SEVERE] - My Oracle Support Username/Email Address Not Specified
    has anyone installed oracle with no interactive mode how can i do so ?
    thank you

    Have you followed the needed steps in the Install Guide ? http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/app_nonint.htm#BABFEECI
    HTH
    Srini

  • Oracle 11g - Memory used for sorting

    Hi everyone,
    I would like to know how I could analyze memory used for sorting in Oracle 11g. When I run the below query, it returns 1531381.
    select value from v$sysstat where name like 'sorts (memory)';But when I check sort_area_size parameter from v$parameter, it returns 65536. Does it mean my database is using more memory for sorting than sort_area_size. Or is the way I interpret v$sysstat view and sort_area_size wrong? What is the best way to monitor the memory usage for sorting? Thanks in advance.
    Regards,
    K.H
    Edited by: K Hein on Apr 5, 2012 8:16 PM

    check the valuse of pga_aggregate_target
    http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams157.htm
    Note:
    Oracle does not recommend using the SORT_AREA_SIZE parameter unless the instance is configured with the shared server option. Oracle recommends that you enable automatic sizing of SQL working areas by setting PGA_AGGREGATE_TARGET instead. SORT_AREA_SIZE is retained for backward compatibility.
    What is the best way to monitor the memory usage for sorting? try v$sort_usage
    or v$tempseg_usage
    col sid_serial for a44
    col size for a22
    col SID_SERIAL for a22
    SELECT b.tablespace,
            ROUND(((b.blocks*p.value)/1024/1024),2)||' MB' "SIZE",
            a.sid||','||a.serial# SID_SERIAL,
            a.username,a.osuser,
            a.program
       FROM sys.v_$session a,
            sys.v_$sort_usage b,
            sys.v_$parameter p
      WHERE p.name  = 'db_block_size'
        AND a.saddr = b.session_addr
    ORDER BY b.blocks;

  • Oracle 11g performace issue

    hi all,
    am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
    but in previous 10g it was working fine.. can anyone tell me how to stop those query..
    this is the query was running most frequently :
    select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
    from v$waitclassmetric union all
    select fg.end_time, -1, fg.value, bg.value, dbtime.value
    from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
    where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
    UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1

    Velsjeya wrote:
    hi all,
    am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
    but in previous 10g it was working fine.. can anyone tell me how to stop those query..
    this is the query was running most frequently :
    select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
    from v$waitclassmetric union all
    select fg.end_time, -1, fg.value, bg.value, dbtime.value
    from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
    where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
    UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1Why are you so concerned about background queries? Do you really think these queries uses high resource and have high elapsed time then you custom queries? The god way to diagnose a performance problem is to identify most resource intensive/time consuming program/module/code rather then running after background queries. Yes sometimes background queries too run slowly in rear cases and then you need to run dbms_stats.gather_dictionary_stats or dbms_stats.gather_fixed_objects_stats (https://blogs.oracle.com/optimizer/entry/fixed_objects_statistics_and_why)

  • Oracle 11g result cache and TimesTen

    Oracle 11g has introduced the concept of result cache whereby the result set of frequently executed queries are stored in cache and used later when other users request the same query. This is different from caching the data blocks and exceuting the query over and over again.
    Tom Kyte calls this just-in-time materialized view whereby the results are dynamically evaluated without DBA intervention
    http://www.oracle.com/technology/oramag/oracle/07-sep/o57asktom.html
    My point is that in view of utilities like result_cache and possible use of Solid State Disks in Oracle to speed up physical I/O etc is there any need for a product like TimesTen? It sounds to me that it may just asdd another layer of complexity?

    Oracle result cache ia a useful tool but it is distinctly different from TimesTen. My understanding of Oracle's result cache is caching results set for seldom changing data like look up tables (currencies ID/code), reference data that does not change often (list of counter parties) etc. It would be pointless for caching result set where the underlying data changes frequently.
    There is also another argument for SQL result cache in that if you are hitting high on your use of CPUs and you have enough of memory then you can cache some of the results set thus saving on your CPU cycles.
    Considering the arguments about hard wired RDBMS and Solid State Disks (SSD), we can talk about it all day but having SSD does not eliminate the optimiser consideration for physical I/O. A table scan is a table scan whether data resides on SCSI or SSD disk. SSD will be faster but we are still performing physical IOs.
    With regard to TimesTen, the product positioning is different. TimesTen is closer to middletier than Oracle. It is designed to work closely to application layer whereas Oracle has much wider purpose. For real time response and moderate volumes there is no way one can substitue TimesTen with any hard wired RDBMS. The request for result cache has been around for sometime. In areas like program trading and market data where the underlying data changes rapidly, TimesTen will come very handy as the data is real time/transient and the calculations have to be done almost realtime, with least complications from the execution engine. I fail to see how one can deploy result cache in this scenario. Because of the underlying change of data, Oracle will be forced to calculate the queries almost everytime and the result cache will be just wasted.
    Hope this helps,
    Mich

  • Oracle 11g takes way too long to start

    I find that Oracle 11g 11.1 takes much longer to start than Oracle 10g or 9g. I am on HP UNIX 11i server, Have others observed similar issue. Are they any init.ora parameters to speed up startup.
    Thanks.

    alter system set fast_start_mttr_target=300 scope=bothThis has nothing to do with the posters startup time - at least if he stops his database not with "shutdown abort" or "startup force".
    @user12021554: What exactly is "long"? Can you compare these numbers to 10g or even 9i?
    Can you further check the server is not swapping and database parameters are equal?
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Oracle 11g R2 on Windows 7 - OUI Error 10150

    Hi,
    I installed oracle 11g r2 on windows 7.
    Then I wanted to add Label security and Database vault to existing installation.
    OUI from installed location raised error 10150.
    Other threads indicated running OUI from installation media. But only have Setup.exe in installation media.
    I select Upgrade existing database from there but it does not allow me to add new components in existing Oracle home. It forces me to install into new Oracle home.
    Any pointers?

    user11149214 wrote:
    Hi,
    I installed oracle 11g r2 on windows 7.
    Pl identify exact versions of "11gR2" and "Windows 7" - you will need Professional or higher - Home versions are not supported.
    Then I wanted to add Label security and Database vault to existing installation.
    OUI from installed location raised error 10150.
    Have you followed the steps in the docs ? http://docs.oracle.com/cd/E11882_01/install.112/e24186/postcfg.htm#BCGEHAJD
    Other threads indicated running OUI from installation media. But only have Setup.exe in installation media.
    I select Upgrade existing database from there but it does not allow me to add new components in existing Oracle home. It forces me to install into new Oracle home.
    Any pointers?HTH
    Srini

  • Oracle 11g on new RHEL 6

    Hi to all,
    Is it possible to install Oracle 11g on RedHat enterprise Linux 6 x86_64?
    The prerequisites are the same that for RHEL5 or OEL5 x86_64?
    I hope that someone can me reply.
    Best Regards
    Gaetano

    EdStevens wrote:
    hashim1 wrote:
    Yes you can and RHEL 6 is certified by oracle just use this link
    https://www.oratoolkit.ch/knowledge/howto/installation/eeSrv-11g-R2-on-RHEL-6.0-x86_64.php
    That is not an Oracle site and thus does not constitute a statement by Oracle regarding ANTYHING. It most certainly does NOT support your assertion that "RHEL 6 is certified by oracle"
    The link is merely someone's hack to install Oracle on an un-certified platform.Please note that the site already mentions that Oracle is not supported on RHEL 6.x. See right at the beginning of the page something like ...
    Important Information
    A production usage is offically not yet recommended since no Oracle RDBMS products have at the date of 17th October 2011 been certified on RHEL 6.x.
    Furthermore there are hundreds of installation guides on supported systems. The page itself is therefore not merely a hack. I think we will have to wait until Oracle 12c or similar is released before Oracle is supported on RHEL 6.x. Running in the meantime Oracle on RHEL 6.x is from my point of view and experience fine as long as you do not rely on Oracle support services. Nevertheless for the time being RHEL 5.x is the way to go. With such a setup there won't be discussions like this one. :-)

  • Oracle 11g-R1 Enterprise Manager Not Working

    Hi to All Respected Gurus!
    I am unable to access enterprise manager. When I enter https://10.0.2.106:1158/em, it gives me a window with following messages
    Database Instance = Down, Host = 10.0.2.106, Port = 1521, SID = fgfc, Oracle Home= D:\app\Administrator\product\11.1.0\db1_
    Listener = UP
    Agent Connection to Instance = Down, Status = Failed, Details = ORA-28001: the password has expired (DBD ERROR: OCISessionBegin)
    Please help me in this regard. Thanks in advance for your as usual cooperation.

    Your DBSNMP password has changed or the DBSNMP has a (default) profile that forces you to change the password every xx days. I think the last is the case.
    You could create a new profile with a password_life_time unlimited for the user DBSNMP or change in the default profile the password_life_time to unlimited (if security rules permit to do so).
    Also see MOS note (for Grid Control): Grid Control Shows DBSNMP Account Locked ORA-28000 Or Agent Connection to Instance Failed ORA-28001 Password Expired From Database Home Page [ID 352585.1]
    and https://communities.netapp.com/community/netapp-blogs/databases/blog/2011/08/10/oracle-11g--password-expires how you can create a new profile or change the default profile.
    If the DBSNMP account gets locked you can unlock it by: alter user dbsnmp account unlock;
    Eric

Maybe you are looking for