Hmm, looks like I wasn't clear enough about what's happening.
In the mean time, I had to switch to tomcat version5.5, as the latest cocoon wouldn't run with the FC4 tomcat5.0 rpm package installed.

I'm running tomcat5.5 on FC4 (linux) with java 1.5 (from SUN).

I'm trying to set up the standalone server such that users can install and deply webapplications in their home directory (this is for a lab). We only have three 'users', one for each special task. The students will always be mapped to one of these users, no matter how they login, however, any of the accounts should be able to make use of tomcat. And, no, we do not want them to use eclipse at this stage, they should use 'the real thing'.

I was doing what the documentation said about the special Listener option within a Host environmen in the configuration file. This Listener option should mount all user's web sites. Under 5.0 this was indeed the case, with 5.5, the 'applications' (given as ~user) are started and are visible in the manager, but when I click on them, I get an error saying that the requested resource is not available - and nothing in the logs!
Tomcat 5.0 would at least list the contents of that directory.

The config I'm using in server.xml:

        <Listener className="org.apache.catalina.startup.UserConfig"
            directoryName="tomcat/webapps"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>

This should, and does, start an 'application' for each user, listing it as ~user in manager.

The 5.5 documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/ host.html) contradicts itself by first stating that "then its contents will be visible" and then, later on: "Each user web application will be deployed with characteristics ..."

So, what *does* it do? list or deploy? Should I go into the developer's list with this question?

Robert


Departement Informatik   FGB   tel   +41 (0)61 267 14 66
Universität Basel                          fax. +41 (0)61 267 14 61
Robert Frank
Klingelbergstrasse 50                 [EMAIL PROTECTED]
CH-4056 Basel
Switzerland http:// www.informatik.unibas.ch/personen/frank_r.html




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to