Oracle database (10.2.0.4) and HTTP server / HTML DB conflict

Hi there,
I installed a fresh 10.2.0.1 (patched with 10.2.0.4) oracle database on Oracle Entreprise linux 5.7, and HTTP server + HTML DB products from the companion CD. Both are located in different home directory:
ODB:  $ORACLE_BASE/product/10.2.0/db_1
APEX: $ORACLE_BASE/product/10.2.0/apex
I just discovered that logs files ($APEX/opmn/logs/) have filled up my entire disk this week end. After some googling / digging, I've read that there is a conflict between the ONS services that run for both products on the same port. Opening the configuration files of both products:
+$ODB/opnm/conf/ons.config+
+$APEX/opnm/conf/opnm.xml+ (btw, ons.conf is empty)
I indeed saw that they both use port 6113 as local port and 6200 as remote port. The workaround I've found in variuos places is to either change the port number, or unsuscribe ONS for the database listener (and sometimes both).
Question 1: what is the best solution ? what are the consequences for the database listener in case of unsuscribtion ?
I also saw that opnm.xml in APEX configuration file is making use of the $ORACLE_HOME environment variable, which I define in my /etc/profile as $ORACLE_BASE/product/10.2.0/db_1. So I guess the opnm of APEX is looking at the wrong place... Yet if I change ORACLE_HOME in my /etc/profile, I won't be able to run dbstart upon stgartup, as it is run using ORACLE_HOME in a init.d script...
Question 2: Can someone clarify things up about the exact relationship between oracle database and HTTP server ? How should I deal with ORACLE_HOME environment variable, which one use it and when... ?
Note that I'm completely new to Oracle (and hence APEX).
Thanks in advance!

Billy  Verreynne  wrote:
There should be no conflicts - except for configuration ones.
Oracle is multi home capable. Thus multiple Oracle s/w products installed into different homes and these products running side by side.
The conflict is system resources - like a TCP port. That port cannot be shared by multiple processes. So you need to make sure that each s/w component that needs a TCP listener end-point, has a unique port number allocated for it to use.
As mentioned, the Oracle Apache server is an Oracle client with respect to Oracle client-server architecture. It simply needs a client OCI driver to connect to the Oracle database instance. So whether you run Oracle Apache on the same server as the database instance, or on another server all together - this makes no difference. The Oracle Apache s/w will be using its home for running. It has no need for anything from the database instance's home directory. Thus there are no conflicts - as long as you correctly keep them separated and not set the wrong home for the wrong component or include the wrong path (to another home's executables).
OK, so to summarize a bit:
- I should just be carefull when running startup script which will launch all services upon startup, i.e. changing the value of ORACLE_HOME before running each product startup script (dbstart => ORACLE_HOME = (..)/10.2.0/db_1, opmnctl => ORACLE_HOME = (..)/apex). I'm still quite worried because ORACLE_HOME is heavily used in opmn.xml but anyways.
- That's basically it: when each product's services are running, they do not use ORACLE_HOME (and such) anymore, hence no conflict from this point of view.
Also do not attempt to use IPC connectivity between the mod_plsql Apache module and the database instance. Does not make sense ito performance. Shared server should be considered and localhost TCP connectivity can be used.Well as I don't really know IPC yet, so hopefully I won't get into troubles. Just to be clear about that, i've this in my listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = apex.nwk)(PORT = 1521))
Does that mean that ICP will be used somehow ?
Thanks again from your help.
Edited by: lv on 27 févr. 2012 06:42

Similar Messages

  • User access logging for my Oracle database 9.2.0.3 and Linux server

    Hi Friends,
    I would like to have a record of users who had accessed my oracle apps database(9.2.0.3).Please let me know the method.
    Also i would like to record the users who had connected to my linux server (using putty) please suggest a method.
    Regards,
    Arun

    user564706 wrote:
    I would like to have a record of users who had accessed my oracle apps database(9.2.0.3).Please let me know the method.Perhaps sed (man sed) and records in listener.log, default at OH/network/log/, could help you to find a method.
    Also i would like to record the users who had connected to my linux server (using putty) please suggest a method.Take a look in /var/log e.g. wtmp (if such file name exists, and use man command on the file names to learn their usage). Should at least help identify telnet/ssh sessions.

  • Oracle and http server to install apex

    Dears,
    My old configuration was a solarisx86 (installation : 10202_database_solx86 ,10202_companion_solx86).
    I would like to install a new version of apex on a node of a cluster HP UX.
    Could someone tell me what and where can i find an oracle 10 compatible apex and and http server for this?
    thanks in advance.
    Celio

    [10g Release 2 downloads on OTN|http://www.oracle.com/technology/software/products/database/index.html]. (Can't be more specific than this because you haven't identified your flavour of HP-UX.) Oracle HTTP Server is on the Companion CD.

  • Can i add a servlet in oracle database for webservices without java and how?

    HI
    can i add a servlet in oracle database for webservices without java and how?
    Please help
    Thanks

    Dear Frank,
    I have done as follows
    created a form with a button, and in my button pressed event I wrote
    WEB.SHOW_DOCUMENT('javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");', '_Self');
    and in my formsweb.cfg I have the following
    HTMLbeforeForm=<script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    When I click on the button it is coming with toolbar , etc as well as no page found is coming with the following in the address bar.
    javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");
    My html view source comes as below for the form
    <HEAD><TITLE>Oracle9iAS Forms Services</TITLE></HEAD>
    <BODY >
    <script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF"
    codebase="/forms90/jinitiator/jinit.exe#Version=1,3,1,9"
    WIDTH="1000"
    HEIGHT="660"
    HSPACE="0"
    VSPACE="0">
    <PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.9">
    <PARAM NAME="CODEBASE" VALUE="/forms90/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    I am using Forms [32 Bit] Version 9.0.2.7.0

  • Oracle service, Listener and http server does not start automatically

    Hello,
    I have Oracle 9i release 2 installed on Unix HP box if system restart in case of power failure the Oracle service, Listener and http server does not start automatically, is there any ready reference available to check what's wrong is happening(I don't have knowledge of Unix).
    Thanks, Khawar.

    Hi Rajesh,
    Thanks for reply, I will check this link and will be back if facing problem.
    Regards, Khawar.

  • 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.

  • Study: Oracle database software has more flaws than SQL Server

    Hi,
    Study: Oracle database software has more flaws than SQL Server
    Microsoft is often unfairly slammed for security issues, says NGSS
    http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9005383&intsrc=hm_list
    Post your comments on this stupid artical.
    Thanks!
    M T

    This is a case where size does matter.
    When they say errors reported on oracle are about 4 times more than the ones reported on SQL server they forgot to say something like: SQL server is able to do... what a 10%, a 5% or whatever of what oracle can do.
    Anyway who sayd this forgot to say that they worked with microsoft trying to improve SQL sever security features as well.
    http://www.nextgenss.com/press-releases/ngs-and-the-sql-server-security-essential-guide/
    They have a reason to say it. Who would say "I made a bad job!"
    In my opinion there is no way yet to compare oracle to any other DBMS under any point of view.
    Bye Alessandro

  • Single Oracle Database repository to support SOA and OIM is it possible

    Hi, I'd like to install and configure SOA and OIM and would like to know if I can use one database as the repository to support SOA Suite install and OIM install ?
    In a development environment is it safe to install SOA Suite 11g and OIM 11g on the same server with all of its components? This is only for the development environment. Thanks

    Hi,
    I feel you can do it with single Oracle Database,check the below links:
    http://ofmwsoa11g.blogspot.com/p/oim-oam-ldap-oid-dip-ovd-oif-sso.html
    http://onlineappsdba.com/index.php/2010/08/05/oracleidm-11g-step-by-installation-of-oam-oim-oaam-oapm-oin-111130-part-i-load-schema/
    Best regards,
    Rafi.

  • Intermedia Database Agent and HTTP Server

    I have intermedia web agent 8.1.5.4 running on nt sp6. i am
    trying to have a username and password in the database agent for
    uploading and retrieving files.
    this works when i use IIS 4.0, however it does not work when i
    use HTTP server. it will ask for username and password.
    here is the database agent description
    service = oracle
    database_user = icras2
    database_password = <password>
    authorized_request_class = clipboard
    authorized_sql_statements = any
    authorized_sql_procedures = *
    display_name = icras2
    authentication_realm_name = icras2
    retrieve_database_agent
    upload_database_agent
    clipboard_user = icras2
    Thanks
    Melissa

    I think it would be helpful if you described the reason that you would like to do this.
    I know that in some environments the powers that be will not install Apex on the database server.
    In such an environment you could create a local Oracle instance and install Apex yourself and access
    the database containing the data via dblinks. You'd have to be careful if you are processing lots of data
    in such a setup.
    I saw another response to your post and it looks like the person that responded assumed that you would install
    apex into the daabase that keeps all the data. However, if ypur administrators will not install Apex (and I have
    come across this) then you cannot follow that advice.

  • Download Oracle Database 10g Release (10.2) and required patches

    Hi
    I need to upgrade Database from 9.2.0.7 to 10.2.
    So I need to get the Oracle Database 10g Release (10.2) Software and latest patches sets and required patches.
    SAP 4.7
    Kernel Release: 640 with Patch 221
    Windows2000 Patch 4
    I am  not able to find out where to download Oracle Software and Required Patches from [url] service.sap.com
    Please let me know.
    Regards

    http://service.sap.com/installations
    Pick there whatever application (e. g. ERP and select your CDs). You can also directly search for the CDs:
    51031678     DVD ORACLE RDBMS 10.2 Windows
    The actual patches you get
    http://service.sap.com/swcenter-3pmain
    --> Oracle
    --> Oracle 10.2.0.4
    --> Database RDBMS
    --> MS Windows (32-bit)
    Download there the patchset 10.2.0.4 itself and the latest interim patch 10204_Patch8_WIN32.zip .
    Markus

  • Oracle database connectivity using oledb provider and atl classes in c++

    dear friend ,
    i m connecting oracle database in c++. i m using ATL classes and oledb provider for oracle. however i m facing some defficulties in stored procedure.
    Normally MYSQL and sql server database is resulting result set in stored procedure i.e. we can use " select * from tablename" query in c++ to returning result. but in oracle we can not use this approch as because it dosent support. so how can i execute below stored procedure in c++ code. i have to retuen result set in STP. i m using SYS_REFCURSER in oracle . but how do i execute it in c++ code.
    create PROCEDURE stp_getRecord ( p_curser SYS_REFCURSER) as
    begin
    open p_curser for select * from table_name;
    end;
    please help me asap.

    I tried it, commented out the reader.read and have the following connection string
    string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
    Unfortunately the result is the same.
    Edited by: Dino2dy on Nov 24, 2011 12:53 AM

  • Oracle Database Vault vs Audit Vault and database firewall

    Hi All,
    I would like to know the main difference between Oracle Database Vault and Oracle Audit Vault and Database firewall.
    I have read all the white papers and documents on them both and find them very similar in work process.
    Only difference I see in the pricing.
    I feel Oracle audit Vault can do all the work of Database Vault with added feature of proactive session monitoring.
    If someone can help me based on their knowledge and experience it would be appreciated.
    Thank you.

    I have read the white papers of both Database Vault and Audit Vault
    According to database Vault sessions can be managed using various roles created as per business requirements.
    Audit vault offers same thing in terms of a firewall which manages and restrictions based on roles created .
    From the white papers:
    DATABAES VAULT:
    Oracle Database Vault restricts access to specific areas in an Oracle database from any user, including users who have administrative access.
    This enables you to apply fine_grained access control to your sensitive data in a variety of ways.
    Oracle Database Vault enables you to create the following components to manage security for your database:
    Realms
    Command Rules
    Factors
    Rule Sets.
    DATABAE AUDIT AND FIREWALL:
    Oracle Audit Vault and database Firewall consolidates database activity monitoring events and audit logs. Policies enforce expected application behaviour, helping preventing SQL injection, application bypass, and other malicious activities from reaching the database while also monitoring and auditing privileged users and other activities inside the database.
    To me these sound very similar of doing same work.
    My apologies as I am unable to paste the whole text here and I cannot type full documents here 

  • Oracle database licenses for 32 bit and 64 bit ?

    Quick question on Oracle Licensing.
    We have brought Oracle database license for 10g few years ago. We had 10g 32-bit database installed and its working fine.
    Now we are in the process of migrating our hardware to 64-bit, since Oracle database has a 64-bit database, we are planning to move our database as well to 10g 64-bit database.
    Now as far as licensing is concerned, do we need to buy new licenses in order to use the 10g 64-bit database ?
    or its the same license for 32 or 64 bit database - so we are good ?

    You can migrate your Oracle license from one platofrm to another even if the platform is sold by a different manufacturer. If you have cpu licenses though you have to take into consideration the different way Oracle charges for some vendor CPU's. That is not all CPU's are considered equal.
    The licensing information is available at oracle.com and your sales representive should be able to help if necessary. We just open an SR and ask Oracle for assistance to get the necessary software.
    HTH -- Mark D Powell --

  • Installation oracle database 10.2 on mac snow leopard server

    Hi.,
    I am trying to install oracle database 10.2 on mac server snow leopard but getting following error:
    rsgsoftware:Disk1 oracle$ ./runInstaller
    Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-31_10-22-39AM. Please wait ...The Java RunTime Environment was not found at /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
    : No such file or directory
    hence JRE is inbuilt with mac.
    Can any one help me in this regard.
    --SD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    damorgan wrote:
    I am trying to use my pet cat as a boat and it doesn't work either.That's because, just like the OP, you are not taking the right approach. You simply need to MODIFY the cat - in your case, by adding a few things: a keel, ribs, hull, mast, sails, rudder, tiller (to name a few).
    Similarly, OP needs to MODIFY Snow Leopard by adding the appropriate infrastructure, executables, and configuration to meet the install requirements. Just because that implies a different kernel and system libs doesn't mean it can't be done.
    Just don't let the animal rights people (or professional administrator) know about the mods.

  • Installation oracle database 10.2 on mac snow leopard server JAVA ERROR

    When I try install DB 10g in my Macbook Pro with Snow leopard show this error when I try the 'installer' :
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-11-18_08-45-47PM. Please wait ...The Java RunTime Environment was not found at /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
    : No such file or directory
    logout
    Please help me its urgent !
    Thanks
    Best Regards

    Welcome to the forums !
    For urgent issues, pl open a Service Request with Support at http://support.oracle.com
    The forums are a loose organization of unpaid volunteers and cannot support urgent issues ;-)
    AFAIK, Snow Leopard has not been certified for 10g yet.
    Pl confirm that you meet all of the requirements for the install - http://download.oracle.com/docs/cd/B19306_01/install.102/b25286/toc.htm
    See related thread Re: Install Oracle Database 10g on Mac OS X Snow Leopard
    HTH
    Srini

Maybe you are looking for

  • Update and insert in to table

    Hi All, I am uploading data from a txt file into itab_infile and wants to update the table Zppprice based on itab_infile. It the record is existing it has to update and when it is a new record it has to insert the record. And I need to capture how ma

  • No Images loading in Safari 6.0

    Hello, Mysteriously Safari has decided not to load any images on any website I visit.  After trawling the net for a while I have tried: Deleting the Cache.db file from the library file Checked that disable images is not checked on the Safari Develop

  • Error "Event Queue Overflowed​" with the "Write file to Citadel Server"

    Hello, I can import data from a file and I can see the data in the historical database without troubling. But I always have this error "Event Queue Overflowed", that don't perturb my data and my application (I have just this boring message). I have t

  • Spontaneous restart

    My new mac mini goes suddenly to a blue screen, and then makes a restart. Console reads 'Job overstayed its welcome. Forcing removal' followed by 'Exited due to exit code 1'. The restart is as quick as it is sudden, and without any warning given. Thi

  • A few simple problems with dreamweaver 8

    Hello, Please watch these 20 second clips so you can see my problem. First video (quite fuzzy, sorry): http://tinypic.com/player.php?v=qsp10x&s=5 I want it so it goes down 1 line instead of 2 lines at a time.. Second video: http://tinypic.com/player.