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.
By the way, I haven't tried using tomcat 6 yet. Not even tomcat 5.5;
I'm stuck on 5.0.30. How is 6 working out for you?
-ben
On Jun 11, 2007, at 6:41 AM, Vincent de Phily wrote:
Hi,
I'm have set up the "my-apps" folder to be a symlink to the real
folder (for
various reasons, including easily testing my code on various
versions of
laszlo).
This works fine for *.lzx files but not for anything else. I can't
load any
xml, jpg, or whatever (wether loading from laszlo or directly from the
browser). Same file location and permissions. It works if I copy
the files
directly in there, with no symlink in the way.
Somebody else opened a bug about it but got no usefull reply :
http://www.openlaszlo.org/jira/browse/LPP-4031
I'm using tomcat 6.0.13, and laszlo 4 (SOLO mode, "dev kit" war file).
I tried setting up the "allowLinking" attribute mentioned in
various places
(either in the global context.xml, web.xml, or the laszlo web.xml).
I tried
re-declaring and re-mapping the "default" servlet in laszlo's
web.xml. I
tried assigning the issue to my sysadmin colleagues. Nothing worked.
I actually found a workaround, but it is ugly and linux-specific (no
relationship between these two attributes :p) : instead of using
symlinks,
I "mount --bind" the folders. This will do for a little while, but
I can't
use it on the final system.
So... Any ideas ?
Thanks.
--
Vincent de Phily
Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]