I have solved the problem.
I searched the java.sun.com web site and found some bug fixes report. Bug
Id: 4755829 includes the solution of this problem.
If your java version is 1.2 and use the nohup command for running the
program as daemon like this "nohup java MyProg &", it is OK and does not
meet any problem.
But if you use the 1.4.x java version or greater than 1.3.1_03 java
releases, you do not use the nohup command for this task. For using nohup
command rightly, you must run command like this "nohup java -Xrs MyProg &",
important point "-Xrs" non-standart option. If you make this, it OK and no
problem.
Important note.
You can this bug page,
http://java.sun.com/j2se/1.3/ReleaseNotes.html , bug
id: 4755829.
"Fatih" <> wrote in message
news:c53cnf$2o3p34$...
> Hi,
>
> I have written a java socket server program. I want to run it as daemon on
> Unix even if I log out the system.
> I am using nohup command but when I logout the system, my java sockte
server
> program is down.
> Our Unix System OS is SunOS 5.9 .
>
> How can I run it as daemon which run every time even if I logout.
>
> Can you help me ?
> Anyone have some idea.
>
> Thanks in advance.
>
> Fatih
>
>