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.
Unclear error message appears if user failed to start a server which has no user/password configured to. STEPS TO REPRODUCE: 1. Install nightly netbean build 08/21/2007 with 58b build 2. Start Netbean IDE 3. Right click Servers > GlassFish V2 > select Properties > remove username and Password 4. Select to Start GlassFish V2 BUG: The error message appears to suggest some possible failure scenarios but none was referred to a missing Username and password one as described in the message below: "The Sun Java System Application Server could not start. More information about the cause is the Server log file. Possible reasons include: -IDE timeout:.... -Port conflicts .... -Incorrect server configuration ... -Corrupted Deployed Applications ..... -Invalid installation location...."
I guess invalid or missing username / password would be " -Incorrect server configuration ..." Do we really need to spell out this too?
Yes, it would be nice if you can add an example of missing userName/Password to the the server configuration list. When I start a server without a userName, I can not figure out why I the server wouldn't start because from the command I do not require to have userName/Password to start a server. Beside that a server can start with a wrong password but not with a blank (missing) password?
Davis demo'ed this to me and it is more serious than p3... The start operation just plain doesn't seem to get triggered... The server doesn't get started. The auth dialog doesn't appear... noda, zip. I will take this one and resolve it.
the use of --user in the asadmin start-domain command is suspect here...
register pe/6/glassfish[domain1] with no username/password on sol10x86: AS starts... get the username/password query dialog register ee/6/glassfish[domain1] with no username/password on sol10x86: AS doesn't start... get a auth failed message dialog. output window has more details... but not many. register pe/6/glassfish[domain1] with no username/password on windows vista: AS doesn't start... get NOTHING until the startup times out. Get the "big box"...
the return value from the exec'ed asadmin Process is zero, when it should not be. About all we can do is look at the Error output stream and see that it doesn't have data in it... since the exit value is getting reported incorrectly.
http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java?r1=1.35&r2=1.36