admin@glassfish.java.net

Re: How is Java found?

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Wed, 22 Jun 2011 18:28:21 -0700

Lidia,

FYI...

You can confirm what version of the JDK the server is using
by inspecting the log file. There should be a line like:

INFO: JVM invocation command line:
/opt/jdk/latest/bin/java
-cp
. . .

Joe


Lidia Marchioni wrote:
> Hi Tom
>
> Thank you for the information. Is there anything that was introduced in
> recent builds of 3.1.1 that would leave some file/setting behind? The
> reason I'm asking is because we are having trouble finding root cause of
> issue http://java.net/jira/browse/GLASSFISH-16890.
>
> Thanks
> Lidia
>
>
> Tom Mueller wrote:
>> java comes from the PATH if its location isn't defined in asenv.conf.
>>
>> Tom
>>
>>
>> On 6/22/2011 2:25 PM, Lidia Marchioni wrote:
>>> Hi all
>>>
>>> Could someone please let me know how we pick up java in Glassfish
>>> 3.1.1? This is in case AS_JAVA_HOME is not defined in asenv.conf
>>> file. We are seeing an odd issue with Admin Console sometimes not
>>> coming up on AIX systems
>>> (http://java.net/jira/browse/GLASSFISH-16890). Do we check
>>> JAVA_HOME, PATH anything else?
>>>
>>> Thanks
>>> Lidia