Mantis - Resin
Viewing Issue Advanced Details
2841 minor always 08-12-08 17:45 08-13-08 09:47
iRideSnow  
ferg  
normal  
closed 3.1.7  
fixed  
none    
none 3.1.7  
0002841: -D parameters passed in on the command line are not accepted.
From email exchange with Scott:

On Aug 12, 2008, at 17:16, Scott Ferguson wrote:

Did you start it like

  java -DspxCache=false -jar ...?

Currently, I'm not sure it allows -D after the -jar. (That might be something we should change.)

-- Scott

On Aug 12, 2008, at 17:23, Rob Lockstone wrote:

I actually have another script that calls the httpd.sh script because I pass in another parameter unrelated to resin/java to distinguish between a couple different code bases that we run. So my script actually calls httpd.sh like this:

sudo /bin/sh $RESIN_HOME/bin/httpd.sh start $2

Where the $2 would be the -DspxCache=false parameter. Which is why it's showing up at the end of the list of params that are being passed in.

Rob

On Aug 12, 2008, at 17:32, Scott Ferguson wrote:

Ok, let's mark it as a bug, since it's clearly a useful pattern.

-- Scott

Verbose resin log attached. Additional parameter being passed in is -DspxCache=false

Reported against 3.1.7 because I assume the 3.1.7 snapshots have this bug.

Rob

 resin-verbose.log [^] (3,454 bytes) 08-12-08 17:45

Notes
(0003326)
ferg   
08-13-08 09:47   
server/2l17