Mantis - Resin
Viewing Issue Advanced Details
495 minor always 12-13-05 17:44 01-25-06 16:29
sam  
ferg  
urgent  
closed 3.0.16  
fixed  
none    
none 3.0.18  
0000495: -server-root on Windows
(repo by K Fetterman)

-server-root doesn't work on windows.

Notes
(0000532)
sam   
12-13-05 17:47   
c:\resin\httpd.exe -conf c:/resin/conf/development.conf -server-root path/to/web-app

[2005/12/13 20:38:50.103] Server[] initializing
[2005/12/13 20:38:50.244] Server[] root-directory=/c:/caucho/resin

(0000635)
rudy   
01-04-06 01:47   
There is currently indeed a difference between Windows and Unix, it would be better for -server-root to work on all platforms.

On Windows the following worked with Resin 3.0.14, I didn't check with newer versions:
-Dserver.root=%SERVER_ROOT_PATH%

On Linux the following works:
-server-root $SERVER_ROOT_PATH