Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1733 | minor | always | 05-14-07 15:26 | 05-22-07 15:45 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.2 | ||
|
|||||
Summary: | 0001733: LD_LIBRARY_PATH | ||||
Description: |
(rep by George Cox) One thing which came out of it was that I noticed that LD_LIBRARY_PATH is not being passed down to the child/worker JVM by the watchdog JVM when the latter invokes it, but DYLD_LIBRARY_PATH is. Is that intentional? This means that I have to put my Tibco JNI libraries in the resin/libexec/ directory which sucks. Something like this would be handy: static Map<String,String> watchdogEnvironment = System.getenv(); ProcessBuilder processBuilder = new ProcessBuilder(argv); Map<String, String> envp = processBuilder.environment(); envp.put("LD_LIBRARY_PATH", watchdogEnvironment.get("LD_LIBRARY_PATH")); Process process = null; try { process = processBuilder.start(); } catch (IOException e) { e.printStackTrace(); } |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|