Quantcast
Viewing all articles
Browse latest Browse all 5661

Crystal Reports SDK \ Unable to find CrystalReportViewerHandler

Hello there!

 

I'm getting the following error trying to implement Crystal Reports in Liferay 6.2 GA 1 (Java Tomcat 7).

 

Saddly I got the following error:

 

POST http://localhost:8080/CrystalReportViewerHandler 404 (No Encontrado) - Not Found


I've achieved to render the first page but when I try to go to the Next Page or Print the error appears.

 

Searching on the web, I found that I should correct the web.xml.


First question... Wich XML?

The located in Portlet \  docroot \ WEB-INF \ web.xml

or

The located directly on the Server C:\liferay_portal_v2\tomcat-7.0.42\webapps\ROOT\WEB-INF\web.xml.


This is the web.xml content:


<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">  <servlet-mapping>  <servlet-name>CrystalReportViewerServlet</servlet-name>  <url-pattern>/CrystalReportViewerHandler</url-pattern>  </servlet-mapping>  <servlet>  <servlet-name>CrystalReportViewerServlet</servlet-name>  <servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>  </servlet>  <context-param>  <param-name>crystal_image_uri</param-name>  <param-value>/crystalreportviewers</param-value>  </context-param>  <context-param>  <param-name>crystal_servlet_uri</param-name>  <param-value>/CrystalReportViewerHandler</param-value>  </context-param>  <context-param>  <param-name>crystal_image_use_relative</param-name>  <param-value>webapp</param-value>  </context-param>  <context-param>    <param-name>crystal_exception_info</param-name>    <param-value>long</param-value>    </context-param></web-app>

I used the last Crystal Reports Runtime (SAP Crystal Reports, version for Eclipse - Downloads), also I used the following resource (The Low-Cost Solution for Serving Crystal Reports from a Java Server) to achive to render the Report.

 

By the way, I¿m using Crystal Reports XI.

 

What can I do to have a fully funcionality!?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 5661

Trending Articles