Glassfish
Sun's opensource application server
Installing
I have installed it on an Ubuntu 8.04 Virtual Box Image.
I have a problem here, there is a script
asadmin in /usr/bin, which looks broken to me. I'd be surprised if I were the first person to find it, but I have not created an automatic service start/stop yet; this script overwrites my bespoke configuration parameters. The script points to another script called the same in /usr/share/glassfishv2/bin, which is the Sun Version. I shall investigate this problem and also possibly why the rc.glassfish files aren't part of the package.
I'll write it up some more later.
- Use synaptic to download glassfish
- asadmin is in the /usr/bin
then
- create a system user
- create a directory, chmod 777
- sudo start
To be done
- rc.script and integrate into service management, that's why I looked up
bum.
Elswhere
I had some help
Jasper Kalkers blogged about it emphasising how to run it in a non root user. He didn't use the package manager and so the stuff about building is not necessary, nor was downloading Java, I already have that.
Andrew Spooner's Blog, pointed at by Jasper as his inspiration.
Both were written before Glassfish made it to the Ubuntu apt repositories or they don't like it, however Jasper refers to apt-get to get Java.
I read up some of the sun documents, which I'll link another time.