Hi Ajaz,
Error description is not detailed enough to provide the solution. You need to post the error message what you got in the server log files. This should contain specific details about the issue.
Not sure but issue may be related to JVM settings. if it is so, server log file will provide the error description.