Current Position:Home > Apache with OC4J

Apache with OC4J

Update:12-10Source: network consolidation
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

The Best Answer

Advertisement
Sorry, I left off my email address: [email protected]
  • UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk Update:10-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

  • Problem with java.util while migrating an app. from Apache to OC4J Update:10-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 OC4J Update:12-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

Recommended Content

  • Setting up Sharepoint 2013 approval workflows depending on field value
  • New to Apple.  Any suggestions for a contact mgmt. app for Mac similar to ACT?
  • Since the installation of Firefox 8, I cannot download a specific file type from email. I use this for work and MUST be able to open these files with a specific software. When FF opens the file, it changes the extension and it will not open. Help!!!
  • Cleared items still shows as open items in transaction FBL3N
  • Follow up to earlier problem
  • How to add image and videos in jframeusing netbeans..
  • Whenever we click on any of the link to open it, the firefox shows popup - an error having two buttons 'Send Error Report' and ' Dont Send'. Clickking on either of them closes the firefox and it is continously irritating us a lot.
  • Every time I enable the OnBoard USB, in bios, the memory check takes ages.
  • How can I delete a .mpg video clip that has been "processing" for weeks?
  • Error while inserting attachements data into  FND_LOBS
  • Syncing my 3rd Gen IPod Touch, All my music and videos show in the device on iTunes, but when I look at the device itself, it say no content.  Can someone help?
  • Database host name changed, what needs to be configured in obiee 11g
  • My photoshop used to be registered (serial number) to a previous business name, now I have moved and am starting back from the ground up but I cannot reregister the number nor can I transfer it to my new account on adobe. My prior email address is no long
  • How to get mail title when opening attached file
  • How does the PCI-6229 DAQ-card communicate with CB-68LP connector block?