I have a RMI server application which invokes two external programs in order to complete its task. So I run two external
processes using Runtime.exec(...) and synchronize between the processes. The application has been running fine for over 8
months now but all of a sudden (last week) it broke.
When going through the logs I can see that it's failing to create the two external processes. In fact, I can see from the logs that
the program does create the first external process but the process never returns i.e it does not run the command which has been
fed into Runtime.exec(...).
Now the strange part: the program only fails when it's running as a Windows Service (java-windows-service-wrapper). I'm now running it
from the console and it's fine. It's deployed in a Windows 2003 Server box running Java 6. Has anyone ever experienced such a strange problem
and if so how can I sort it out? I'm sure that something changed in the box to bring about the problem but I just can't seem to figure out what
it is. There is also a Seagate firewall running on the box and at times it can be very hyper-sensitive. It's been installed from the beginning
when the machine was deployed and my program was working fine with it installed so I'm not suspecting the firewall yet.
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer