|
Re: BIRT 3.7 emitter dependencies [message #739496 is a reply to message #738071] |
Mon, 17 October 2011 14:36 |
|
Open the debug perspective and choose Run->Debug Configurations.
Create a new Eclipse Application and choose the Run a product:
org.eclipse.platform.ide radial( see screen1.png in the attached).
Next select the Arguments tab( see screen2.png). Make sure to add the
-XX:MaxPermSize=256M parameter to the VM Arguments. Choose the Plug-ins
tab and select Launch with: all workspace and enabled target plug-in
(screen2.png).
Click debug.
Keep in mind this will only work if you are developing your plugin with
the Eclipse reporting or birt all in one download.
Jason
On 10/15/2011 4:19 PM, gochilla wrote:
> Hi,
> I am currently working on writing a custom emitter for BIRT version 3.7.
> I am able to deploy the plugin, but when I try to test it I run into
> problems
>
> Step 1: Plug-In Project->Run As->Eclipse Application
> Step 2 (in started Eclipse): Select example Report
> Step 3: Run->View Report->As MYFORMAT
>
> I get the following exception:
>
> org.eclipse.birt.report.service.api.ReportServiceException: Report
> engine fails to initialize MYFORMAT emitter, please make sure required
> libraries for this emitter are installed.
>
> AxisFault
> faultCode: {http: / /
> schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode: faultString:
> org.eclipse.birt.report.service.api.ReportServiceException: Report
> engine fails to initialize MYFORMAT emitter, please make sure required
> libraries for this emitter are installed.
> faultActor: faultNode: faultDetail: {http: / /
> xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException:
> Report engine fails to initialize MYFORMAT emitter, please make sure
> required libraries for this emitter are installed.
> at
> org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1107)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:935)
>
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
>
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
>
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
>
> at
> org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318)
>
> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:76)
>
> at
> org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(BirtEngineServlet.java:120)
>
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:185)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
>
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)
>
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>
> at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
> Caused by: org.eclipse.birt.report.engine.api.EngineException: Report
> engine fails to initialize ExtJS emitter, please make sure required
> libraries for this emitter are installed.
> at
> org.eclipse.birt.report.engine.api.impl.EngineTask.createContentEmitter(EngineTask.java:1593)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:105)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:929)
>
> ... 30 more
>
>
> I can't seem to find example emitter projects for the 3.7 version. If
> anyone could help me it would be greatly appreciated. I just need the
> right plugin-dependencies...
>
> Greetings
>
> PS: I changed the axis links, because the forum wont let me post if i don't
-
Attachment: screens.zip
(Size: 306.97KB, Downloaded 351 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03889 seconds