Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001928 [Resin] major always 08-03-07 13:51 08-13-07 09:13
Reporter ekreiser View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.3 Product Version 3.1.2
  Product Build
Summary 0001928: Problem setting LD_LIBRARY_PATH with resin 3.1.2
Description Under resin 3.0.21 I set certain environment variable in my start script before starting resin (things to setup my oracle client like PATH, LD_LIBRARY_PATH, etc...)

Now under 3.1.2... I am trying to set these same environment variable in the start script before starting resin...
---This works fine if I start resin in the foreground
---This fails if I start resin in the background... all environment variable settings are being passed to the child process and set correctly ```except``` LD_LIBRARY_PATH. my child process's LD_LIBRARY_PATH always ends up being just the Java and resin paths.
Steps To Reproduce
Additional Information I have tracked it down in resin code to the
com.caucho.boot.ResinWatchdog class... what seems to be happening is
---I set the ld_library_path in the shell script which launches resin
---at lines 365 -to- 367, launchManager method... the ld_library_path is
explicitly overwritten and set to the value resin want
---at lines 713 -to- 728, createProcess method... the ld_library_path is
appended to, but this occurs after the launchManager method... so the
values I need in there are already gone

I am sure the issue is far more complicated then I realize, but,
everything works for me if...
---alter the launchManager method to append to the ld_library_path
instead of overwriting it
---and alter the createProcess method to not do anything with the
ld_library_path

I also tried to set my ld_library_path by way of setting the
java.library.path as a <jvm-arg> in the resin.conf... this does not work
either.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-03-07 13:51 ekreiser New Issue
08-03-07 16:28 ekreiser Issue Monitored: ekreiser
08-13-07 09:13 ferg Assigned To  => ferg
08-13-07 09:13 ferg Status new => closed
08-13-07 09:13 ferg Resolution open => fixed
08-13-07 09:13 ferg Fixed in Version  => 3.1.3


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