[jboss-jira] [JBoss JIRA] Commented: (JBAS-5467) Order files loaded by the SARDeployer
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Mon Apr 21 04:50:44 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5467?page=comments#action_12409732 ]
Dimitris Andreadis commented on JBAS-5467:
------------------------------------------
I don't think it's the SARDeployer to decide to file order. Have you looked at the DeploymentSorter used by the deployment scanner?
> 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