admin@glassfish.java.net

Re: How is Java found?

From: Lidia Marchioni <lidia.marchioni_at_oracle.com>
Date: Wed, 22 Jun 2011 22:14:46 -0700

Hi Joe

Yes, thank you. I was checking that as well... The issue is odd,
because builds that used to work, don't work any longer on the same
system, thus wanted to verify/understand more of the environment.

Lidia


On 6/22/2011 6:28 PM, Joe Di Pol wrote:
>
> 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
>