admin@glassfish.java.net

Glassfish, Java 64-bit, and the enterprise profile

From: <hwadechandler-gf_at_yahoo.com>
Date: Thu, 21 Aug 2008 12:39:49 -0700 (PDT)

All,

I need to setup Glassfish on a 64-bit Windows installation. We would like to take advantage of a 64-bit applications ability to utilize extremely large amounts of memory. I haven't been able to find 64-bit specific documentation, and the installer doesn't work with a 64-bit JVM. It just states it can't find the JVM, and I assume this is because native code in the installer tests JVM dlls or something along those lines, and probably fails when trying to load one as I assume the installer itself is 32-bit.

Too, we are currently using the enterprise profile and the NSAPI, which comes from Firefox. Well, Firefox doesn't have a 64-bit Windows installation, so it seems we may have to locate the NSAPI sources and build those libraries with a 64-bit compiler, but we would first like to just Glassfish running on a 64-bit JVM period. We are trying to use the Sun Java System version of Glassfish2 update 2.

We have installed the server with a 32-bit JVM, and then configured it to run with a 64-bit JVM, but this seems to hang when we try to run it. Is GF able to run with a 64-bit JVM? Has anyone been able to make this happen? I envision this being something many would want to do based on memory concerns, and Solaris has been 64-bit for years, so I'm assuming, though not saying my assumptions aren't wrong, that it should work, but I figure you all would be the definitive source. Is clustering the only way around 32-bit memory usage? At this stage it seems it would be simpler if we could just run the server in a 64-bit JVM.

Any ideas, documentation pointers, or any other help are greatly appreciated.

Thanks,

Wade

==================
Wade Chandler, CCE
Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and NetBeans Board Member
http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org