Hi,
I have requirement that have to stop running process when some requirement not fulfill. When WebNMS server start all process will up but in my requirement is that In my java code I am checking initially that particular database table schema is present in database or not. If database schema is not present then I have to stop the my process through code. I can’t stop server because at the same time other process is up.
So how can I achieve the above requirement that other process will not affected.
I was tried with using ProcessErrOut class. It has method killProcess() but not succeed. So can you please suggest any other way that I can stop my process and other process not affected.
Writer is a powerful online word processor, designed for collaborative work.