[
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