KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: shirin on June 25, 2008, 05:36:56 am

Title: Konakart Admin App Failur ??
Post by: shirin on June 25, 2008, 05:36:56 am
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

Title: Re: Konakart Admin App Failur ??
Post by: ming on June 25, 2008, 05:54:36 am
Clearly you need to allocate more memory.  Check your memory allocation settings for your tomcat 6 container.
Title: Re: Konakart Admin App Failur ??
Post by: ming on June 25, 2008, 06:10:06 am
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.
Title: Re: Konakart Admin App Failur ??
Post by: shirin on June 25, 2008, 06:33:18 am
Hi ming,

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

Again thanks.

Title: Re: Konakart Admin App Failur ??
Post by: shirin on June 25, 2008, 07:13:39 am
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.