Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT RPC error with GWT(Could not initialize class org.eclipse.birt.chart.reportitem.i18n.Messages)
BIRT RPC error with GWT [message #658785] Wed, 09 March 2011 13:48 Go to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
I would much appreciate any help with the following error I get when I make an RPC call from the client side to my server side GWT application.
[WARN] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.gwt.ReportGeneration.client.ReportGenerationService.getR eport(java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.birt.chart.reportitem.i18n.Messages
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure( RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(R PC.java:581)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processC all(RemoteServiceServlet.java:207)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processP ost(RemoteServiceServlet.java:243)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet. doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHa ndler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext. java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLo gHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(Http Connection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThr eadPool.java:488)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.birt.chart.reportitem.i18n.Messages
at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.valida te(ChartReportItemImpl.java:776)
at org.eclipse.birt.report.model.api.validators.ExtensionValida tor.doValidate(ExtensionValidator.java:142)
at org.eclipse.birt.report.model.api.validators.ExtensionValida tor.validate(ExtensionValidator.java:81)
at org.eclipse.birt.report.model.validators.ValidationNode.perf orm(ValidationNode.java:133)
at org.eclipse.birt.report.model.validators.ValidationExecutor. perform(ValidationExecutor.java:79)
at org.eclipse.birt.report.model.core.DesignElement.validateWit hContents(DesignElement.java:2121)
at org.eclipse.birt.report.model.core.DesignElement.validateWit hContents(DesignElement.java:2130)
at org.eclipse.birt.report.model.core.Module.semanticCheck(Modu le.java:1168)
at org.eclipse.birt.report.model.core.LayoutModuleImpl.semantic Check(LayoutModuleImpl.java:301)
at org.eclipse.birt.report.model.core.LayoutModuleImpl.doClone( LayoutModuleImpl.java:1071)
at org.eclipse.birt.report.model.elements.ReportDesignImpl.doCl one(ReportDesignImpl.java:309)
at org.eclipse.birt.report.model.api.ModuleHandle.copy(ModuleHa ndle.java:3050)
at org.eclipse.birt.report.engine.api.impl.ReportRunnable.clone Runnable(ReportRunnable.java:132)
at org.eclipse.birt.report.engine.api.impl.EngineTask.prepareDe sign(EngineTask.java:1743)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:99)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:77)
at com.gwt.ReportGeneration.server.ExecuteReport.runReport(Exec uteReport.java:164)
at com.gwt.ReportGeneration.server.ReportGenerationServiceImpl. getReport(ReportGenerationServiceImpl.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(R PC.java:562)
... 22 more
[ERROR] 500 - POST /com.gwt.ReportGeneration.ReportGeneration/report (127.0.0.1) 57 bytes
Request headers
Host: 127.0.0.1:8888
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q= 0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://127.0.0.1:8888/ReportGeneration.html?gwt.codesvr=127. 0.0.1:9997
Cache-Control: no-cache
X-GWT-Permutation: HostedMode
X-GWT-Module-Base: http://127.0.0.1:8888/com.gwt.ReportGeneration.ReportGenerat ion/
Content-Type: text/x-gwt-rpc; charset=utf-8
Content-Length: 212
Pragma: no-cache
Response headers
Content-Type: text/plain
com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.o nResponseReceived(RequestCallbackAdapter.java:192)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Re quest.java:287)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChan ge(RequestBuilder.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor. java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatc h.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSes sionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessage sWhileWaitingForReturn(BrowserChannelServer.java:326)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascri pt(BrowserChannelServer.java:207)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpa ceOOPHM.java:126)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpac e.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(Modu leSpace.java:269)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(J avaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor. java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatc h.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSes sionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessage s(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnect ion(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserCha nnelServer.java:352)
at java.lang.Thread.run(Thread.java:619)

Also, if anyone can help me figure out how to force the entire stack trace to be printed that would be great. Either that or figure out a way to get the stack trace printed to a file so I can review the entire error. I have already looked at the following error 223023 on bugzilla at Link but my problem is still unresolved. Any insight and help would be greatly appreciated.
Re: BIRT RPC error with GWT [message #658987 is a reply to message #658785] Thu, 10 March 2011 10:55 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

On the server side app do you have all the BIRT runtime download's
birt-runtime-version\ReportEngine\lib in the classpath? In your code
you can set a log level and fine using

EngineConfig ec = new EngineConfig();
config.setLogConfig("c:/test/logs", Level.FINEST);
config.setLogMaxBackupIndex(1);
config.setLogRollingSize(10000);

Jason

On 3/9/2011 1:48 PM, azuniga wrote:
> I would much appreciate any help with the following error I get when I
> make an RPC call from the client side to my server side GWT application.
> [WARN] Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract java.lang.String
> com.gwt.ReportGeneration.client.ReportGenerationService.getR
> eport(java.lang.String)' threw an unexpected exception:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.eclipse.birt.chart.reportitem.i18n.Messages
> at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(
> RPC.java:378)
> at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(R
> PC.java:581)
> at com.google.gwt.user.server.rpc.RemoteServiceServlet.processC
> all(RemoteServiceServlet.java:207)
> at com.google.gwt.user.server.rpc.RemoteServiceServlet.processP
> ost(RemoteServiceServlet.java:243)
> at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.
> doPost(AbstractRemoteServiceServlet.java:62)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl
> er.java:362)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHa
> ndler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl
> er.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl
> er.java:729)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext. java:405)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp
> er.java:152)
> at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLo
> gHandler.java:49)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp
> er.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
> at org.mortbay.jetty.HttpConnection$RequestHandler.content(Http
> Connection.java:843)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn
> dPoint.java:395)
> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThr
> eadPool.java:488)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> org.eclipse.birt.chart.reportitem.i18n.Messages
> at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.valida
> te(ChartReportItemImpl.java:776)
> at org.eclipse.birt.report.model.api.validators.ExtensionValida
> tor.doValidate(ExtensionValidator.java:142)
> at org.eclipse.birt.report.model.api.validators.ExtensionValida
> tor.validate(ExtensionValidator.java:81)
> at org.eclipse.birt.report.model.validators.ValidationNode.perf
> orm(ValidationNode.java:133)
> at org.eclipse.birt.report.model.validators.ValidationExecutor.
> perform(ValidationExecutor.java:79)
> at org.eclipse.birt.report.model.core.DesignElement.validateWit
> hContents(DesignElement.java:2121)
> at org.eclipse.birt.report.model.core.DesignElement.validateWit
> hContents(DesignElement.java:2130)
> at org.eclipse.birt.report.model.core.Module.semanticCheck(Modu
> le.java:1168)
> at org.eclipse.birt.report.model.core.LayoutModuleImpl.semantic
> Check(LayoutModuleImpl.java:301)
> at org.eclipse.birt.report.model.core.LayoutModuleImpl.doClone(
> LayoutModuleImpl.java:1071)
> at org.eclipse.birt.report.model.elements.ReportDesignImpl.doCl
> one(ReportDesignImpl.java:309)
> at org.eclipse.birt.report.model.api.ModuleHandle.copy(ModuleHa
> ndle.java:3050)
> at org.eclipse.birt.report.engine.api.impl.ReportRunnable.clone
> Runnable(ReportRunnable.java:132)
> at org.eclipse.birt.report.engine.api.impl.EngineTask.prepareDe
> sign(EngineTask.java:1743)
> at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR
> un(RunAndRenderTask.java:99)
> at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run
> (RunAndRenderTask.java:77)
> at com.gwt.ReportGeneration.server.ExecuteReport.runReport(Exec
> uteReport.java:164)
> at com.gwt.ReportGeneration.server.ReportGenerationServiceImpl.
> getReport(ReportGenerationServiceImpl.java:31)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(R
> PC.java:562)
> ... 22 more
> [ERROR] 500 - POST /com.gwt.ReportGeneration.ReportGeneration/report
> (127.0.0.1) 57 bytes
> Request headers
> Host: 127.0.0.1:8888
> User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US;
> rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q= 0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://127.0.0.1:8888/ReportGeneration.html?gwt.codesvr=127. 0.0.1:9997
> Cache-Control: no-cache
> X-GWT-Permutation: HostedMode
> X-GWT-Module-Base:
> http://127.0.0.1:8888/com.gwt.ReportGeneration.ReportGenerat ion/
> Content-Type: text/x-gwt-rpc; charset=utf-8
> Content-Length: 212
> Pragma: no-cache
> Response headers
> Content-Type: text/plain
> com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed
> on the server; see server log for details
> at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.o
> nResponseReceived(RequestCallbackAdapter.java:192)
> at com.google.gwt.http.client.Request.fireOnResponseReceived(Re
> quest.java:287)
> at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChan
> ge(RequestBuilder.java:395)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor. java:103)
> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatc h.java:71)
> at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSes
> sionHandler.java:157)
> at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessage
> sWhileWaitingForReturn(BrowserChannelServer.java:326)
> at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascri
> pt(BrowserChannelServer.java:207)
> at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpa
> ceOOPHM.java:126)
> at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpac e.java:561)
> at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(Modu
> leSpace.java:269)
> at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(J
> avaScriptHost.java:91)
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
> at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor. java:103)
> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatc h.java:71)
> at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSes
> sionHandler.java:157)
> at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessage
> s(BrowserChannelServer.java:281)
> at com.google.gwt.dev.shell.BrowserChannelServer.processConnect
> ion(BrowserChannelServer.java:531)
> at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserCha
> nnelServer.java:352)
> at java.lang.Thread.run(Thread.java:619)
>
> Also, if anyone can help me figure out how to force the entire stack
> trace to be printed that would be great. Either that or figure out a way
> to get the stack trace printed to a file so I can review the entire
> error. I have already looked at the following error 223023 on bugzilla
> at https://bugs.eclipse.org/bugs/show_bug.cgi but my problem is still
> unresolved. Any insight and help would be greatly appreciated.
Re: BIRT RPC error with GWT [message #659063 is a reply to message #658987] Thu, 10 March 2011 15:30 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
I made sure that all the jars are in the classpath. I also tried copying all those jars into the war>web-inf>lib directory but no success. I still get the same error. I set the log level to finest and copied the log file here.
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.api.impl.ReportEngine <init>
FINE: ReportEngine created. EngineConfig: EngineConfig: org.eclipse.birt.report.engine.api.EngineConfig.scriptObject s={};BIRT_HOME=/goesrapps1/birt-runtime-2_6_1/ReportEngine;l ogLevel=FINEST;PLATFORM_CONTEXT=org.eclipse.birt.core.framework.PlatformFileContext@12fe1670 ;org.eclipse.birt.report.engine.api.EngineConfig.emitterConf igs={html=org.eclipse.birt.report.engine.api.HTMLEmitterConfig@67731ccd };logMaxBackupIndex=1;logDest=/nethome/azuniga/Desktop/Repor tGenerationLog;logRollingSize=10000;
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.reportitemGeneration
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadGenerationExtensionDefns
FINE: Load generation extension: Chart
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.reportitemPresentation
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadPresentationExtensionDefns
FINE: Load prsentation extension: Chart
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.reportitemQuery
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadQueryExtensionDefns
FINE: Load query extension: Chart
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.emitters
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load xls emitter org.eclipse.birt.report.engine.emitter.prototype.excel
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load ppt emitter org.eclipse.birt.report.engine.emitter.ppt
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load html emitter org.eclipse.birt.report.engine.emitter.html
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load pdf emitter org.eclipse.birt.report.engine.emitter.pdf
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load postscript emitter org.eclipse.birt.report.engine.emitter.postscript
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadEmitterExtensionDefns
FINE: Load doc emitter org.eclipse.birt.report.engine.emitter.word
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.reportEventHandler
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.reportItemPreparation
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.dataExtraction
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadDataExtractionExtensions
FINE: Load data extraction extension: org.eclipse.birt.report.engine.dataextraction.csv
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager getExtensions
FINE: Start load extension point: org.eclipse.birt.report.engine.extendedItemFactory
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadExtendedItems
FINE: Load extendedItem extension: Crosstab
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadExtendedItems
FINE: Load extendedItem extension: CrosstabCell
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.extension.internal.ExtensionM anager loadExtendedItems
FINE: Load extendedItem extension: AggregationCell
Mar 10, 2011 7:06:58 PM org.eclipse.birt.report.engine.api.impl.ReportEngine openReportDesign
FINE: ReportEngine.openReportDesign: designName=/nethome/azuniga/workspace/PQSample1/product_attr ibute.rptdesign
Mar 10, 2011 7:06:59 PM org.eclipse.birt.report.engine.api.impl.ReportEngine createRunAndRenderTask
FINE: ReportEngine.createRunAndRenderTask: reportRunnable=org.eclipse.birt.report.engine.api.impl.ReportRunnable@2404b1af
Mar 10, 2011 7:06:59 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=
Mar 10, 2011 7:06:59 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=HTML_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.HTMLRenderContext@4dc756a8;
Mar 10, 2011 7:07:00 PM org.eclipse.birt.report.engine.api.impl.EngineTask loggerParamters
FINE: Running the report with paramters:


I'm still trying to resolve this issue.
Re: BIRT RPC error with GWT [message #659230 is a reply to message #659063] Fri, 11 March 2011 10:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Is your server side servlet setup similar as described here:
http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1

Jason


On 3/10/2011 3:30 PM, azuniga wrote:
> I made sure that all the jars are in the classpath. I also tried copying
> all those jars into the war>web-inf>lib directory but no success. I
> still get the same error. I set the log level to finest and copied the
> log file here. Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine <init>
> FINE: ReportEngine created. EngineConfig: EngineConfig:
> org.eclipse.birt.report.engine.api.EngineConfig.scriptObject
> s={};BIRT_HOME=/goesrapps1/birt-runtime-2_6_1/ReportEngine;l
> ogLevel=FINEST;PLATFORM_CONTEXT=mailto:org.eclipse.birt.core.framework.PlatformFileContext@12fe1670
> ;org.eclipse.birt.report.engine.api.EngineConfig.emitterConf
> igs={html=mailto:org.eclipse.birt.report.engine.api.HTMLEmitterConfig@67731ccd
> };logMaxBackupIndex=1;logDest=/nethome/azuniga/Desktop/Repor
> tGenerationLog;logRollingSize=10000; Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.reportitemGeneration
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadGenerationExtensionDefns
> FINE: Load generation extension: Chart
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.reportitemPresentation
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadPresentationExtensionDefns
> FINE: Load prsentation extension: Chart
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.reportitemQuery
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadQueryExtensionDefns
> FINE: Load query extension: Chart
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point: org.eclipse.birt.report.engine.emitters
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load xls emitter
> org.eclipse.birt.report.engine.emitter.prototype.excel
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load ppt emitter org.eclipse.birt.report.engine.emitter.ppt
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load html emitter org.eclipse.birt.report.engine.emitter.html
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load pdf emitter org.eclipse.birt.report.engine.emitter.pdf
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load postscript emitter
> org.eclipse.birt.report.engine.emitter.postscript
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadEmitterExtensionDefns
> FINE: Load doc emitter org.eclipse.birt.report.engine.emitter.word
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.reportEventHandler
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.reportItemPreparation
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.dataExtraction
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadDataExtractionExtensions
> FINE: Load data extraction extension:
> org.eclipse.birt.report.engine.dataextraction.csv
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> getExtensions
> FINE: Start load extension point:
> org.eclipse.birt.report.engine.extendedItemFactory
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadExtendedItems
> FINE: Load extendedItem extension: Crosstab
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadExtendedItems
> FINE: Load extendedItem extension: CrosstabCell
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.extension.internal.ExtensionM anager
> loadExtendedItems
> FINE: Load extendedItem extension: AggregationCell
> Mar 10, 2011 7:06:58 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine openReportDesign
> FINE: ReportEngine.openReportDesign:
> designName=/nethome/azuniga/workspace/PQSample1/product_attr
> ibute.rptdesign Mar 10, 2011 7:06:59 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine createRunAndRenderTask
> FINE: ReportEngine.createRunAndRenderTask:
> reportRunnable=mailto:org.eclipse.birt.report.engine.api.impl.ReportRunnable@2404b1af
> Mar 10, 2011 7:06:59 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext: context=
> Mar 10, 2011 7:06:59 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=HTML_RENDER_CONTEXT=mailto:org.eclipse.birt.report.engine.api.HTMLRenderContext@4dc756a8;
>
> Mar 10, 2011 7:07:00 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask loggerParamters
> FINE: Running the report with paramters:
>
> I'm still trying to resolve this issue.
Re: BIRT RPC error with GWT [message #659571 is a reply to message #659230] Mon, 14 March 2011 11:45 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
I'm testing my webapp in development mode and GWT has Jetty built in. I don't know how to configure the built in Jetty instance so as to satisfy the servlet example but I did however create the directories under the war>web-inf directory and added platform directory as well as the plugins and configuration directory as stated in the example. That didn't work and I still get the same error.
Re: BIRT RPC error with GWT [message #659738 is a reply to message #659230] Tue, 15 March 2011 08:57 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
I tried to recreate the issue so I can share a small sample since I can't share my entire project by starting a new project. It turns out I'm not having the same issue and it probably has something to do with the warnings that I get about jars it couldn't find. I'm not going to worry about the warnings for now, I'll just keep trying to integrate my report into gwt. However, I am still interested in solving the problem from this original post just in case it happens again. These are the warnings I get:
[WARN] Server class 'org.eclipse.birt.report.engine.api.EngineException' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/engineap i.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.core.exception.BirtException' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/coreapi. jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.mozilla.javascript.Context' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/js.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.report.engine.api.script.element.IScriptAP IFactory' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/scriptap i.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'com.ibm.icu.text.SimpleDateFormat' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/gwt-2.1.0/gwt-dev.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.report.model.api.DesignFileException' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/modelapi .jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.chart.computation.IChartComputationFactory ' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/charteng ineapi.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.chart.reportitem.api.ChartItemUtil' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/chartite mapi.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.data.engine.api.aggregation.IAggrFunction' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/dteapi.j ar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.emf.ecore.EObject' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli pse.emf.ecore_2.6.1.v20100914-1218.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.emf.common.notify.Notifier' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli pse.emf.common_2.6.0.v20100914-1218.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.report.item.crosstab.core.de.CrosstabItemF actory' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/crosstab coreapi.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli pse.emf.ecore.xmi_2.5.0.v20100521-1846.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.chart.examples.radar.model.RadarModelLoade r' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/chartexa mplescoreapi.jar' to the web app classpath for this session
For additional info see: file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.eclipse.birt.report.data.adapter.api.AdapterException' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/dataadap terapi.jar' to the web app classpath for this session
Re: BIRT RPC error with GWT [message #659768 is a reply to message #659738] Tue, 15 March 2011 10:02 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

It looks like you added all the birt jars to the system classpath.
It would be nice if you could share a sample project so we could look at
how you are configuring BIRT.

Jason

On 3/15/2011 8:57 AM, azuniga wrote:
> I tried to recreate the issue so I can share a small sample since I
> can't share my entire project by starting a new project. It turns out
> I'm not having the same issue and it probably has something to do with
> the warnings that I get about jars it couldn't find. I'm not going to
> worry about the warnings for now, I'll just keep trying to integrate my
> report into gwt. However, I am still interested in solving the problem
> from this original post just in case it happens again. These are the
> warnings I get:
> [WARN] Server class 'org.eclipse.birt.report.engine.api.EngineException'
> could not be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/engineap i.jar' to
> the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'org.eclipse.birt.core.exception.BirtException'
> could not be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/coreapi. jar' to the
> web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'org.mozilla.javascript.Context' could not be found
> in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/js.jar' to the web
> app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.report.engine.api.script.element.IScriptAP IFactory'
> could not be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/scriptap i.jar' to
> the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'com.ibm.icu.text.SimpleDateFormat' could not be
> found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry 'file:/myfolder/gwt-2.1.0/gwt-dev.jar' to
> the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.report.model.api.DesignFileException' could not be
> found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/modelapi .jar' to
> the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.chart.computation.IChartComputationFactory ' could not
> be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/charteng ineapi.jar'
> to the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.chart.reportitem.api.ChartItemUtil' could not be found
> in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/chartite mapi.jar'
> to the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.data.engine.api.aggregation.IAggrFunction' could not
> be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/dteapi.j ar' to the
> web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'org.eclipse.emf.ecore.EObject' could not be found
> in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli
> pse.emf.ecore_2.6.1.v20100914-1218.jar' to the web app classpath for
> this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'org.eclipse.emf.common.notify.Notifier' could not
> be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli
> pse.emf.common_2.6.0.v20100914-1218.jar' to the web app classpath for
> this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.report.item.crosstab.core.de.CrosstabItemF actory'
> could not be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/crosstab
> coreapi.jar' to the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl' could not be
> found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/org.ecli
> pse.emf.ecore.xmi_2.5.0.v20100521-1846.jar' to the web app classpath for
> this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.chart.examples.radar.model.RadarModelLoade r' could
> not be found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/chartexa
> mplescoreapi.jar' to the web app classpath for this session
> For additional info see:
> file:/myfolder/gwt-2.1.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class
> 'org.eclipse.birt.report.data.adapter.api.AdapterException' could not be
> found in the web app, but was found on the system classpath
> [WARN] Adding classpath entry
> 'file:/myfolder/birt-runtime-2_6_1/ReportEngine/lib/dataadap terapi.jar'
> to the web app classpath for this session
Re: BIRT RPC error with GWT [message #659785 is a reply to message #659768] Tue, 15 March 2011 11:38 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
To remove those warnings I just added the necessary jar files to the war>web-ing>lib folder. I can't post my entire source code but I will write something small and simple when I get the chance. I'd like to have the birt-gwt integration working first. I currently can display the html portion of the report in gwt, no i have to figure out how to get the images, charts and graphs from the report to the client in gwt and display it within the web app
Re: BIRT RPC error with GWT [message #659999 is a reply to message #659785] Wed, 16 March 2011 10:02 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

For images/charts make sure you are using HTMLServerImageHandler in the
HTMLOptions ie

HTMLRenderOption options = new HTMLRenderOption();
options.setImageHandler(new HTMLServerImageHandler());
//set image directory some where in the web app. this is where the
//images are written
options.setImageDirectory(imageDirectory);
//set a base url for that read the images
options.setBaseImageURL("http://localhost:8080/mybirtservlet/imagesdir");

Jason

On 3/15/2011 11:38 AM, azuniga wrote:
> To remove those warnings I just added the necessary jar files to the
> war>web-ing>lib folder. I can't post my entire source code but I will
> write something small and simple when I get the chance. I'd like to have
> the birt-gwt integration working first. I currently can display the html
> portion of the report in gwt, no i have to figure out how to get the
> images, charts and graphs from the report to the client in gwt and
> display it within the web app
Re: BIRT RPC error with GWT [message #660229 is a reply to message #659999] Thu, 17 March 2011 09:19 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
So if I set the image directory to somewhere in the webapp, will these images be stored server side or client side? If they are server side, then when the html is read by gwt webapp after returning it via RPC, will it have access to display the charts? I guess if time permits I will implement this, but at the moment what I did was write a servlet doGet and send the image to the client side, then create an image widget with that image/chart. Thanks for all the help.
Re: BIRT RPC error with GWT [message #660258 is a reply to message #660229] Thu, 17 March 2011 11:15 Go to previous messageGo to next message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
I guess I could create an Image widget based on that url. I don't know yet though, i'll see how it goes.
Re: BIRT RPC error with GWT [message #660279 is a reply to message #660258] Thu, 17 March 2011 11:43 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The way you did it does not sound bad. I would love to see what this
app looks like.

On 3/17/2011 11:15 AM, azuniga wrote:
> I guess I could create an Image widget based on that url. I don't know
> yet though, i'll see how it goes.
Re: BIRT RPC error with GWT [message #660482 is a reply to message #660279] Fri, 18 March 2011 11:19 Go to previous message
Olly   is currently offline Olly
Messages: 61
Registered: June 2010
Location: Florida
Member
When I'm done I'll try and get a sample up.
Previous Topic:Dropping JDBC Classes
Next Topic:Preprocessing table group data
Goto Forum:
  


Current Time: Sat Aug 30 04:42:43 EDT 2014

Powered by FUDForum. Page generated in 0.07348 seconds