[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3281) JMX(?) seem to freeze eclipse when a timeout occurs

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Nov 25 21:59:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-3281.
--------------------------------

    Resolution: Done


The test.interactive plugin doesn't actually seem to... ... run any tests. It just puts stuff in the osgi startup and shutdown methods.   I've disabled the code in the bundle activator. 

> JMX(?) seem to freeze eclipse when a timeout occurs
> ---------------------------------------------------
>
>                 Key: JBIDE-3281
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3281
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: LATER
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Minor
>             Fix For: 3.0.0.cr1
>
>
> Not sure if this is JMX or our AS Adapter having problems but I got the stacktrace below in my console after having a PDE instance with jbosstools running all night (laptop got suspended) . That normally works fine - but with JMX it seem to fail. 
> java.io.IOException: Cannot bind to URL [rmi://:3000/jmxrmi]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.45; nested exception is: 
> 	java.net.ConnectException: Connection timed out: connect]
> 	at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
> 	at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
> 	at org.jboss.tools.jmx.ui.test.interactive.Activator.start(Activator.java:69)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
> 	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
> 	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:368)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:313)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)
> 	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
> 	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
> 	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
> 	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
> 	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> 	at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2169)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.45; nested exception is: 
> 	java.net.ConnectException: Connection timed out: connect]
> 	at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
> 	at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
> 	at javax.naming.InitialContext.bind(InitialContext.java:400)
> 	at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
> 	at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
> 	... 32 more
> Caused by: java.rmi.ConnectException: Connection refused to host: 192.168.1.45; nested exception is: 
> 	java.net.ConnectException: Connection timed out: connect
> 	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
> 	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
> 	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
> 	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
> 	at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
> 	at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
> 	... 36 more
> Caused by: java.net.ConnectException: Connection timed out: connect
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> 	at java.net.Socket.connect(Socket.java:519)
> 	at java.net.Socket.connect(Socket.java:469)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list