[forge-issues] [JBoss JIRA] (FORGE-2492) forge hangs on AbstractProjectCommand.getSelectedProject() when used inside fabric8-forge (the REST service)

James Strachan (JIRA) issues at jboss.org
Wed Sep 30 14:42:00 EDT 2015


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

James Strachan commented on FORGE-2492:
---------------------------------------

I wonder if there's a way to enable logging of aether / wagon when the maven facet is building the project so we can more easily see why its hanging?

> forge hangs on AbstractProjectCommand.getSelectedProject() when used inside fabric8-forge (the REST service)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-2492
>                 URL: https://issues.jboss.org/browse/FORGE-2492
>             Project: Forge
>          Issue Type: Feature Request
>    Affects Versions: 2.17.0.Final, 2.19.2.Final
>         Environment: using the fabric8-forge docker image inside OpenShift
>            Reporter: James Strachan
>
> Here's a stack trace:
> https://gist.github.com/jstrachan/741d65b7dd87ca0e701e
> when using Forge from the hawtio console, the JVM seems to hang for 1-2 minutes now inside the call to AbstractProjectCommand.getSelectedProject(). Whats odd is I can create an archetype and invoke this code path on startup just fine - but then thats in a different thread to the one using Forge from inside the JAXRS service; so am wondering if its related to which thread is being used?
> Seems to ultimately be a wagon / aether issue; taking too long to download things.
> Wonder is there any way to configure the maven addon in forge to register a Wagon listener maybe? No idea whats causing the pause



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list