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.
hi! Good day! I downloaded the latest build 200808170243 and was successfully installed both GF V2 R2 and GF V3 prelude, After the installation I check the servers and I found only GF V3. I need to manually add the V2 from the server. Thanks and more power, Allen Montejo
could you please attach the latest installation log from %USERPROFILE%/.nbi/log ? Does the issue go away when you delete the netbeans userdir (~/.netbeans/dev)
Created attachment 67671 [details] latest installation log file
hi! I only delete my dev folder because I still have the 6.1 installed in my machine Thanks and more power, Allen Montejo
Hi, The installation looks fine. > I only delete my dev folder because I still have the 6.1 installed in my machine Did it help? Did GlassFish v2ur2 appeared in the IDE after you deleted this folder (~/.netbeans/dev)? Thanks, Dmitry
hi! It wont work. Every time I installed new build I always do clean-up. I always delete only "dev" folder not the ~/.netbeans. Does it matter? should I delete all the folder from ~/.netbeans? Thanks, Allen Montejo
Hi Allen, > should I delete all the folder from ~/.netbeans? No, it is not necessary, removing "dev" should be enough. Could you please the netbeans.conf file C:\Program Files\NetBeans Dev 200808170243\etc\netbeans.conf ? Thanks, Dmitry
Correction: Could you please the netbeans.conf file-> Could you please attach the netbeans.conf file. :)
this is its content: # ${HOME} will be replaced by JVM user.home system property netbeans_default_userdir="${HOME}/.netbeans/dev" # Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"C:\Program Files\glassfish-v3-prelude-b18\" -J-Dcom.sun.aas.installRoot=\"C:\Program Files\glassfish-v2ur2\" -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dnetbeans.logger.console=true -J-ea -J- Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true" # Note that a default -Xmx is selected for you automatically. # You can find this value in var/log/messages.log file in your userdir. # The automatically selected value can be overridden by specifying -J-Xmx here # or on the command line. # If you specify the heap size (-Xmx) explicitely, you may also want to enable # Concurrent Mark & Sweep garbage collector. In such case add the following # options to the netbeans_default_options: # -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled # (see http://wiki.netbeans.org/wiki/view/FaqGCPauses) # Default location of JDK, can be overridden by using --jdkhome <dir>: netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_02" # Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix): #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2" # If you have some problems with detect of proxy settings, you may want to enable # detect the proxy settings provided by JDK5 or higher. # In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.
Created attachment 67674 [details] netbeans config build Dev 200808170243
Everything looks fine for me in this file: I see system property com.sun.aas.installRoot passed correctly. I am reassigning this issue to Vince Kraemer who is responsible for the IDE plugin and integration.
Thanks for the prompt reply. Thanks, Allen Montejo
thanks you for the extraordinary quick responses ;)
Hi Allen, Could you please also attach file %USERPROFILE%/.netbeans/dev/var/log/messages.log? Thanks, Dmitry
Created attachment 67687 [details] message log of dev build 200808170243
Thanks. Just to check - do you import any NetBeans settings from any previous version (this dialog can be shown at the first start of the IDE)?
yes so that I my web project configuration will not broke and also my customized library, oh i see, that might be the cause, maybe I remove the server from that setting and it was carry to the current. am my right? or else? Thanks, Allen Montejo
Hi Allen, > yes so that I my web project configuration will not broke and also my customized library, > oh i see, that might be the cause, maybe I remove the server from that setting and it was carry to the current. am my right? or else? no, please, don`t remove it right the moment:) I think that probably the "Import Setting" functionality is not working correctly now.. It is better to fix it so that other users won`t suffer from it :) Please archive (in zip/tar/whatever) the previous NetBeans userdir folder (likely ~/.netbeans/6.1) and attach it to this issue. If it is too big in size (>1Mb) please send it to me (dlipin at netbeans dot org) and Vince (vkraemer at netbeans dot org) directly. Thanks in advance, Dmitry PS. Maybe this issue is related to Issue 126415, maybe not...
hi can you specify what particular folder/files inside the ~.netbeans\6.1 coz im getting 287 mb. please see the attachement I took a snapshot. Thanks, Allen Montejo
Created attachment 67692 [details] netbeans profile 61
I guess only .netbeans/6.1/config directory is important in this case.
> yes so that I my web project configuration will not broke and also my customized library, >oh i see, that might be the cause, maybe I remove the server from that setting and it was carry >to the current. am my right? or else? I think the user was saying that he might have removed GF V2 UR2 in the previous setting and because he imported the previous NetBeans settings, the current one does not have GF v2 UR2 too. Allen, Is my understanding correct? If so, there might not be a bug as the previous settings are being imported. Allen could you test the installation without importing the previous NB setting to see if GFV2 UR2 is added to the server's list. Thanks Nitya
Created attachment 67752 [details] folder config on ~\.netbeans\6.1
hi Nitya, Yes that was I wanted to mean, But I cannot confirm to you that I remove the GF V2 in my previous setting, just my doubt. Anyway If I install new build today without importing setting from my previous IDE, if im going to open all my web project in new build does all my cuztomize library and used plugin will then get imported? Thanks, Allen Montejo
Allen, Do you still have GlassFish V2 installed at C:\Program Files\glassfish-v2-b58g ? Dmitry
hi! none, i dont have glassfish-v2-b58g installed. Thanks, Allen Montejo
I think this issue is the same as Issue 126415. The .nbattrs in ..\config\J2EE\InstalledServers points to C:\Program Files\glassfish-v2-b58g\domains But the latest install of GF is in C:\Program Files\glassfish-v2ur2 and this mismatch is resulting in server not being present in the Servers list on importing the previous settings. >Anyway If I install new build today without importing setting from my previous IDE, if im going to open all my web >project in new build does all my cuztomize library and used plugin will then get imported? Allen If you don't import the settings, any customizations that you setup which are not part of the project will have to be redone.
okay thank you very much! I will try to install new build and try not to import the old setting. I hope my library now will not broke :0) Thanks, Allen Montejo
Nytya, > I think this issue is the same as Issue 126415. > The .nbattrs in ..\config\J2EE\InstalledServers points to C:\Program Files\glassfish-v2-b58g\domains > But the latest install of GF is in C:\Program Files\glassfish-v2ur2 and this mismatch is resulting in server not being > present in the Servers list on importing the previous settings. I also guess that it is the same as 126415, at least, the core of the issue is the same. In that issue the scenario was reinstalling of glassfish to different location - and I agree, that it is the corner case, but in this case user installs, first one version of NetBeans with GlassFish, then unistall and install the other one. It means that the autoregistration functionality (using system property com.sun.aas.installRoot) is not working correctly: if some V2 server is already registered (entry exist in the .nbattrs - even if it is imported) then the new one can`t integrated using the system property. I also guess that even if GlassFish (glassfish-v2-b58g) exist (even if it is added via importing settings) and new one is passed via the sysprop then it will not be registered. The simple scenario: 1) Install 6.0 with glassfish-v2-b58g 2) Start IDE, make sure GlassFish is in Services (or Runtimes) tab 3) Install 6.1 with glassfish-v2ur2 4) Start IDE, import settings from 6.0 Most likely V2 UR2 will not be registered though it should be. This is quite a common use case and at least for me it does not look like P4, but I am comfortable with P3.
hi! Okay thanks, set it to P3. What should I do? closed this and create an issue for autoregistration functionality (using system property com.sun.aas.installRoot) ? Please advise. Thanks and more power, Allen Montejo
In this case the auto registration functionality is broken and is more than a edge case. Will fix. Marking Issue 126415 as duplicate of this
*** Issue 126415 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200809300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/487276810fcb User: nityad@netbeans.org Log: #144222 : Fix for autoregistration functionality (use system property com.sun.aas.installRoot) while importing settings
Fixed
verified fixed. thanks very much
*** Issue 147870 has been marked as a duplicate of this issue. ***