We have configured the CAS server on tomcat 6, with oracle coherence
clustering for the tickets. The registry job gets kicked every few minutes
and cleans up the expired TGTs. Over a period of time, the application
starts throwing java.lang.OutOfMemoryError: PermGen space exception.
Exception stack trace is given below. Can someone share their experience
with clustering & memory issue ?
_______________________________________________________________________________________
[2010-09-17 22:22:09 PDT] org.quartz.core.JobRunShell - ERROR: Job
DEFAULT.jobDetailTicketRegistryCleaner threw an unhandled Exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException:
Invocation of method 'clean' on target class [class $Proxy22] failed; nested
exception is java.lang.OutOfMemoryError: PermGen space
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.OutOfMemoryError: PermGen space
[2010-09-17 22:22:09 PDT] org.quartz.core.ErrorLogger - ERROR: Job
(DEFAULT.jobDetailTicketRegistryCleaner threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested
exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException:
Invocation of method 'clean' on target class [class $Proxy22] failed; nested
exception is java.lang.OutOfMemoryError: PermGen space]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException:
Invocation of method 'clean' on target class [class $Proxy22] failed; nested
exception is java.lang.OutOfMemoryError: PermGen space
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: java.lang.OutOfMemoryError: PermGen space
[2010-09-17 22:23:51 PDT] org.jasig.cas.services.DefaultServicesManagerImpl
- INFO: Reloading registered services.
_______________________________________________________________________________________
--
View this message in context:
http://jasig.275507.n4.nabble.com/registryTicketCleaner-throwing-java-lang-OutOfMemoryError-PermGen-space-tp2546369p2546369.html
Sent from the CAS Users mailing list archive at Nabble.com.
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user