We are facing an issue on production that when ever a cluster is switched, database connection is lost.
So in order to simulate the same on local environment, we are trying to deploy the war on Jonas [windows environment ]
But When we deploy our applicaiton war on jonas, it gives up Java-heap exception given below:-
description The server encountered an internal error () that prevented it from fulfilling this request.
javax.servlet.ServletException: Java heap space
java.lang.OutOfMemoryError: Java heap space
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.
We also increased the size of JAVA HEAP by setting JAVA_OPTS in Jonas cofiguraiton file. but it did nt work, nd jonas has problam while startup only.
Wht is maximum size of war/ear that can be deployed on JONAS server?