• Welcome to KonaKart Community Forum. Please login or sign up.
 

Konakart Admin App Failur ??

Started by shirin, June 25, 2008, 05:36:56 am

Previous topic - Next topic

shirin

Hi,

My konakart Admin and Client frequently crashed with normal operation. I am using Tomcat 6.0 and JDK 1.6.

I found Errors dialog at Konakart Admin :
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception


And then after not able to login into system
It will just give me error message at admin login window as below:
The Call failed on the server; see server log for details

I fill that this errors due to PermGen Error. Heap Size.

So, can you guide me how i can solve this.

Thanks


ming

June 25, 2008, 05:54:36 am #1 Last Edit: June 25, 2008, 06:05:42 am by ming
Clearly you need to allocate more memory.  Check your memory allocation settings for your tomcat 6 container.

ming

Try adjusting your memory settings to suit your requirements, for example:

CATALINA_OPTS="-Xmx256m -Xms256m -XX:PermSize=256m -XX:MaxPermSize=256m"

There's plenty of generic help on this on the Internet.

shirin

Hi ming,

Thanks for your  quick reply. I applied your suggested setting and hope it will work.

Again thanks.


shirin

Hi ming,

I googled for this issue and found one of solution provided by u.

But I also found some good issues., Like we can put Required JAR in tomcat/lib instead of our application/lib.
Also the DB connection if we done using JNDI than it will help to solve the above issue.

I tried to change the application lib jar to tomcat lib but i faced error.

So, can u put light on this issue.

Thanks for your further reply.