[jboss-jira] [JBoss JIRA] Updated: (JBAS-5467) Order files loaded by the SARDeployer

Brian Egge (JIRA) jira-events at lists.jboss.org
Sun Apr 20 18:44:44 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5467?page=all ]

Brian Egge updated JBAS-5467:
-----------------------------

    Attachment: sardeployer-sorting.diff

Patch to sort the files to be loaded.

> Order files loaded by the SARDeployer
> -------------------------------------
>
>                 Key: JBAS-5467
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5467
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: System service
>            Reporter: Brian Egge
>         Assigned To: Dimitris Andreadis
>            Priority: Optional
>         Attachments: sardeployer-sorting.diff
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> Java's File.listFiles returns files in a not always consistent order.  This can be seen by listing a large directory on different platforms, or even on the same platform.  Specifically, on Solaris we had copied the deploy directory, and found the behavior of our app changed.  This was due to two jar files having different versions of the same class.  Always loading files in the same order would reduce the chance of the order randomly changing.  

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

        



More information about the jboss-jira mailing list