Hi,
I have a java web service built on jax-ws. This web service is installed on a Unix server and runs as a background process. I start the process using the java command for the .jar file. However after running for sometime the service stops running automatically. It appears that either there is an error or some other process is l killing web service process. I do not have a way to say if the web service process stops because of an error. Could you please suggest how I can log errors that causes the service to stop in a java web service hosted on a Unix server.
System.out stream which is stdout. Therefore if you put a '>' in your command line that invokes the background process , you can specify a file destination to capture the output.
I'm being intentionally ambiguous here because this is common system knowledge which you should already know. Use Google if you need help, or take a class in Java at your local community college for more information.