We ran into a problem recently in SAS Web Report Studio 3.1 where our web reports that contained graphs produced java errors while our table-only reports did not. Our platform is SAS Enterprise Business Intelligence Server 9.1.3 Service Pack 4 running Solaris 10 on Sun SPARC Servers. Our web server is Apache Tomcat 4.1.18. The error we received looked like this:
Error messages:There is a problem with the current page. Error Rendering the Report
Root Cause: java.lang.NoClassDefFoundError
I contacted SAS tech support and they had the answer instantly. When running in a headless environment (a server that does not have a display (monitor) attached to it), Tomcat requires the following option in its startup script:
Once I added the option to the Tomcat startup script and restarted Tomcat and SAS Remote Services, no more errors and we were getting our graph output in Web Report Studio again.