[jbosstools-issues] [JBoss JIRA] (JBIDE-19350) big war deployment to remote server (management) gets stuck

Rob Stryker (JIRA) issues at jboss.org
Thu Apr 16 15:47:18 EDT 2015


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

Rob Stryker commented on JBIDE-19350:
-------------------------------------

18% is when it begins zipping, basically. 
30% is when it starts transfering to the remote installation. 

I've found a few locations during the zipping where it's not respecting a cancel. (ie, if you have multiple large files, it's not respecting cancel between files). 

I've also found it's not respecting cancel during zip / copy of one large file, and that will require a different workaround since the truezip api has no progress monitors. But this is also doable. 

Unfortunately the underlying API for connecting to jboss management does not provide any mechanism for progress feedback. It does have a future, and I can actually check if it's done or not, and I can also cancel, so I should also be able to fix this as well. 

I can also report 'progress' on the transfer, but it won't be accurate. It'd be one of those 'infinite progress monitors', but I need to figure this out. It'd need to be an infinite progress monitor that also reports to a parent progress monitor (ie, an InfiniteSubProgressMonitor) but I'm not sure if that'll be easy to implement. 

I've been testing this with a local docker image, and the files always actually go through. They never actually freeze, it just looks like they do. I'm not sure how to recognize an actual freeze, or how to fix it, but I can say that I can't replicate any actual freeze. 

It seems the important task here is to get cancel working, so I'll focus on that. 





> big war deployment to remote server (management) gets stuck
> -----------------------------------------------------------
>
>                 Key: JBIDE-19350
>                 URL: https://issues.jboss.org/browse/JBIDE-19350
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.3.0.Alpha2
>
>         Attachments: remote-publishing-stuck.png
>
>
> I tried deploying an ear with a nested utility project to a remote EAP 6.3 server with the management profile and it got stuck during publishing (10 %).
> I used the project from JBIDE-19043 - see "Steps to Reproduce".
> !remote-publishing-stuck.png!
> I wanted to get a more general use case before reporting this, but I'm still stuck at canceling of the publish task, so I decided to write this JIRA before killing off Eclipse - that is btw a serious problem as well - that you can't cancel the task.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list