<div>Hi,</div>
<div>In my application ,I provide a interface which can called by users to execute some geo process through the web,for example,user send a map,and a width to the server ,then the server can do a buffer operation using the grass(the server make the grass commond) according to the parameter from client .</div>
<div>But I found that if user give a invalide parameter, then the grass commond maybe error, I can get the error message in the log, but my web server (tomcat)shut down itself. </div>
<div>Any one have encountered the same suitation?</div>
<div> </div>
<div>Annex is my java class to set up the grass environment. I hope some can check it and identify it if any problem exist.</div>
<div>The GrassMain is the main class to set up the environment,the GrassThread is to get the output result , the GrassThreadError is to get the error message if so.</div>
<div>Thanks!</div>