Sitemap

Amicuk Programming Answers

Apache with OC4J

2015-12-10   Views:0

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

The replay answer
Advertisement
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 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[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]

Hot
Hi All, I have created an XML dataserver and tested it sucessfully. Created a physical and logical Schema and defined appropriate context for this. Now in the xml model i am also able to successfully reverse engineer the columns, but when i am viewin [More]
I have about 20 customed order types, Z001 to Z020, and I want to select about 8-9 out of the 20 order types. Currently, I am using SELECT VBELN ... INTO CORRESPONDING FIELDS OF TABLE IT_SO FROM VBAK WHERE AUART IN ('Z001', 'Z003', 'Z004', 'Z007', 'Z [More]
Steps to generate the issue. 1) Goto transaction PA20. 2) Use the search help (Press F4) in the personnel number field. A search help pops up. 3) In the 'Last Name - First Name' tab enter 'M*' in the 'Last Name' field and select the enter button. A l [More]
I got a query...gives list of names. i want to display 11.  Peter 12. Jessica 32. Leo 15. Jamie 36. Edward how i get static number infront of my query result. static number is not in order.Amm85 wrote: I got a query...gives list of names. i want to d [More]
Hi, I have no idea if a program that does the following exists. The concept is a bit hard to explain but I'll do my best. Lets say that you have to terminals opened. In terminal 1 you are currently working in ~/build/foobar and in terminal 2 you are [More]
I want to create a Web Service-Based Application in LabVIEW and I'm trying to go through the steps in the tutorial http://zone.ni.com/devzone/cda/tut/p/id/4728. I tried the following web services, but I always get the same error. http://coeservice.en [More]
Since the archive utility seems the default setting for opening zip documents, how does one open a zip that requires a password? Thanks for your helpHi, Give the [Unarchiver|http://wakaba.c3.cx/s/apps/unarchiver.html] a try.Read other 2 answers [More]
When I send a single email sent the activity window reports sending of multiple messages e.g. 9.  Does this indicate a virus or malware is working in the background and if so what should I do about it?This is not malware, it's simply a long-standing [More]
I am getting  error 0x800705b4 when trying to install realtek audio driver.I am attaching the images.I ran the windows troubleshooter which found  "Service registration missing or corrupt" and fixed it but the update error persistsHi ArunavaRay, [More]
I'm setting up a server running Arch with two raided drives: cat /proc/mdstat md127 : active raid1 sda[0] sdb[1] 976631488 blocks super 1.2 [2/2] [UU] bitmap"1/8 pages [4KB], 65536KB chunk have the following partition table created with cgdisk: gdisk [More]