Well I did a little digging...I couldn't find any error messages but I did realize an important clue. All of my JSPs that I try to load have calls to a java class I've written, if I goto a JSP that doesn't have any calls to my Java classes then presto...it loads without problem. In addition, it cannot find any of my servlets. So I've come to the conclusion that it is entirly disregarding my WEB-INF folder... Only when I load it up on my virtual host. Or in other words, it works fine when I goto 192.168.0.101/test but if I goto www.test.com it wont load, even though they point to the same place.

The following is my 'host' code in server.xml

<Host
         appBase="webapps/test
         autoDeploy="true"
         deployOnStartup="true"
         deployXML="false"
         liveDeploy="true"
         name="www.test.com"
         unpackWARs="false">
     </Host>



----Original Message Follows----
From: Mladen Adamovic <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: JSPs will not load with virtual domain
Date: Fri, 09 Jun 2006 18:02:35 +0200

Dave Kennell wrote:
I have a rather intresting but probably simple problem, as I am basically new to tomcat. Currently I am running Tomcat 5.5.17 on a Windows 2000 server. I installed the admin tool and setup a connector for port 80 and then a host of www.btdt.com (which I handle locally on my DNS).

Here is the kicker. If I goto www.btdt.com/index.jsp it will not load...however if I goto 192.168.0.101/btdt the page renders fine. So I tried something static. if I goto www.btdt.com/static.htm it will load fine... as will 192.168.0.101/btdt/static.htm I am absoultly baffled as to why the virtual host fails to render the JSPs

Can anyone help?
huh, as I see you haven't receive any answer so I will try something...
Check tomcat/logs directory... catalina.out and other files for any meaningful error. If you cannot see anything there post your server.xml file (without comments and unnecessary burden here) and I will try to look at it.


--
Mladen Adamovic
http://home.blic.net/adamm http://www.shortopedia.com http://www.froola.com http://www.online-utility.org


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



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

Reply via email to