HTMLDB

I have been able to install 10g and add the HTMLDB tables using the htmldb.zip file from Oracle. I was also able to use the companion cd to load Oracle HTTP Server into a separate Oracle Home. Since it's clear that there are HTMLDB components that are on the Apache side as well as components on the DB side, I tried to load HTMLDB from the companion CD. It always hangs on the screen that wants your database identifier info. I put in localhost, 1521, the global db_name from my listener.ora file and get an error message that I have an incorrect connection string and says I want hostname:port:database like I would put in for a JDBC connection.
Has anyone been able to get HTMLDB working on OSX? Can you give me some advice here? Thanks.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=OSXTENG)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for MacOS X Server: Version 10.1.0.3.0 - Production
Start Date 11-FEB-2005 08:51:45
Uptime 0 days 0 hr. 4 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /Volumes/u01/app/oracle/product/10.1.0/osxteng/network/admin/listener.ora
Listener Log File /Volumes/u01/app/oracle/product/10.1.0/osxteng/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=OSXTENG)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "OSXTENG.cdunaway.org" has 1 instance(s).
Instance "OSXTENG", status UNKNOWN, has 1 handler(s) for this service...
Service "OSXTENG.example.org" has 1 instance(s).
Instance "OSXTENG", status READY, has 1 handler(s) for this service...
The command completed successfully
This is interesting because the text example.org does not appear anywhere in the /network/admin directory. TNSPING reports
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = OSXTENG)) (CONNECT_DATA = (SERVICE_NAME = OSXTENG.cdunaway.org)))
OK (10 msec)

Similar Messages

  • Questions on Master-Detail HTMLDB HOW-TO

    Hi all
    I have created a 3 page application based on the master detail how-to given at http://www.oracle.com/technology/products/database/htmldb/howtos/index.html
    Instead of DEPT and EMP tables I have PERSON and PERSON_ADDR tables. The PK of PERSON is the person_id and the PK of PERSON_ADDR is the person_id and addr_start_dt. Person_id column in PERSON_ADDR is obviously the FK to the master table PERSON(person_id).
    At first I had problems trying to create the pages themselves because the wizard always hides the person_id column on all the forms(and I don't want that,even though it is a sequence number I still want people to see it) , it being the PK, then somehow I managed it to display the person_id by replacing the EDIT link with the person_id itself. Now if a person already has an address and I click on EDIT then it copies the person_id values and others to the next page and all looks good but when I try to create a new address it does it ?? (It should take across the person_id as well)
    My PERSON report is on page 1, when I click edit against a person it takes me to page 2 where I can see+change all the person details plus I can see the person_addr details. When I click edit against a person address it takes me to page 3 and I can edit all the address details nicely copied to the new page but when I click CREATE on the page 2, then all the fields appear as NULL on page 3( all the fields but the person_id should be null here). How can I fix this ?
    Also, for my person address I would like to validate the address dates , there should be no overlapping start and end dates for a person's address. How to do this ? I think I will need to create a function to which I pass the person id and the new start and end dates and this function returns error message,if any, or null. I had a play around with validation and I think I need to use "function returning error text", what should I put in the "validate expression 1" box then...just something like
    begin
    my_function(param_1,param_2)
    end;
    If yes, then what variables would store the new start date and new end date of an address.
    Lastly, for every table do I have to user a sequence number or a trigger to define a primary key, what if the primary key is just a character code and I want the users to add it ?
    Thanks a lot in advance !!

    thanks Marc.
    Yes you are right, I used the 1.5 viewlet. I will try the master-detail wizard now.
    With the primary key problems, for things to work nicely in HTMLDB, do you suggest each and every tables should have a sequence number generated primary key ? We have some tables for various statuses like ACTIVE,CLOSED where these codes themselves are the primary keys, so you suggest making these codes unique keys but still have a sequence number PK ? Also when I want the users to enter the primary key themselves I will let them enter new ones but not update existing ones, so data entegrity is maintained.
    I was able to work out how to create validations using "functions returning error text" but my problem is I need to be able to compare what the user has just updated/entered with the data that already exists in the table. I have a table called person_Address having columns like person_id, start_dt,end_dt and various other fields. The primary key is person_id and start_dt and I need to put a validation which avoids any overlapping addresses. Overlap as in there can be only 1 active address for a given start and end date range. Does HTMLDB has something like :new.start_dt the way we can write database triggers ? Please suggest a way to do this.
    Lastly, how does HTMLDB handles error messages raised by table triggers. Can they be shown along with the item on the page as we can with the other HTMLDB validations ? I have many tables with all sorts of triggers and if any validation fails I generally do...raise_application_error(-20001,get_my_message(234));
    get_my_message function returns the message text for message number 234 . Will this message be displayed somewhere or not ? Do I have to duplicate my validations , once in the triggers and then in HTMLDB as well ?

  • Questions on printing in htmldb

    I try to create an invoice page to print.
    Some questions I ask to myself:
    - Is it possible to print to an A4 (papersize)? (I mean, does the application have notions of pagesize or is everything controlled by the browser? this is important when you need to repeat some information on the second page)
    - can I include "pagenumber of total pagenumbers"?
    - Is it possible to repeat an header / footer?
    In my opinion it is very hard to do this with htmldb...
    I started my "print report" like this:
    - created static html like I would like to have my report(in notepad)
    - in htmldb I try to create "the same thing", first I tried with the creation of a report, but, because you 'll always have rows, I stopped with that (I need to say "that item needs to be placed there"). Than I created a form, afterwards I added some other forms (regions) to the same page. One region for every table. I still have problems to place my items like I wish, because of region overlapping. Should I create other items in an other region (and link them) if I want to show the content of an item of an other region in that region?
    I try to replace an Access application, and it looks good so far, but replacing the reports is very difficult!?
    Is it me?
    Dimitri

    I found the answer on most of my questions on this site:
    http://www.w3.org/TR/REC-CSS2/page.html#propdef-size
    In short: you can a lot with css! so for my htmldb application: I probably need to change (create a new) my "print" template
    HTMLDB is a very nice product and in a way it can replace an Access application, but in my opinion we are limited by the html.
    What I would like to have in htmldb (compared with access):
    - submission of a region and not the whole page (like in access subforms)
    - in the tabular form, automatic one (or more) empty line(s) to create a new record (in access you have a new empty record)
    - an easier why to customize the templates/css, for the default ones you can't change everything... (in access you can "draw" your form/report, that's very easy, in htmldb it's more difficult)

  • Error Message when installing Companion CD for HTMLDB 1.6 and HTTP Server

    Hi. First time forum user so bear with me.
    I'm not sure if this is the correct forum for this but the assistance of anyone who may be able to shed some light on the problem whould be greatly appreciated. I am having a problem when attempting to install the Companion CD for HTMLDB 1.6 and HTTP Server, details given below:
    The following Oracle components have been successfully installed
         Oracle 10gR2 Database.
         Oracle 10gR2 Database patch 10.2.03.
         Critical patch up date (security).
    The following Oracle component failed to install.
         Companion CD for HTMLDB 1.6 and HTTP server
    Scenario leading up to failure
         Extracted companion CD installation files to D:\oracle\utilities\Oracle_10_2_0_Companion
         Executed D:\oracle\utilities\Oracle_10_2_0_Companion\companion\setup.exe.
    The following error message is displayed in a "JAVA VIRTUAL MACHINE LAUNCHER" dialog box
         "Could not find the main event class. Program will exit."
    I have been attmepting to resolve this problem for over a week and have already checked the following with no resolution to the problem:
    Cause. This issue may have to do with two issues (and may occur more on Windows):-
    1. Within the ORACLE_HOME directory full pathname there is a space.
    2. The directory from where the software / patch is being installed has a space within the directory full
    pathname (where the file for the installation by default is named products.jar or products.xml).
    Solution. To implement the solution, please execute the following steps:-
    1. Rename the full pathname directory NOT to contain a space.
    2. Launch again the OUI... and verify if the problem occurs.
    Any further guidance would be greatly appreciated.
    Edited by: user10386555 on 03-Oct-2008 02:51

    Can you install using OUI from the RDBMS installation? IIRC, there is a problem using OUI on companion to install companion items.

  • Outlook can not display htmldb mail message correctly

    We are using some applications which constructed by HTML DB. All mail messages from HTML DB applications can not be displayed correctly in Outlook, but they are displayed very well in Netscape mail client. This issue happens in both HTML DB 1.5 and 1.6. Therefore, I am not sure this is HTML DB mail package issue or outlook issue. Have anyone experienced this issue. Any suggestions are highly appreciated. Thanks in advance!
    Here is a sample in our application.
    We see the mail message in Outlook:
    This message generated by the HTML DB Mail Package. -----=1T02D27M75MU981T02D27M75MU98
    Content-Type: text/plain; charset=utf-8
    <BR><FONT color=#0000ff>E-Leave System Notification for SGT China.<FONT
    size=2>(Note: it is NOT an official leave system)</FONT></FONT> <HR align=left width="70%" noShade><TABLE width="80%"><TBODY><TR><TD width="20%"><FONT color=#336699>Leave User :</font></TD><TD width="50%">[email protected]</TD></TR><TR><TD><FONT
    color=#336699>Formal:</font></TD><TD>No</TD></TR><TR><TD><FONT
    color=#336699>Type :</font></TD><TD>Personal<BR></TD></TR><TR><TD><FONT
    color=#336699>Begin Time :</font></TD><TD><FONT color=#ff0000>04-MAR-05 11:30</font></TD></TR><TR><TD><FONT color=#336699>End Time :</font></TD><TD><FONT color=#ff0000>04-MAR-05 13:30</font></TD></TR><TR><TD><FONT color=#336699>Urgent Contact :</font></TD><TD>13811512211<BR></TD></TR><TR><TD><FONT
    color=#336699>Note :</font></TD><TD>Go to CCB Haidian Branch for my debit cards again :(<BR></TD></TR></TBODY></TABLE><P><A
    href="http://sgt.us.oracle.com/pls/htmldb/f?p=132:101">E-Leave
    System</A><BR></P
    -----=1T02D27M75MU981T02D27M75MU98
    Content-Type: text/html;
    <BR><FONT color=#0000ff>E-Leave System Notification for SGT China.<FONT
    size=2>(Note: it is NOT an official leave system)</FONT></FONT> <HR align=left width="70%" noShade><TABLE width="80%"><TBODY><TR><TD width="20%"><FONT color=#336699>Leave User :</font></TD><TD width="50%">[email protected]</TD></TR><TR><TD><FONT
    color=#336699>Formal:</font></TD><TD>No</TD></TR><TR><TD><FONT
    color=#336699>Type :</font></TD><TD>Personal<BR></TD></TR><TR><TD><FONT
    color=#336699>Begin Time :</font></TD><TD><FONT color=#ff0000>04-MAR-05 11:30</font></TD></TR><TR><TD><FONT color=#336699>End Time :</font></TD><TD><FONT color=#ff0000>04-MAR-05 13:30</font></TD></TR><TR><TD><FONT color=#336699>Urgent Contact :</font></TD><TD>13811512211<BR></TD></TR><TR><TD><FONT
    color=#336699>Note :</font></TD><TD>Go to CCB Haidian Branch for my debit cards again :(<BR></TD></TR></TBODY></TABLE><P><A
    href="http://sgt.us.oracle.com/pls/htmldb/f?p=132:101">E-Leave
    System</A><BR></P>
    -----=1T02D27M75MU981T02D27M75MU98--
    -----=1T02D27M75MU981T02D27M75MU98--
    And this is my code:
    declare
    l_body_html varchar2(4000);
    l_subject varchar2(100);
    begin
    l_subject := 'eLeave Notification from ' || lower(:app_user) || '@oracle.com'; l_body_html := '<BR><FONT color=#0000ff>E-Leave System Notification for SGT China.<FONT size=2>(Note: it is NOT an official leave system)</FONT></FONT> ' || '<HR align=left width="70%" noShade>' || '<TABLE width="80%"><TBODY><TR>' || '<TD width="20%"><FONT color=#336699>Leave User :</font></TD><TD width="50%">' || lower(:app_user) || '@oracle.com' || '</TD></TR><TR><TD><FONT color=#336699>Formal:</font></TD><TD>' || :P3_FORMAL || '</TD></TR><TR><TD><FONT color=#336699>Type :</font></TD><TD>' || :P3_LEAVE_TYPE || '<BR></TD></TR><TR><TD><FONT color=#336699>Begin Time :</font></TD><TD>'
    || '<FONT color=#ff0000>' || :P3_BEGIN_TIME || '</font>' ||
    '</TD></TR><TR><TD><FONT color=#336699>End Time :</font></TD><TD>' || '<FONT color=#ff0000>' || :P3_END_TIME || '</font>' || '</TD></TR><TR><TD><FONT color=#336699>Urgent Contact :</font></TD><TD>'
    || :P3_CONTACT ||
    '<BR></TD></TR><TR><TD><FONT color=#336699>Note :</font></TD><TD>' || :P3_NOTE || '<BR></TD></TR></TBODY></TABLE><P><A
    href="http://sgt.us.oracle.com/pls/htmldb/f?p=132:101">E-Leave
    System</A><BR></P>';
    HTMLDB_MAIL.SEND(
    P_TO => :P3_MAIL_TO,
    P_FROM => '[email protected]',
    P_CC => :P3_MAIL_CC,
    P_BCC => :P3_MAIL_BCC,
    P_BODY => l_body_html,
    P_BODY_HTML => l_body_html,
    P_SUBJ => l_subject);
    end;
    ---------------------------------------------------------------------------------------------------------------

    This was not well documented, but we have improved the doc for the next relase. Essentially, you need a carriage return / line feed every 1000 characters. This is part of the SMTP spec. The package does not do this automatically for you, so try adding them yourself. You can use utl_tcp.crlf for the crlf.
    Tyler

  • After upgrade HTMLDB 2.0, the browser can not launch MS words to view doc

    I create a page with an item to hold the file id in flows_files.wwv_flow_file_objects$. and use the htmldb_util.get_file(:P14_file_id) on-load before header process to allow user to view the documents under flows_files.wwv_flow_file_objects$ table.
    When we are still in HTMLDB 1.6, the window would pop-up to ask for Open, Save or Cancel. When we click open, the window would depend on the file extension to lauch the Ms Words or Excel or Acrobat reader to view the file.
    After we upgrade to HTMLDB 2.0, the window won't pop-up asking for open, save or cancel. Instead, it would open another Internet Explorer to try to read the file. Since the web browser could not read the MS words or excel, all of page display strange characters. I check the httpd.conf file and mime.type in the apache, everything looks fine with me. Could anyone provide me further information on the troubleshooting...

    >
    Does any one have this issue before?
    >
    Probably not because this is internal build so most of us don't have this version :)
    I suppose that there is internal forum for questions like this.
    Dario

  • Second htmldb as partner application in sso

    Hello ,
    I have 2 databases (say A and B) running each their own htmldb instance.
    I have 1 sso server where already 1 htmldb partner application is defined of DB A.
    Now i want to define the second instance of the htmldb on DB B also as partner application on my sso server.
    In the installation guide, i read the following for value of app_name when running regapp.sql
    'You must use HTML_DB as the app_name', but i already have one defined of DB A. Can I use another name or should i use the same name ? Or is it impossible to define 2 htmldb partner applications on 1 SSO.
    Grtz,
    Chris.

    When defining my app_name with the regapp.sql, i have used
    HTML_DB_TEST:servername:443 as listener_token.
    As i already have a HTML_DB:servername:443.
    I also used HTML_DB_TEST in the definition of the partner application.
    Now I'm getting : Expecting p_company or wwv_flow_company cookie to contain security group id of application owner. when trying to run my application.
    Could this be related, and if so, how can i define a second htmldb application as a partner application in sso ?
    Chris.

  • HTMLDB -SSO- Partner application

    Hi,
    I have installed a database 10g/HTMLDB 1.5 and iAS 10g on two different boxes.
    Refered & successfully completed the steps from
    http://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html
    to Configure an HTML DB Application as a Partner Application in Oracle AS Single Sign-On
    (TWICE From the Scratch)
    But, Getting error like
    "Error Error in portal_sso_redirect: missing application registration information:
    p_partner_app_name:g_listener_token:HTML_DB:indl097ba.idc.oracle.com:7777
    Please register this application as described in the installation guide."
    Please let me know what would be wrong in doing this.
    Feel free to ask for any further specific details or parameter values.
    As its @ customer's site, need to know the resolution very urgently.
    Thanks in advance.
    Regards,
    Nagadeep.

    Hi Scott,
    I am doing it from scratch now.
    Details are like this:
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>path
    PATH=D:\oracle\product\10.1.0\Db_1\BIN;D:\OraHomeOWB\bin;D:\OraHomeOWB\jre\1.4.2
    \bin\client;D:\OraHomeOWB\jre\1.4.2\bin;D:\oracle\product\10.1.0\Htmldb\bin;D:\o
    racle\product\10.1.0\Htmldb\jre\1.1.8\bin;D:\oracle\product\10.1.0\Htmldb\jre\1.
    4.2\bin\client;D:\oracle\product\10.1.0\Htmldb\jre\1.4.2\bin;D:\oracle\product\1
    0.1.0\Db_1\bin;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;D:\oracle\prod
    uct\10.1.0\Db_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
    C:\Program Files\Symantec\pcAnywhere\
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>loadjava -user FLOWS_01
    0500/welcome1@orcl SSOHash.class
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>
    @ the Database Schema:
    SQL*Plus: Release 10.1.0.2.0 - Production on Wed May 18 20:49:33 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> conn flows_010500/welcome1
    Connected.
    SQL> @C:\SSO_SDK\ssosdk307_032101\packages\loadsdk.sql
    Package created.
    No errors.
    Package body created.
    No errors.
    Type created.
    Table created.
    Sequence created.
    Sequence created.
    Table created.
    No errors.
    Procedure created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    Package created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    Package body created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    SQL>
    Now, at the iAS10g registering HTMLDB application as a partner application.
    Let me know whether I have to create any DAD to specify in HOME URL?
    Regards,
    Nagadeep.

  • HTMLDB as Partner Application to TWO OID instances - Authentication Schemes

    For reasons I won't go into here, we have TWO Oracle OID/SSO instances running - independently.
    I am interested in having HTMLDB / APEX applications capable of authenticate against either one. (one at a time, but on the same engine installation)
    We have done the PARTNER APPLICATION registration which works well against one of the OID instances. Records have been entered into the WWSEC_ENABLER_CONFIG_INFO$ table and everything works as expected.
    What option do I have to register the HTMLDB engine with a SECOND OID/SSO as a partner application and then allow the developers the ability to choose which authentication scheme applies?
    What I have observed is that the package given (custom_auth_sso) has built in
    g_partner_app_name varchar2(2000) := 'HTML_DB';
    Is it possible to duplicate that type of functionality, or is there something deeper ingrained into the engine that I do not understand?
    Regards,
    Tim

    Scott,
    I am working under a model similar to your case number two.
    Application 1 – uses OID A
    Application 2 – uses OID B
    I am going under the assumption that if there were two records in the config_info$ table, that I would need some type of ability to inform the WWV_FLOW_CUSTOM_AUTH_SSO package to switch between them.
    I guess what I am missing is the mechanics. I am trying to avoid having to re-write the WWV_FLOW_CUSTOM_AUTH_SSO package by hand. Besides the package body being compiled, I do not know how that authentication scheme is called by HTMLDB/APEX. I have been using the “Oracle Application Server Single Sign-On (HTML DB Engine as Partner App)” scheme. This leaves most of the Authentication scheme pretty blank with the exception of the Session Not Valid URL ( populated with –PORTAL_SSO-) and the logout URL. Magically it works though.
    If I had TWO schemes registered in the config_info$, how would I indicate which scheme to use?
    Do I have the capability of working with what has already been provided, or am I destined to writing a custom scheme because of the decision which needs to be made?
    Many thanks
    --Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is it possible to use mod-osso for htmldb applications

    We previously used sso_sdk for registering htmldb(1.4) applications as partner applications to avail single sign-on facility provided in oracle application server.
    Can we use mod_osso for registering html db 1.5 applications as partner applications? If so, could you please provide me the links to the documentation on how to achieve this.
    Regards,
    Lavanya

    Lavanya,
    No, mod_osso is not quite ready for PL/SQL applications that share a DAD the way HTML DB does. We're working on getting mod_osso enhanced to allow that integration. In the meantime, you can continue to use the SSO SDK and the pre-configured authentication schemes in HTML DB. They will work fine.
    Scott

  • Problem with htmldb 2 (Sorry APEX)!

    I installed htmldb 2 on a windows XP, Oracle 10gR1 (which has enhanced by companion CD downloaded form Oracle's site). Everything went OK but when I want to connect to it by this url: http://localhost:7777/pls/htmldb it takes my username,pass but says:
    "Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Oracle-HTTP-Server/1.3.28 Server at localhost Port 7777"
    I noticed many differences between my installed Apache and documents of htmldb. I run a 9.0.4.0.0 Apache server and the dads.conf and httpd.conf are as following:
    # ============================================================================
    # mod_plsql DAD Configuration File
    # ============================================================================
    # 1. Please refer to dads.README for a description of this file
    # ============================================================================
    # Note: This file should typically be included in your plsql.conf file with
    # the "include" directive.
    # Hint: You can look at some sample DADs in the dads.README file
    # ============================================================================
    Alias /i/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER     
    PlsqlDatabasePassword @BI+fAonVS+7xU8G04irVINWznM6s+A9fuQ==
    PlsqlDatabaseConnectString chagh
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    </Location>
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # This is the main Apache server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://www.apache.org/docs/> for detailed information about
    # the directives.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # After this file is processed, the server will look for and process
    # E:\oracle\product\10.1.0\Companion\Apache\Apache/conf/srm.conf and then E:\oracle\product\10.1.0\Companion\Apache\Apache/conf/access.conf
    # unless you have overridden these with ResourceConfig and/or
    # AccessConfig directives here.
    # The configuration directives are grouped into three basic sections:
    # 1. Directives that control the operation of the Apache server process as a
    # whole (the 'global environment').
    # 2. Directives that define the parameters of the 'main' or 'default' server,
    # which responds to requests that aren't handled by a virtual host.
    # These directives also provide default values for the settings
    # of all virtual hosts.
    # 3. Settings for virtual hosts, which allow Web requests to be sent to
    # different IP addresses or hostnames and have them handled by the
    # same Apache server process.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "E:\oracle\product\10.1.0\Companion\Apache\Apache" will be interpreted by the
    # server as "E:\oracle\product\10.1.0\Companion\Apache\Apache/logs/foo.log".
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which Apache.exe is located
    # will be used by default. It is recommended that you always supply
    # an explicit drive letter in absolute paths, however, to avoid
    # confusion.
    ### Section 1: Global Environment
    # The directives in this section affect the overall operation of Apache,
    # such as the number of concurrent requests it can handle or where it
    # can find its configuration files.
    # ServerType is either inetd, or standalone. Inetd mode is only supported on
    # Unix platforms.
    ServerType standalone
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do NOT add a slash at the end of the directory path.
    ServerRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache"
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    PidFile logs/httpd.pid
    # ScoreBoardFile: File used to store internal server process information.
    # Not all architectures require this. But if yours does (you'll know because
    # this file will be created when you run Apache) then you must ensure that
    # no two invocations of Apache share the same scoreboard file.
    ScoreBoardFile logs/httpd.scoreboard
    # In the standard configuration, the server will process httpd.conf (this
    # file, specified by the -f command line option), srm.conf, and access.conf
    # in that order. The latter two files are now distributed empty, as it is
    # recommended that all directives be kept in a single file for simplicity.
    # The commented-out values below are the built-in defaults. You can have the
    # server ignore these files altogether by using "/dev/null" (for Unix) or
    # "nul" (for Win32) for the arguments to the directives.
    #ResourceConfig conf/srm.conf
    #AccessConfig conf/access.conf
    # Timeout: The number of seconds before receives and sends time out.
    Timeout 300
    # SendBufferSize: controls setsockopt() call made to set send buffer size on
    # all sockets. Default OS value on most Windows platforms is too small.
    # Larger values can help if the average page size served by OHS is
    # large (~64 k)
    SendBufferSize 16384
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    KeepAlive On
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    MaxKeepAliveRequests 100
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    KeepAliveTimeout 15
    # Apache on Win32 always creates one child process to handle requests. If it
    # dies, another child process is created automatically. Within the child
    # process multiple threads handle incoming requests. The next two
    # directives control the behaviour of the threads and processes.
    # MaxRequestsPerChild: the number of requests each child process is
    # allowed to process before the child dies. The child will exit so
    # as to avoid problems after prolonged use when Apache (and maybe the
    # libraries it uses) leak memory or other resources. On most systems, this
    # isn't really needed, but a few (such as Solaris) do have notable leaks
    # in the libraries. For Win32, set this value to zero (unlimited)
    # unless advised otherwise.
    # NOTE: This value does not include keepalive requests after the initial
    # request per connection. For example, if a child process handles
    # an initial request and 10 subsequent "keptalive" requests, it
    # would only count as 1 request towards this limit.
    MaxRequestsPerChild 0
    # Number of concurrent threads (i.e., requests) the server will allow.
    # Set this value according to the responsiveness of the server (more
    # requests active at once means they're all handled more slowly) and
    # the amount of system resources you'll allow the server to consume.
    ThreadsPerChild 50
    # Server-pool size regulation. Rather than making you guess how many
    # server processes you need, Apache dynamically adapts to the load it
    # sees --- that is, it tries to maintain enough server processes to
    # handle the current load, plus a few spare servers to handle transient
    # load spikes (e.g., multiple simultaneous requests from a single
    # Netscape browser).
    # It does this by periodically checking how many servers are waiting
    # for a request. If there are fewer than MinSpareServers, it creates
    # a new spare. If there are more than MaxSpareServers, some of the
    # spares die off. The default values are probably OK for most sites.
    #MinSpareServers 5
    #MaxSpareServers 20
    # Limit on total number of servers running, i.e., limit on the number
    # of clients who can simultaneously connect --- if this limit is ever
    # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
    # It is intended mainly as a brake to keep a runaway server from taking
    # the system with it as it spirals down...
    #MaxClients 150
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, in addition to the default. See also the <VirtualHost>
    # directive.
    #Listen 3000
    #Listen 12.34.56.78:80
    # BindAddress: You can support virtual hosts with this option. This directive
    # is used to tell the server which IP address to listen to. It can either
    # contain "*", an IP address, or a fully qualified Internet domain name.
    # See also the <VirtualHost> and Listen directives.
    #BindAddress *
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Please read the file README.DSO in the Apache 1.3 distribution for more
    # details about the DSO mechanism and run `apache -l' for the list of already
    # built-in (statically linked and thus always available) modules in your Apache
    # binary.
    # Note: The order in which modules are loaded is important. Don't change
    # the order below without expert advice.
    # Example:
    # LoadModule foo_module libexec/mod_foo.dll
    LoadModule mime_magic_module      modules/ApacheModuleMimeMagic.dll
    LoadModule mime_module          modules/ApacheModuleMime.dll
    LoadModule dbm_auth_module     modules/ApacheModuleAuthDBM.dll
    LoadModule digest_auth_module     modules/ApacheModuleAuthDigest.dll
    LoadModule anon_auth_module      modules/ApacheModuleAuthAnon.dll
    LoadModule cern_meta_module      modules/ApacheModuleCERNMeta.dll
    LoadModule digest_module      modules/ApacheModuleDigest.dll
    LoadModule expires_module      modules/ApacheModuleExpires.dll
    LoadModule headers_module      modules/ApacheModuleHeaders.dll
    LoadModule proxy_module      modules/ApacheModuleProxy.dll
    LoadModule speling_module      modules/ApacheModuleSpeling.dll
    LoadModule status_module      modules/ApacheModuleStatus.dll
    LoadModule info_module          modules/ApacheModuleInfo.dll
    LoadModule usertrack_module      modules/ApacheModuleUserTrack.dll
    LoadModule vhost_alias_module     modules/ApacheModuleVhostAlias.dll
    LoadModule agent_log_module     modules/ApacheModuleLogAgent.dll
    LoadModule referer_log_module     modules/ApacheModuleLogReferer.dll
    LoadModule perl_module      modules/ApacheModulePerl.DLL
    LoadModule fastcgi_module      modules/ApacheModuleFastCGI.dll
    LoadModule onsint_module      modules/ApacheModuleOnsint.dll
    LoadModule wchandshake_module     modules/ApacheModuleWchandshake.dll
    ClearModuleList
    AddModule mod_so.c
    AddModule mod_onsint.c
    AddModule mod_mime_magic.c
    AddModule mod_mime.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_negotiation.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_dir.c
    AddModule mod_cgi.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_setenvif.c
    AddModule mod_isapi.c
    AddModule mod_vhost_alias.c
    AddModule mod_log_referer.c
    AddModule mod_log_agent.c
    AddModule mod_auth_anon.c
    AddModule mod_auth_dbm.c
    AddModule mod_auth_digest.c
    AddModule mod_cern_meta.c
    AddModule mod_digest.c
    AddModule mod_expires.c
    AddModule mod_headers.c
    AddModule mod_proxy.c
    AddModule mod_speling.c
    AddModule mod_info.c
    AddModule mod_status.c
    AddModule mod_usertrack.c
    AddModule mod_perl.c
    AddModule mod_fastcgi.c
    AddModule mod_wchandshake.c
    <IfDefine SSL>
    LoadModule ossl_module      modules/ApacheModuleOSSL.DLL
    </IfDefine>
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    ExtendedStatus On
    ### Section 2: 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # Port: The port to which the standalone server listens. Certain firewall
    # products must be configured before Apache can listen to a specific port.
    # Other running httpd servers will also interfere with this port. Disable
    # all firewall, security, and other services if you encounter problems.
    # To help diagnose problems use the Windows NT command NETSTAT -a
    Port 7777
    Listen 7777
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents.
    ServerAdmin [email protected]
    # ServerName allows you to set a host name which is sent back to clients for
    # your server if it's different than the one the program would get (i.e., use
    # "www" instead of the host's real name).
    # Note: You cannot just invent host names and hope they work. The name you
    # define here must be a valid DNS name for your host. If you don't understand
    # this, ask your network administrator.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    # You will have to access it by its address (e.g., http://123.45.67.89/)
    # anyway, and this will make redirections work in a sensible way.
    # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
    # machine always knows itself by this address. If you use Apache strictly for
    # local testing and development, you may use 127.0.0.1 as the server name.
    ServerName localhost
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache\htdocs"
    # Each directory to which Apache has access, can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # permissions.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\htdocs">
    # This may also be "None", "All", or any combination of "Indexes",
    # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    Options Indexes FollowSymLinks MultiViews
    # This controls which options the .htaccess files in directories can
    # override. Can also be "All", or any combination of "Options", "FileInfo",
    # "AuthConfig", and "Limit"
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # UserDir: The name of the directory which is appended onto a user's home
    # directory if a ~user request is received.
    # Under Win32, we do not currently try to determine the home directory of
    # a Windows login, so a format such as that below needs to be used. See
    # the UserDir documentation for details.
    <IfModule mod_userdir.c>
         UserDir "E:\oracle\product\10.1.0\Companion\Apache\Apache\users\"
    </IfModule>
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    #<Directory /home/*/public_html>
    # AllowOverride FileInfo AuthConfig Limit
    # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    # <Limit GET POST OPTIONS PROPFIND>
    # Order allow,deny
    # Allow from all
    # </Limit>
    # <LimitExcept GET POST OPTIONS PROPFIND>
    # Order deny,allow
    # Deny from all
    # </LimitExcept>
    #</Directory>
    # DirectoryIndex: Name of the file or files to use as a pre-written HTML
    # directory index. Separate multiple entries with spaces.
    <IfModule mod_dir.c>
    DirectoryIndex index.html
    </IfModule>
    # AccessFileName: The name of the file to look for in each directory
    # for access control information.
    AccessFileName .htaccess
    # The following lines prevent .htaccess files from being viewed by
    # Web clients. Since .htaccess files often contain authorization
    # information, access is disallowed for security reasons. Comment
    # these lines out if you want Web visitors to see the contents of
    # .htaccess files. If you change the AccessFileName directive above,
    # be sure to make the corresponding changes here.
    # Also, folks tend to use names such as .htpasswd for password
    # files, so this will protect those as well.
    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
    # document that was negotiated on the basis of content. This asks proxy
    # servers not to cache the document. Uncommenting the following line disables
    # this behavior, and proxies will be allowed to cache the documents.
    #CacheNegotiatedDocs
    # UseCanonicalName: (new for 1.3) With this setting turned on, whenever
    # Apache needs to construct a self-referencing URL (a URL that refers back
    # to the server the response is coming from) it will use ServerName and
    # Port to form a "canonical" name. With this setting off, Apache will
    # use the hostname:port that the client supplied, when possible. This
    # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
    UseCanonicalName On
    # TypesConfig describes where the mime.types file (or equivalent) is
    # to be found.
    <IfModule mod_mime.c>
    TypesConfig conf/mime.types
    </IfModule>
    # DefaultType is the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    # mod_mime_magic is not part of the default server (you have to add
    # it yourself with a LoadModule [see the DSO paragraph in the 'Global
    # Environment' section], or recompile the server and include mod_mime_magic
    # as part of the configuration), so it's enclosed in an <IfModule> container.
    # This means that the MIMEMagicFile directive will only be processed if the
    # module is part of the server.
    <IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
    </IfModule>
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., www.apache.org (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    HostnameLookups Off
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"
    # LogLevel: Control the number of messages logged to the error.log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    # Alternate "common" format to use when fronted by webcache:
    # LogFormat "%{ClientIP}i %l %u %t \"%r\" %>s %b %h" common_webcache
    # When webcache is forwarding requests to OHS, %h becomes the IP of
    # the originating webcache server and the real client IP is stored
    # in the ClientIP header. The common_webcache format can be used
    # in place of the common format when using webcache but with one
    # important caveat: if clients are capable of bypassing webcache
    # then it is possible to spoof the client IP by manually setting
    # the ClientIP header so the %h field should be monitored in such
    # an environment. Another alternative to specifying the ClientIP
    # header directly in a LogFormat is to use the "UseWebCacheIp"
    # directive:
    # UseWebCacheIp On
    # When this is specified, %h is derived internally from the ClientIP
    # header and the access log format does not need to be modified.
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    CustomLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/access_log 43200" common
    # If you would like to have agent and referer logfiles, uncomment the
    # following directives.
    #CustomLog logs/referer.log referer
    #CustomLog logs/agent.log agent
    # If you prefer a single logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog logs/access.log combined
    # Optionally add a line containing the server version and virtual host
    # name to server-generated pages (error documents, FTP directory listings,
    # mod_status and mod_info output etc., but not CGI generated documents).
    # Set to "EMail" to also include a mailto: link to the ServerAdmin.
    # Set to one of: On | Off | EMail
    ServerSignature On
    # Apache parses all CGI scripts for the shebang line by default.
    # This comment line, the first line of the script, consists of the symbols
    # pound (#) and exclamation (!) followed by the path of the program that
    # can execute this specific script. For a perl script, with perl.exe in
    # the C:\Program Files\Perl directory, the shebang line should be:
    #!c:/program files/perl/perl
    # Note you mustnot_ indent the actual shebang line, and it must be the
    # first line of the file. Of course, CGI processing must be enabled by
    # the appropriate ScriptAlias or Options ExecCGI directives for the files
    # or directory in question.
    # However, Apache on Windows allows either the Unix behavior above, or can
    # use the Registry to match files by extention. The command to execute
    # a file of this type is retrieved from the registry by the same method as
    # the Windows Explorer would use to handle double-clicking on a file.
    # These script actions can be configured from the Windows Explorer View menu,
    # 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
    # button allows you to modify the Actions, of which Apache 1.3 attempts to
    # perform the 'Open' Action, and failing that it will try the shebang line.
    # This behavior is subject to change in Apache release 2.0.
    # Each mechanism has it's own specific security weaknesses, from the means
    # to run a program you didn't intend the website owner to invoke, and the
    # best method is a matter of great debate.
    # To enable the this Windows specific behavior (and therefore -disable- the
    # equivilant Unix behavior), uncomment the following directive:
    #ScriptInterpreterSource registry
    # The directive above can be placed in individual <Directory> blocks or the
    # .htaccess file, with either the 'registry' (Windows behavior) or 'script'
    # (Unix behavior) option, and will override this server default option.
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    <IfModule mod_alias.c>
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL. So "/icons" isn't aliased in this
    # example, only "/icons/"..
    Alias /jservdocs/ "E:\oracle\product\10.1.0\Companion\Apache\Jserv\docs/"
    Alias /javacachedocs/ "E:\oracle\product\10.1.0\Companion\javacache\javadoc/"
    Alias /icons/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\icons/"
    Alias /i/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\images/"
    <Directory "icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_perl.c>
         Alias /perl/ "E:\oracle\product\10.1.0\Companion\Apache\Apache/cgi-bin/"
    </IfModule>
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the client.
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    ScriptAlias /cgi-bin/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\cgi-bin/"
    # "E:\oracle\product\10.1.0\Companion\Apache\Apache/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>
    # End of aliases.
    # Redirect allows you to tell clients about documents which used to exist in
    # your server's namespace, but do not anymore. This allows you to tell the
    # clients where to look for the relocated document.
    # Format: Redirect old-URI new-URL
    # Directives controlling the display of server-generated directory listings.
    <IfModule mod_autoindex.c>
    # FancyIndexing is whether you want fancy directory indexing or standard
    # Note, add the option TrackModified to the IndexOptions default list only
    # if all indexed directories reside on NTFS volumes. The TrackModified flag
    # will report the Last-Modified date to assist caches and proxies to properly
    # track directory changes, but it does not work on FAT volumes.
    IndexOptions FancyIndexing
    # AddIcon* directives tell the server which icon to show for different
    # files or filename extensions. These are only displayed for
    # FancyIndexed directories.
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    # DefaultIcon is which icon to show for files which do not have an icon
    # explicitly set.
    DefaultIcon /icons/unknown.gif
    # AddDescription allows you to place a short description after a file in
    # server-generated indexes. These are only displayed for FancyIndexed
    # directories.
    # Format: AddDescription "description" filename
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    # ReadmeName is the name of the README file the server will look for by
    # default, and append to directory listings.
    # HeaderName is the name of a file which should be prepended to
    # directory indexes.
    # If MultiViews are amongst the Options in effect, the server will
    # first look for name.html and include it if found. If name.html
    # doesn't exist, the server will then look for name.txt and include
    # it as plaintext if found.
    ReadmeName README
    HeaderName HEADER
    # IndexIgnore is a set of filenames which directory indexing should ignore
    # and not include in the listing. Shell-style wildcarding is permitted.
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    # End of indexing directives.
    # Document types.
    <IfModule mod_mime.c>
    # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
    # information on the fly. Note: Not all browsers support this.
    # Despite the name similarity, the following Add* directives have nothing
    # to do with the FancyIndexing customization directives above.
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    # AddLanguage allows you to specify the language of a document. You can
    # then use content negotiation to give a browser a file in a language
    # it can understand.
    # Note 1: The suffix does not have to be the same as the language
    # keyword --- those with documents in Polish (whose net-standard
    # language code is pl) may wish to use "AddLanguage pl .po" to
    # avoid the ambiguity with the common suffix for perl scripts.
    # Note 2: The example entries below illustrate that in quite
    # some cases the two character 'Language' abbriviation is not
    # identical to the two character 'Country' code for its country,
    # E.g. 'Danmark/dk' versus 'Danish/da'.
    # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    # specifier. But there is 'work in progress' to fix this and get
    # the reference data for rfc1766 cleaned up.
    # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
    # French (fr) - German (de) - Greek-Modern (el)
    # Italian (it) - Korean (kr) - Norwegian (no)
    # Portugese (pt) - Luxembourgeois* (ltz)
    # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
    # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
    # Russian (ru)
    AddLanguage ar .ar
    AddLanguage da .dk .da
    AddLanguage nl .nl
    AddLanguage en .en
    AddLanguage et .ee
    AddLanguage fi .fi
    AddLanguage fr .fr
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage es .es_ES .es
    AddLanguage he .he .iw
    AddLanguage hu .hu
    AddCharset ISO-8859-8 .iso8859-8
    AddLanguage it .it
    AddLanguage ja .ja
    AddCharset ISO-2022-JP .jis
    AddLanguage ko .ko
    AddLanguage kr .kr
    AddCharset ISO-2022-KR .iso-kr
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddCharset ISO-8859-2 .iso-pl
    AddLanguage pt .pt
    AddLanguage pt-br .pt_BR .pt-br
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage sk .sk
    AddLanguage sv .sv
    AddLanguage th .th
    AddLanguage tr .tr
    AddLanguage cz .cz .cs
    AddLanguage ro .ro
    AddLanguage ru .ru
    AddLanguage zh-cn .zh_CN
    AddLanguage zh-tw .zh_TW
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddCharset UTF-8 .utf8
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference. We have
    # more or less alphabetized them here. You probably want to change this.
    <IfModule mod_negotiation.c>
    LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn
    </IfModule>
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # http://www.php.net) will typically use:
    #AddType application/x-httpd-php3 .php3
    #AddType application/x-httpd-php3-source .phps
    # And for PHP 4.x, use:
    #AddType application/x-httpd-php .php
    #AddType application/x-httpd-php-source .phps
    AddType application/x-tar .tgz
    # AddHandler allows you to map certain file extensions to "handlers",
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action command (see below)
    # If you want to use server side includes, or CGI outside
    # ScriptAliased directories, uncomment the following lines.
    # To use CGI scripts:
    #AddHandler cgi-script .cgi
    # To use server-parsed HTML files
    #AddType text/html .shtml
    #AddHandler server-parsed .shtml
    AddType text/xml xbl
    AddType text/x-component htc
    # Uncomment the following line to enable Apache's send-asis HTTP file
    # feature
    #AddHandler send-as-is asis
    # If you wish to use server-parsed imagemap files, use
    #AddHandler imap-file map
    # To enable type maps, you might want to use
    #AddHandler type-map var
    </IfModule>
    # End of document types.
    # Action lets you define media types that will execute a script whenever
    # a matching file is called. This eliminates the need for repeated URL
    # pathnames for oft-used CGI file processors.
    # Format: Action media/type /cgi-script/location
    # Format: Action handler-name /cgi-script/location
    # MetaDir: specifies the name of the directory in which Apache can find
    # meta information files. These files contain additional HTTP headers
    # to include when sending the document
    #MetaDir .web
    # MetaSuffix: specifies the file name suffix for the file containing the
    # meta information.
    #MetaSuffix .meta
    # Customizable error response (Apache style)
    # these come in three flavors
    # 1) plain text
    #ErrorDocument 500 "The server made a boo boo.
    # n.b. the single leading (") marks it as text, it does not get output
    # 2) local redirects
    #ErrorDocument 404 /missing.html
    # to redirect to local URL /missing.html
    #ErrorDocument 404 /cgi-bin/missing_handler.pl
    # N.B.: You can redirect to a script or a document using server-side-includes.
    # 3) external redirects
    #ErrorDocument 402 http://some.other_server.com/subscription_info.html
    # N.B.: Many of the environment variables associated with the original
    # request will not be available to such a script.
    # Customize behaviour based on the browser
    <IfModule mod_setenvif.c>
    # The following directives modify normal HTTP response behavior.
    # The first directive disables keepalive for Netscape 2.x and browsers that
    # spoof it. There are known problems with these browser implementations.
    # The second directive is for Microsoft Internet Explorer 4.0b2
    # which has a broken HTTP/1.1 implementation and does not properly
    # support keepalive when it is used on 301 or 302 (redirect) responses.
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    # The following directive disables HTTP/1.1 responses to browsers which
    # are in violation of the HTTP/1.0 spec by not being able to grok a
    # basic 1.1 response.
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    </IfModule>
    # End of browser customization directives
    # Allow server status reports, with the URL of http://servername/server-status
    # Change the ".your_domain.com" to match your domain to enable.
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    # Allow remote server configuration reports, with the URL of
    # http://servername/server-info (requires that mod_info.c be loaded).
    # Change the ".your_domain.com" to match your domain to enable.
    #<Location /server-info>
    # SetHandler server-info
    # Order deny,allow
    # Deny from all
    # Allow from .your_domain.com
    #</Location>
    # There have been reports of people trying to abuse an old bug from pre-1.1
    # days. This bug involved a CGI script distributed as a part of Apache.
    # By uncommenting these lines you can redirect these attacks to a logging
    # script on phf.apache.org. Or, you can record them yourself, using the script
    # support/phf_abuse_log.cgi.
    #<Location /cgi-bin/phf*>
    # Deny from all
    # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
    #</Location>
    # Proxy Server directives. Uncomment the following lines to
    # enable the proxy server:
    #<IfModule mod_proxy.c>
    # ProxyRequests On
    # <Directory proxy:*>
    # Order deny,allow
    # Deny from all
    # Allow from .your_domain.com
    # </Directory>
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
    # Set to one of: Off | On | Full | Block
    # ProxyVia On
    # To enable the cache as well, edit and uncomment the following lines:
    # (no cacheing without CacheRoot)
    # CacheRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache\proxy"
    # CacheSize 5
    # CacheGcInterval 4
    # CacheMaxExpire 24
    # CacheLastModifiedFactor 0.1
    # CacheDefaultExpire 1
    # NoCache a_domain.com another_domain.edu joes.garage_sale.com
    #</IfModule>
    # End of proxy directives.
    ### Section 3: Virtual Hosts
    # VirtualHost: If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts so the server doesn't need to worry about
    # IP addresses. This is indicated by the asterisks in the directives below.
    # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
    # for further details before you try to setup virtual hosts.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    # Use name-based virtual hosting.
    #NameVirtualHost *
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for requests without a known
    # server name.
    #<VirtualHost *>
    # ServerAdmin [email protected]
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>
    #<VirtualHost default:*>
    #</VirtualHost>
    SetEnv PERL5LIB "E:\oracle\product\10.1.0\Companion\perl\5.6.1\lib:E:\oracle\product\10.1.0\Companion\perl\site\5.6.1\lib"
    <IfModule mod_perl.c>
    # Perl Directives
    # PerlWarn On
    # PerlFreshRestart On
    # PerlSetEnv PERL5OPT Tw
    # PerlSetEnv PERL5LIB "E:\oracle\product\10.1.0\Companion\perl\5.6.1\lib:E:\oracle\product\10.1.0\Companion\perl\site\5.6.1\lib"
    PerlModule Apache
    # PerlModule Apache::Status
    PerlModule Apache::Registry
    # PerlModule Apache::CGI
    # PerlModule Apache::DBI
    # PerlRequire
    <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    AddHandler perl-script .pl
    Options +ExecCGI
    PerlSendHeader On
    </Location>
    # <Location /perl-status>
    # SetHandler perl-script
    # PerlHandler Apache::Status
    # order deny,allow
    # deny from all
    # allow from localhost
    # </Location>
    </IfModule>
    #Protect WEB-INF directory
    <DirectoryMatch /WEB-INF/>
    Order deny,allow
    Deny from all
    </DirectoryMatch>
    # Setup of FastCGI module
    <IfModule mod_fastcgi.c>
    Alias /fastcgi/ "E:\oracle\product\10.1.0\Companion\Apache\fastcgi/"
    ScriptAlias /fcgi-bin/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\fcgi-bin/"
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\fcgi-bin">
         AllowOverride None
         Options None
         Order allow,deny
         Allow from all
         SetHandler fastcgi-script
         <IfModule mod_ossl.c>
         SSLOptions +StdEnvVars
         </IfModule>
    </Directory>
    </IfModule>
    # Include the configuration for Apache JServ 1.1
    #include "E:\oracle\product\10.1.0\Companion\Apache\Jserv\conf\jserv.conf"
    # Setup of oprocmgr module.
    # This directive identifies each remote apache instance that will be
    # sending requests to processes (e.g., JServs), managed by local Apache
    # instances. This directive is used by the local process manager to share
    # routing information with remote apache instances via non-SSL HTTP messages.
    # The directive is repeated for each remote apache instance that will be
    # sending requests. The ProcNode directive that refers to the local apache
    # instance will be ignored, but may be supplied to facilitate uniformity
    # in configuration across apache instances. Arguments to the ProcNode must
    # be sufficient to reach the remote instance of apache via non-SSL HTTP
    # messages. It is not considered an error if the remote apache instance is
    # unreachable, as no assumption is made about the starting order or
    # availability of apache instances.
    # Syntax: ProcNode <hostname> <port>
    # Example: ProcNode abc.com 7777
    <IfModule mod_oprocmgr.c>
    <Location /oprocmgr-service>
    SetHandler oprocmgr-service
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    <Location /oprocmgr-status>
    SetHandler oprocmgr-status
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    </IfModule>
    # Include the mod_oc4j configuration file
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\mod_oc4j.conf"
    # Include the mod_dms configuration file
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\dms.conf"
    # Loading rewrite_module here so it loads before mod_oc4j
    LoadModule rewrite_module      modules/ApacheModuleRewrite.dll
    # Include the SSL definitions and Virtual Host container
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\ssl.conf"
    # Include the mod_osso configuration file
    #include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\mod_osso.conf"
    # Include the Oracle configuration file for custom settings
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\oracle_apache.conf"
    ------------------------------------------------------------------------------------------------------------------

    Firstly, there's no such thing as Apache 9.3, there's Apache 1 (and subversions) and Apache 2 (and subversions). Your error message -
    Oracle-HTTP-Server/1.3.28Shows you're using Apache 1.3.28
    Secondly, I'm confused by your comment -
    I do not have Apache 9.3 or higher but I think oracle should offer this in its companion CDOracle does offer the Apache server, if you're saying you didn't get it from Oracle then where did your Apache server come from?
    Thirdly, I notice from your config file -
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"That you're piping the logs through rotatelogs, are you sure the logfiles haven't just been renamed?

  • Report performance problems on htmldb 1.6

    Hello everybody,
    I'm not a guru in both pl-sql and htmldb and I'm having slow performances on two queries, that are similar, so I think the root of the problem is the same..here they are:
    This query populates a select list and takes about 2 minutes:
    SELECT FLAG_VERBAL,FLAG_NUMBER
    FROM DISCHARGE_FLAG
    WHERE FLAG_NUMBER IN (SELECT UNIQUE(FLAG) FROM HYDRODATA
    WHERE LSFLD_ID IN (SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID))This query is in a Report (SQL query Region) and takes about 100 seconds:
    SELECT LSFLD_ID, MOMENT, DISCHARGE, FLAG
    FROM HYDRODATA
    WHERE
    FLAG = to_number(:P6_DISCHARGE_TYPE)
    AND LSFLD_ID IN(
      SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID
    AND moment >= to_date(:P6_FROM_DATE, 'yyyy-mm-dd')
    AND moment <= to_date(:P6_TO_DATE, 'yyyy-mm-dd')
    ORDER BY 1,2By my testing, it seems that the problem is correlated to the sub-SELECT inside the main SELECT.
    If I substitute the sub-SELECT statement ( SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID) with a list of its costant values, the output of those queries appears in few seconds.
    Another strange thing is that if I run alone the sub-select SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID it also takes few seconds!
    So why together they need so much time??
    Maybe the problem is in the table DEMO_SIMO_CGMS_UPPDANUBE_ID? It is populated by a process that:
    deletes its content and
    copies the selected values (by check boxes) of a previous Report :
    DELETE FROM DEMO_SIMO_CGMS_UPPDANUBE_ID;
    FOR I in 1..HTMLDB_APPLICATION.G_F01.COUNT LOOP
        INSERT INTO DEMO_SIMO_CGMS_UPPDANUBE_ID(id) VALUES (HTMLDB_APPLICATION.G_F01(i));
    END LOOP;Thanks in advance! :D

    This is really a SQL question and not a HTML DB question, but I will pose some things for you to consider. Just some high-level tips without getting into the details of your queries.
    1) Time your queries in SQL*Plus. I would guess that they are as slow in SQL*Plus as they are in HTML DB
    2) Keep in mind that use of functions like TO_NUMBER or TO_CHAR or TO_DATE applied to database columns disables the use of indexing on columns.
    3) Look to see if the columns you are joining on are indexed.
    4) Use EXPLAIN PLAN and tracing to see what execution plan Oracle is taking.
    5) Rewrite your queries. Join your three tables together in one SELECT statement instead of using IN's.
    For example change your first query to:
    SELECT FLAG_VERBAL,FLAG_NUMBER
    FROM DISCHARGE_FLAG df, HYDRODATA h, EMO_SIMO_CGMS_UPPDANUBE_ID e
    WHERE df.FLAG_NUMBER = h.FLAG
    AND h.LSFLD_ID = e.ID
    Mike

  • Query execution HTMLDB is taking much time

    I am using this query to generate a report. I am using Meterialized View to select the colums. But the problem is when I am executing this query in Toad it is taking 20 seconds to execute but in HTMLDB is is taking arrount 1 mint 10 secs.
    Can any one say why this is happening..
    select
    Trade_Reference,
    Marketing_Client_Name,
    TRADE_Calendar_Date,
    Global_Client_Name,
    Global_Atomic_Client_Name,
    ISIN_Code,
    SEDOL_Code,
    RIC_Code,
    Instrument_Name,
    Calendar_Date,
    Cancel_Caption,
    Buy_or_Sell_Caption,
    Sales_Office_Name,
    Booking_Office_Name,
    HSBC_Sector,
    sum(Exchange_Rate)     Exchange_Rate,
    sum(PRICE)                Price,
    sum(Quantity) Quantity,
    sum(Trade_Count) Trade_Count,
    sum(Consideration_USD)     Consideration_USD,
    sum(Soft_Commission_USD)     Soft_Commission_USD,
    sum(Hard_Comm_Exc_PT_USD)     Hard_Comm_Exc_PT_USD,
    sum(Hard_Comm_Inc_PT_USD)     Hard_Comm_Inc_PT_USD,
    sum(Turn_Commission_USD)     Turn_Commission_USD,
    sum(Other_Commission_USD)     Other_Commission_USD,
    sum(Total_Comm_Inc_PT_USD) Total_Comm_Inc_PT_USD,
    sum(Sales_Credit_Value_USD)     Sales_Credit_Value_USD
    from MV_TRADE_ENQUIRY
    where
    TRIM((nvl(Trade_Reference,'%'))) LIKE '%'||TRIM((nvl(:P2_Trade_Reference,'%'))) || '%' AND
    TRIM(upper(nvl(MARKETING_CLIENT_NAME,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_MARKETING_CLIENT,'%'))) || '%' and
    TRIM(upper(nvl(RIC_Code,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_RIC,'%'))) || '%' and
    TRIM(upper(nvl(SEDOL_Code,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_SEDOL,'%'))) || '%' and
    TRIM(upper(nvl(ISIN_Code,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_ISIN,'%'))) || '%' and
    TRIM(upper(nvl(GLOBAL_CLIENT_NAME,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_GLOBAL_CLIENT,'%'))) || '%' and
    TRIM(upper(nvl(GLOBAL_ATOMIC_CLIENT_NAME,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_GLOBAL_ATOMIC_CLIENT,'%'))) || '%' and
    TRIM(upper(nvl(INSTRUMENT_NAME,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_INSTRUMENT_NAME,'%'))) || '%' and
    TRIM(upper(nvl(HSBC_SECTOR,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_HSBC_SECTOR,'%'))) || '%' and
    BOOKING_OFFICE_SKEY||'' = decode(:P2_BOOKING_OFFICE,'0',BOOKING_OFFICE_SKEY,to_number(:P2_BOOKING_OFFICE)) and
    SALES_OFFICE_SKEY||'' = decode(:P2_SALES_OFFICE,'0',SALES_OFFICE_SKEY,to_number(:P2_SALES_OFFICE)) and
    TRIM(upper(nvl(BUY_OR_SELL_CAPTION,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_BUY_SELL,'%'))) || '%' and
    TRIM(upper(nvl(CANCEL_CAPTION,'%'))) LIKE '%'||TRIM(UPPER(nvl(:P2_INCLUDE_CANCELLED_TRADES,'%'))) || '%' and
    Trade_Calendar_Date between
    nvl(to_date(:P2_Trade_DATE_FROM,'DD-MON-RRRR'),to_date(sysdate -90,'DD-MON-RRRR'))
    and nvl(to_date(:P2_Trade_DATE_TO,'DD-MON-RRRR'),to_date(sysdate,'DD-MON-RRRR'))
    and Calendar_Date between
    nvl(to_date(:P2_Booking_DATE_FROM,'DD-MON-RRRR'),to_date(sysdate-90,'DD-MON-RRRR'))
    and nvl(to_date(:P2_Booking_DATE_TO,'DD-MON-RRRR'),to_date(sysdate,'DD-MON-RRRR'))
    group by
    Trade_Reference,
    Marketing_Client_Name,
    TRADE_Calendar_Date,
    Global_Client_Name,
    Global_Atomic_Client_Name,
    ISIN_Code,
    SEDOL_Code,
    RIC_Code,
    Instrument_Name,
    Calendar_Date,
    Cancel_Caption,
    Buy_or_Sell_Caption,
    Sales_Office_Name,
    Booking_Office_Name,
    HSBC_Sector;

    Dikshit,
    Firstly don't believe the timings in TOAD, it's quite likely that it's only bringing the first results rather than doing all the work upfront (you can check this by scrolling to the end of the results grid and seeing how long it takes).
    Secondly without a textual description of what you want that query to do it's pretty difficult to suggest "better" ways of doing it. I'd say that you should try generating a tracefile for your query that we can look through.
    Take a look at the TracingPerformanceProblems section on the Wiki -
    http://wiki.shellprompt.net/bin/view/HTMLDB/QuickTipsCategory

  • Can multiple OracleIDs be used to access datatase in a single HTMLDB app?

    Hi,
    In one of the apps we're looking to put together (w/ HTMLDB), we currently control database access using Fine-Grained-Access (with policies on tables that generate WHERE predicates based on the Oracle UserID in the session context). The way we currently have HTMLDB set up, it seems to be using a single "proxy" ID (HTMLDB_PROXY_USER) as the means of accessing the database, which means FGAC can't work.
    Can this be configured to use other UserIDs when accessing/querying the db?
    And...if so, can those IDs be specified somehow, either programmatically or at login time?
    Thanks,
    Jim Carter

    Helps some more...tks...
    So - is it safe to assume that the "v()" function is an element of HTMLDB that is installed and made public when HTMLDB is installed then?
    Reason I ask is because we are thinking we could modify our existing predicate logic to check for the existence of the APP_USER value, and if it exists, use that instead of the SYS_CONTEXT() call, in our predicate generation function. However, seems like we'll also need some check as to whether the "v" function exists (ie. whether HTMLDB is installed), since the policy might be running in an environment where the HTMLDB app wasn't installed. But to even be able to compile Or, even where HTMLDB was installed, the query could be coming from a connection outside of the HTMLDB app. Does that sound reasonable?
    Further, whether we use the existing SESSION_USER context var or the APP_USER one is really no big deal. The bigger question seems to come from mgmt of the user accounts used to access the application. Ideally, we want to be able to support access to the tables, either from the HTMLDB app or from external points (SQL*plus, Discoverer, etc). So the least common denominator seems to be Oracle (database level) UserIDs. However, can an HTMLDB app authenticate
    using actual Oracle database UserIDs? That is, delegate the authorization to the database itself? And if it does, will the UserID be available via the APP_USER var, or some other...?
    Tks,
    Jim
    BTW - If your willingness to help is any indication of the support on this board, that could well be the final selling point in deciding to use this technology - in other words, thanks a lot!

  • How to copy one application to a new workspace in the same HTMLDB instance?

    Hi,
    I have an application running in production and I need to duplicate it into another workspace in the same instance, using another db schema with imported objects from the original one, as my area here has just been split in two and now we need two separate development environments. I tried exporting it from the old workspace and importing into the new, but when I try to install the app (using a new id) I just can't do it through the htmldb interface, as i get a timeout and page not found. I tried then to run the dump script directly in the database, but I couldn't find any reference in the script to a new application id or workspace, and after trying I found out that it only changes the owner of my original app (as I chose owner override when exporting).
    Does anybody knows how should i do it to ?? Perhaps there are some variables in the script I could change to make it into a new app in a new wokspace ??
    PS. I'm using HTMLDB 1.5, and it would be very difficult to change to a new version right now.
    Thanks,
    Nelson Sattler,
    Brasília, Brasil
    Message was edited by:
    nsattler

    Hi nsattler,
    Assuming u have apps in workspace1 .And u want to import that apps and install it in new workspace2.So before that u need to create workspace2 pointing to the diff schema that u mentioned .
    Then import the apps and install.......i dont know why you getting timeout .Ideally it should not have any error except the version compatibility.If u export using 1.5 then u can import it into any upper version say 1.6 .
    One thing u can do run the exported script from sql*plus and track the error .If there is no workspace identified from HTMLDB interface that means ur exported file is not version compatible or u can change p_provisioning_company_id of sql file and put the value of ur present workspace p_provisioning_company_id and then try to run it from SQL*PLUS.
    I also suggest u to upgrade from 1.5 to 1.6 or 2.0 to get more benefit of the fixed bug....
    Cheers,
    ROSY

  • How to get current SSO user in HTMLDB?

    I got SSO working for HTMLDB but I can not get the user name of the current user. I log in to Oracle Portal via SSO and navigate to a HTMLDB page. On the page I call portal.wwctx_api.get_user but I get a portal.wwctx_api.INVALID_COOKIE_EXCEPTION exception.
    If don’t log into Portal but go directly to the HTMLDB page I get a portal.wwctx_api.NO_SESSION_EXCEPTION.
    I have also tried using orasso.wwctx_api.get_user but I always get this exception orasso.wwctx_api.NO_SESSION_EXCEPTION. Anybody got an idea?
    If I put the portal.wwctx_api.get_user call I an procedure in the Portal schema it works fine.

    Thanks Dietmar. Yes this is cool behavior :-) Now I have the user how do I check in the OID if the user is member of a certain group? I was planning to use portal.wwsec_api.is_user_in_group but when this is not possible what then? dbms_ldap?
    I just found another post that suggested using wwv_flow_ldap.is_member. It't works fine:
    wwv_flow_ldap.is_member
    ( p_username => v('APP_USER'),
    p_pass => null,
    p_auth_base => 'cn=users,dc=wmdata,dc=dk',
    p_host => 'wmsi0q2071',
    p_port => 389,
    p_group => '101vis_global_sag',
    p_group_base => 'cn=users,dc=wmdata,dc=dk'
    Message was edited by:
    Peter Lorenzen

Maybe you are looking for

  • How do I use my third computer with cloud. I am rendering a project in Avid Media composer

    How do I get my third computer to work with when I am rendering Avid project on the other two computers computers

  • No wireless connection to Officejet Pro 8000 printer

    This used to work, though occasionally the connection went down. Now nothing at all. I have Windows 7, trying to connect to an HP Officejet Pro 8000 Wireless printer. Neither has been updated recently as far as I know, and there has been no reason fo

  • Problem in SQL query in MDB database

    Hello all,                     I am using mdb database and want to read specific time stamp record based on time stamp. I am using simple sql query but I am getting one error. Please let me know where I am making mistake(s). One error is operator mis

  • Unable to configure Gmail in Z10

    Really fed up with my new Z10 mobile.When I bought it it was 10.0 OS later i upgraded to 10.2..I am not able to configure my gmail and office outlook in my phone.Followed all instructions in the forums and in youtube.but no success.Getting error like

  • Change visibility of tabstrip at runtime

    Hi, I bind a context node attribute to the visible attribute of a tab to control its visibility. The type of the node attribute is WDUI_VISIBILITY and the default value is 01. However, the tab is always present. It should be invisible initially. Best