tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rong Li <>
Subject Re: Urgent: JSP is not running on Internet!!!
Date Tue, 18 Jun 2002 20:40:35 GMT
I don't think I am using virtual hosting feature, or am I? Anyway, here 
is the more detailed info.

They are the same server. "xx.xx.xx.xx" is the public IP of that server. 
The strange thing is that I can run the JSPs from any machine inside our 
intranet by typing http://ms1/Chat/ChatRequest.jsp. (ms1 is the machine 
name). If I change the url to http://xx.xx.xx.xx/Chat/ChatRequest.jsp, I 
cannot execute the jsp page on any machine, not even on the local 
machine ms1.
The source will always be fetched and shown on web browser.


Turner, John wrote:

>When you say "run jsps from intranet", do you mean the same server as
>"xx.xx.xx.xx" in your example, or separate servers?
>It looks like your production server doesn't know that *.jsp is to be
>redirected to tomcat and is serving it with the default MIME type of
>If all of the servers in your example are the same machine, make sure
>virtual hosting configuration for "xx.xx.xx.xx" has the correct mapping
>*.jps.  If they are separate servers, it looks like your production
>doesn't have a connector installed or configured correctly if it is
>John Turner
>-----Original Message-----
>From: Rong Li []
>Sent: Tuesday, June 18, 2002 4:25 PM
>Subject: Urgent: JSP is not running on Internet!!!
>We have an IIS/Tomcat environment to execute jsp pages.
>When we type http://localhost/Chat/ChatRequest.jsp or
>http://ms1/Chat/ChatRequest.jsp and run jsps from intranet, it works
>perfectly. However, when we use a public IP and type like
>http://xx.xx.xx.xx/Chat/ChatRequest.jsp, we can get the jsp page as the
>source(It shouldn't be) shown on web browser, but the script is not
>at all.
>Please give me some ideas what could be wrong?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Rong Li
Senior Software Engineer
Concerto Software

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message