my dog learned polymorphism*
The moose likes Tomcat and the fly likes regarding using tomcat and apache2.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "regarding using tomcat and apache2.2" Watch "regarding using tomcat and apache2.2" New topic
Author

regarding using tomcat and apache2.2

g.rajesh reddy
Greenhorn

Joined: Oct 26, 2008
Posts: 2
i am using tomcat5 and apache 2.2, mod_jk.so and oracle 10g as the back end data base
i am facing strange problem

when i access servlets from localhost if i type the ip address of the host after the request is processed by the tomcat i am getting a url where the ip adrress is changed to local host

now when i access the servlets from remote host its browser displays it cannot display the page but when i enter the url of the static web pages i am able to access them.

i am not able to find out what is happening

please help
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Not sure how you have coupled things together. Recently I published post about fronting Tomcat with Apache, Apache in front of Tomcat and JBoss. See if this solves your problem.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding using tomcat and apache2.2