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 - "Run" action leads to uninterruptible and infinite task
Summary: "Run" action leads to uninterruptible and infinite task
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 14:07 UTC by denbo
Modified: 2011-10-26 17:51 UTC (History)
0 users

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 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.