Hi guys,
A few words to warn you about a potential problem with a badly
configured laszlo plugin.
First I have to say that the default configuration (right out of the
box) does not cause this problem.
The problem occurs if you use a blank path like :
xwiki.plugin.laszlo.path=
in xwiki.cfg.
I have used this configuration line for several weeks with no problem
on a linux based system, using a 'non-system' tomcat (ie a tomcat
launched by hand using a non root user ...)
Then some Windows (tm) users copied my xwiki.cfg file, and problems
started to occur. Each morning they were unable to boot, the system
complaining about missing boot.ini and system dlls ! It took us
several days, and several launches of the XP console tools ;-) to
realize that the problem was in the flushCache method of the laszlo
plugin.
This method will delete all the files cached by the plugin, which is a
good thing per se, but if the plugin path is blank, all files in "/"
will be deleted ... if you are Windows user, starting tomcat via a
service, then ... all files in / will be deleted, which is not what
you want ...
So, the bottom line is, do not use a blank path for laszlo plugin !
cheers,
Seb.
PS : CC to dev list in case laszlo plugin maintainers are interested ...