[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7069) Application publishing is very slow

Andre Albino Pereira (JIRA) jira-events at lists.jboss.org
Wed Sep 15 14:08:28 EDT 2010


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

Andre Albino Pereira edited comment on JBIDE-7069 at 9/15/10 2:07 PM:
----------------------------------------------------------------------

Attachment PublishCopyUtilChanges.txt addresses the unnecessary Thread.sleep(100) execution at PublishCopyUtil.safeRename(File,File,int)

      was (Author: andreptb):
    Patch addressing the unnecessary Thread.sleep(100) at PublishCopyUtil.safeRename(File,File,int)
  
> Application publishing is very slow
> -----------------------------------
>
>                 Key: JBIDE-7069
>                 URL: https://jira.jboss.org/browse/JBIDE-7069
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.2.0.M2
>         Environment: Ubuntu 10.4 x64, jdk1.6.0_21, jboss-4.0.5-GA, Eclipse Helios (build 20100617-1415)
>            Reporter: Andre Albino Pereira
>            Assignee: Rob Stryker
>         Attachments: PublishCopyUtilChanges.txt, PublishCopyUtilOriginal.txt
>
>
> It seems there's a bug when a resource to be published is moved to the deploy folder using PublishCopyUtil.safeRename(File, File, int), where a unnecessary Thread.sleep(100) is executed every time for each resource that is being moved (see PublishCopyUtilOriginal.txt attachment at line 11). So, if a EAR with 1000 files is deployed, it will waste around 1.6 min executing Thread.sleep(100). 

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

        


More information about the jbosstools-issues mailing list