This content has been marked as final.
Show 2 replies
-
1. Virtual hosting proplem - Apache mod_jk JBoss
ramesh.chennai Aug 10, 2006 4:39 AM (in response to ramesh.chennai)"ramesh.chennai" wrote:
Hi all,
I would like to explain my environment.
FC4
Apache 1.3.36
JBoss 4.0.3SP1
Mod_jk 1.2.15
Apache is my front end server (serve static pages) and JBoss is the guy, do serve dynamic pages from back end.
I have some applications (both SSL and non-SSL) to be deployed in Apache and JBoss. Apache is taken 80 to serve non-ssl applications, like JBoss taken 8080 and 443 ports for non-ssl and ssl applications.
I have added the mod_jk module in Apache HTTP server, to forward the dynamic page requests (.jsp and .java) to JBoss. This environment is working fine with the following URL request, like
http://static.http.non-ssl
http://dynamic.jboss.non-ssl:8080
https://dynamic.jboss.ssl
Here, I am being stumped by http://dynamic.jboss.non-ssl:8080 application, Is there any way to run "dynamic.jboss.non-ssl" application without using the port 8080 in URL, like http://dynamic.jboss.non-ssl
At this stage, these are the options I tried:
1. I have created an alias IP (192.96.43.193) of my NIC (192.96.43.192) and changed JBoss port 8080 by 80 (used for non-ssl applications) and tried to run JBoss with 192.96.43.193 IP address. (given 192.96.4.192 for Apache HTTP server)
command: sh run.sh -b 192.96.43.193
The JBoss server throws the Bind Exception, so I revert that port 80 to 8080.
2. I have given 192.96.43.193 to Apache and 192.96.43.192 to JBoss, I did not find any break through.
I am almost lost here, my request is, I want to avoid the usage of port number in the URL of both JBoss and Apache server serve ssl and non-ssl applications.
Thank you for reading with patience,
Ramesh -
2. Re: Can actual and alias IP share the same port
ramesh.chennai Aug 11, 2006 5:13 AM (in response to ramesh.chennai)Hi,
.... I am being stumped by http://dynamic.jboss.non-ssl:8080 application, Is there any way to run "dynamic.jboss.non-ssl" application without using the port 8080 in URL, like http://dynamic.jboss.non-ssl ....
I just fixed this problem, referred by the following three URLs, actually I was goofed up with the Apache's httpd.conf and mod_jk's mod_jk.conf and workers.properties file.
1. http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
2. http://www.velocityreviews.com/forums/t125433-install-tomcat-as-apache-module-on-another-port-than-8080.html
3. http://www.debianhelp.co.uk/apachetomcat.htm
Thanks
Ramesh.