Tim Costermans [
http://community.jboss.org/people/t.costermans] created the discussion
"Error adding deployment folder to deployment scanner"
To view the discussion, visit:
http://community.jboss.org/message/634555#634555
--------------------------------------------------------------
I am using Eclipse Java EE IDE for Web Developers. (Version: Indigo Service Release 1
Build id: 20110916-0149)
In installed the lastest available JBoss Tools (3.3.0.M3.2011-09-15_20-45-52-H23)
I created a server of type JBoss Runtime 6.x
I modified following values in the server editor:
Hostname:0.0.0.0
Never publish automatically
Startup Poller: web port
Shutdown poller: process termintated
JRebel integration: enabled
I manually copy paste my ear the first time in the deploy folder.
After I start the server, I can use the application in a browser.
When I start changing code I'm seeing the following stacktrace hidden in the error
log:
"Error adding deployment folder to deployment scanner"
org.jboss.ide.eclipse.as.jmx.integration.JMXUtil$CredentialException
at
org.jboss.ide.eclipse.as.jmx.integration.JMXUtil.setCredentials(JMXUtil.java:91)
at
org.jboss.ide.eclipse.as.jmx.integration.JMXSafeRunner.run(JMXSafeRunner.java:64)
at
org.jboss.ide.eclipse.as.jmx.integration.JMXSafeRunner.run(JMXSafeRunner.java:52)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:97)
at
org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnectionProvider.run(JBossServerConnectionProvider.java:58)
at
org.jboss.ide.eclipse.as.jmx.integration.JMXServerLifecycleListener.doDeploymentAddition(JMXServerLifecycleListener.java:69)
at
org.jboss.ide.eclipse.as.jmx.integration.JMXServerLifecycleListener.serverChanged(JMXServerLifecycleListener.java:55)
at
org.jboss.ide.eclipse.as.core.server.UnitedServerListenerManager.serverChanged(UnitedServerListenerManager.java:128)
at
org.eclipse.wst.server.core.internal.ServerNotificationManager.broadcastChange(ServerNotificationManager.java:123)
at
org.eclipse.wst.server.core.internal.Server.fireServerStateChangeEvent(Server.java:714)
at org.eclipse.wst.server.core.internal.Server.setServerState(Server.java:639)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.setServerState(ServerBehaviourDelegate.java:143)
at
org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.setServerStarted(DeployableServerBehavior.java:166)
at
org.jboss.ide.eclipse.as.core.server.internal.AbstractJBossBehaviourDelegate.setServerStarted(AbstractJBossBehaviourDelegate.java:137)
at
org.jboss.ide.eclipse.as.core.server.internal.AbstractJBossBehaviourDelegate$1.stateAsserted(AbstractJBossBehaviourDelegate.java:111)
at
org.jboss.ide.eclipse.as.core.server.internal.PollThread.alertListener(PollThread.java:255)
at
org.jboss.ide.eclipse.as.core.server.internal.PollThread.run(PollThread.java:181)
Thats very strange because I see to following line getting logged to the server.log:
09:51:31,553 INFO [JMXConnector] starting JMXConnector on host 0.0.0.0:1090
I can connect to the JMX console with the default username and password using jVisualvm.
Why is it not working from within Eclipse?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/634555#634555]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]