Hiding port number when using mod_jk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Hiding port number when using mod_jk

Vamsee Kanakala
Hi List,

          I have setup the mod_jk on Apache2 and it is forwarding the
requests to tomcat 5.5.9  correctly. However, if I click any of the
links in my tomcat webapp, the port 8080 is showing up. Is there any way
I can avoid this?

TIA,
Vamsee.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hiding port number when using mod_jk

Lutz Zetzsche
Hi Vamsee,

Am Montag, 16. Mai 2005 09:00 schrieb Vamsee Kanakala:
>           I have setup the mod_jk on Apache2 and it is forwarding the
> requests to tomcat 5.5.9  correctly. However, if I click any of the
> links in my tomcat webapp, the port 8080 is showing up. Is there any
> way I can avoid this?

how are these links built / generated in your pages?

Best wishes
Lutz

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hiding port number when using mod_jk

Anto Paul
> Am Montag, 16. Mai 2005 09:00 schrieb Vamsee Kanakala:
> >           I have setup the mod_jk on Apache2 and it is forwarding the
> > requests to tomcat 5.5.9  correctly. However, if I click any of the
> > links in my tomcat webapp, the port 8080 is showing up. Is there any
> > way I can avoid this?
>

If you mean that Tomcat is still listening on port 8080, you must
comment the connector element in server.xml which tells Tomcat to
listen on port 8080.
You should check your application source to see that no port no is
hard coded in it.

--
rgds
Anto Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hiding port number when using mod_jk

Vamsee Kanakala
Anto Paul wrote:

>If you mean that Tomcat is still listening on port 8080, you must
>comment the connector element in server.xml which tells Tomcat to
>listen on port 8080.
>You should check your application source to see that no port no is
>hard coded in it.
>  
>
Thanks Anto & Lutz, the problem was at two places: I didn't configure
mod_jk.conf properly and  the application I deployed had some bad
deployment descriptors. I removed that application, uncommented the
connector and everything works correctly now.

Regards,
Vamsee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]