users@glassfish.java.net

Re: installing Glassfish on SUSE

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Wed, 29 Oct 2008 14:02:24 -0500

On Wed, 2008-10-29 at 09:29 -0700, vang08 wrote:
> That may be true for other flavors of Linux. But not SUSE. Confirmed through
> other sources, Glassfish cannot be installed with Sun's Linux-version
> installer.
>
> I will have to find the RPMs for Glassfish so that we can deploy it to our
> Servers.

We've had it running here on openSUSE 10.2 (although those machines were
recently migrated to Ubuntu 8.04). We used the jar file installer

glassfish-installer-v2ur2-b04-linux.jar

and then wrote our own /etc/init.d script based on SUSE's Tomcat script.

> > When you run Sun's Glassfish installer ( from the Sun website) to install
> > Glassfish on SUSE (a brand of Linux), the installer starts installing,
> > gets about 90% done, according to the progresss bar, then throws a Virtual
> > Machine exception and halts. The installer reports install failure at that
> > point. The Java Virt ual Machine exception mentions a specific line of
> > code which is bad.

What was the exception?

Were you installing with the jar file I described above? You didn't
omit the -Xmx, did you?

java -Xmx256m -jar glassfish-installer-v2ur2-b04-linux.jar

> > NOTE--Other brands of Linux don't count. My question is specific to
> > SUSE--not RedHat, Debian, etc... Because SUSE is very different from all
> > other brands of Linux.

I'd take issue with that, having just done it on both SUSE and Ubuntu.

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601