[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Per-user servlet support



Hi,

 I had a user ask for per-user servlet/JSP execution. So, here's a URL where
you can get a script to enable user servlet and jsp execution.

 http://www.netmobius.com/cobalt_config_users.pl

  You need to replace the file:

  /usr/java/jakarta-tomcat/bin/cobalt_config.pl

  with the contents of cobalt_config_users.pl. There is a hook in the script
so that files named tomcat.policy.[username] in /usr/jakarta-tomcat/conf/
will add additional permissions to the user context. This is just like the
functionality the Java update provides for sites. The automatic .war file
deployment is not implemented for users.

  Servlets and JSP pages are accessed via:

  http://sitename/~username/*.jsp
  http://sitename/~username/servlet/servletname

  Using this script for servers with a large number of users (>20) is not
recommended. 

  This script is also unsupported, but I'll try to help out if people have
problems with it.... USE AT YOUR OWN RISK... Thanks.

_Tim