Home > Default > Apache with OC4J

Apache with OC4J

December 10Hits:3
Advertisement
How do we configure Apache to handle the static HTML and OC4J to handle the dynamic (JSP) content within a J2EE Application with a Web Module?
I've just browsed both the General and J2EE forums, searching on "Apache". I see where others have asked the same or similar question, but none of the replies explain how to accomplish this.
I just attended Oracle's "Develop, Deploy and Manage J2EE Applications"; the course instructor indicated that OC4J (we're at iAS version 1.0.2.2.1) supports mixing JSP and HTML content within a single web site directory and the static content could be served by Apache.
At present we have the static HTML pages at our site's DocRoot directory. In this directory we have installed our J2EE EAR application (as an exploded EAR directory). Under the EAR root directory we have a single Web Module, in which we have our JSP files and some static HTML files.
We have Apache configured with mod_proxy to forward requests for "mmrrc/" to the OC4J container (ie, http://<ourserver_on_port_80>/mmrrc/ is redirected to OC4J). This works. However, both our JSP and HTML content is served by OC4J when accessing anything under /mmrrc/. Static HTML is only served by Apache if it exists outside of the /mmrrc/ space (ie, /*.html and /documents/*.html).
Is it possible to get Apache to handle the static HTML within the J2EE Web application? If so, how? And, if not, is our configuration about as good as one can do?
Thanks, much.
Rick

Answers

Sorry, I left off my email address: [email protected]

Read other 2 answers

Tags:

Related Articles

  • UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jkOctober 11

    RDBMS Version: 8.1.7.x Operating System and Version: SUSE Linux 7.2 / Win NT/2k/XP Product (i.e., OAS, IAS, etc): 9ias 1.0.2.2 OC4J 9.0.2.0.0 Product Version: JDK Version: 1.3.1 Error number: UNSUPPORTED : The way it works Apache with OC4J via AJPV13

  • Connect Apache and OC4JNovember 30

    Hello, I'm trying to connect Apache with OC4J to handle servlets and JSPs, but it doesn't work. I've already installed both, but I'm not sure which are the files I've to configure. I've configure the following: In httpd.conf I've added: LoadModule oc

  • From Tomcat-Apache to OC4JNovember 30

    I4m migrating an application from Tomcat-Apache to OC4J. I have a problem whith a taglib in a Servlet call a JSP that use a taglib. In the JSP call a taglib whith: <%@ taglib uri="/oficios" prefix="portalOficios"%> <jsp:useBea

  • How to Bounce Apache or OC4J for OAF DevelopmentNovember 30

    hi all, yesterday i've been trying to get answers as to why the changes i make in an OAF page does not reflect immediately. after doing research i found out that i need to bounce the apache or oc4j everytime i make changes to ui xml or class files. i

  • What is the difference between Apache and OC4J?November 30

    Hi All, i am new to AS just a question in my mind what is the difference between Apache and OC4J? ThanksApache is a webserver which comes with OracleAS with added Oracle modules. OC4J = Oracle Containers for Java enjoy yourself with some reading http

  • Problem with java.util while migrating an app. from Apache to OC4JOctober 11

    Hello. I have a application which runs fine under APache/Jserv . This application contains bunch of jsp's. In the jsp's even though there are no directives for import of java.util.* packages it still works fine. But under oc4j the same application do

  • Apache with OC4JDecember 10

    How do we configure Apache to handle the static HTML and OC4J to handle the dynamic (JSP) content within a J2EE Application with a Web Module? I've just browsed both the General and J2EE forums, searching on "Apache". I see where others have ask

  • Apache error - oc4j relatedNovember 30

    Hi, i've found some errors in the error_log_crit apache logs. I would understand what does they mean. Any help please.. MOD_OC4J_0184: Failed to find an oc4j process for destination: OC4J_PCRM MOD_OC4J_0145: There is no oc4j process (for destination:

  • Integrate Apache with OC4J instanceNovember 30

    Hi all, How to integrate mod_oc4j with apache so that I can route the request from apache http server to a specific oc4j instance. thanks JaysonThis guide explains how to do it with the Apache2 version that comes on the Companion CD: http://download-

  • How apache map oc4j without Oc4jMountNovember 30

    I installed an oracle application server 10 release 3. It works, but there is something I do not understand. How does apache map / to oc4j as mod_oc4j.conf is empty of any Oc4jMount ? only oc4j related entry I have in mod_oc4j.conf is LoadModule oc4j

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.373 s.