Hi All,
I had setup Tomcat 5.0.x in a school environment for students to write
their servlet programs. With
<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
homeBase=/home"
userClass="org.apache.catalina.startup.HomesUserDatabase"/>
and some little scripts that make use of tomcat manager, all students
can deploy/undeploy/reload their own application at their will.
Recently, I was going to upgrade our Tomcat server from 5.0.x to 5.5.x
and found that my little scripts were not alwyas working as they should
suppose to. The reason I for this was, in Tomcat 5.0.x, when I call
http://tomcatserver.edu/manager/deploy?path=/user&war=/home/user/public_html,
it will create an XML file (user.xml) under
$CATALINA_HOME/conf/Catalina/localhost, however, in Tomcat5.5x, it will
actually COPY all files from user's public_html directory into
$CATALINA_HOME/webapps/user directory. This behavior have 2 problems,
this first one is my tomcat server's partition may not be big enough to
hold few hundred students' servlet files. The second problem is the
manager application will have exception if not all files in
/home/user/public_html are world readable. The copying process simply
stop without copying ALL files but manager application still got the OK
and those students' servlet will have 404 error.
My question is, are there any parameters for me to set so that Tomcat
5.5.x manager will behave just like Tomcat 5.0.x which only create an
XML file when manger's deploy command executed?
Grandy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]