Bug 152985 - java-config value for java-home is ignored when starting Prelude from Netbeans
java-config value for java-home is ignored when starting Prelude from Netbeans
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.3
All All
: P4 (vote)
: TBD
Assigned To: Nitya Doraisamy
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-11 20:06 UTC by ljandersen
Modified: 2013-02-26 16:06 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljandersen 2008-11-11 20:06:18 UTC
The domain.xml java-config value for java-home is ignored when starting Prelude from Netbeans.  This means that
Glassfish always starts using the default NB JVM  regardless of what is defined for the JVM for the project or for
Glassfish explicitly.

This should be fixed in an NB 6.5 patch if at all possible.
Comment 1 Vince Kraemer 2008-11-14 05:20:05 UTC
we are going to make it possible to select the JVM (Java Platform, in NetBeans parlance) in the properties of the server
node.

I guess we can make it possible to prefer the java-home as the IDE starts the server...  So the evaluation order would be...

java-home, Java Platform value, default Java Platform

The first one set, is the one used to start the server.
Comment 2 Vince Kraemer 2009-12-08 14:56:52 UTC
post 6.8
Comment 3 Vince Kraemer 2009-12-10 12:55:19 UTC
no bug should be assigned to issues. distributing the load.
Comment 4 dupreolivier 2013-02-26 16:06:57 UTC
(In reply to comment #1)
> I guess we can make it possible to prefer the java-home as the IDE starts the
> server...  So the evaluation order would be...
> 
> java-home, Java Platform value, default Java Platform
> 
> The first one set, is the one used to start the server.


Just FYI, this is not the case with Netbeans 7.3.

I have setup a GF Web 3.1, and setup domain.xml with my java-home. But it's simply ignored. Thus I must define the java executable path in the server properties from NB.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo