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 78973 - Wizard don't fill the default admin password in WinXP
Summary: Wizard don't fill the default admin password in WinXP
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 13:25 UTC by Jaroslav Pospisil
Modified: 2006-07-26 10:20 UTC (History)
0 users

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 Jaroslav Pospisil 2006-06-23 13:25:19 UTC
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.
Comment 1 Vince Kraemer 2006-07-24 18:57:05 UTC
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.
===
Comment 2 Vince Kraemer 2006-07-24 20:16:00 UTC
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).
Comment 3 Jaroslav Pospisil 2006-07-25 08:58:48 UTC
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.
Comment 4 Vince Kraemer 2006-07-25 14:35:19 UTC
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.
Comment 5 Jaroslav Pospisil 2006-07-26 10:09:58 UTC
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?
Comment 6 Jaroslav Pospisil 2006-07-26 10:20:45 UTC
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.