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 226043 - Running an app on a remote server doesn't work the first time
Summary: Running an app on a remote server doesn't work the first time
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 07:12 UTC by mienamoo
Modified: 2014-01-31 15:36 UTC (History)
1 user (show)

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 mienamoo 2013-02-13 07:12:59 UTC
NetBeans build 201302070001
JDK 7u13 64-bit

I am running my GlassFish as a service, and so configured it as a remote instance in my IDE. The first time after starting up the IDE, when I try to deploy an EAR to GlassFish (which is already running), I get the error message below. It appears to be an issue with the IDE finding out what the state of the GlassFish server is, because the second time always succeeds. And if I first have a look at the server in the Services view, the deploy will succeed the first time too.

Here is the error:


Deployment error: Starting of server GlassFish Server 3+ is not supported. Please, start the server manually.
See the server log for details.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:230)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Comment 1 TomasKraus 2013-04-02 13:38:25 UTC
Checked into web-main:
----------------------
changeset:   249496:984ab04ce891
branch:      javaee7
summary:     #226043 - Running an app on a remote server doesn not
             work the first time
Comment 2 mienamoo 2014-01-31 15:36:18 UTC
I haven't seen this issue again since the fix, so marking it as verified. :)