Existing http server

I am currently working on a contract where the management are very keen to use HTMLDB but they want to use their existing http server. It runs on another server to the Oracle server, which is running Oracle version 9.2.0.5.
I have downloaded the HowTo document on configuring the 9i Apache server for HTMLDB, but this is not really what I need.
Can anyone advise me on what I need to do to configure the existing http server, on the other machine, to work with HTMLDB and Oracle 9i. ?

Tim,
those are really two separate things. It always helps a lot if you give us as much detail about your requirements as possible :).
1) Using Oracle 9i on one server and the standalone
http server on another.
(Do you know which server would require the
the install of HTMLDB)Well, you need to install HTML DB into the database, at least Oracle Version 9.2.0.3.
To access HTML DB, you need a pl/sql gateway. This can be either on the same machine as the database or on a different server.
You cannot run it on a standalone Apache server, you would have to use the Oracle Apache server that is installed with the 9i database or from the 10g / 10gR2 companion CD.
This one includes the pl/sql gateway (Apache module mod_plsql).
If you really need to use the standalone Apache server as the main entry point for your users you could still configure this one to be a proxy to your Oracle Apache on the database server or somewhere else.
2) Using XE on a dedicated server.
(In this scenario, could you help with the http
tp configuration using DBMS_EPG
for making the new application visible by others,
s, ie. publishing the app.
This is very new to me ).Well, once you installed XE on a dedicated server it is fully functional out of the box. No further configuration is needed after the install (if you stay with the default ports). It is accessible from the network, no DBMS_EPG configuration needed.
As detailed in the previous post you could install XE on a dedicated server and use the standalone Apache server as a proxy to the XE server.
Hope this helps,
~dietmar.
P.S.: I am not sure about the licensing implications if you separate the Http server from the database server.

Similar Messages

  • Existing HTTP server stops working after installing OWB10g

    Hi,
    I have upgraded an existing OWB target installation on a Win2000 server to 10G by installing the OWB SW on the server as described in the installation documentation. The target database is still v9.2.0.4. After installing OWB and restarting the server, the 9.2 HTTP server no longer starts. The error logs show that the HTTP server is trying to find some Perl libs in the new OWB home.
    From what I can see, the OWB 10g installation creates a new environment variable; PERL5LIB, pointing to various catalogues in the OWB 10g home. If I remove this from the system, the HTTP server again starts normally, but I suppose this has some negative impact on OWB?
    How can I get the Oracle database 9.2 HTTP server to work alongside OWB 10g?
    Roald

    Roald,
    OWB 10g 'inherited' this bug from Oracle database 10g Bug 3585410. OWB 10g install includes 'Oracle Perl Interpreter' from Oracle 10g which creates this ENV. OWB 10g does not need this and PERL5LIB can safely be renamed without affecting OWB 10g functionality.
    Nikolai Rochnik

  • Does Oracle HTTP server exist for Windows Server 2008 64 bit?

    Hello!
    We are moving our database 10.2.0.4 from Windows 2003 32 bit to the new server Windows Server 2008 64 bit,
    and I didn't search Apache on the companion disk.
    Will it be released later?
    What will be alternative?
    Irina.

    Hi
    Did you find a solution to your question ? I am also looking for installing appex http Server on a W2008 X64 Server.
    Thanks for a answer.
    Matthias

  • HTTP Server fails to starts during E-Business installation

    Hello All,
    I am having issues installing e-business suite 12.1.1 on Oracle Linux 6.2.
    I have applied all the correct packages (and a couple that were not listed in the installation instructions), applied required patches, upgraded the startCD version to the latest, run the md5sum checks on the Stage directory, and a bunch of manual stuff which it doesn't tell you to do in the installation notes, but you have to do to make it work, e.g. linking unzip 5.x from the startCD to /usr/bin/unzip. I thought that I had it cracked until it failed at the last HTTP Server checks.
    I have attempted to restart services manually but it appears as though the HTTP server cannot start due to a missing library libdb-4.3.so:
    HTTP_Server~1.log
    */u01/applR12/inst/apps/<SID>_<HOST>/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd*
    */u01/applR12/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory*
    There was another post where a similar issue was resolved in a OEL 5 x86.x64 install by applying a i383 gdbm package, and linking the existing library as the document id which you posted suggested.
    This package cannot be applied, as I have attempted.
    I then started to look for the library which is reported in the logs as being missing, i.e. libdb-4.3.so. This does not appear to exist for OEL 6.
    I then looked further afield and found a Centos 6.2 rpm which contained this library. I extracted this and linked it to the libdb.so.2 (patch 6078836).
    I am getting the following from the adstrtal.log (I ran the cat command as root not adstrtal.sh which I ran as the application user):
    *# cat /u01/applR12/inst/apps/<SID>_<HOST>/logs/appl/admin/log/adstrtal.log | grep Failed*
    Web Application Services OACORE OC4J Instance <SID>_<HOST> adoacorectl.sh Failed
    Web Application Services FORMS OC4J Instance <SID>_<HOST> adformsctl.sh Failed
    Web Application Services OAFM OC4J Instance <SID>_<HOST> adoafmctl.sh Failed
    This is different to what I was seeing previously where all a 4 Web Application Services had failed
    *# cat /u01/applR12/inst/apps/<SID>_<HOST>/logs/appl/admin/log/adstrtal.log | grep -v "status 0" | grep status*
    adoacorectl.sh: exiting with status 150
    adformsctl.sh: exiting with status 150
    adoafmctl.sh: exiting with status 150
    ServiceControl is exiting with status 3
    Looking at the respective log files I am seeing the following:
    adoacorectl.txt
    *06/27/12-07:35:10 :: adoacorectl.sh version 120.13*
    *06/27/12-07:35:10 :: adoacorectl.sh: starting OPMN if it is not running*
    opmnctl: opmn is already running.
    *06/27/12-07:35:10 :: adoacorectl.sh: Starting OPMN managed OACORE OC4J instance*
    opmnctl: starting opmn managed processes...
    *================================================================================*
    opmn id=<HOST>:6200
    no processes or applications matched this request
    *06/27/12-07:35:10 :: adoacorectl.sh: exiting with status 150*
    *================================================================================*
    adformsctl.txt
    *06/27/12-07:35:11 :: adformsctl.sh version 120.16*
    *06/27/12-07:35:11 :: adformsctl.sh: starting OPMN if it is not running*
    opmnctl: opmn is already running.
    *06/27/12-07:35:11 :: adformsctl.sh: Starting OPMN managed FORMS OC4J instance*
    opmnctl: starting opmn managed processes...
    *================================================================================*
    opmn id=<HOST>:6200
    no processes or applications matched this request
    *06/27/12-07:35:11 :: adformsctl.sh: exiting with status 150*
    *================================================================================*
    adoafmctl.txt
    *06/27/12-07:35:11 :: adoafmctl.sh version 120.8*
    *06/27/12-07:35:11 :: adoafmctl.sh: starting OPMN if it is not running*
    opmnctl: opmn is already running.
    *06/27/12-07:35:11 :: adoafmctl.sh: Starting OPMN managed OAFM OC4J instance*
    opmnctl: starting opmn managed processes...
    *================================================================================*
    opmn id=<HOST>:6200
    no processes or applications matched this request
    *06/27/12-07:35:11 :: adoafmctl.sh: exiting with status 150*
    *================================================================================*
    Running adapcctl.sh by itself I am seeing the same issue reported in the log files:
    *$ ./inst/apps/<SID>_<HOST>/admin/scripts/adapcctl.sh start*
    You are running adapcctl.sh version 120.7.12010000.2
    Starting OPMN managed Oracle HTTP Server (OHS) instance ...
    opmnctl: opmn is already running.
    opmnctl: starting opmn managed processes...
    *================================================================================*
    opmn id=<HOST>:6200
    no processes or applications matched this request
    adapcctl.sh: exiting with status 0
    adapcctl.sh: check the logfile /u01/applR12/inst/apps/<SID>_<HOST>/logs/appl/admin/log/adapcctl.txt for more information
    Looking at the log file I can see the following:
    *06/27/12-08:15:27 :: adapcctl.sh version 120.7.12010000.2*
    *06/27/12-08:15:27 :: adapcctl.sh: starting OPMN if it is not running*
    opmnctl: opmn is already running.
    *06/27/12-08:15:27 :: adapcctl.sh: starting OPMN managed OHS instance*
    opmnctl: starting opmn managed processes...
    *================================================================================*
    opmn id=<HOST>:6200
    no processes or applications matched this request
    *06/27/12-08:15:27 :: adapcctl.sh: exiting with status 0*
    *================================================================================*
    I have attempted to restart opmn using adopmnctl.sh, which was unsuccessful. Looking at the HTTP_Server~1.log I can see the following the error:
    */u01/applR12/inst/apps/<SID>_<HOST>/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd*
    */u01/applR12/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory*
    Has been replaced by the recurring message:
    */u01/applR12/inst/apps/<SID>_<HOST>/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd*
    Syntax error on line 264 of /u01/applR12/inst/apps/<SID>_<HOST>/ora/10.1.3/Apache/Apache/conf/httpd.conf:
    Cannot load /u01/applR12/apps/tech_st/10.1.3/Apache/Apache/libexec/mod_ossl.so into server: /u01/applR12/apps/tech_st/10.1.3/Apache/Apache/libexec/mod_ossl.so: undefined symbol: dbm_firstkey
    Looking at line 264 of httpd.conf I can see the following:
    LoadModule ossl_module libexec/mod_ossl.so
    Which looks fine when compared to the rest of the file.
    I am not able to look at the /u01/applR12/apps/tech_st/10.1.3/Apache/Apache/libexec/mod_ossl.so.
    I do not know where else to go with this now. Any guidance which you could provide would be very much appreciated.
    Regards,

    Hello Hussein,
    Thank you for getting back to me! As per the installation instructions it states the following:
    # cd /usr/lib
    # ln -s libdb-4.7.so libdb-4.3.so
    However there is no libdb-4.7.so library there to link to.
    I have installed the db4 i686 & x86_64 packages which contain this library, then performed the above. I then ran the adstrtal.sh command which completed without incident.
    As such the Required Packages in the installation instructions should be updated to include the following:
    db4.i686
    db4-devel.i686
    db4.x86_64
    db4-devel.x86_64
    Regards,

  • Can not start http server

    start http server powered by apache.I got such message:
    '[alert]<5>...:FastCGI:CreateMUtex()failed
    Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf:
    Failed to create FastCGI application accept mutex'
    my isqlplus.conf:
    # Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved.
    # NAME
    # isqlplus.conf
    # PURPOSE
    # Oracle HTTP Server directives for the iSQL*Plus server
    # USAGE
    # This file should be included in the Oracle HTTP Server
    # "oracle_apache.conf" file.
    # Enable handling of all virtual paths beginning with "/iplus/"
    # Note: only /iplus/ is mapped, /iplus is not being mapped
    <IfModule mod_alias.c>
    Alias /iplus/ "C:\oracle\ora92\sqlplus\admin\iplus/"
    # Disallow users from trying to access /iplus/ directory listing
    <Directory "C:\oracle\ora92\sqlplus\admin\iplus">
    AllowOverride None
    Options FollowSymLinks
    Order deny,allow
    Allow from all
    </Directory>
    </IfModule>
    # Maps all virtual paths beginning with "/isqlplus*" to the iSQL*Plus
    # FastCGI application
    <IfModule mod_alias.c>
    ScriptAliasMatch ^/isqlplus(.*) C:\oracle\ora92\bin\isqlplus
    ScriptAliasMatch ^/isqlplusdba(.*) C:\oracle\ora92\bin\isqlplus
    <Directory "C:\oracle\ora92\bin">
    AllowOverride None
    Options FollowSymLinks
    Order deny,allow
    Allow from all
    </Directory>
    </IfModule>
    # Enable handling of all virtual paths beginning with "/isqlplus"
    <Location /isqlplus>
    SetHandler fastcgi-script
    Order deny,allow
    # Comment "Allow ..." and uncomment the four lines "AuthType ..."
    # to "Require ..." if Oracle HTTP authentication access is required
    # for the http://.../isqlplus URL
    Allow from all
    #AuthType Basic
    #AuthName 'iSQL*Plus'
    #AuthUserFile C:\oracle\ora92\sqlplus\admin\iplus.pw
    #Require valid-user
    </Location>
    # Enable handling of all virtual paths beginning with "/isqlplusdba".
    # Note: Oracle HTTP authentication access must be configured to
    # prevent unauthorized users performing DBA operations on
    # the database
    # Use the HTTP server utility script "htpasswd" to add users to the
    # "iplusdba.pw" file.
    <Location /isqlplusdba>
    SetHandler fastcgi-script
    Order deny,allow
    AuthType Basic
    AuthName 'iSQL*Plus DBA'
    AuthUserFile C:\oracle\ora92\sqlplus\admin\iplusdba.pw
    Require valid-user
    </Location>
    # Setup the iSQL*Plus FastCGI application.
    <IfModule mod_fastcgi.c>
    FastCgiServer C:\oracle\ora92\bin\isqlplus -port 8228 -initial-env iSQLPlusNumberOfThreads=20 -initial-env iSQLPlusTimeOutInterval=30 -initial-env iSQLPlusLogLevel=off -initial-env iSQLPlusAllowUserEntMap=none -idle-timeout 3600
    </IfModule>

    I appreciate your help.
    I have been offline for a long time since I had a business trip two week ago.
    I can not start the apache http server, so it isn't on running status within NT services manager.
    In fact, there is someting wrong---fail to create FastCGI when startup. Oracle system message tells me that syntax error exists on line 92 of isqlplus.conf but I don't know how to correct it.
    Henry

  • How to install HTTP Server in a Linux Machine for running APEX

    I've Installed Unbreakable Linux 4.7 and I'm using the standard apache which comes (Apache 2), I want to install the HTTP Server in order to run APEX on this machine, and may it look the data from the database which is oracle 10g (The database is on another machine). Could both installations of apache and Oracle http server co-exists and what is the best form to do it??

    Yes, they can. They installed in different directories and you have to use different ports.
    AFAIK for HTTP for APEX is either part of the installation (eg. in the Oracle Express Edition) or part of the Oracle Installation CDs. For more information see the Oracle Installation Documentation.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • MOD OC4J errors in HTTP server Error log

    these errors are continously shown in the error log of HTTP server.
    and my error rate reaches upto 8% somtimes
    MOD_OC4J_0145: There is no oc4j process (for destination: home) available to service request.
    MOD_OC4J_0119: Failed to get an oc4j process for destination: home.
    MOD_OC4J_0013: Failed to call destination: home's service() to service the request.
    MOD_OC4J_0145: There is no oc4j process (for destination: home) available to service request.
    MOD_OC4J_0119: Failed to get an oc4j process for destination: home.
    MOD_OC4J_0013: Failed to call destination: home's service() to service the request.
    MOD_OC4J_0207: In internal process table, failed to find an available oc4j process for destination: home.
    MOD_OC4J_0150: Failed to deterministicly find a failover oc4j process for session request with uid:
    MOD_OC4J_0119: Failed to get an oc4j process for destination: home.
    MOD_OC4J_0013: Failed to call destination: home's service() to service the request.
    MOD_OC4J_0207: In internal process table, failed to find an available oc4j process for destination: home.
    MOD_OC4J_0119: Failed to get an oc4j process for destination: home.
    MOD_OC4J_0013: Failed to call destination: home's service() to service the request.
    MOD_OC4J_0207: In internal process table, failed to find an available oc4j process for destination: home.
    File does not exist: e:/ora9ias/forms90/java/java/awt/KeyboardFocusManager.class
    File does not exist: e:/ora9ias/forms90/java/oracle/forms/registry/default.dat
    File does not exist: e:/ora9ias/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
    File does not exist: e:/ora9ias/forms90/java/oracle/ewt/alert/resource/AlertBundle_en.class
    File does not exist: e:/ora9ias/forms90/java/oracle/ewt/alert/resource/AlertBundle_en.properties

    I get the same set of errors.
    9iAS 9.0.2.0.1 infrastructure and portal installed on same solaris 8 machine.
    Jeff Black

  • HTTP Server High Availability

    Hello All.
    I have a question regarding OC4J and HTTP server High Availability.
    I want to do something like the Figure 3-1 of the Oracle Application Server High Availability Guide 10.1.2. See this link
    http://download-east.oracle.com/docs/cd/B14099_11/core.1012/b14003/midtierdesc.htm#CIHCEDFC
    What I have now is the following:
    Three hosts
    Two of them are an OAS 10.1.2 which we already configured the Cluster and deployed our applications (used this tutorial: http://www.oracle.com/technology/obe/obe_as_1012/j2ee/deploy/j2eecluster/farmcluster.htm)
    Let's say this nodes are:
    - host1
    - host2
    The other one is the Oracle WebCache stand alone (will act as Load Balancer). We will call this
    - hostwc3
    We already configured the WebCache as Load Balancer and is working just fine. We also configured the session replication successful and work great with our applications.
    What we have not clear is the following:
    When a client try to visit http://hostwc3/application/ the LOAD BALANCER routes him to, let's say http://host1/application/ and in the browser's URL will not show the Virtual Server anymore (the webcache server) and will show the actual real Apache address (host1 )that is attending him. IF we "kill" on ENTIRE host1 (apache, oc4j, etc..) the clients WILL perceive the down and if they try to press F5, the will try to access to an Apache that doesn't is up and running.... The behavior expected is that the browser NEVER shows the actual Apache URL, so, when some apache goes down, the client do not disconnect (as it happens with and OC4J downfall ) and always works with the "virtual web server".
    I came up with some ideas but I want you Guys to give me an advice:
    - In Web Cache, do not route for load balancing to Apache, and route the Oc4J directly (Is this possible?)
    - Configure a HTTP Server Cluster, this means that we have to have a "Virtual Name"to the Apaches (two of them). Is this possible? how?
    - Use the rewrite mode of the Apache. Is this a good idea?
    - Any other idea how to fix the Apache "Single Point Of Failure" ?
    According with the figure 3-1 ( Link above ) we do can have HTTP Server in a cluster. But I have no idea how to manage it or configure it.
    Thanks in advance any help!

    You cannot point Outlook Anywhere to your DAG cluster IP address. It must be pointed to the actual IP address of either server.
    For no extra cost DNS round robin is the best you will get, but it does have some drawbacks as it may give the IP address of a server you have taken down for maintenance or the server has an issue.
    You could look to implement a load balancer but again if you are doing this for high availability then you want more than one load balancer in the cluster - otherwise you've just moved your single point of failure.
    Having your existing NAT and just remembering to update it to point to the other server during maintenance may suit your needs for now.
    If you can go into more detail about what the high availability your business is looking to achieve and the budget we can suggest the best method to meet those needs for the price point.
    Have a great day
    Oliver
    Oliver Moazzezi | Exchange MVP, MCSA:M, MCITP:Exchange 2010,Exchange 2013, BA (Hons) Anim | http://www.exchange2010.com | http://www.cobweb.com | http://twitter.com/OliverMoazzezi

  • Oracle 10g HTTP Server + PHP

    Does anyone know how to enable PHP support on Oracle HTTP Server (from Oracle DB Companion CD)? I tried to compile PHP on it, bet I get the following error:
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS...
    Sorry, I was not able to successfully run APXS. Possible reasons:
    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    The output of /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/apxs follows
    ld.so.1: /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd: fatal: libdms2.so: open failed: No such file
    or directory
    apxs:Error: Sorry, no DSO support for Apache available
    apxs:Error: under your platform. Make sure the Apache
    apxs:Error: module mod_so is compiled into your server
    apxs:Error: binary `/u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd'.
    configure: error: Aborting
    Oracle HTTP server does not have DSO support, is there some possibility to enable it? Or there exists another way to enable PHP support on Oracle HTTP server.

    Your existing PHP already extracts as binary - that's what is causing
    a problem.
    The two functions I mentioned convert to ASCII using their respective
    encodings. What format you want depends on what you want to do with
    the string.
    Here is some code that may be helpful.
    <?php
    // Fetch a RAW and convert to a hexidecimal representation similar to
    // fetching it as a SQLT_STR
    $c = oci_connect("hr", "hr", "XE");
    // Create test table
    $s = oci_parse($c, "create table rtable(rcol raw(2000))");
    oci_execute($s);
    // Load first 2000 bytes of the test.gif image into the RAW
    $img = file_get_contents( dirname(__FILE__)."/test.gif");
    $img = substr($img, 0, 2000);
    $s = oci_parse ($c, "insert into rtable (rcol) values (:bv)");
    oci_bind_by_name($s, ":bv", $img, -1, SQLT_BIN);
    oci_execute($s);
    // Query the RAW and convert to one form of ASCII representation
    $stid = oci_parse($c, 'select rcol from rtable');
    oci_execute($stid);
    print '<table border="1">';
    while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) {
      echo "<tr><td>";
      echo bin2hex($row['RCOL']);
      echo "</td></tr>\n";
    echo '</table>';
    // Clean up
    $stmt = oci_parse($c, "drop table rtable");
    oci_execute($stmt);
    ?>-- cj

  • Error starting up ApEx's Oracle HTTP server

    Hello.
    I have just configured a brand new Oracle HTTP server on a brand new ApEx database. When I try to start the server, it doesn't start and I see errors in the log files.
    dads.conf in Apache/modplsql/conf directory:
    Alias /i/ "/u01/app/oracle/product/10.2.0/http/Apache/images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString zemple:1521:orp244a.<my domain here>.com ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword <my password here>
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>
    orp244a is a 10.2.0.4 database into which ApEx has been installed per the install guide with no errors. The Oracle HTTP server is 10.2.0.1. Both run on Zemple. I have substituted the domain name and the password for APEX_PUBLIC_USER account with <my domain here> and <my password here>, respectively, for security reasons.
    When I check http://zemple.<my domain here>:7777, I get the standard Oracle HTTP Server page. But when I check http://zemple.<my domain here>:7777/pls/apex I get the "Page cannot be found" error.
    error_log in Apache/logs directory:
    [Mon Mar 16 14:50:59 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Mar 16 14:50:59 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Mar 16 14:51:07 2009] [error] [client 10.222.137.7] [ecid: 1237233067:10.220.17.126:21396:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls
    [Mon Mar 16 14:51:55 2009] [error] [client 10.222.137.7] [ecid: 1237233115:10.220.17.126:21399:0:2,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
    meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    [Mon Mar 16 14:51:59 2009] [error] [client 10.222.137.7] [ecid: 1237233119:10.220.17.126:21399:0:4,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
    meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    Any idea what my problem might be?
    Thank You
    Boris

    The modplsql/logs directory is completely empty.
    The stop and start of the http server is clean - no errors reported.
    The main log in Apache/Apache/logs directory is not big, since it is a brand new install of the http server. Here is the complete log:
    [Mon Mar 16 13:45:38 2009] [notice] FastCGI: process manager initialized (pid 7879)
    [Mon Mar 16 13:45:39 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Mar 16 13:45:39 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Mar 16 14:45:06 2009] [notice] FastCGI: process manager initialized (pid 18854)
    [Mon Mar 16 14:45:07 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Mar 16 14:45:07 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Mar 16 14:45:56 2009] [error] [client 10.222.137.7] [ecid: 1237232756:10.220.17.126:18862:0:1,0] mod_plsql: /pls/apex/apex_admin HTTP-404 ORA-06502: PL/S
    QL: numeric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    [Mon Mar 16 14:46:32 2009] [error] [client 10.222.137.7] [ecid: 1237232792:10.220.17.126:18866:0:1,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls/
    [Mon Mar 16 14:46:38 2009] [error] [client 10.222.137.7] [ecid: 1237232798:10.220.17.126:18860:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls/
    [Mon Mar 16 14:46:45 2009] [error] [client 10.222.137.7] [ecid: 1237232805:10.220.17.126:18866:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls/
    [Mon Mar 16 14:50:58 2009] [notice] FastCGI: process manager initialized (pid 21392)
    [Mon Mar 16 14:50:59 2009] [notice] Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Mar 16 14:50:59 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Mar 16 14:51:07 2009] [error] [client 10.222.137.7] [ecid: 1237233067:10.220.17.126:21396:0:2,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls
    [Mon Mar 16 14:51:55 2009] [error] [client 10.222.137.7] [ecid: 1237233115:10.220.17.126:21399:0:2,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
    meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    [Mon Mar 16 14:51:59 2009] [error] [client 10.222.137.7] [ecid: 1237233119:10.220.17.126:21399:0:4,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: nu
    meric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    [Mon Mar 16 15:01:46 2009] [error] [client 10.222.137.7] [ecid: 1237233706:10.220.17.126:21399:0:9,0] File does not exist: /u01/app/oracle/product/10.2.0/http
    /Apache/Apache/htdocs/pls/htmldb
    [Mon Mar 16 15:01:53 2009] [error] [client 10.222.137.7] [ecid: 1237233713:10.220.17.126:21399:0:11,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-06502: PL/SQL: n
    umeric or value error\nORA-06512: at "SYS.OWA_MATCH", line 41\nORA-06512: at line 18\n
    Thank You
    Boris

  • Oracle HTTP Server + PHP

    Does anyone know how to enable PHP support on Oracle HTTP Server (from Oracle DB Companion CD)? I tried to compile PHP on it, bet I get the following error:
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS...
    Sorry, I was not able to successfully run APXS. Possible reasons:
    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    The output of /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/apxs follows
    ld.so.1: /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd: fatal: libdms2.so: open failed: No such file
    or directory
    apxs:Error: Sorry, no DSO support for Apache available
    apxs:Error: under your platform. Make sure the Apache
    apxs:Error: module mod_so is compiled into your server
    apxs:Error: binary `/u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd'.
    configure: error: Aborting
    Oracle HTTP server does not have DSO support, is there some possibility to enable it? Or there exists another way to enable PHP support on Oracle HTTP server.

    Could you paste the full command line you used to run the configure script? My initial guess is that you didn't specify the full path to Apache's apxs (usually located somewhere around "$ORACLE_HOME/Apache/Apache/bin/apxs"). Among other things, try making sure you've specified "--with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs" on the command line.
    If you don't know where apxs might be, you can also usually try finding apxs with "find / -name apxs > find.out". If you have "find" on your flavor of *n?x, this will output all files exactly matching the name "apxs" to a file named "find.out" in your current directory. You can usually view the file by running "cat find.out" on the command line. Look for lines in the file with "Apache" on them and/or your Oracle install directory (or $ORACLE_HOME).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle HTTP Server and mod_plsql

    Hi there,
    I have a problem using HTML DB on a small network. LAN consists of two computers with Windows XP Professional, Service Pack 1. Server has two NIC. One connected to the local internet provider (PPPoE) with TCP/IP set to "Obtain an IP address automatically" and second network adapter (for the LAN) with TCP/IP address 192.168.0.2. Second computer has NIC with IP 192.168.0.3. The server is set with HTML DB 2.0. There is NO ANY problem if I work on it as stand alone computer - second network adapter disable!
    The problem arises if I connect the second computer and then start HTML DB by http://localhost:7777/…"503 the service is temporary unavailable", emagent is down, DBconsole service is not active anymore, etc. Apache or Oracle HTTP Server is up.
    I have found, after several days of troubleshooting, that the problem might be in httpd.config file. If somebody have experience in similar networks or Oracle HTTP Server settings please, give me advice or send httpd.conf file as an example.
    Please help me!
    Konstantin

    Hi,
    If I disable the network adapters and restart the computer, then connect to the HTML DB or my application, everything is OK. Then enable connection and I can work from both computers!
    This is listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = KONCOMP)(PORT = 1521))
    This is tnsnames.ora
    KONSTA10 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = koncomp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = KONSTA10)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The dad.conf is empty because I am using marvel.conf. I just checked the rules to build such file. Listener uses as host name - computer name (in my case koncomp), but in all config files Oracle HTTP Server uses name localhost or 127.0.0.1. That is the reason for SYSMAN to make too separate folders in Oracle home named LOCALHOST_instancename and hostname_instanceename.
    One error from emagent.log
    It goes down all the times when the problem arises.
    2005-12-05 15:11:58 Thread-1996 ParseError: File=stream, Line=4, Msg=Missing value for ARG in RemoteOperationArgument (01006)
    An error from sqlnet.log
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=koncomp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=KONSTA10)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=KONCOMP)(USER=Konsta))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 08-&#1044;&#1045;&#1050;. -2005 20:31:09
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Moreover in listener.log LISTENER is tried to connect to 127.0.0.1 and to 192.168.1.2 which is the second network adapter.
    From Database Control, then Management Services and Repository, and Agent there are one agent and 4 targets. I found there several Metric erros.
    Agent to Agent (Agent Process Statistics)
    em_result=3696|0.00|14204|20384|1.94||751|12|14204|20384 Terminating on signal SIGTERM(15)
    Agent to Database Instance (SQL Response Time, Streams Capture Queue Statistics, SGA Pool Wastage, etc.)
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor,
    ORA-12545: Connect failed because target host or object does not exist,
    em_error=Could not connect to dbsnmp/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(Port=1521))(CONNECT_DATA=(SID=Konsta10))) : ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach),
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Agent to Listener (Response)
    Terminating on signal SIGTERM(15)
    Policy Violations found
    Oracle recommends that you close all unnecessarily open ports, especially on internet-facing hosts

  • HTTP server on Oracle 11g R1 and apex listener

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

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

  • Getting error while installing reporting servcies on existing sql server 2012.

    Hi Expaerts,
     sql 2012 sp1:
    getting error while installing Reporting services on existing sql server. at final step
    Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
    error on popup windows:  ' one or more files required to restore your computer to its previous state colud  not be found. restoration will not be found.
    Thanks in advance.

    Hello,
    Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
    Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
    http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Down Time for  Installing APEX 4.2.1 and oracle HTTP server?

    Hi, all:
    I plan to install APEX 4.2.1 and oracle HTTP server on 10.2.0.4 database.
    Is there any down time required during installation?
    I mean during installation, do I need to block users from accessing the database?
    Can they do their normal data entry / inquiry?
    thanks,
    John
    ps. There will be server backup before installation.

    Hi,
    Documentation says
    >
    3.1 Recommended Pre-installation Tasks
    Before installing Oracle Application Express, Oracle recommends that you complete the following steps:
    Review and satisfy all Oracle Application Express installation requirements. See "Oracle Application Express Installation Requirements".
    Shut down with normal or immediate priority the Oracle Database instances where you plan to install Oracle Application Express. On Oracle Real Application Clusters (Oracle RAC) systems, shut down all instances on each node.
    An alternative to shutting down the database is to prevent all users from accessing Oracle Application Express when upgrading your installation from a previous release of Oracle Application Express. Oracle only recommends this option in high availability production environments where planned outages are not available. For all other scenarios, the database should be shut down.
    To disable access to Oracle Application Express when the existing installation is using the Application Express Listener, shut down the appropriate application server where the Application Express listener is deployed.
    To disable user access to Oracle Application Express when the existing installation is using the Oracle HTTP Server with mod_plsql, you should either shut down the Web server or disable the Application Express Database Access Descriptor of the Web server.
    For an existing installation using the embedded PL/SQL gateway, you should disable the Oracle XML DB Protocol Server by setting the HTTP port to 0. This can be accomplished by starting SQL*Plus, connecting as SYS to the database where Oracle Application Express is installed, and running:
    EXEC DBMS_XDB.SETHTTPPORT(0);
    Once you have prevented access from Oracle Application Express users, you should log into SQL*Plus as SYS, connecting to the database where Oracle Application Express is installed, and query V$SESSION to ensure there are no long running sessions which would interfere with the upgrade process.
    Back up the Oracle Database installation.
    Oracle recommends that you create a backup of the current Oracle Database installation before you install Oracle Application Express. You can use Oracle Database Recovery Manager, which is included in the Oracle Database installation, to perform the backup.
    See Also:
    Oracle Database Backup and Recovery User's Guide
    Start the Oracle Database instance that contains the target database.
    After backing up the system, you must start the Oracle instance that contains the target Oracle database. Do not start other processes such as a Web Listener. However, if you are performing a remote installation, make sure the database listener for the remote database has started.
    >
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

Maybe you are looking for