Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1202 | minor | always | 06-19-06 11:41 | 06-26-06 19:02 | |
|
|||||
Reporter: | billa | Platform: | |||
Assigned To: | ferg | OS: | linux | ||
Priority: | normal | OS Version: | 2.6 | ||
Status: | closed | Product Version: | 3.0.14 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
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 wrapper.pl 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$/) { $CLASSPATH="$CLASSPATH:$RESIN_HOME/lib/$file"; } } closedir(RESINLIB); 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? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |