To whom it may concern:

As the Debian way of managing Linux gets more attention I'd like to
see an up-to-date Debian JSPWiki-package that works seemlessly at
least with the Tomcat package. However, I do not know yet how to
create it.

I have installed Tomcat by "apt-get install tomcat5.5".
This led to a very conservative configuration in terms of security.
I had to perform 3 changes in order to get JSPWiki running:

1. create a directory /p, change the owner to "tomcat55"

2. change in /etc/init.d/tomcat5.5
from >TOMCAT5_SECURITY=yes<
to   >TOMCAT5_SECURITY=no<

3. change in /etc/init.d/tomcat5.5
from >find "$CATALINA_BASE"/temp/ -mindepth 1 -exec rm -f {} +<
to   >find "$CATALINA_BASE"/temp/ -mindepth 1 -exec rm -fr {} +<

Explenation:

1.
The "/" root directory is by default not accessable to user tomcat55
while dropping the downloaded JSPWiki.war file tries to create
/p/web/www-data/jspwiki.
Alternatively you may start JSPWiki in tomcat, ignoring the error that
tomcat connot start it.
This will extract the .war file giving you access to change
WEB-DE/jspwiki.properties.
BTW: I would recommend to fallback creating the default where
java.io.tmpdir is pointing to.

2.
Using the Java security manager would hinder JSPWiki from start
leading to some security exceptions.
BTW: If I do have the time I will investigate this subject as many
people feel afraid these days switching off security. Currently I don't.

3.
Lucene is creating folders in Tomcats temp-dir. If you do not
recursively delete the content from tomcats temp-dir tomcat fails to
restart.
To my opinion this seems to be a debian packaging/installation error.
However, I do not know where to report this bug.

-- 
Rolf Schumacher
Ing. Büro Mikroelektronik + Softwaretechnik
Tel.:  +49 4187 312001
mobil: +49 177 7312001

_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the 
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList

Reply via email to