!!!I have my main thread.
!!!From within that thread I am try ing to
!!!spawn two other processes by
!!!Process p = System.getRuntime ().exec ("java myProc");
!!!
!!!Now when p gets to work the first thing it does it reads
!!!log4j config file and will try to log messages in there
!!!I use FileAppender for that.
!!!
!!!The problem is that it does not work.
!!!
!!!If I run the myProc from the command line (not from within
!!!another process) everything works fine as expected.
!!!
!!!At first I thought maybe myProc can not find the
!!!log4j config if I execute it from within another
!!!process but that does not seem to be the case
!!!because I can print out the file that is being read
!!!by myProc.
!!!
!!!Does anyone have a clue of what might be wrong?
!!!
!!!Thanks,
!!!Alex.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to