Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Report Viewer error
Report Viewer error [message #364967] Wed, 03 September 2008 12:15 Go to next message
Dave Venus is currently offline 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 #364968 is a reply to message #364967] Wed, 03 September 2008 12:41 Go to previous messageGo to next message
Dave Venus is currently offline Dave Venus
Messages: 26
Registered: July 2009
Junior Member
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 #364970 is a reply to message #364968] Wed, 03 September 2008 14:07 Go to previous messageGo to next message
Eclipse User
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 #364971 is a reply to message #364970] Wed, 03 September 2008 15:23 Go to previous messageGo to next message
Dave Venus is currently offline Dave Venus
Messages: 26
Registered: July 2009
Junior Member
Hi!

Thanks for the quick reply!

Sort of... When I use run instead of frameset, the report runs but I don't
get any of the viewer? I only get the report. No buttons, etc. When I run
the test1 report I do get prompted for the values but, again only get the
report and not any of the viewer pieces.

Appreciate your help!

Dave Venus
Re: Report Viewer error [message #364972 is a reply to message #364970] Wed, 03 September 2008 15:46 Go to previous messageGo to next message
Dave Venus is currently offline Dave Venus
Messages: 26
Registered: July 2009
Junior Member
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 #364976 is a reply to message #364972] Wed, 03 September 2008 19:09 Go to previous messageGo to next message
Eclipse User
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 Go to previous message
Dave Venus is currently offline 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
Previous Topic:rptconfig update in webviewer
Next Topic:As per data availability display table or hide
Goto Forum:
  


Current Time: Sat May 18 13:21:40 EDT 2013

Powered by FUDForum. Page generated in 0.02090 seconds