Friday Nov 03, 2006

GlassFish jumps from the Aquarium and swims in the Ubuntu pool!


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...

Setup 

  1. Download GlassFish V1 UR1.
  2.  Follow steps oulined in the download page. Captured here for convenience:
    1. GlasssFish installation requires JDK 5.
      Run:
      java -Xmx256m -jar filename.jar
      cd glassfish
      Run:
      ant -f setup.xml
  3. $glassfish_home/bin/asadmin start-domain domain1. Thats it you are done.


     

    Known Issues:

    • 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.
        • <jvm-options>-XX:MaxPermSize=128m</jvm-options>
        • 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.

     



About

harpreet

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today