Interfarce handle exception
Fixed access denied problem when starting server.

Add policy file with granted permissions
Edit java policy to grant all permissions.
Add main server.