Johnny/all- Thanks for the input, but let me clarify.  This is a J2EE class
(we'll be making servlets and .JSP etc.), so each student will have their
own installation of Tomcat running on their own workstation.  But so that I
can access their programs/homework/projects, I want their "webapps"
directory actually running off their network drive rather than each
workstation's computer.

The problem I'm having is that this is in a Windows XP environment, and I
don't think I have the correct appBase attribute in Host (maybe thought it
had something to do with incorrect drive, use of backslashes, colons etc.-
it's not quite as simple as a linux path).

Not sure where to go from here.  From other posts, it appears that windows
machines need to use double forward-slashes in the appBase and docBase
attributes, is that correct?

Thanks!!
David


-----Original Message-----
From: Johnny Kewl [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2008 4:23 PM
To: Tomcat Users List
Subject: Re: "webapps" on Network Drive?


----- Original Message ----- 
From: "David Shreffler" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, August 25, 2008 9:04 PM
Subject: "webapps" on Network Drive?


> I'm having difficulties with a Tomcat installation.  I am a high school
> teacher installing Tomcat in a computer lab.  I want to have the Tomcat
> binaries/config etc installed on the local drive, but essentially want the
> "webapps" directory on students' network drive (mapped as their W: at
> logon).  To the best of my understanding, I should have to just simply
> change the appBase attribute in the Host tag in server.xml.  So it now 
> reads
> appBase="W:/webapps", but Tomcat returns a blank page to the browser, no
> errors in the logs.  I move the webapps directory back within the local
> Tomcat directory and change the configuration, I see the default Tomcat
> installation page just fine.  I've varied the appBase attribute with
> forward- and backslashes, with and without ROOT etc.  What should it be, 
> or
> am I missing something else?

David, its absolutely no clear to me what you trying to do...
You want the kids to be able to make some HTML pages... and then look at 
them in a browser... maybe?

If so what you doing is backwards... if you do get it right you have given 
one kid power of webapps...

....never done it... but try this..
Install TC on your lecture machine... stock standard... dont mess with it...
Call your machine name EYEBALL

Then open the webapps folder for network sharing on your machine... give it 
permissions

The kids all connect to it from "their" shares... so if they look at their W

drive, they see /webapps as W:\
They connecting to you.. you not connecting to them...

Then try this... make a simple webapp.... student.war
Rename it to...
Johnny.war
Suzie.war
Other_Terrorists.war

Now when they drop that into "their" W drive...

TC should make

W:\Johnny
W:\Suzie
Thats what they will see...


and in there... will be index.jsp etc...

They will all see each other dropping in...

Then they go into their folder and make HTML and JSP pages...
Or they can make WARS and drop them into W... as <TheirName>.war

>From any students machine you will see the others... you can say, look at 
Suzies HTML, thats right...

Something like that...

If they want to see their creation they type

http://EYEBALL/Johnny/test.html

etc....

Have fun...
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------

 



---------------------------------------------------------------------
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