After installing JasperSoft 6.x, receive following error when accessing web interface: HTTP Status 404 - /jasperserver-pro type Status report message /jasperserver-pro description The requested resource is not available.

Document ID : KB000005231
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

After installing JasperSoft 6.x, receive following error when accessing web interface:

HTTP Status 404 - /jasperserver-pro

type Status report 

message /jasperserver-pro 

description The requested resource is not available. 

Similar error is seen within the <Jaspersoft_Install_Dir>\jasperreports-server-6.2.0\apache-tomcat\logs\tomcat-stdout.***.log

Caused by: 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 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly 
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly 

at net.sf.ehcache.config.Configuration.setupFor(Configuration.java:236) 
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:403) 
at net.sf.ehcache.CacheManager.init(CacheManager.java:374) 
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339) 
at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:139) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)

Environment:
JasperReports Server 6.xWindows 2008 or Windows 2012
Cause:

1.  Not enough memory on the JasperReports Server

2.  Java -Xmx setting incorrectly configured

 

Resolution:

1.  Ensure that the server where JasperReports Server is installed has at least 16GB RAM as documented at https://docops.ca.com/ca-business-intelligence/6-2-0/en/installing/installing-ca-business-intelligence/prerequisites

2.  Ensure that Tomcat is configured correctly as documented at https://docops.ca.com/ca-business-intelligence/6-2-0/en/installing/installing-ca-business-intelligence/prerequisites

1. Search for 'Configure tomcat' from run window and select the Java Tab.

2. Set the values for Initial Memory Pool to 4096. Set the Maximum Memory Pool to 6144 and Thread Stack Size to 6144, in the Java Tab.

3. Append the settings in Java Options section.

-XX:PermSize=32m

                       -XX:+UseConcMarkSweepGC

                      -XX:+CMSClassUnloadingEnabled

                      -XX:MaxPermSize=512m

Additional Information: