Hi guys, I'm trying to make a link to an app inside the webapps directory in tomcat 6.0.18 . The goal is to have the same webapp referenced by two contexts, and this worked fine in 5.x . In 6.x, if I make a symlink to a webapp in the webapps directory, the app fails to start:
[EMAIL PROTECTED] webapps]# ln -s WebMail WebMail2 [EMAIL PROTECTED] webapps]# ls -l total 24 drwxr-xr-x 11 mwtomcat mwtomcat 4096 Sep 3 10:57 docs drwxr-xr-x 5 mwtomcat mwtomcat 4096 Sep 3 10:57 examples drwxr-xr-x 5 mwtomcat mwtomcat 4096 Sep 3 10:57 host-manager drwxr-xr-x 5 mwtomcat mwtomcat 4096 Sep 3 10:57 manager drwxr-xr-x 3 mwtomcat mwtomcat 4096 Sep 3 10:57 ROOT drwxr-xr-x 6 mwtomcat mwtomcat 4096 Aug 28 15:32 WebMail lrwxrwxrwx 1 root root 7 Sep 5 10:06 WebMail2 -> WebMail Sep 5, 2008 10:07:07 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Sep 5, 2008 10:07:07 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/WebMail] startup failed due to previous errors I've tried to add the allowLinking property in context.xml (in the default conf/context.xml and in the META-INF/context.xml of my webapp... just to be sure), but it don't work. I guess that allowLinking allows to make links from inside the context to other places in the filesystem, not to link the context itself to another webapp. I found this very useful in tests environment. Is there a way to achieve this in tomcat 6? -- Claudio Tassini