You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve Sweet <sw...@sfos.uaf.edu> on 2007/07/11 22:02:09 UTC

problem I don't know how to summarize for this subject line

I have a web app written by another developer that I am trying to deploy 
with Tomcat.  The app utilizes jsp and jsf elements.  I am experiencing 
strange behavior with a portion of the application, however only when it 
is run through the public domain name; when I run it on the server 
through the "http://localhost/" URL it all works flawlessly.

Overall with the public URL 98% of the app works fine.  However there 
are two functions of the app that experience a strange behavior.  When I 
attempt to submit the page the forwarded URL becomes "http://edit.jsf/" 
instead of "http://mydomain.org/edit.jsf" -- but only when run through 
the public URL and only those two pages.  When I am doing it on the 
server using "localhost" the troublesome pages properly forward to 
"http://localhost:8080/edit.jsf" and every other page in the app 
forwards properly with both public and localhost URLs.

I have been back and forth through the source code and spent a fair 
amount of time trying to determine if it is a Javaserver Faces problem 
and can find no evidence that it is.  The fact that it works with 
localhost seems (to me) to point away from a jsf problem, however this 
is my first real experience with jsf.  I have asked on some jsf lists 
and gotten no input.  I have also tried with Tomcat 5.5.17, 5.5.23, and 
6.0.10 and experienced identical behavior.  The original developer does 
not experience this on his system which limits his ability to help me 
figure it out.

I am not a complete newbie with Tomcat but my experience to date has 
been pretty straightforward.  Does anything about this ring any bells to 
anyone?  Even any suggestions about where to look would be appreciated.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: problem I don't know how to summarize for this subject line

Posted by "Nelson, Tracy M." <Tr...@nelnet.net>.
| From: Steve Sweet [mailto:sweet@sfos.uaf.edu]
| Sent: Wednesday, 11 July, 2007 15:02
| 
| The original developer does
| not experience this on his system which limits his ability to help me
| figure it out.
| 
| I am not a complete newbie with Tomcat but my experience to date has
| been pretty straightforward.  Does anything about this ring any bells
to
| anyone?  Even any suggestions about where to look would be
appreciated.

Ask the other developer for a copy of his /etc/hosts file.  He may have
an entry for 'mydomain.org' or something that causes his references to
succeed.  Maybe it's misspelled in both his hosts file and his code, so
it works OK on his box.
-----------------------------------------
------------------------------------------------------------
The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.
------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org