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.
No exceptions are thrown, request to start app server times out. I have tried GF build 48 and build V1 UR1 Build 10.
filed a while ago as https://glassfish.dev.java.net/issues/show_bug.cgi?id=694 I will figure out a way to get some kind of useful message to the user for this case, if janey won't get this fix into GF v1 u1...
Cannot even install GF with a space in the path on linux... https://glassfish.dev.java.net/issues/show_bug.cgi?id=603
The "fix" from the plugin is two fold: 1. change the start operation to fail faster. 2. put the error message that users get from 'asadmin start-domain' into the log viewer that opens when users start the server. This change also covers other cases (like failures to start the server because another process is using one of the ports) with better error messages, faster. There may be situations where we still need to timeout, but they will be a lot rarer. Note: changes in LogViewerSupport.run() resolve a CPU usage issue if the server's log file is not present. [the thread should have slept, but didn't]
In Glassfish issue 603 the evaluator says that spaces in paths are only supported on Windows. So shouldn't the fix be rather to disallow installing GF to a directory with spaces on Linux and Mac?
Created attachment 34048 [details] the patch file
fix in release55_dev
Can't fix the existing installer for 8.x or 9.0 So I agree with this plugin fix. Ludo
http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java?r1=1.4.4.6.2.19&r2=1.4.4.6.2.19.2.1 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/LogViewerSupport.java?r1=1.1.16.3.2.5&r2=1.1.16.3.2.5.2.1 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/runtime/actions/ViewLogAction.java?r1=1.1.16.1.2.3&r2=1.1.16.1.2.3.2.1
in case of timeout the fix is OK. I get error message immediately. But the message doesn't contain nany warning about spaces in the installation path, only usual port conflict, ...
Created attachment 34104 [details] Extended the error message dialog text
ok now, you can merge this fix to release55
commit to release55 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java?r1=1.4.4.6.2.19&r2=1.4.4.6.2.20 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/Bundle.properties?r1=1.2.16.5.2.13&r2=1.2.16.5.2.14 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/LogViewerSupport.java?r1=1.1.16.3.2.5&r2=1.1.16.3.2.6 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/runtime/actions/ViewLogAction.java?r1=1.1.16.1.2.3&r2=1.1.16.1.2.4
*** Issue 77116 has been marked as a duplicate of this issue. ***
verified in build 200609290000