users@glassfish.java.net

Re: GroupManagementService error when setting up cluster in OpenSUSE 10.3

From: <glassfish_at_javadesktop.org>
Date: Tue, 10 Jun 2008 04:57:09 PDT

I managed to finally solve my problem. I'm documenting the solution just in case anyone hit the same issue in the future.

I chase down the problem to JXTA code where it tries to find PeerGroup module that is compatible with my JVM. So the problem was with JVM version detection.

Changing my JDK to 1.6 from OpenSUSE doesn't have any effect at all. However, I finally found out about OpenSUSE bug https://bugzilla.novell.com/show_bug.cgi?id=331680 which says that there's a bug in the JDK distributed in OpenSUSE that will cause problem with certain JVM version detection method which unfortunately used by JXTA.

So to solve the problem:
- I downloaded the latest JVM from Sun website (the RPM version),
- run the JVM installer file as root
- modify $GLASSFISH_HOME/config/asenv.conf to change the entry of AS_JAVA from "/usr/lib/jvm/java" which is the default location for jvm in OpenSUSE to "/usr/java/latest" which is where the Sun JDK Installer extract the files.
[Message sent by forum member 'yunghans' (yunghans)]

http://forums.java.net/jive/thread.jspa?messageID=279381