[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Can actual and alias IP share the same port

ramesh.chennai do-not-reply at jboss.com
Thu Aug 10 03:16:32 EDT 2006


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









View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964256#3964256

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964256



More information about the jboss-user mailing list