fix gui thread bug. remove following code.
((DefaultCaret) cloudAppLogView.getCaret()).setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE);
Cloud App - R Server Complete
Repactoring and deployment