Anonymous | Login | Signup for a new account | 12-17-2024 10:59 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005005 | [Resin] | minor | always | 03-29-12 11:38 | 06-15-12 16:50 | ||||
Reporter | cowan | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.27 | ||||||
Summary | 0005005: Resin fails to start on Windows with empty server id | ||||||||
Description |
Using a resin.xml with a single server configured as shown below, where server id="": <server id="" address="127.0.0.1" port="6800"> <http address="*" port="8080"/> </server> The startup fails on Windows 7 with the following message: unknown argument '52729' (52729 is the argument passed to '-socketwait") The issue appears to be related to command line parsing on Windows and does not appear to be a Resin problem, rather a JVM issue. With the help of a debugger, the argsv[] array to the Main method of Resin is as follows: argv String[9] (id=37) [0] "--root-directory" (id=40) [1] "/C:/resin-pro-4.0.27/" (id=41) [2] "-conf" (id=42) [3] "C:\\resin-pro-4.0.27\\conf\\resin.xml" (id=43) [4] "-server" (id=47) [5] "-socketwait" (id=48) [6] "52786" (id=49) [7] "-verbose" (id=51) [8] "console" (id=52) Notice above, -socketwait immediately follows -server. Now, below is the argsv array from the same palce but on OSX: argv String[10] (id=38) [0] "--root-directory" (id=57) [1] "/Users/paul/resin-pro-4.0.27/" (id=58) [2] "-conf" (id=59) [3] "/Users/paul/resin-pro-4.0.27/conf/resin.xml" (id=60) [4] "-server" (id=61) [5] "" (id=62) [6] "-socketwait" (id=63) [7] "53863" (id=64) [8] "-verbose" (id=65) [9] "console" (id=66) The command line work properly on OSX because there is another argument there, and blank after the -server. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed. 30 unique queries executed. |