Tomcat uses the WEB-INF/classes and WEB-INF/lib directory of one webapp when searching for classes (besides the common directories). I don't know if one of the above is configurable, but even if it would not really help - or you need a directory where everybody has write access.

Another possibility is the additional classpath param in the Cocoon web.xml (around line 210):

<!--
  This parameter allows to specify additional directories or jars
  which Cocoon should put into it's own classpath.
  Note that you must separate them using the platforms path.separator
  (":" for *nix and ";" for Windows systems). Also note that absolute
  pathes are take as such but relative pathes are rooted at the context
  root of the Cocoon servlet.

<init-param>
  <param-name>extra-classpath</param-name>

<param-value>WEB-INF/extra-classes1:/[YOU-ABSOLUTE-PATH-TO]/own.jar</param-value>
</init-param>
-->

Tomcat has a reloadable="true | false" option: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html.

Joerg


Harald Wehr wrote:


Imagine following situation:

One server with a tomcat and _one_ cocoon.war deployed at this tomcat.

Different user can place their content in their home directory and any
incoming request goes through the global sitemap of the deployed cocoon app:


<map:match pattern="~*/**">
    <map:mount check-reload="yes" src="/home/{1}/public_cocoon/"
    uri-prefix="~{1}"/>
</map:match>

Of course the users should be able to develop their own classes. Is it possbile to place theses classes also in the users home directories? Could these classes be read without restarting tomcat?

Tomcat and the cocoon webapp should only be accessible by the admin.

Thanks for your help

Harald


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



Reply via email to