| Report Viewer error [message #364967] |
Wed, 03 September 2008 12:15  |
Dave Venus Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hi!
We have BIRT deployed in a TOMCAT 5.5.26 (also .23) server. We are using
JDK/JRE 1.6.0_02. We are getting an error when we display the report
viewer:
"LINE 84 - OBJECT EXPECTED". This points to the "ONLOAD=javascript:init( )"
statement in the page. We do see the header and the buttons but no content.
The page that says BIRT is depliyed correctly works OK. What have we done
wrong?
The URL that is failing ends with:
/birt/frameset?__report=test.rptdesign&sample=my+paramet er.
Any suggestions, hints, help, etc. gratefully accepted!
Thanks for your time and help!
Dave Venus
|
|
|
|
| Re: Report Viewer error [message #364970 is a reply to message #364968] |
Wed, 03 September 2008 14:07   |
|
Originally posted by: jasonweathersby.alltel.net
Dave,
Does the /run mapping work instead of the /frameset mapping?
Jason
Dave Venus wrote:
> Hi!
>
> Forgot to say that this is BIRT 2.3 on a SUSE 9.X Linux server.
>
> Thanks again!
>
> Dave Venus
>
|
|
|
|
|
| Re: Report Viewer error [message #364976 is a reply to message #364972] |
Wed, 03 September 2008 19:09   |
|
Originally posted by: jasonweathersby.alltel.net
Dave,
The run mapping does not show the framework. That is executing
properly. The issue appears to be when the viewer is trying to
determine what server side printers are available.
To test this go into the web.xml for the application an change
<context-param>
<param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
<param-value>ON</param-value>
</context-param>
to
<context-param>
<param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
<param-value>OFF</param-value>
</context-param>
This may be a permission error. What permission level are you running
tomcat with?
Jason
Dave Venus wrote:
> Hi!
>
> In case this helps here are the beginnings of the stack traces from the
> various tomcat logs. There are snippets from 3 different log files that
> have the same date and time. None of the BIRT logs contain any data.
>
> localhost log:
>
> Sep 3, 2008 2:34:53 PM org.apache.catalina.core.ApplicationDispatcher
> invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.NoClassDefFoundError
> at
> sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintS erviceLookup.java:351)
>
> at
> javax.print.PrintServiceLookup.getServices(PrintServiceLooku p.java:359)
> at
> javax.print.PrintServiceLookup.lookupPrintServices(PrintServ iceLookup.java:105)
>
> at
> org.eclipse.birt.report.utility.PrintUtility.findPrinters(Pr intUtility.java:248)
>
> at
> org.apache.jsp.webcontent.birt.pages.dialog.PrintReportServe rDialogFragment_jsp._jspService(PrintReportServerDialogFragm ent_jsp.java:82)
>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:98)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:331)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:329)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
>
>
> ============================================================ =====================================
>
>
> catalina.log:
>
> Sep 3, 2008 2:34:18 PM
> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor
> processExtendedContent
> SEVERE: CREATE_EXTENSION_FAIL
> org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
> at
> org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:1121)
>
> at
> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:504)
>
> at
> org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngi ne.java:116)
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.prepareDeviceRenderer(ChartReportItemPresentationBase. java:994)
>
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.onRowSets(ChartReportItemPresen
>
>
> ============================================================ =====================================
>
>
> catalina.out:
>
> Sep 3, 2008 2:34:18 PM
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase
> isNoDataException
> SEVERE: ChartReportItemPresentationImpl: onRowSets(...) - failed
> Sep 3, 2008 2:34:18 PM
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase
> isNoDataException
> WARNING: Exception
> org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
> at
> org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:1121)
>
> at
> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:504)
>
> at
> org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngi ne.java:116)
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.prepareDeviceRenderer(ChartReportItemPresentationBase. java:994)
>
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.onRowSets(ChartReportItemPresentationBase.java:714)
>
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nProxy.onRowSets(ChartReportItemPresentationProxy.java:105)
>
> at
> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.processExtendedContent(LocalizedContentVisitor.java: 865)
>
>
> Thanks again for your time and help!
>
> Dave Venus
>
|
|
|
| Re: Report Viewer error [message #364989 is a reply to message #364976] |
Thu, 04 September 2008 11:15  |
Dave Venus Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hi!
You are the best! That fixed the problem! There are no printers set up on
the LINUX server. From the log I wondered if that was the problem but did
not know how to fix it.
Thanks again for your time and help!
Dave Venus
|
|
|
Powered by
FUDForum. Page generated in 0.02090 seconds