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.
netbeans build 200510111800 appserver version 8.1_02 (build b12-p04) -have an ejb module -start remote server -in project propertiest select remote server for deploy -invoke deploy project -error message in output window: Starting of this deployment manager hobbes is not supported Failed to start server hobbes Deployment error: Failed to start server hobbes. See the server log file for details. -server node in project tab indicates that server is stopped despite server is running
Either regression on plugin side, or j2eeserver module. To be sure, you confirm the server is really running? Try to use the admin console and login to it. And if you do a refresh on the server node, you do not see the gree arrow? Thanks.
I've teested this case on two machines. I can connect to admin console, but after refresh server node doesn't have green arrow
Created attachment 26149 [details] ServerInstance changes
Green arrow does show up on refresh when connected to remote server. But I've noticed that sometimes, you need to refresh twice. Failure message on attempting to deploy to remote server appears when either the server is not running or if it is running, but has restart required flag enabled. j2eeserver module (org.netbeans.modules.j2ee.deployment.impl.Server Instance) is aware that the server is remote and cannot be restarted and provides correct message that, "Starting of this deployment manager hobbes is not supported" But this message is followed with standard deploy failure message. j2eeserver code needs to handle scenario better. It needs to either, 1, Continue with deployment without restarting and inform user that remote server needs to be restarted 2, Or provide a better message as to why deployment was not performed. Current message gives the impression that deployment was attempted and failed. Attached diff for simple fix for option 1.
F. Deployment will now fail with a convenient message. Annoying multiple error dialogs removed. Checking in ant/antsrc/org/netbeans/modules/j2ee/ant/Bundle.properties; /cvs/j2eeserver/ant/antsrc/org/netbeans/modules/j2ee/ant/Bundle.properties,v <-- Bundle.properties new revision: 1.3; previous revision: 1.2 done Checking in ant/antsrc/org/netbeans/modules/j2ee/ant/StartProfiledServer.java; /cvs/j2eeserver/ant/antsrc/org/netbeans/modules/j2ee/ant/StartProfiledServer.java,v <-- StartProfiledServer.java new revision: 1.3; previous revision: 1.2 done Checking in ant/src/org/netbeans/modules/j2ee/ant/Bundle.properties; /cvs/j2eeserver/ant/src/org/netbeans/modules/j2ee/ant/Bundle.properties,v <-- Bundle.properties new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/j2ee/deployment/devmodules/api/Bundle.properties; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/Bundle.properties,v <-- Bundle.properties new revision: 1.6; previous revision: 1.5 done Checking in src/org/netbeans/modules/j2ee/deployment/devmodules/api/Deployment.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/Deployment.java,v <-- Deployment.java new revision: 1.22; previous revision: 1.21 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/Bundle.properties; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Bundle.properties,v <-- Bundle.properties new revision: 1.34; previous revision: 1.33 done RCS file: /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerException.java,v done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ServerException.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerException.java,v <-- ServerException.java initial revision: 1.1 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v <-- ServerInstance.java new revision: 1.68; previous revision: 1.67 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/TargetServer.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/TargetServer.java,v <-- TargetServer.java new revision: 1.44; previous revision: 1.43 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/ProgressUI.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ProgressUI.java,v <-- ProgressUI.java new revision: 1.17; previous revision: 1.16 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/DebugAction.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/DebugAction.java,v <-- DebugAction.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/ProfileAction.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/ProfileAction.java,v <-- ProfileAction.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/RestartAction.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/RestartAction.java,v <-- RestartAction.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/StartAction.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/StartAction.java,v <-- StartAction.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/StopAction.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/StopAction.java,v <-- StopAction.java new revision: 1.5; previous revision: 1.4 done
v