Re: [Resin-interest] System.getenv() behaves differently

2013-01-14 Thread Scott Ferguson
On 1/14/13 6:15 AM, Mattias Jiderhamn wrote:
> I have noticed that System.getenv() behaves differently on our different
> Linux servers.
>
> When running stand-alone Java applications there is no issue, but on at
> least one server the environment variables are inherited from the
> watchdog process to the Resin process, and on others they are not. This
> can be verified with -verbose when starting Resin.
>
> I cannot find any difference in the setup (startup script + config), but
> on the other hand I'm not sure what I should be looking for.
> Any ideas?
>
> (Resin version is 4.0.29)
>
Can you send a -verbose?

When the watchdog spawns Resin, the env is built using System.getenv() 
on the watchdog, and then a few overrides extend the environment 
(CLASSPATH, LD_LIBRARY_PATH).

-- Scott


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] System.getenv() behaves differently

2013-01-14 Thread Mattias Jiderhamn
I have noticed that System.getenv() behaves differently on our different 
Linux servers.

When running stand-alone Java applications there is no issue, but on at 
least one server the environment variables are inherited from the 
watchdog process to the Resin process, and on others they are not. This 
can be verified with -verbose when starting Resin.

I cannot find any difference in the setup (startup script + config), but 
on the other hand I'm not sure what I should be looking for.
Any ideas?

(Resin version is 4.0.29)

-- 

   


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest