On Monday 11 June 2007 17:29:57 Benjamin Shine wrote:
> We investigated the bug but determined it was a tomcat issue, not a
> laszlo issue. We're not tomcat experts here -- just enough to get by.
> I'm not sure why it works for lzx files, but as for the fact that it
> doesn't work for non-lzx files, I suggest consulting a  tomcat
> knowledgebase/book/community. Do let us know if you figure it out.

Finally found it, in a year-old posting to the tomcat-user mailing list.


All the docs / blog posts tell you to put :
   <context>
      ...
      <Resources className="org.apache.naming.resources.FileDirContext"
         allowLinking="true"/>
   </context>
in your context definition, but that does nothing (maybe it did in old tomcat 
versions). What worked for me is :
   <context allowLinking="true">
      ...
   </context>

I've put that in my global file (/etc/tomcat-6/context.xml), but I guess you 
could make it context-specific.

BTW, another posting on that list complained that the manager would 
recursively delete what is behind the symlink when un-deploying an app (unix 
apps generally dont behave that way, deleting just the symlink itself). I 
dont know if this is still an issue, but beware.



Thanks for all the suggestions.

-- 
Vincent de Phily

Reply via email to