Report View throwing exception on Fedora [message #247322] |
Wed, 11 July 2007 09:09 |
Eclipse User |
|
|
|
Originally posted by: stuart.roe.ovic.co.uk
Just downloaded Birt V2.2 runtime onto my Fedora box. Copied WebViewerExample
folder over to Tomcat (V5.5) webapps/viewer. I successfully access the 'BIRT
viewer has been installed.' page but when I click the View Example click I get
an exception (shown below).
Anyone got any ideas about why the report.data.adapter.api.DataSessionContext
class can't be found?
BTW: I have tried removing the WebViewerExample folder and using the birt.war
file, but that shows exactly the same problem. I'm back to using the copy of
WebViewerExample.
Stuart.
Exception trace from tomcat logging:
SEVERE: Error happened while running the report.
java.lang.NoClassDefFoundError:
org.eclipse.birt.report.data.adapter.api.DataSessionContext
at java.lang.Class.initializeClass(libgcj.so.7rh)
at
org.eclipse.birt.report.engine.data.dte.DataGenerationEngine . <init>(DataGenerationEngine.java:59)
at
org.eclipse.birt.report.engine.data.DataEngineFactory.create DataEngine(DataEngineFactory.java:84)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.ope nDataEngine(ExecutionContext.java:706)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:199)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:87)
at org.eclipse.birt.report.service.ReportEngineService.runRepor t(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.runR eport(Unknown Source)
at
org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(Unknown
Source)
at
org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(Unknown
Source)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(Unknown
Source)
at
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(Unknown
Source)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(Unknown
Source)
at
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-a pi-5.5.23.jar.so)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-a pi-5.5.23.jar.so)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(catalina-5.5.23.jar.so)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(cat alina-5.5.23.jar.so)
at
org.apache.catalina.core.StandardWrapperValve.invoke(catalin a-5.5.23.jar.so)
at
org.apache.catalina.core.StandardContextValve.invoke(catalin a-5.5.23.jar.so)
at org.apache.catalina.core.StandardHostValve.invoke(catalina-5 .5.23.jar.so)
at org.apache.catalina.valves.ErrorReportValve.invoke(catalina- 5.5.23.jar.so)
at org.apache.catalina.core.StandardEngineValve.invoke(catalina -5.5.23.jar.so)
at org.apache.catalina.connector.CoyoteAdapter.service(catalina -5.5.23.jar.so)
at org.apache.coyote.http11.Http11Processor.process(tomcat-http -5.5.23.jar.so)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(tomcat-http-5.5.23.jar.so)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tom cat-util-5.5.23.jar.so)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( tomcat-util-5.5.23.jar.so)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(tomcat-util-5.5.23.jar.so)
at java.lang.Thread.run(libgcj.so.7rh)
|
|
|
|
|
Re: Report View throwing exception on Fedora (Fixed) [message #247591 is a reply to message #247470] |
Thu, 12 July 2007 12:29 |
Eclipse User |
|
|
|
Originally posted by: stuart.roe.ovic.co.uk
Snjeza,
Thanks for the response.
You're right about it using GNU Java. When I was installing Tomcat via
Fedora's package manager (yum) was being installed it as a dependency. yum was
reconfiguring the environment to point to the GNU java in preference to the Sun.
To fix it, I removed the yum installed Tomcat and Gnujava and then manually
reinstalled Tomcat along with Sun Java. I have use appropriate 'alternatives'
package from jpackage.org to create the correct configuration and allow me to
select the Sun Java as default.
The example report now renders without errors.
Stuart.
|
|
|
Powered by
FUDForum. Page generated in 0.26734 seconds