Amicuk Programming Answers

Apache with OC4J

2015-12-10   Views:0


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

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

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

Go to See the other 2 answers

UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk

Category:DefaultRelease time:2015-10-11Views:130

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 OC4J Product Version: JDK Version: 1.3.1 Error number: UNSUPPORTED : The way it works Apache with OC4J via AJPV13[More]

Connect Apache and OC4J

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

From Tomcat-Apache to OC4J

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

How to Bounce Apache or OC4J for OAF Development

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

What is the difference between Apache and OC4J?

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

Problem with java.util while migrating an app. from Apache to OC4J

Category:DefaultRelease time:2015-10-11Views:130

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[More]

Apache with OC4J

Category:DefaultRelease time:2015-12-10Views:130

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[More]

Apache error - oc4j related

Category:DefaultRelease time:-0001-11-30Views:130

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:[More]

Integrate Apache with OC4J instance

Category:DefaultRelease time:-0001-11-30Views:130

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-[More]

How apache map oc4j without Oc4jMount

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

OC4J + Apache

Category:DefaultRelease time:-0001-11-30Views:130

hi! i currently have in my system, a running apache working hand in hand with OC4J. I'm trying to distribute the webserver load of my system by limiting all the static elements (eg, html, images) to apache and leaving all dynamic elements (servlets,[More]

So I got a nice shiny new 23" 1080p Asus VH236H monitor. Unfortunately, it's not turning out to be as great I was hoping, possibly due to the Geforce FX5200 bios, but I'm not sure. I think these issues are probably related, so I put them in the same [More]
Any ideas on how I can get a regular wireless connection with HPOffice Jet 6500A from my Mac Book Pro? It used work well and wirlessly in our previous home with a Broadband conection through the router. Would moving to ADSL have caused the issue now [More]
I have loaded the Windows 8 beta drivers located here I am running the Windows 8 Pro RTM version. The displaylink portion of this works fine but I have not be [More]
Hi, I am planning to call a external vendor catalog (OCI) from my webdynpro application and consume the values, Can some one help me on how to achieve this ? I am not using SRM. I need to pass the value to ERP system Thank, Vinit PugaliyaHi Vinit We' [More]
Hello there, please forgive me, if my english isn't so well. So, my "problem": I actually informated me over Logic Pro X, and by the provided Audiointerfaces, I didn't saw my Audiointerface. But - Can I simply connect a USB-Audiointerface with L [More]
Hi All,        I am working on SAP ECC 5.0 version. My requirements are to create a delivery note against a purchase order. The purchase order is basically for Stock transfer between intra company (UB) and Inter Company (NB) . So am looking for BAPI [More]
Having migrated away from Office 2003 running on an XP to Office 4 running on my MacBook Pro, I need a way to copy my exiting PC based Outlook 2003 .pst folders to Entourage running on my Mac. What I've found on the web only works with previous Mac v [More]
Hi friends, Could u please tell me how to create a module pool program to charge the content of a a field of database table in a Dropdown list boxes . Please provide me step by step Process or link of file. thinks .Hi Karim, see the below programs to [More]
Hai All, Please tell me how to do the following scenario in xi. <b>SOAP-RFC</b> 1. sending soap request 2.Mapping soap request to rfc request 3.Mapping rfc response to a webservice request. 4. Mapping webservice response to soap response. > [More]
Hi, While activating the transfer rules i get this error message "Maximum length of segment is 1000 characters, current length is 2382". If someone has encountered such an error request you to kindly provide your inputs. Thanks VarunHi Anil, Tha [More]