Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001202 [Resin] minor always 06-19-06 11:41 06-26-06 19:02
Reporter billa View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0001202: resin.jar and pro.jar is not added to CLASSPATH consistently
Description I am running 3.0.14 with the same license file everywhere. Yet ResinStatusServlet is reporting that the pro veresion is being used on some machine but the non-pro version being used on others.

It turns out that the code in which list
the individual files in the lib directory are producing the jar
files in different order on different machines:

opendir(RESINLIB, "$RESIN_HOME/lib");
while ($file = readdir(RESINLIB)) {
    if ($file =~ /\.jar$/ || $file =~ /\.zip$/) {

I am guessing that Perl is like Java in that the order of files
in a directory listing is not guaranteed.

Maybe this code should be changed to always load pro.jar first
if it is present?
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-19-06 11:41 billa New Issue
06-26-06 19:02 ferg Assigned To  => ferg
06-26-06 19:02 ferg Status new => closed
06-26-06 19:02 ferg Resolution open => fixed
06-26-06 19:02 ferg Fixed in Version  => 3.0.20

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker