quality@glassfish.java.net

Re: GlassFish V3 B65 on Ubuntu 9.04 Server

From: Kristian Rink <rink_at_planconnect.de>
Date: Tue, 29 Sep 2009 09:43:57 +0200

Hi Axl;


Axl Mattheus schrieb:
> I used the .sh installer. I tried installing as root (sudo ...) and
> normal user (jesadm). Same result.

Hmmm, I failed to reproduce this behaviour in the given environment:


- Installed sun-java6-jdk using aptitude, recent version seems to be 1.6.0_16?


[kr_at_n428 9:36:33] ~/kontext/runtime/testing> dpkg -l|grep sun-java6-jdk
ii sun-java6-jdk 6-16-0ubuntu1.9.04


- Set up $JAVA_HOME and $PATH to actually use the Sun JDK:

[kr_at_n428 9:37:09] ~/kontext/runtime/testing> echo $JAVA_HOME
/usr/lib/jvm/java-6-sun
[kr_at_n428 9:37:12] ~/kontext/runtime/testing> which javac
/usr/lib/jvm/java-6-sun/bin/javac
[kr_at_n428 9:37:44] ~/kontext/runtime/testing> javac -version
javac 1.6.0_16


- Downloaded the b65-unix.sh installer [1], installed it, used a pretty much
standard configuration. Installation worked smoothly except for two minor
annoyances (installer complaining about ports 8080 and 4848 in use because
my local gfv2 was currently running, and registration failed again...).


- Using asadmin start-domain and stop-domain works as expected. Tried to
manually switch to the OpenJDK which is installed by default on Ubuntu,
works too.

Strange... it doesn't seem to be an Ubuntu related issue to me, but it
obviously is not working in your case. Tried using the .zip build and
setting JAVA_HOME / ... to point to the "right" place before starting the
domain?

Cheers,
Kristian

[1]http://download.java.net/glassfish/v3/promoted/glassfish-v3-b65-unix.sh



-- 
Dipl.-Ing.(BA) Kristian Rink * Software- und Systemingenieur
planConnect GmbH * Könneritzstr. 33 * 01067 Dresden
fon: 0351 215 203 71 * cell: 0176 2447 2771 * mail: rink_at_planconnect.de
Amtsgericht Dresden HRB: 20 015 * St.-Nr. FA DD I 201 / 116 / 05360
Geschäftsführer: Stefan Voß, Karl Stierstorfer