Wrox Programmer Forums
|
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2003, 05:16 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a directory UNDER webapps

Hi all,

I have just installed Tomcat 4.1.24 on my RedHat 8.0 linux machine and when I point to
http://Harpo:8080 I get the default Tomcat page. Success here But I have a problem.

I wish to set up accounts on my Tomcat server for different users under <Tomcat_home>/webapps.
Under webapps I want to create a directory called "students" and then under students
my users, say john, paul, george and ringo. To the structure is

<Tomcat_home>/webapps/students/john
<Tomcat_home>/webapps/students/paul
<Tomcat_home>/webapps/students/george
<Tomcat_home>/webapps/students/ringo

I do this to keep the applications in one area rather than scattered under <Tomcat_home>/webapps

The Context directive in server.xml for johnl is.
<Context path="/johnl" docBase="students/johnl" debug="0"
      reloadable="true" crossContext="true"/>


I restart Tomcat, but when I point to http://Harpo:8080/johnl
i get the typical HTTP Status 404 - /johnl.

However if I put johnl directly under <Tomcat_home>/webapps
ie <Tomcate_home>/webapps/johnl (just like the default /examples)
it works fine!!!??? Why is this so?

Is it not possible to create directories to organise your users with Tomcat?

Any help appreciates

 
Old January 7th, 2004, 08:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you e-mailed the author?

XUMUSKIEFAN
Wrox Moderator





Similar Threads
Thread Thread Starter Forum Replies Last Post
creating new virtual directory red_fiesta Classic ASP Professional 14 October 26th, 2006 12:19 PM
creating new virtual directory red_fiesta Classic ASP Basics 0 October 26th, 2006 04:29 AM
Creating directory with NTFS permissions eelisMX Pro VB.NET 2002/2003 0 May 10th, 2006 08:16 AM
use tomcat outside of webapps directory ritzcoder Apache Tomcat 1 December 10th, 2005 10:22 PM
permission denied creating directory chexm8 PHP How-To 1 June 9th, 2003 04:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.