Hi Everyone,
I am using solaris 5.10.
I have a java process running in server mode in unix.
The problem is that it automatically forks i.e creates a child process.
I mean suddenly two instances of that process start running , in which the process-id of first instance is the parent process-id of second.
Can anyone tell me what is the cause of this problem.
I dont want the new child process.
Can anyone please tell me the reason and solution to stop this.
Thanks in advance.
Glamo_2312
Is there any specific reason why you don't want the child process forked ? Probably the developers of that software wanted exactly this, and they need this process spawned that way.
The program is not written in the way to spawn a new child process.Still the child is getting generated.Can you please now tell me as how to stop this.
Thanx in advance
The program is not written in the way to spawn a new child process.Still the child is getting generated.Can you please now tell me as how to stop this.
Thanx in advance
Humm, somewhere in the Java application there must be a fork/exec or a spawn. What OS are you on? What do you need by "server mode"? Is it running as a daemon?
There are two modes in java to run your application, so i am using server mode.
Well yes the program is running as a daemon and i have no clue how multiple instances of it are running............