Symptom
When trying to print a report using JRC results in the following error message:
"A communication error occurred, printing will be stopped."
Environment
- Crystal Reports 2008
- Java Reporting Component (JRC)
Resolution
- The following tags are missing in the web.xml file :
<servlet>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<url-pattern>/CrystalReportViewerHandler</url-pattern>
</servlet-mapping>
- Add the above entries to the web.xml file and save it.
- Execute the JRC application.
Keywords
Communication error, Printing will be stopped. , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem
Product
Crystal Reports 2008 V1