You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/02/01 21:08:08 UTC

RE: Running web apps from a custom directory (W2K,IIS5,Tomcat 3.2 .1)

	Don't create virtual directories, edit the uriworkermap.properties
file.

	Randy


-----Original Message-----
From: Vegard Skjefstad [mailto:vskjefst@online.no]
Sent: Thursday, February 01, 2001 3:31 PM
To: tomcat-user@jakarta.apache.org
Subject: 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


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

RE: Running web apps from a custom directory (W2K,IIS5,Tomcat 3.2 .1)

Posted by Vegard Skjefstad <vs...@online.no>.
aahhh.. that was better. Thanks a lot, Randy.

At 15:08 01.02.2001 -0500, you wrote:

>         Don't create virtual directories, edit the uriworkermap.properties
>file.
>
>         Randy
>
>
>-----Original Message-----
>From: Vegard Skjefstad [mailto:vskjefst@online.no]
>Sent: Thursday, February 01, 2001 3:31 PM
>To: tomcat-user@jakarta.apache.org
>Subject: 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
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, email: tomcat-user-help@jakarta.apache.org