This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122742 - SERVER: Modifications to 'JavacOptions' in IDE don't reflect in the admin console and vice-versa.
Summary: SERVER: Modifications to 'JavacOptions' in IDE don't reflect in the admin con...
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 07:38 UTC by us159569
Modified: 2008-02-29 07:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description us159569 2007-11-26 07:38:26 UTC
I am using IDE Product Version: NetBeans IDE Dev (Build 20071109140113), that gets installed with JCAPS5.2
installer(520Rel 20071111-1033 build) and notice that modifications(here, I removed the -g option) to 'JavacOptions' in
IDE don't reflect in the admin console and vice-versa. 
GLASSFISH_VERSION="v2ur1-b07"
Comment 1 Vince Kraemer 2007-11-26 16:33:00 UTC
Could you provide step-by-step instructions on how to reproduce this issue?
Comment 2 us159569 2007-11-28 10:46:19 UTC
Steps to reproduce:
(1)Login to the IDE. (I have used the NetBeans IDE Dev (Build 20071109140113), that gets installed with JCAPS5.2
installer(520Rel 20071111-1033 build))
(2)Under the 'Services' tab, right click on Servers -> GlassFish V2 -> JVMs and select 'Properties'
(3)Modify the JavacOptions. (I have just removed the '-g' option that comes by default.)
(4)Click 'close' on the properties sheet
(5)Restart the app server
(6)Login to the app server admin console
(7)Under 'Common Tasks', select Application server -> JVM settings -> general and notice that the JavacOption property
still has -g option against it.

Similarly, modify JavacOption in the admin console(Common Tasks -> Application server -> JVM settings -> general), save
the changes, restart the app server, login to IDE and notice that the javacoption doesn't reflect the modifications done
 in the admin console.

The AS being used is SJSAS9.1_01(buildb08-fcs) and not 'v2ur1-b07' as I had mentioned earlier. Sorry for the mistake.
Comment 3 Nitya Doraisamy 2008-02-29 07:09:24 UTC
This seems to be a server issue. After modifying the JavacOption (removing -g), if you refresh either the runtime tree
in IDE or the admin comsole sheet, the '-g' will be displayed again.

Filing issue against server. 
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4307

Closing this.