Ahmed,

On Sun, Mar 9, 2014 at 3:15 PM, Ahmed Dalatony <ahmed.dalat...@gmail.com>wrote:

> I'm using win server 2008 running a combination of tomcat 6, tomcat 7, oc4j
>  10g on different ports
> the resources you supplied are very handy
> but they explain accessing http://www.myhost.com:8888/App1   from
> http://www.myhost.com/App1
> is it applicable to be accessed from URL like this http://App1.myhost.com


Nice! That's exactly a usecase when we want to use a webserver to aggregate
the applications under the same domain. So, start first with that setup,
e.g.

http://www.myhost.com/App1   --> tomcat6_instance1_app1
http://www.myhost.com/App2   --> tomcat6_instance1_app2
http://www.myhost.com/App3   --> tomcat6_instance2_app3
http://www.myhost.com/App4   --> tomcat7_instance1_app4
http://www.myhost.com/App5   --> oc4j_instance1_app5
...

I am mostly familiar with Apache Httpd server (or just simply "Apache" web
server), so I would recommend that solution. However, you could achieve
similar setup with IIS as well.

Here's Apache configuration example:
http://httpd.apache.org/docs/2.2/vhosts/examples.html

You can download this version of Apache:
http://httpd.apache.org/download.cgi  --> Binaries --> win32

e.g. (one of the mirrors gets selected by the download.cgi)
http://apache.mirrors.spacedump.net//httpd/binaries/win32/httpd-2.2.25-win32-x86-openssl-0.9.8y.msi

Or alternatively, that OC4J might have an instance of OHS already running
(which is a version of Apache Httpd server). I don't know which OC4J 10g
version you use, probably 10.1.2.0.2 - which had OHS based on Apache 1.3.x.
- you might want to upgrade that to the latest Apache or IIS.


Cheers!
n.

Reply via email to