Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Loopback Url Troubleshooting

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have configured a centos 5.4 virtual box to run the liferay portal manager on a Glassfish v2.1 application server. Even though this is not recommended I gave glassfish root privileges and am allowing to listen on port 80.(I did this because of a nightmarish experience with mod_jk although the behavior that was frustrating there is the same behavior I describe below so if I fix this I can go back to an apache front !!) It works locally using the servers ip address in a browser "192.168.xx.xxx/" the liferay welcome screens comes up without delay. However when I try to access the host using its domain name from a web browser not on the internal network the following happens.
I enter "server.institution.edu" and get this --> "server.institution.eduwww.server.institution.edu" There is some type of loopback error

I do believe this pertains to my glassfish install because when I stop glassfish and start apache I can navigate to "server.institution.edu" and see the standard apache "It works!" splash page with no unexpected behavior.

To be complete I added a third http-listener to glassfish which binds port 80 and is set to listen at 0.0.0.0 which is the glassfish shorthand for listening on any IP address bound to the host.

Lastly, I have completely redone iptables with a complete flush and then added the necessary rules back to ensure there was not any redirection occuring.

Thanks for your time! I am stumped on this one!
-JavaEE Newb Bill
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic