Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Deploying Servlets using virtual hosts on oc4j/Oracle 9iAS

Deploying Servlets using virtual hosts on oc4j/Oracle 9iAS

From: Christian Cooper <ChrisCooperPosting_at_hotmail.com>
Date: 6 May 2003 09:46:53 -0700
Message-ID: <e0c17e48.0305060846.7767715e@posting.google.com>


Hi there,

If anyone can shine any light on this I would be most appreciative...

I need to have one server service two virtual hosts for both http and https requests, and for some of those requests to be serviced by servlets (possibly even the same servlets)...

So far I have modified the httpd.conf file to call a new virtual-hosts.conf file and in there created two virtual hosts listening on differing ip addresses (required as SSL requires the certificate prior to name resolution apparently).

I have also added a reference to the local DNS for the two IP addresses to the two domains, and configured the PC to listen on both IP addresses.

This works and I can see both index pages.

I have created a self-signed certificate for the SSL for testing purposes using keytool.

I now need to mount the two web apps under each virtual host at the same mount point, and of course get the SSL working for those hosts.

I've done a bit of research, but the Apache/JServe docs and the OC4J docs seem to differ, and I have no idea what to do next, I could bore you to death with all the combinations I have tried, but suffice to say none of them have worked.

As yet, I have been unable to:
1. Serve static pages over https, I can get a .cert file from the keytool app, but not the .key file mentioned in the documentation. 2. Mount the servlets and access them over a https connection.

Has anyone done this before (of course you have!), please put me out of my misery!

Thanks,

Chris Received on Tue May 06 2003 - 11:46:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US