By harpreet on Nov 03, 2006
I have been an Ubuntu fan (see earlier post) and am pleased to state that GlassFish swims in Ubuntu . Rich Sharples has a blog with screen shots that describe how to install GlassFish on Ubuntu. (This seems to be old news )
We wanted to try out the latest release GlassFish V1 UR1 in Ubuntu. We picked up the latest promoted build (build 14) and installed it in Ubuntu. Our SQE team (specifically Jagadesh ) ran our entire set Basic Acceptance Tests (BAT) of SQE tests and came back with a report that 98.92% of the SQE tests have run without any issues. There are some workarounds needed to make it work though.
Here are the steps as outlined by Jagadesh. Give it a spin...
- Download GlassFish V1 UR1.
- Follow steps oulined in the download page. Captured here for convenience:
GlasssFish installation requires JDK 5.
java -Xmx256m -jar filename.jar
ant -f setup.xml
$glassfish_home/bin/asadmin start-domain domain1. Thats it you are done.
- OutOfMemory Exception : PermGen Space during the application runtime at server side. The exception will be in the server.log.
- Solution: Set the following JVM option in the domain.xml and restart the server.
- Alternatively, you can set it through the Admin GUI
- Login to admin console . And follow the steps:
- Click Application Server (left frame) --> Click on JVM Settings Tab --> Click on JVM Options Tab --> Add JVM Option --> Cut and paste "-XX:MaxPermSize=128m" --> Save
- Passwords are echoed on the screen during the application server domain creation.
- Currently there is no workaround for it.
If you like to try out the Java EE SDK for a different platform you can find it here.