You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vegard Skjefstad <vs...@online.no> on 2001/02/01 21:31:02 UTC

Running web apps from a custom directory (W2K,IIS5,Tomcat 3.2.1)

Hi,

Platform info:
Windows 2000 with SP1
IIS 5.0
Tomcat 3.2.1

I'm trying to get Tomcat 3.2.1 to run a web application from 
c:/inetpub/projectmagoria.
I have added a new <context> entry in the server.xml file

         <Context path="/projectmagoria"
                  docBase="c:/inetpub/projectmagoria"
                  crossContext="false"
                  debug="0"
                  reloadable="true" >
         </Context>

fixed the policy in the tomcat.policy file

grant codeBase "file:c:/inetpub/projectmagoria" {
       permission java.net.SocketPermission "localhost:1024-", "listen";
       permission java.util.PropertyPermission "*", "read";
};

and made a virtual directory in IIS named "projectmagoria".
The I copied the contents of the $TOMCAT_HOME/webapps/examples directory 
(all sub-dirs and files) to the c:/intepub/projectmagoria directory.

But nothing is working. Requesting one of the *.jsp files, e.g. 
http://localhost/projectmagoria/jsp/num/numguess.jsp results in an "The 
specified module could not be found." error in Opera 5.0.2, while 
requesting http://localhost/examples/jsp/num/numguess.jsp works just fine.

The isapi.log reports no errors, jasper.log has no entries for the request 
to the numguess.jsp file in projectmagoria, but one for the examples 
request (no errors), but the servlet.log has one entry,
2001-02-01 09:19:13 - path="/projectmagoria" :jsp: init

I would be very greatful if someone could help me out, I've been trying to 
get it to work 15 times now, and I still don't have a clue.
Thanks a lot in advance!

vegard



vskjefst@bigfoot.com
http://snuffcity.com
ICQ UIN 11872166