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 197829 - Running Spring 3.0.2 with glassFish server not responding
Summary: Running Spring 3.0.2 with glassFish server not responding
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Vince Kraemer
URL: http://localhost
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 07:49 UTC by raviparekh
Modified: 2011-04-18 23:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
this shows re-run project after glassfish stops from Output (41.39 KB, application/octet-stream)
2011-04-18 07:49 UTC, raviparekh
Details
java.exe won't stop sometimes (111.73 KB, application/octet-stream)
2011-04-18 07:50 UTC, raviparekh
Details
also find IDE log (41.39 KB, application/octet-stream)
2011-04-18 07:51 UTC, raviparekh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raviparekh 2011-04-18 07:49:44 UTC
Created attachment 107803 [details]
this shows re-run project after glassfish stops from Output

After running Project. Stop glassfish Server from Output window and then Re-Run Project.
Java.exe is Still Running in Process even after stop Glassfish.
if re-run another java.exe start and project won't work.
Comment 1 raviparekh 2011-04-18 07:50:49 UTC
Created attachment 107804 [details]
java.exe won't stop sometimes
Comment 2 raviparekh 2011-04-18 07:51:53 UTC
Created attachment 107805 [details]
also find IDE log

INFO [glassfish]
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.EnableComet.run(EnableComet.java:88)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
INFO [org.netbeans.modules.j2ee.deployment.impl.ProgressObjectUtil]
java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1024)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1303)
        at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:253)
        at org.netbeans.modules.j2ee.deployment.impl.ProgressObjectUtil.trackProgressObject(ProgressObjectUtil.java:110)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.trackDeployProgressObject(TargetServer.java:880)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:627)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:172)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
WARNING [org.openide.filesystems.Ordering]: Not all children in Loaders/text/x-ant+xml/Factories/ marked with the position attribute: [org-apache-tools-ant-module-loader-AntProjectDataLoader.instance], but some are: [org.apache.tools.ant.module.resources.xml-ergonomics.instance]
INFO [glassfish]: __locations timed out.
java.util.concurrent.TimeoutException
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
        at java.util.concurrent.FutureTask.get(FutureTask.java:91)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReady(CommonServerSupport.java:578)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReallyRunning(CommonServerSupport.java:558)
[catch] at org.netbeans.modules.glassfish.common.CommonServerSupport$2.run(CommonServerSupport.java:639)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
INFO [glassfish]: __locations timed out.
java.util.concurrent.TimeoutException
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
        at java.util.concurrent.FutureTask.get(FutureTask.java:91)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReady(CommonServerSupport.java:578)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReallyRunning(CommonServerSupport.java:558)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.getModuleList(CommonServerSupport.java:452)
        at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getDeployedModules(Hk2DeploymentManager.java:378)
        at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getAvailableModules(Hk2DeploymentManager.java:341)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(TargetServer.java:403)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:359)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:308)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:305)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:427)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:169)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:566)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:172)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
INFO [glassfish]
java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:979)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at org.netbeans.modules.glassfish.common.CommandRunner.getApplications(CommandRunner.java:155)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.getModuleList(CommonServerSupport.java:454)
        at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getDeployedModules(Hk2DeploymentManager.java:378)
        at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getAvailableModules(Hk2DeploymentManager.java:341)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(TargetServer.java:403)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:359)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:308)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:305)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:427)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:169)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:566)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:172)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
INFO [glassfish]: __locations timed out.
java.util.concurrent.TimeoutException
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
        at java.util.concurrent.FutureTask.get(FutureTask.java:91)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReady(CommonServerSupport.java:578)
        at org.netbeans.modules.glassfish.common.CommonServerSupport.isReallyRunning(CommonServerSupport.java:558)
[catch] at org.netbeans.modules.glassfish.common.CommonServerSupport$2.run(CommonServerSupport.java:639)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Comment 3 Vince Kraemer 2011-04-18 23:48:02 UTC
Hmm...

I am using a recent dev build and cannot replicate the behavior.

Here is what I did:

Pulled the most recent sources of NB.
Built NB
Started NB
Registered a 3.1 FCS installation
Created a Java Web->Web Application project that includes Spring 3.0.2 that targets the 3.1 build
Used the run item from the right-click menu on the web app
  the browser opened and had the default content
Used the boxed X in the Output window to stop the server
Used the Run item from the right click menu to re-run the app...
  It opened and displayed 'just fine'


Closing as 'works for me'... 

If you can replicate the problem in a recent build of NB (like 7.0 RC2), please reopen this issue and provide more details about how to reproduce the problem.

Including a sample project that demonstrates the problem may be useful, too.

The files server.log, messages.log and the content of the ant output would be very helpful, too.