Skip to main content

Jsf application deployement in tomcat6

2 replies [Last post]
umeshrama
Offline
Joined: 2009-01-02
Points: 0

Dear Sir/Madam

I Have developed a JSF Web application
using NetBeans 6.1 and tomcat5 server.
it's working fine in tomcat5 server , while deploying the same
WAR file into the tomcat6 Server it gives an error
like..

Exception in thread
"ContainerBackgroundProcessor[StandardEngine[Catalina]]"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-6"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-9"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-4"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-10"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-7"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-5"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-2"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-3"
java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultQuartzScheduler_Worker-8"
java.lang.OutOfMemoryError: PermGen space
24 Apr, 2010 7:46:45 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8092
Java HotSpot(TM) Server VM warning: Exception java.lang.OutOfMemoryError
occurred dispatching signal SIGTERM to handler- the VM may need to be
forcibly terminated

is there any other configuration required for tomcat6
please help me, how to come out of this problems.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rogerk
Offline
Joined: 2004-05-06
Points: 0

Is this a large application (large number of classes)?
There are certainly ways to get around the out of memory problems:
http://stackoverflow.com/questions/88235/how-to-deal-with-java-lang-outo...
But it would be good if you could identify with some performance tool what is chewing up the memory.

umeshrama
Offline
Joined: 2009-01-02
Points: 0

I Got the Solution, unfortunately i have added jersey api to the my application
and removed this api from my application and extend the tomcat memory in JAVA_OPT
now its working.