users@glassfish.java.net

JDK Change for remote instances of Glassfish

From: <glassfish_at_javadesktop.org>
Date: Thu, 17 Sep 2009 06:42:32 PDT

Hi,

I upgraded my JDK from jdk1.6.0_13 to jdk1.6.0_14 and intend to use this with Glassfish. I installed Glassfish when only jdk1.6.0_13 was available. After installing jdk1.6.0_14 I had to change the asenv.conf file to reflect the new JDK as follows:
Old: AS_JAVA="/pt/opt/run/java/jdk1.6.0_13"
New: AS_JAVA="/pt/opt/run/java/jdk1.6.0_14"

I then proceeded to rename the jdk1.6.0_13 directory to ensure that no components of Glassfish use the old JDK.

The Glassfish domain starts up successfully, but the various standalone instances do not start. The following error is generated when I attempt to start up the instances:
error=2, No such file or directory

Is there a setting for each instance to change the JDK?

Thanks,

Anthonie
[Message sent by forum member 'anthonie' (anthonie.f.du.toit_at_accenture.com)]

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