How about a standalone version of JSPWiki, packaged with some simple lightweight JSP container and an installer?

AlainRavet has suggested this earlier, and on Friday with discussions with PaulDownes and MahlenMorris we concluded that this might actually be a good idea.

Microsoft Windows Version#

I have packaged JSPWiki with other products: a modified web server(Jetty), the Jasper compiler, Ant, a modified version of JSPWiki and the JRE (everything). However I have not done a lot of testing. Click here.
For the tested peer-to-peer package, click here.
Let me know if a Windows version interest anyone,


Should JSPWiki simply be packaged in various platform-specific formats (RPM, Debian, InstallAnywhere for Windows and other platforms not directly supported)? That way the installation would be relatively painless for each platform and the Linux installations wouldn't require any X server to be available (more than common in a server machine). I'll be adding configuration support for the Debian package this weekend if all goes well. --Killer

I think the main goal is to provide simple installation for people who want a personal/small community wiki. Anyone who runs a headless server (or a company intranet) is expected to understand the concept of webapps and containers... Besides, most often those setups have been customized anyway. A .deb is good for those with the OneTrueLinuxDistribution :-). --JanneJalkanen

Debs and RPMs are probably already familiar to people who want to run their personal wikis. Granted, if you want to run it on a machine you have no administrative rights, you need to have an alternative installation method as it is impossible to install RPMs and debs without root priviledges IIRC. In that sense the two methods are parallel. BTW, Debian strictly enforces the Linux Filesystem Hierarchy Standard, thus the different machine setups should be identical in this respect. Hmm, I need to create a utility script which allows a (Debian) user to easily add and upgrade multiple JSPWiki instances. --Killer

FYI, the latest version of JSPWiki Debian package contains basic configuration steps. --Killer


Here are some ideas (and please check the licenses if they allow repackaging):

  • LiteWebServer
    • LWS is a subset of Tomcat. The footprint is small, it installs easily, and runs JSPWiki just fine.
  • Tomcat
  • Jetty (AlainRavet, I think)
    • including Jetty should just add about 540kb for the jar
      • plus Jasper (68kb just runtime; 945kb for full package (requires Ant))
      • depending on JDK-Version also libs for XML-parser, SSL and JMX (980kb altogether)
      • all of this would sum up to about 2.5MB for all libs
    • License allows including sub-sets of the original package
  • BEJY Tiger (Bebbo's Java Server)
    • This is a stripped down version: (200k zipped) which is a full featured JSP1.2 container with JSR-045 support.
  • Resin is small at under 3MB, and is full featured, with comprehensive online documentation. It's unzip and run. The addtional functions will let the user expand what they do. I've seen people take Resin, unzip it; take JSPWiki, unzip it, do a simple edit on the two properties for wiki data locations and be up in less time it took to read this.
    • Unfortunately the Resin license does not allow such a distribution to be made. --JanneJalkanen


Should we use InstallAnywhere?

I don't know InstallAnywhere but I think an OpenSource solution would be better. For a Windows package this could be InnoSetup. -- Torsten
A cross-platform (written in Java) solution could be IzPack. I have never tested this application. Just stumpled over it some months ago and kept the URL in my notes to use it some day... -- TomZ
Have attached the IzPack docu. Hard to find on their website (i have the feeling, that is really not linked there. Got it from the download). -- TomZ

Yeah, we can't use InstallAnywhere. Their license agreement says: By clicking "Accept", you and your employer and any entity with which you may be affiliated (collectively, "You" or "Your") are consenting to be bound by this agreement ("Agreement"). Even though click-through and shrink-wrap licenses are not legally valid in Finland, I am not going to take the risk of someone suing my employer over my hobbies...

-- JanneJalkanen

An installer is not needed on Unix, just untar the file and run a shell script. Jetty has a text file that is XML based and straight forward to edit, example: to change the listener port number only requires changing the default value of 8080 to 8000 (or whatever you like).

-- Stacy

As far as open source win32 installers go, NSIS seems pretty popular. See also on DiveIntoMark -- KenLiu

I've had good results with ej-technologies Install4J - builds cross-platform installers with uninstall support, bundled JRE, Windows registry support, etc. Sadly not cheap. -- JonR


I think this should basically consist of a wizard-like approach, that would have two modes "quick" and "advanced", where in the quick mode you just basically choose the WikiProvider you want to use, and where it stores its files. In advanced mode you can then set things like RSS feeds and usability things, etc.

Should there also be a simple applet for configuring things? -- I think there should be a page to configure it, I'm not a big fan of applets. I would not think a simple page would be that hard to do since most options are pretty simple. FosterSchucker

Applets = Yucky


not use jsp as template,but user groovy as template. JRE+Groovy+jspwiki is OK.

2005-05-08:: What's the current status? Has anybody implemented a simple standalone solution. I currently fooling around trying to get a nice and lightweight Jetty/JSPWiki combo to run off a USB drive. If anybody has done something with Jetty & JSPWiki I'd love to know? dwightgunningAToptusnetDOTcomDOTau

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
izpack-doc.pdf 314.1 kB 1 02-May-2003 14:31 TomZ
« This page (revision-41) was last changed on 18-Jun-2009 10:26 by Janne Jalkanen