Jasper 8.1 not able to access
search cancel

Jasper 8.1 not able to access

book

Article ID: 265659

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

Getting following error while fail to access Jasper 8.1 report server

 ERROR ContextLoader,localhost-startStop-1:331 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.adhocEngineService' defined in ServletContext resource [/WEB-INF/applicationContext-adhoc.xml]: Cannot resolve reference to bean 'dataSetCache' while setting bean property 'dataSetCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSetCache' defined in ServletContext resource [/WEB-INF/applicationContext-datarator.xml]: Cannot resolve reference to bean 'adhocCache' while setting bean property 'adhocCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adhocCache' defined in ServletContext resource [/WEB-INF/applicationContext-datarator.xml]: Cannot resolve reference to bean 'adhocCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adhocCacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-datarator.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.config.InvalidConfigurationException: There are 6 errors in your configuration: 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly

Environment

Release :  Jasper 8.1

Cause

Increase Tomcat Java heap size 

Resolution

Change port number/permission and increase JVM size.