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 195049 - jboss instance in servers window not refreshing
Summary: jboss instance in servers window not refreshing
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 18:42 UTC by Kenneth Ganfield
Modified: 2011-02-18 14:32 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 Kenneth Ganfield 2011-02-03 18:42:32 UTC
JBoss 6 Final
Product Version: NetBeans IDE Dev (Build 201102030000)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)


The JBoss server instance in the Servers window does not accurately reflect current state of server after redeploying app.

1. Start JBoss server in terminal.
2. Refresh JBoss node in Services window. The IDE recognizes that the server is started and that there is one deployed app.
3. Redeploy the web app to server.
The server node does not show if the server is started and refresh of node does not work.

IDE seems to want to start new instances of server each time i try to run or deploy.

Building jar: /Users/nb/Documents/nbtemp-project/70-temp7/WebApplication2-jboss/dist/WebApplication2-jboss.war
Starting JBoss Application Server 6
IDE cant recognize whether the server has been started, please use the Refresh button or context menu item to update its status.
/Users/nb/Documents/nbtemp-project/70-temp7/WebApplication2-jboss/nbproject/build-impl.xml:708: 
Deployment error:
IDE cant recognize whether the server has been started, please use the Refresh button or context menu item to update its status.
See the server log for details.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:200)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor107.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:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 10 minutes 13 seconds)
Comment 1 Petr Hejl 2011-02-18 14:23:08 UTC
When the server gets into such state is it possible to use admin console? Maybe the server is stalled and thus IDE can't recognize whether it is running.

Do you have any firewall installed?
Comment 2 Petr Hejl 2011-02-18 14:32:54 UTC
This really works for me. Any permgen errors in JBoss output? Can you retest with beta2?