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.

     



Comments:

Nice. Is the SQE test suite part of the Glassfish download?

Posted by Dalibor Topic on November 06, 2006 at 03:52 AM PST #

No our SQE implementation is not open yet.

Posted by Harpreet Singh on November 06, 2006 at 06:10 AM PST #

glassFish V2 (installed from netbeans 6.0) does not work from netbeans 6.0.
I did: a full installation of Netbeans 6.0 including installation of glassfish v2.
I tried a sample web application and pressed run.
Then I got a lot of errors.
What is wrong?

Posted by JMvL on December 08, 2007 at 09:21 PM PST #

Hi JMvL

Can you send me the errors that you see on my email. I can look into it.

Thanks
Harpreet

Posted by Harpreet on December 10, 2007 at 03:17 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
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