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.
Build 200606230200 When you open in WinXP Add Server wizard,enter Platform location of glassfish and click on Next, in next dialog you have prefilled "Admin Username : admin" , but not Admin Password, as it is if you do the same in Linux or Solaris. I think this behaviour should be the same for all supported platforms.
This may be relevant... The plugin uses the .asadminprefs file to fill in the name and password, if the file is present. This works on all supported OSs, if the file has nor been deleted (like the install time message from the glassfish installation encourages the user to do). === [exec] WARNING: Existing user preference file .asadminprefs has been detected in your home directory. Application Server administration commands will attempt to use admin user name and password stored in this file and this may cause unexpected behavior and security issues. It is recommended that you delete this file prior to using this new domain, domain1. [exec] Login information relevant to admin user name [admin] for this domain [domain1] stored at [C:\Documents and Settings\vspanishk\.asadminpass] successfully. [exec] Make sure that this file remains protected. Information stored in th is file will be used by asadmin commands to manage this domain. ===
tested and confirmed that the presence of the asadminprefs file is detected correctly and that the admin password is filled in (if the file is present).
Just reproduced in build 200607250000 on two different computers, so reopening.Try please new installation of IDE,reinstall glassfish and delete also .asadminpass in your homedir (or at least line relevant for glassfish) first. I found one computer,where password was filled normally,like on Linux,but the glassfish installation was used for some time already and it wasn't only SJAS server on the computer,so it's possible, that presence of SJAS 8.2 could affect this some way.
The plugin does not create the asadminprefs file, it WAS created during server installation... The server team STOPPED writing the file. The behavior you are seeing has nothing to do with the OS involved. If tha asadminprefs file is not present, the password will not be filled in. On computers where the file file is not present, the passowrd value will not be filed in.
I didn't said I have done something with asadminprefs file, I just installed new Netbeans 5.5 installation and new glassfish b48 and started the IDE, so there should be everything set and created as default. Problem I'm reporting is that there's difference if I do this in Windows XP or elsewhere, because on WinXP wizard didn't fill admin password, not in any other system I checked, so from this view I think it IS OS specific problem.I don't know what causes it, but I think wizards should behave same way on all supported platforms,so this should be fixed,especially when we know both default login and password for admin user. I wonder why it's neccessary to read default values at all, when the're always the same and we know them?
After reconsidering I take it back,this really isn't Netbeans issue and it's caused rather by glassfish. Setting password to default value could be tricky in some cases and it's wrong solution.Closing as INVALID.