[jbosstools-issues] [JBoss JIRA] (JBIDE-18247) Eclipse is blocked for several minutes on startup when HTTP/80 is firewalled

Mickael Istria (JIRA) issues at jboss.org
Thu Sep 11 09:29:19 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001414#comment-13001414 ] 

Mickael Istria commented on JBIDE-18247:
----------------------------------------

Thanks, I can see that early-access is checked in a separate thread (this was the purpose of JBIDE-18217).
On main thread, we can see 
{code}
	at org.jboss.tools.foundation.core.ecf.URLTransportUtility.download(URLTransportUtility.java:196)
	at org.jboss.tools.foundation.core.ecf.URLTransportUtility.download(URLTransportUtility.java:185)
	at org.jboss.tools.foundation.core.ecf.URLTransportUtility.download(URLTransportUtility.java:171)
	at org.jboss.tools.foundation.core.ecf.internal.URLTransportCache.downloadAndCache(URLTransportCache.java:161)
	at org.jboss.tools.foundation.core.ecf.URLTransportUtility.getCachedFileForURL(URLTransportUtility.java:107)
	at org.jboss.tools.foundation.core.ecf.URLTransportUtility.getCachedFileForURL(URLTransportUtility.java:66)
	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.loadProperties(VersionPropertiesProvider.java:254)
	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.getValue(VersionPropertiesProvider.java:142)
	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.getValue(VersionPropertiesProvider.java:203)
	at org.jboss.tools.project.examples.configurators.DefaultJBossCentralConfigurator.getJBossDiscoveryDirectory(DefaultJBossCentralConfigurator.java:71)
	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.<init>(ProxyWizardManager.java:59)
	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.<clinit>(ProxyWizardManager.java:40)
	at org.jboss.tools.central.editors.GettingStartedPage.<init>(GettingStartedPage.java:194)
	at org.jboss.tools.central.editors.JBossCentralEditor.addPages(JBossCentralEditor.java:190)
{code}
[~fbricon] Shouldn't we put some asynchronism as well in ProxyWizardManager ?

> Eclipse is blocked for several minutes on startup when HTTP/80 is firewalled
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-18247
>                 URL: https://issues.jboss.org/browse/JBIDE-18247
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.2.0.CR1
>            Reporter: Pavol Srna
>            Assignee: Mickael Istria
>              Labels: respin-a
>             Fix For: 4.2.0.CR1
>
>         Attachments: console-log.txt, eclipse-firewalled-jstack.txt, stack-cr1a.txt
>
>
> Imagine a situation where you are behind firewall which blocks HTTP/80.
> You unpack fresh eclipse and install jbosstools. After installation you are prompted to restart eclipse. But eclipse is blocked at startup for several minutes - there is blocking central thread which cannot access web because of firewall.
> If you don't forget to setup proxy in eclipse you won't experience this. But otherwise you will be stucked on eclipse startup. And that is bad user experience.
> I would suggest to fix it so, that eclipse can at least start - just central content is not loaded when http is blocked.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list