The overall approach to this is similar to JSPWiki:LinuxInstall which gave me a good idea of how to install JSPWiki on Linux under JBOSS. What is different is that JBOSS allows you to automatically deploy war files, which is very convenient.

The versions of software used are similar to those describe on JSPWiki:LinuxInstall. JBOSS 3.2.3 was used in addition.

Here are the steps:

  • Obtain the JSPWiki Download
  • Place it on the Linux Server on which it is to be installed (as we need to do some tinkering)
  • Unzip JSPWiki
  • Extract from the JSPWiki.war file the /WEB-INF/ file via the command jar xf JSPWiki.war WEB-INF/
  • Edit the /WEB-INF/ file as advised in JSPWiki:LinuxInstall but, of course, referring to the appropriate JBOSS sub-directories (see the note below)
    • (note that it is important to make your fileSystemProvider.pageDir and your jspwiki.basicAttachmentProvider.storageDir directories that are not sub-directories of your war deployment directory or you will lose your Wiki pages on any redeploy -- the best sub-directory to use is the data sub-directory of whatever JBOSS configuration you are going to use. If this is not specificaly set to a valid path, the deploy will fail.
  • Update the JSPWiki.war file by the command jar uf JSPWiki.war ./WEB-INF/
  • Deploy the JSPWiki.war by copying it to the deploy directory of whatever configuration of your JBOSS Server you plan to use.

JBoss 4.2.1 & JSPWiki 2.4.103#

In order to get this working on Ubuntu, I had to unpack the war, delete WEB-INF/lib/commons-logging-api.jar and WEB-INF/lib/log4j.jar and edit the WEB-INF/ as above.

jBoss 5.1.0 GA & JSPWiki 2.8.2#

I unpacked the war and deleted from WEB-INF/lib

  • commons-logging-api.jar
  • log4j.jar
  • mail.jar
  • activation.jar
  • xmlrpc.jar
and edited WEB-INF/ as described above.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-16) was last changed on 14-Jul-2009 14:51 by Dietrich