HTTP Server - what to select
Hi,
While installing APEX I see below instruction -
2.3 HTTP Server Requirements
In order to run, Oracle Application Express you must have access to one of the following:
Oracle Application Express Listener
Embedded PL/SQL gateway
Oracle HTTP Server and mod_plsql
Not clear on what these option are and what to choose. I don't know about java. I have installed Oracle in my system with default database. Can someone tell me what to choose here? Many thanks.
Which version and edition of DB? Version of Apex?
If you are using XE then EPG is already installed and good for you. And will recommend not to bother about other choices till get more familiar with Apex.
The choice has more to do with what you already have installed, the available infrastructure ,licensing costs,etc.
At a broad level
a. Simplest out of the box : EPG. Good for learning and dev, not the best choice for Prod
b. ApexListener. Standalone or with J2EE container. Standalone to learn , with J2EE for something more serious.
c. OHS: If you already have OHS installed or some reasons to use it. It runs fine and has been around longer. Its just that Apexlistener is the one developing faster.
Regards,
Similar Messages
-
I cannot start my HTTP server. If I go to options>IDE configuration>Server and External Tool settings>HTTP server I cannot select truefrom the drop down menu and start the server. I get an error saying "Unable to start the HTTP server please check that the port is not in use." I then try to change the port number but it gives me the same error and resets the port number to something else.
This is a big problem because I cannot start my Tomcat, and I cannot even test my applets, because this error message always pops up. The command window sais: "
Connection Refused" when I try to test my applets.
Thank you very much for your time and help
MartinHi Sanjeev,
thanks for your response. I am using Windows XP. The error message that I am talking about pops up on everything. When I try to start Tomcat it pops up. I cannot even test my applets because the error message pops up. (The error message pops up several times and I have to close it). Actually after I close the the anoying error messages an Internet Explorer window appears and my applet is running. The same thing is with Tomcat. It works only after I close the error message which pops up several times.
Here is what happens in the command window when I run an applet:
Tomcat Internal
C:\j2sdk1.4.0\jre\..\bin\java -classpath "C:\Program Files\s1studio\ce\tomcat401\bin\bootstrap.jar";"C:\j2sdk1.4.0\jre\..\lib\tools.jar" -Dcatalina.home="C:\Program Files\s1studio\ce\tomcat401" -Dcatalina.base="C:\SunStudioWork\tomcat401_base" org.apache.catalina.startup.Bootstrap "start"
Starting service Tomcat-Netbeans
Apache Tomcat/4.0.1
localhost_log
2002-11-27 10:27:53 WebappLoader[]: Deploying class repositories to work directory C:\SunStudioWork\tomcat401_base\work\localhost\_
2002-11-27 10:27:53 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2002-11-27 10:27:53 StandardManager[]: Seeding of random number generator has been completed
2002-11-27 10:27:53 ContextConfig[]: Added certificates -> request attribute Valve
2002-11-27 10:27:53 StandardWrapper[:default]: Loading container servlet default
2002-11-27 10:27:53 default: init
2002-11-27 10:27:53 jsp: init
2002-11-27 10:27:53 StandardContext[]: Servlet threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)
at org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:139)
at org.apache.jasper.EmbededServletOptions.<init>(EmbededServletOptions.java:324)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.init(IDEJspServlet.java:212)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
localhost_access_log
127.0.0.1 - - [27/Nov/2002:10:28:01 -0500] "GET /TriangularArbitrageApplet.html HTTP/1.1" 304 -
127.0.0.1 - - [27/Nov/2002:10:28:13 -0500] "GET /TriangularArbitrageApplet.class HTTP/1.1" 200 4709
127.0.0.1 - - [27/Nov/2002:10:28:16 -0500] "GET /TriangularArbitrageApplet$1.class HTTP/1.1" 200 781
(there are 3 GET becace the error message poped up 3 times).
I have also tried to change the port and the same thing as you said happens. It changes to a different one, but I still get the error message. -
What do I need for Oracle Http Server with mod_plsql on Linux 64bit?
I am trying to get the OHS onto a linux box but I am not quite sure I am installing the correct thing!!
I currently have a windows box running the 10g Application server but everything seems to have changed since then and there seems to be several different things to do with the Fusion Middleware and stuff. I've tried to find an overview in plain english of what all these things are but all I can find are lots of marketing buzzwords!
All in need to to be able to run the OHS with the mod_plsql so I can run my apex application. I'd be greatfull if someone could point me in the right direction for what I need to install!
The box it is going on is a CentOS Linux 64bit machine. I've download and installed Oracle WebLogic Server 11g Rel 1 (10.3.3) using the generic installer for the 64 bit java but there seems to be no http server despite it saying there is! Most likely I am doing something wrong but the installer finishes successfully but nothing is running on port 7001.
Do I actually need the WebTier instead? Is that the best solution for running the OHS with mod_plsql? Do I need the WebLogic install as well? Unfortunately I am fairly new to Linux as well which isn't helping!!
thanks for any help
RobertWell, you have two options:
- Use the OHS from the OFM WebTier Utilities distro. (To use 11.1.1.3 version, you need both the 11.1.1.2 and 11.1.1.3 distros)
- Use the OHS from the DB Companion Disk distro.
WebLogic Server is a Java EE application with an HTTP server included, but not intended to be used as a replacement of OHS/Apache. It doesn't support mod's...
HTH,
--olaf -
Directory selection for Discoverer applet on HTTP Server
Hi
I installed Discoverer 3i on NT SP4
My http server is OAS 4.0.8.1
I tried single machine install and while providing the directory for Discoverer applet on HTTP Server i gave a directory which is not root directory for OAS
How do i set virtual path so that discoverer may be configured in my http server (OAS)
What are the steps?
Thanks
nullGo to the Directories section in OAS. You will already have virtual directories set for OAS. Use one of these as an example.
Regards,
Oracle Discoverer Team http://technet.us.oracoe.com -
What is the realtion Fusion Middleware and Oracle HTTP Server?
Hi,
Can someone explain me why is WebLogic necessary to administrate graohically the Oracle 11g HTTP Server?
What means what I found in the documentation:
"To display Fusion Middleware Control, you enter the Fusion Middleware Control
URL, which includes the name of the WebL
ogic Administration Server host and the
port number assigned to
Fusion Middleware Control during the installation"
Does this means that Weblogic need to be installed and configured?
Kind regards.Hi,
If you want to control OHS via GUI then deploying Oracle Enterprise Manager FMW Control is the only option.
And for the same you need to have weblogic, bcoz OEM FMW control would be deployed as an application on the weblogic server.
If you are going to use other products in FMW stack (Example: Forms and reports services 11g), then complete administration would be done through FMW control.
Monitoring and administering your weblogic clusters, ohs, webcache everything can be done though single interface.
Please do not go with assumption that only from GUI all these things can be done, command line is the best thing and the option is there.
Consider this only as an enhancement.
Regards,
Nithin R -
Hi,
I have a running Oracle 11g HTTP server (OHS + Web Cache). A stand-alone installation.
What is the URL to access the administration page of the OHS server?
Thanks by advance.Try this:
http://hostname:7777/demos.htm -
Can URL redirects be configured with XE and what is the HTTP Server
I would like to be able to URL redirects. I'm running XE with Application Express 2.1.0.00.39.
I want to be able to have a URL like www.schoolwebsite.com and when the user hits it - have it redirect to the Apex page for the application. I was thinking that I needed to use a redirect in the HTTP config file, and that XE used Oracle_HTTP and I could configure in that manner.
But, I can't find an Apache directory.
1. What HTTP server is used with XE and Application Express 2.1.0.00.39?
2. Can I configure for this type of redirect?
3. Do I need to install an HTTP server to accomplish this?
Thanks,
StephenHi Steven,
search for "proxy" in this forum.
It explains how to configure a plain Apache http server as a proxy to XE. Then you can use the default mechanisms to rewrite an url.
Here is an example (save the file as XE.conf and store it in the Apache conf directory (file httpd.conf is there).
The following instructions are valid for Apache2.
# Activate the following modules in httpd.conf:
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule headers_module modules/mod_headers.so
# include the XE configuration (this file XE.conf) in httpd.conf:
#include "conf/XE.conf"
# XE listener is buggy, thus downgrade to http 1.0
SetEnv force-proxy-request-1.0 1
RewriteEngine On
RewriteLog "D:\Programme\Apache Group\Apache2\logs\rewrite.log"
RewriteLogLevel 0
## Rewrite requests /apex, /i, /public, /sys to locally installed XE
RewriteCond %{REQUEST_URI} /(([^/]+)(/.*)*)$
RewriteCond %2 =apex [OR]
RewriteCond %2 =i [OR]
RewriteCond %2 =public [OR]
RewriteCond %2 =sys
RewriteRule ^/(.*) http://%{SERVER_NAME}:8080/%1 [P]
## Rewrite main page
RewriteEngine On
RewriteRule ^/$ http://%{SERVER_NAME}/apex/f?p=107:1 [R]
RewriteRule ^/index.html$ http://%{SERVER_NAME}/apex/f?p=107:1 [R]
## Rewrite /app1
RewriteRule ^/app1$ http://%{SERVER_NAME}/apex/f?p=107:1:0 [R=303]Regards,
~Dietmar.
Edited by: Dietmar Aust on Oct 14, 2008 1:16 AM -
What is the HTTP server [default/built-in] that Weblogic server uses
Is the built-in web server in weblogic Apache or is it some other http server that
BEA owns ?WebLogic Server is a single java process, that has two listen ports, one SSL
and non-ssl.
These two ports use protocol discrimination to handle multiple protocols on
a single port.
NON-SSL --> http, t3 (proprietary rmi protocol), iiop
SSL --> https, t3s, iiops
So WebLogic comes with a build in Webserver. Or you can use a third party
webserver in front of WLS with plugin to proxy to WLS.
See;
http://edocs.bea.com/wls/docs81/plugins/
Cheers
mbg
"Manoj" <[email protected]> wrote in message
news:3edb0ba5$[email protected]..
>
Is the built-in web server in weblogic Apache or is it some other httpserver that
BEA owns ? -
Oracle HTTP Server (OHS) Installation Problem on Win 2003 Server SP2
Hi,
I tried to install Oracle HTTP Server (OHS) on my Windows 2003 server SP2, however I couldn't manage to succeed this.
I tried on 3 different win2003 server SP2 machines and couldn't able to install properly.
I easily installed and run this HTTP server on my Windows 7 machine. However on the other partition of my PC
windows server 2003 is installed. It didn't worked on this OS.
Once I was somehow able to install OHS on my 64 bit Windows 2008 Server, but again never:((
I got the following error messages during the install.
waiting for your answers .
ERROR1
Web Tier Configuration
Log
Config Action Web Tier Configuration started
Create and Start AS Instance (instance1)
Error
Unable to validate NonJ2EEManagement Application deployment on admin server.
Step Create and Start AS Instance (instance1) failed
Unable to validate NonJ2EEManagement Application deployment on admin server.
Step Create and Start AS Instance (instance1) failed
Log
Step Create and Start AS Instance (instance1) started
Deploying NonJ2EEManagement Application...
Step Create and Start AS Instance (instance1) failed
Step Create and Start AS Instance (instance1) failed
Create and Start OHS Component (ohs1)
Log
Create Shortcuts
Log
ERROR2
Web Tier Configuration
Log
Config Action Web Tier Configuration started
Create and Start AS Instance (inst2)
Error
Unable to start opmn
Step Create and Start AS Instance (inst2) failed
Unable to start opmn
Step Create and Start AS Instance (inst2) failed
Log
Step Create and Start AS Instance (inst2) started
Creating Oracle Instance directories...
Recording OPMN ports reservations...
Bootstrapping OPMN configuration files...
Instantiating opmnctl for direct usage...
Registering instance
Step Create and Start AS Instance (inst2) failed
Step Create and Start AS Instance (inst2) failed
Create and Start OHS Component (ohs2)
Log
Create Shortcuts
LogA few guesses what could be wrong.
- Under which user are you installing, does this user have all the rights to create and start stuff.
- Have you first installed a weblogic server (this should be installed) and did associate any components with the weblogic domain?
I usually do not associate anything with my weblogic domain and configure the httpd.conf file for the Apache server by hand instead of using the enterprise manager.
Once the WebLogic server is installed i follow the following steps
Installation WebTier
Run setup.exe
Select Install Software - Do Not Configure.
Click Next.
Prerequisite Checks --> Next.
Accept the default installation directory.
Click Next.
Uncheck i wish to... click Next (in the pop-up Yes)
Click Install.
Click when the installation it finished and click Finish
Configuration WebTier
Run the file <WebTier-Home>/bin/config.bat.
Click Next
Uncheck Associate Selected Components with WebLogic Domain and click Next
Accept the defaults and click Next
Enter the parameters for the WebCache
Web Cache Administrator Password: password
Confirm Password: password
Click Next.
Select Auto Port Configuration and click Next.
Uncheck I wish to... and click Next. (pop-up Yes)
Click Configure
Click Next and Click Finish
When i follow the above steps an instance of the webtier is running. -
Re Post: Http server cannot start after running the following JSP
Hi,
I have 9iAS 1.0.2.2 and it has been working fine.
My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
I also check the oci.dll files, and I have the oci.dll file in the following directories:
c:\oracle\ora81\BIN 87KB
c:\oracle\806\BIN 38KB
c:\oracle\iSuites\BIN 87KB
I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
OR
the OCI.DLL file is corrupted in one of the above directory.
Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
I really appreciate if someone could give me some pointers about this.
I also suspect that when the HTTP server was brought down for some reasons and it was not a clean shutdown.
So how can I shutdown the http server cleanly before restarting that?
Thanks;
Kelly.
<%@ page language="sqlj"
import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
e" %>
<HTML>
<HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
<BODY BGCOLOR="white">
<% String empno = request.getParameter("empno");
if (empno != null) { %>
<H3> Employee # <%=empno %> Details: </H3>
<%= runQuery(empno) %>
<HR><BR>
<% } %>
<B>Enter an employee number:</B>
<FORM METHOD="get">
<INPUT TYPE="text" NAME="empno" SIZE=10>
<INPUT TYPE="submit" VALUE="Ask Oracle");
</FORM>
</BODY>
</HTML>
<%!
private String runQuery(String empno) throws
java.sql.SQLException {
DefaultContext dctx = null;
String ename = null; double sal = 0.0; String hireDate = null;
StringBuffer sb = new StringBuffer();
try {
dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
"tiger");
#sql [dctx] {
select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
INTO :ename, :sal, :hireDate
FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
sb.append("Name : " + ename + "\n");
sb.append("Salary : " + sal + "\n");
sb.append("Date hired : " + hireDate);
sb.append("</PRE></B></BIG></BLOCKQUOTE>");
} catch (java.sql.SQLException e) {
sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
} finally {
if (dctx!= null) dctx.close();
return sb.toString();
%>I had this problem and the pkgchk mentioned above helped to get the admin server going (thanks!) but I could not run the admin console. I saw:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/GNOME/Accessibility/JavaBridge (Unsupported major.minor version 49.0)
It turned out that something (I suspect the patch) had replaced my java1.5.0_06 binary with a java1.4.2_03 binary - but left the java1.5 directory structure alone! i.e. looking in /usr/jdk would have indicated that java1.5 was installed, but when I ran jdk1.5.0_06/bin/java -version , it reported java version "1.4.2_03". I was unimpressed.
I ended up removing all the SUNWj5* packages and reinstalling them and then I could start the admin console.
Now to find out what other damage this patch might have caused..... -
Error starting HTTP-Server: Address in use: JVM_Bind
I installed J2ee version of Oracle9iAS R2 for windows. When I start my application server, I always get the error "Error starting HTTP-Server: Address in use: JVM_Bind". In the previous version, if I met this message, I can change the port number in "http-web-site.xml", but now, no matter what port number I changed, I always get this error message.
Could anybody please help me with this issue?
Can Oracle provides a tool that can automatically free the port?
Thanks, JessieIf you are getting this error while starting the Oracle9iAS by using the NT services or using command line (dcmctl) then there is a port conflict for the HTTP Server. You can go the EM Website and select HTTP Server ->Server properties and select the port# for the HTTP Server.
OC4J is configured to listen for AJP requests only and the ports are dynamically assigned. The port ranges can be specified : OC4J Instance -> Server Properties
regards
Debu Panda
Oracle -
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 -
Apex Newbie question !!!!! HTTP server ????
I am newbie at APEX. I have a DBA background, but no experience with Oracle applications.
I DO respect your time, and have tried to find this info on teh docs, but, honestly, can not find it. And I looked over everywhere, metalink, otn, gogling. I thought that I would find it on these forums under some form of FAQs, but have not found the answer :-(
I have installed oracle database 11g for windows on my laptop, and when installing APEX 3.2, it asks me to stop the http server and ..... :-)
Now, I have a question regarding the Oracle HTTP server, which is supposed to be isntalled with the 11g, instead of the Companion CD, which no longers exist.
First question. We have a http server that is used by oracle EM database control, correct ? I do not see a service for it on the Services list. Teh apex application install asks for stopping/starting the http server. How do we do that ? AND, where the the http server binaries located ? I did a search for apache, and found it under C:\app\oracle\product\11.1.0\db_1\perl\site\5.8.3\lib\Apache, but no binaries there, or under ORACLE_BASE\bin either.
What do I setup for ORACLE_HTTPSERVER windows environment on a brand new 11g database install ?
Now, I see that we can get HTTP server from BEA install. I was trying to keep APEX from using a web server tier here. To me, the beauty of APEX is to not have to manage BEA, or any other tier. Keep it simple, at least for development, and keep everything on the DB, and simply use the native HTTP server.
So, this is a VERY basic question, but how do I do that ? I will worry about what I can and can not do with the native HTTP server or BEA later. I just want to get this up and running so that I can start playing with it.
Thanks,
HenriqueHere is my latest update before I go to bed :-(
I was able to install the HTTP server, but had some issues later down on the apex install.
C:\app\oracle\product\10g-iAS-http-server\opmn\bin>opmnctl status
Processes in Instance: IAS-1
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
HTTP_Server | HTTP_Server | 5204 | Alive
I am able to see the welcome page for the web server here
http://localhost:7777/
I am able to reset the admin password, ( by the way, I did setup the gateway as well :-) ). I am not sure what happens when you have both the gateway and the web server setup. Now, when try to login to the apex admin account using either
http://localhost:7777/apex/apex_admin or
http://localhost:7777/pls/apex/apex_admin, nothing happens besides a HTTP-404 error.
Now, when I had the port set to 8080, via the commands
SQL> EXEC DBMS_XDB.SETHTTPPORT(8080);
PL/SQL procedure successfully completed.
SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
GETHTTPPORT
8080
and try to login again here
http://localhost:7777/pls/apex/apex_admin
I do get a prompt, but when i enter admin, and the password I have setup, it does not allow me to get in :-(
Now, I need some explanation of this DAD file, as I am not sure if I need it to simply login during install. Here is the man page from the install doc :
3.4.11.1 Creating a Workspace Manually
To create an Oracle Application Express workspace manually:
Log in to Oracle Application Express Administration Services. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. You log in using the ADMIN account and password created or reset during the installation process.
In a Web browser, navigate to the Oracle Application Express Administration Services application.
If your setup uses Apache and mod_plsql, go to:
http://hostname:port/pls/apex/apex_admin
Where:
hostname is the name of the system where Oracle HTTP Server is installed.
port is the port number assigned to Oracle HTTP Server. In a default installation, this number is 7777.
pls is the indicator to use the mod_plsql cartridge.
***apex is the database access descriptor (DAD) defined in the mod_plsql configuration file.***
Here it mentions this DAD file, and I am not sure if I need it now, and even, how to reference it. My database name is called apex, but I do not have anything on my dads.conf file. Should I have something there ? I see a sample such as this from the README.DADs file :
<Location /plsqlapp>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername scott
PlsqlDatabasePassword tiger
PlsqlDatabaseConnectString orcl
PlsqlAuthenticationMode Basic
PlsqlDefaultPage scott.home
PlsqlDocumentTablename scott.wwdoc_document
PlsqlDocumentPath docs
PlsqlDocumentProcedure scott.wwdoc_process.process_download
</Location>
It is a bit late tonite. Tomorrow I will get back at it.
Thanks for any help, but I must be doing something really obvious to you guys here, and I can't see it :-(
Cheers,
Henrique -
Workspace Configuration HTTP Server: Apache, IIS or others?
When I configure workspace under Hyperion Foundation, it asks me to configure the HTTP Server and gives me a choice of using Apache or IIS. My question is, are these the only two choices of HTTP Server for workspace? What if I had say Oracle HTTP Server installed, would workspace give me the option of using that?
Also, it is my understanding that FDM requires IIS to run. Now while I do have IIS installed, the workspace screen lets me select Apache as the HTTP Server. So does FDM work fine with Apache ?The default http servers are iis and apache up to version 11.1.1.3, in 11.1.2 apache is dropped and replaced by OHS.
It think it is possible to use OHS if you are also using Oracle application server in 11.1.1.3 (not something I would recommend as OAS is dropped after that)
The http server just really acts as a redirect to other products from workspace, so you access workspace on one port and it will redirect to the other products on different ports.
So Apache really does not have anything to do with with FDM and FDM will still run on IIS.
Cheers
John
http://john-goodwin.blogspot.com/ -
3 HTTP Server. which to choose?
I have installed db11gR2 and upgraded APEX to version 4 on my Linux server with EPG.
There are 3 kind of HTTP Server
Oracle HTTP Server
Embedded PL/SQL Gateway
APEX Listner
I installed EPG, but after installation of this, I found and I read that
The EPG is convenient for smaller configurations. The EPG is not recommended for larger scale production use cases or Internet facing applications.
and yet
For this reason, it is not recommended to use the embedded PL/SQL gateway for applications that run on the Internet. Additionally, the embedded PL/SQL gateway does not provide the same flexibility of configuration and detailed logging as Oracle HTTP Server with mod_plsql.
So I ask myself 'maybe I'm wrong and I had to install another'.
So, Could someone tell me what the most appropriate in a production company with 300 end users and internet access, or pointing me a link where I can find info on this topic.
Thanks in advance!"However, now I begin to use EPG with Apex, I'm a beginner with Apex, then believe I can uninstall and configure the OHS (the 11g Fusion I think).
Is it true, I can de-install Epg and configure OHS?"
You don't actually need to uninstall the EPG, just follow the installation instructions for OHS to connect to your existing Apex installation. I think OHS is your best bet for external facing Apex applications. I'm much less interested in the Apex Listener since support for Tomcat was dropped which is our Java container of choice.
If you want to turn off the EPG it is as simple as SQL> exec dbms_xdb.sethttpport(0)
This command shows you what the current port is set to and will also show with a -> >$ lsnrctl status
SQL> select dbms_xdb.gethttpport from dual;
8888
On a separate note can anyone point to any real issues with the EPG?? It is my generally preferred choice for smallish intranet type applications (ie rman> backup database; - really does backup the entire application and data). I keep reading it is not recommended but without seeing any real details of why. My only real issue so far has been trying to read HTTP headers in the XE EPG but otherwise it seems to work well for my needs.
Maybe you are looking for
-
I turned on Genius, but my iPod is telling me it needs to be turned on
I turned on Genius about a week ago, it has been working on my iPad since. However, when I used my Nano 5, it said I needed to turn it on. I've synced it to iTunes twice, updated genius, turned genius off then back on, and it still says it. Any ideas
-
Exporting Widescreen from FCP to mp4...help!
Help! I'm trying to export a 720x480 video from FCP, to upload onto youtube. I feel this should be easy, but no matter what codec i use, the exported video looks stretched. I want the video to stay widescreen, can have black bars at top and bottom, a
-
Command line e-mail with Chinese Characters
We are writing a script that tells users that their password will expire in 2 weeks and how to change it in various places like network, GroupWise, PDA, conferencing system... Problem is that we have Many Chinese so we want the e-mail to be in both C
-
SPM Detailed Role level Reports don't show and other minor usage issues
We have successfully installed SPM on our DEV and QA boxes and are trying to test our reporting. We have setup role based firefighter and have got it to work on the ABAP side as well as on the Java side. However, when I go to the Role Reports in th
-
I really need help with this step by step