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 202737

Summary: "Run" action leads to uninterruptible and infinite task
Product: serverplugins Reporter: denbo <denbo>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description denbo 2011-09-27 14:07:58 UTC
I have a GlassFish 3.1 running on my local machine. I have attached it to Netbeans via Services>Servers>Add Server..
When I want to deploy my JEE project (Maven, EAR) using the "Run" command, the console says:
"NetBeans: Deploying on GD GlassFish
    profile mode: false
    debug mode: false
    force redeploy: true
Distributing /opt/gd/app-ear-1.0.26/target/app-ear.ear to [GD GlassFish]
Initializing..."

It stays this way and the application does not get deployed. See the NB log below for details.

The really disappointing part is that I cannot cancel this infinite task. When I select cancel nothing happens. This is a basic design problem!


-- IDE Log:
WARNING [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
INFO [glassfish]: __locations timed out. 1 of 1
java.util.concurrent.TimeoutException
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
	at java.util.concurrent.FutureTask.get(FutureTask.java:91)
[catch] at org.netbeans.modules.glassfish.common.CommonServerSupport.isReady(CommonServerSupport.java:666)
	at org.netbeans.modules.glassfish.common.CommonServerSupport.isReallyRunning(CommonServerSupport.java:629)
	at org.netbeans.modules.glassfish.common.CommonServerSupport$3.run(CommonServerSupport.java:734)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
INFO [glassfish]: __locations timed out. 1 of 1
java.util.concurrent.TimeoutException
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
	at java.util.concurrent.FutureTask.get(FutureTask.java:91)
[catch] at org.netbeans.modules.glassfish.common.CommonServerSupport.isReady(CommonServerSupport.java:666)
	at org.netbeans.modules.glassfish.common.CommonServerSupport.isReallyRunning(CommonServerSupport.java:629)
	at org.netbeans.modules.glassfish.common.CommonServerSupport$3.run(CommonServerSupport.java:734)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Vince Kraemer 2011-10-26 17:51:00 UTC
I have not been able to reproduce this with GF 7.0.1 on solaris.

what kind of sub-projects are in the ear?

Did you register the server as a local or a remote server?

What error messages are in the server log that indicate that the app did not deploy? Or is there some other indicator?

Please reopen this issue when you have provided more details.