|
From: caifeng <not...@ho...> - 2011-03-25 17:21:12
|
Hi everyone, I have a problem need some help. It is not easy to google search for this problem for an answer. I did google it but no result. I wrote a Java program and use JSW to run it as a windows service. Everything goes okay. However, if I restart the server machine, the service which wraps my Java program also restarts, but without functioning at all! Open the service panel, I can see this Java program service has a "started" status. I believe it means the Java program is running. With careful observation, I find out this Java program is running but doing nothing. For example, the data in database is not read, not changed, not deleted. Then, I have to stop the service and restart the service. Then everything back to normal. My sus to it is that after the server machine reboots, the Java machine runs after the JSW? I am not sure. Does anybody has this problem before? Does anyone knows what is wrong and why? Thanks,F |