Debian/Ubuntu package for helma1

0 views
Skip to first unread message

Hannes Wallnoefer

unread,
Dec 16, 2008, 6:18:37 AM12/16/08
to Helma
Hi all,

I just successfully uploaded my first attempt at a debian package for
helma 1 to my personal Ubuntu package archive:

https://launchpad.net/~hannesw/+archive

By adding the archive to your apt sources you should get two packages,
helma1 and helma1-docs. These are trunk svn snapshots from today.

They install in two directories: /usr/share/helma1/ for the static jar
files mostly, and /var/share/helma1/ for properties, apps, db, and log
files. The log directory is also linked to /var/log/helma1, and system/
error output goes to syslog.

There's also an init-script which I modeled from the tomcat6 debian
package, and by default it starts jetty on port 8080. It is in /etc/
init.d/helma1 and takes the usual start/stop/restart/status etc
arguments

Now the cool thing is this runs with jsvc from apache commons daemon,
which allows us to run jetty on port 80 while running helma under its
own user (called, not surprisingly, helma1). Just edit /var/lib/helma1/
server.properties and set webPort to 80 (or 127.0.0.1:80 if you only
want to accept connections from localhost) and restart.

There are some things missing: helmaTools isn't included, and I had to
remove the helmadoc functionality in order to workaround a openjdk
bug.

Let me know what you think.

Hannes

Hannes Wallnoefer

unread,
Dec 16, 2008, 6:21:11 AM12/16/08
to Helma
On Dec 16, 12:18 pm, Hannes Wallnoefer <hann...@gmail.com> wrote:
>
> They install in two directories: /usr/share/helma1/ for the static jar
> files mostly, and /var/share/helma1/ for properties, apps, db, and log
> files.

Argh... of course the props/apps/db/log files are in /var/lib/helma1/,
not /var/share/helma1/.

Hannes
Reply all
Reply to author
Forward
0 new messages