Rapidserver WKS0130002 ProcessServer0 died with exit code 1

My “ProcessServer.0” in workflow Administrator is automatically dieing and starting. In result to that i am constantly receiving email from the system i.e. “rapid-server: [WKS.013.0002] ProcessServer.0 died with exit code -1.”

I have stoped it, restarted it manually but nothing solved the problem.

Can anybody guide me what to do next?

what do u have in error logs?

once I had similar Issue.I believe I set the following parameter in the classrv.properties to the ProcessServer parameter
-Djava.awt.headless=true
and It was resolved.