Can reproduce, but with help (Thanks, Eddie and Jerry and Adam) was able to determine that it's not a problem with getEnvVars() method, but rather the merge logic looks suspicious. Will investigate further.
-Marshall Marshall Schor wrote: > This seems to be a likely bug. The CPE has a class, > RunnableApplication, which calls the static method > SystemEnvReader.getEnvVars(). It appears likely that this method is > failing on some Linuxes. > > Adam points out that now that we're prereq-ing Java 5, that Java has a > method for doing this - so the easy fix is probably to switch to that. > > I'll see if I can reproduce and test a fix. > > -Marshall > > Adam Lally wrote: > >> On Dec 5, 2007 1:21 PM, Eddie Epstein <[EMAIL PROTECTED]> wrote: >> >> >>> There was a discussion about this a few weeks ago. Here is part of my reply: >>> >>> When I did this on Windows it worked fine, but on Linux it hung because the >>> deployed service didn't have a proper environment. In order to get it >>> working on Linux, I added a PATH environment for the new process in the >>> descriptor, e.g. >>> >>> <runInSeparateProcess> >>> <exec dir="." executable="java"> >>> <env key="PATH" >>> >>> value="/myPathTo/jdk1.5.0/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/eddie/apache-uima/bin"/> >>> >>> >>> >> <snip/> >> >> OK, when I added the PATH to the jre, it worked - thanks. But why >> isn't the environment inherited from the parent process? >> >> -Adam >> >> >> >> > > > >
