users@glassfish.java.net

Local Syncronization Does not Work

From: <glassfish_at_javadesktop.org>
Date: Wed, 08 Jul 2009 06:46:23 PDT

I've just setup a new QA server for our web application but for some reason when the application starts up it can't synchronize with itself.


[#|2009-07-08T09:02:42.147-0400|WARNING|sun-appserver-ee8.2|javax.ee.enterprise.system.tools.synchronization|_ThreadID=11;|SYNC029:
There was an exception during synchronization.
com.sun.enterprise.ee.synchronization.DASCommunicationException: Unable to communicate with Domain Administration Server.
        at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.synchronizeInternal(JmxSynchronizationDriver.java:232)
        at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.synchronize(JmxSynchronizationDriver.java:106)
        at com.sun.enterprise.ee.synchronization.SynchronizationMain.main(SynchronizationMain.java:67)
Caused by: java.io.IOException: Not responding: service:jmx:rmi:///jndi/rmi://hostname:8686/management/rmi-jmx-connector
        at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry.connectToServer(JMXConnectorRegistry.java:369)
        at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry.connect(JMXConnectorRegistry.java:414)
        at com.sun.enterprise.ee.admin.VersionCheckUtil.isDASVersionValid(VersionCheckUtil.java:75)
        at com.sun.enterprise.ee.synchronization.PingCommand.execute(PingCommand.java:56)
        at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.synchronizeInternal(JmxSynchronizationDriver.java:145)
        ... 2 more
|#]


I can telnet to hostname on port 8686:
$ telnet hostname 8686
Trying xx.xx.xx.xx...
Connected to hostname.
Escape character is '^]'.

The service is definitely running, but it seems the local connection never establishes:
netstat -an | grep 8686
      *.8686 *.* 0 0 49152 0 LISTEN
xx.xx.xx.xx.45102 xx.xx.xx.xx.8686 49152 0 49152 0 TIME_WAIT
[Message sent by forum member 'jvermast' (jvermast)]

http://forums.java.net/jive/thread.jspa?messageID=354652