We have developed a chat application in JAVA and JSP where in users can communicate via this chat. We're facing a problem in AJAX calls to the server, sometimes it responds with 200 server codes (OK) and sometimes 500 server codes (Internal Server Error)
The chat app is present in tomcat and called from an iframe in PHP webpage and within iframe within Google Hangout APP.
I need help in resolving this issue asap. Only Experts need bid on this small but expert level project. For someone who is an expert who solved similar problem, it can be solved in one or two hours.