Hi,
I have a J2EE application which uses Crystal Report for JBuilder 2005 to display reports developed with Crystal Report 10.
I put that on a Tomcat 5.5.9 server installed on a SLES 9 machine (Kernel version 2.6.5-7.97-smp).
When I call the jsp page wich calls the viewer, I get this exception the first time:
javax.servlet.ServletException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:174)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.---- Error code:-2147467259 Error code name:failed
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
-------------------------------------------
and this exception the second time:
javax.servlet.ServletException: sun/awt/motif/MToolkit
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:174)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: sun/awt/motif/MToolkit---- Error code:-2147467259 Error code name:failed
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can you help me?
I have a J2EE application which uses Crystal Report for JBuilder 2005 to display reports developed with Crystal Report 10.
I put that on a Tomcat 5.5.9 server installed on a SLES 9 machine (Kernel version 2.6.5-7.97-smp).
When I call the jsp page wich calls the viewer, I get this exception the first time:
javax.servlet.ServletException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:174)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.---- Error code:-2147467259 Error code name:failed
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
-------------------------------------------
and this exception the second time:
javax.servlet.ServletException: sun/awt/motif/MToolkit
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:174)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: sun/awt/motif/MToolkit---- Error code:-2147467259 Error code name:failed
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
org.apache.jsp.viewreport.myviewer_jsp._jspService(org.apache.jsp.viewreport.myviewer_jsp:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can you help me?