Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT 3.7.0
tgupta0614
I've migrated from Birt 2.3.2 to 3.7.0. I am getting the following exceptions whenever I want to view the reports in either html or pdf. It clearly worked in 2.3.2.
org.eclipse.birt.report.engine.api.UnsupportedFormatException: The output format html is not supported.
at org.eclipse.birt.report.engine.api.impl.EngineTask.setupRenderOption(EngineTask.java:1938)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:96)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
Am I missing something? How do I resolve this issue.
Thanks,
Find more posts tagged with
Comments
mwilliams
Are you certain you have all of the jars in your class/build path? Are you calling reports with the sample viewer or are you running them with java?
tgupta0614
Hi,
I'm using maven to pull the dependencies. Following are the dependencies.
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.core</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.report.item.crosstab.core</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.report.engine.script.javascript</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.data.aggregation</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.report.data.adapter</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.report.model</artifactId>
<version>${birt-build}</version>
</dependency>
- <dependency>
<groupId>org.ow2.orchestra.eclipse.birt</groupId>
<artifactId>org.ow2.orchestra.eclipse.birt.chart.engine</artifactId>
<version>${birt-build}</version>
Do you think I'm missing anything here. Also, I'm calling reports from java with the webapp deployed in tomcat.
Following jars are pulled:
org.ow2.orchestra.eclipse.birt.chart.engine-3.7.0.jar
org.ow2.orchestra.eclipse.birt.core-3.7.0.jar
org.ow2.orchestra.eclipse.birt.data-3.7.0.jar
org.ow2.orchestra.eclipse.birt.data.aggregation-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.data.adapter-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.engine-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.engine.fonts-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.engine.script.javascript-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.item.crosstab.core-3.7.0.jar
org.ow2.orchestra.eclipse.birt.report.model-3.7.0.jar
org.ow2.orchestra.eclipse.core.contenttype-3.4.100.jar
org.ow2.orchestra.eclipse.core.expressions-3.4.300.jar
org.ow2.orchestra.eclipse.core.filesystem-1.3.100.jar
org.ow2.orchestra.eclipse.core.jobs-3.5.100.jar
org.ow2.orchestra.eclipse.core.resources-3.7.100.jar
org.ow2.orchestra.eclipse.core.runtime-3.7.0.jar
org.ow2.orchestra.eclipse.core.runtime.compatibility.auth-3.2.200.jar
org.ow2.orchestra.eclipse.datatools.connectivity-1.2.2.jar
org.ow2.orchestra.eclipse.datatools.connectivity.oda-3.3.2.jar
org.ow2.orchestra.eclipse.datatools.connectivity.oda.consumer-3.2.4.jar
org.ow2.orchestra.eclipse.datatools.connectivity.oda.profile-3.2.5.jar
org.ow2.orchestra.eclipse.emf.common-2.7.0.jar
org.ow2.orchestra.eclipse.emf.ecore-2.7.0.jar
org.ow2.orchestra.eclipse.emf.ecore.xmi-2.7.0.jar
org.ow2.orchestra.eclipse.equinox.app-1.3.100.jar
org.ow2.orchestra.eclipse.equinox.common-3.6.0.jar
org.ow2.orchestra.eclipse.equinox.preferences-3.4.0.jar
org.ow2.orchestra.eclipse.equinox.registry-3.5.100.jar
org.ow2.orchestra.eclipse.osgi-3.7.0.jar
tgupta0614
<blockquote class='ipsBlockquote' data-author="'tgupta0614'" data-cid="96444" data-time="1329839166" data-date="21 February 2012 - 08:46 AM"><p>
Hi,<br />
I'm using maven to pull the dependencies. Following are the dependencies.<br />
<br />
<br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.core</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.report.item.crosstab.core</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.report.engine.script.javascript</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.data.aggregation</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.report.data.adapter</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.report.model</artifactId> <br />
<version>${birt-build}</version> <br />
</dependency><br />
- <dependency><br />
<groupId>org.ow2.orchestra.eclipse.birt</groupId> <br />
<artifactId>org.ow2.orchestra.eclipse.birt.chart.engine</artifactId> <br />
<version>${birt-build}</version> <br />
<br />
<br />
Do you think I'm missing anything here. Also, I'm calling reports from java with the webapp deployed in tomcat.<br />
<br />
<br />
Following jars are pulled:<br />
<br />
org.ow2.orchestra.eclipse.birt.chart.engine-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.core-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.data-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.data.aggregation-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.data.adapter-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.engine-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.engine.fonts-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.engine.script.javascript-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.item.crosstab.core-3.7.0.jar<br />
org.ow2.orchestra.eclipse.birt.report.model-3.7.0.jar<br />
org.ow2.orchestra.eclipse.core.contenttype-3.4.100.jar<br />
org.ow2.orchestra.eclipse.core.expressions-3.4.300.jar<br />
org.ow2.orchestra.eclipse.core.filesystem-1.3.100.jar<br />
org.ow2.orchestra.eclipse.core.jobs-3.5.100.jar<br />
org.ow2.orchestra.eclipse.core.resources-3.7.100.jar<br />
org.ow2.orchestra.eclipse.core.runtime-3.7.0.jar<br />
org.ow2.orchestra.eclipse.core.runtime.compatibility.auth-3.2.200.jar<br />
org.ow2.orchestra.eclipse.datatools.connectivity-1.2.2.jar<br />
org.ow2.orchestra.eclipse.datatools.connectivity.oda-3.3.2.jar<br />
org.ow2.orchestra.eclipse.datatools.connectivity.oda.consumer-3.2.4.jar<br />
org.ow2.orchestra.eclipse.datatools.connectivity.oda.profile-3.2.5.jar<br />
org.ow2.orchestra.eclipse.emf.common-2.7.0.jar<br />
org.ow2.orchestra.eclipse.emf.ecore-2.7.0.jar<br />
org.ow2.orchestra.eclipse.emf.ecore.xmi-2.7.0.jar<br />
org.ow2.orchestra.eclipse.equinox.app-1.3.100.jar<br />
org.ow2.orchestra.eclipse.equinox.common-3.6.0.jar<br />
org.ow2.orchestra.eclipse.equinox.preferences-3.4.0.jar<br />
org.ow2.orchestra.eclipse.equinox.registry-3.5.100.jar<br />
org.ow2.orchestra.eclipse.osgi-3.7.0.jar<br /></p></blockquote>
tgupta0614
Has anybody got any clue to this one. I'm stuck and none of my reports are working because of this exception.
mwilliams
Sorry for the delay. I'll check on the jars to see that they're all there. I see that you upgraded from 2.3.2 to 3.7. Did you modify your code that you use to run your reports to remove the BIRT HOME lines? They are no longer needed in 3.7. Let me know.
tgupta0614
No, I haven't remove the line for setting the birt home. I'll remove it and then try again.
tgupta0614
Yes, I removed the setting of birt home in my code.
Now, I'm getting the dependencies using:
<dependencies>
<dependency>
<groupId>org.eclipse.birt.runtime.3_7_1</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>3.7.1-SNAPSHOT</version>
</dependency>
But, still the report viewer throws:
org.eclipse.birt.report.engine.api.UnsupportedFormatException: The output format html is not supported.
at org.eclipse.birt.report.engine.api.impl.EngineTask.setupRenderOption(EngineTask.java:1938)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:96)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at com.digitalmountain.springbirt.ReportManager.runReport(ReportManager.java:53)
at com.digitalmountain.tapestry.services.ReportServer.service(ReportServer.java:103)
at $IEngineService_135d50642ce.service($IEngineService_135d50642ce.java)
at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241)
at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)
at $WebRequestServicer_135d506428c.service($WebRequestServicer_135d506428c.java)
at org.apache.tapestry.services.impl.DisableCachingFilter.service(DisableCachingFilter.java:54)
at $WebRequestServicerFilter_135d506428e.service($WebRequestServicerFilter_135d506428e.java)
at $WebRequestServicer_135d5064290.service($WebRequestServicer_135d5064290.java)
at $WebRequestServicer_135d5064288.service($WebRequestServicer_135d5064288.java)
at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61)
at $ServletRequestServicer_135d506426e.service($ServletRequestServicer_135d506426e.java)
at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
at $ServletRequestServicerFilter_135d506426a.service($ServletRequestServicerFilter_135d506426a.java)
at $ServletRequestServicer_135d5064270.service($ServletRequestServicer_135d5064270.java)
at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
at $ServletRequestServicerFilter_135d5064268.service($ServletRequestServicerFilter_135d5064268.java)
at $ServletRequestServicer_135d5064270.service($ServletRequestServicer_135d5064270.java)
at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
at $ServletRequestServicerFilter_135d506426c.service($ServletRequestServicerFilter_135d506426c.java)
at $ServletRequestServicer_135d5064270.service($ServletRequestServicer_135d5064270.java)
at $ServletRequestServicer_135d5064262.service($ServletRequestServicer_135d5064262.java)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126)
at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:722)
Jason - Can you help me on this.
tgupta0614
Following jar's get pulled :
org.apache.batik.bridge-1.6.0-20120228.212401-3.jar
org.apache.batik.css-1.6.0-20120228.211941-3.jar
org.apache.batik.dom-1.6.0-20120228.212702-3.jar
org.apache.batik.dom.svg-1.6.0-20120228.212935-3.jar
org.apache.batik.ext.awt-1.6.0-20120228.211912-3.jar
org.apache.batik.parser-1.6.0-20120228.212849-3.jar
org.apache.batik.pdf-1.6.0-20120228.213106-3.jar
org.apache.batik.svggen-1.6.0-20120228.212432-3.jar
org.apache.batik.transcoder-1.6.0-20120228.213120-3.jar
org.apache.batik.util-1.6.0-20120228.213225-3.jar
org.apache.batik.util.gui-1.6.0-20120228.212907-3.jar
org.apache.batik.xml-1.6.0-20120228.213025-3.jar
org.apache.commons.codec-1.3.0-20120228.213007-3.jar
org.apache.xerces-2.9.0-20120228.212527-3.jar
org.apache.xml.resolver-1.2.0-20120228.212110-3.jar
org.apache.xml.serializer-2.7.1-20120228.213054-3.jar
org.eclipse.birt.runtime-3.7.1-20120228.213400-3.jar
org.eclipse.core.contenttype-3.4.100-20120228.212027-3.jar
org.eclipse.core.expressions-3.4.300-20120228.212858-3.jar
org.eclipse.core.filesystem-1.3.100-20120228.212654-3.jar
org.eclipse.core.jobs-3.5.100-20120228.212214-3.jar
org.eclipse.core.resources-3.7.100-20120228.211856-3.jar
org.eclipse.core.runtime-3.7.0-20120228.212147-3.jar
org.eclipse.datatools.connectivity-1.2.3-20120228.213034-3.jar
org.eclipse.datatools.connectivity.apache.derby-1.0.102-20120228.213157-3.jar
org.eclipse.datatools.connectivity.apache.derby.dbdefinition-1.0.2-20120228.212507-3.jar
org.eclipse.datatools.connectivity.console.profile-1.0.0-20120228.212206-3.jar
org.eclipse.datatools.connectivity.db.generic-1.0.1-20120228.212300-3.jar
org.eclipse.datatools.connectivity.dbdefinition.genericJDBC-1.0.1-20120228.213128-3.jar
org.eclipse.datatools.connectivity.oda-3.3.2-20120228.212008-3.jar
org.eclipse.datatools.connectivity.oda.consumer-3.2.4-20120228.212442-3.jar
org.eclipse.datatools.connectivity.oda.design-3.3.3-20120228.212515-3.jar
org.eclipse.datatools.connectivity.oda.flatfile-3.1.1-20120228.212157-3.jar
org.eclipse.datatools.connectivity.oda.profile-3.2.6-20120228.212633-3.jar
org.eclipse.datatools.connectivity.sqm.core-1.2.3-20120228.212642-3.jar
org.eclipse.datatools.enablement.hsqldb-1.0.0-20120228.212035-3.jar
org.eclipse.datatools.enablement.hsqldb.dbdefinition-1.0.0-20120228.211924-3.jar
org.eclipse.datatools.enablement.ibm.db2.luw-1.0.2-20120228.213215-3.jar
org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4-20120228.211932-3.jar
org.eclipse.datatools.enablement.ibm.informix-1.0.1-20120228.212711-3.jar
org.eclipse.datatools.enablement.ibm.informix.dbdefinition-1.0.4-20120228.212044-3.jar
org.eclipse.datatools.enablement.msft.sqlserver-1.0.1-20120228.212958-3.jar
org.eclipse.datatools.enablement.msft.sqlserver.dbdefinition-1.0.0-20120228.213045-3.jar
org.eclipse.datatools.enablement.mysql-1.0.2-20120228.212720-3.jar
org.eclipse.datatools.enablement.mysql.dbdefinition-1.0.4-20120228.212353-3.jar
org.eclipse.datatools.enablement.oda.ws-1.2.2-20120228.213206-3.jar
org.eclipse.datatools.enablement.oda.xml-1.2.1-20120228.213137-3.jar
org.eclipse.datatools.enablement.oracle-1.0.0-20120228.212000-3.jar
org.eclipse.datatools.enablement.oracle.dbdefinition-1.0.102-20120228.212052-3.jar
org.eclipse.datatools.enablement.postgresql-1.0.1-20120228.212415-3.jar
org.eclipse.datatools.enablement.postgresql.dbdefinition-1.0.1-20120228.212624-3.jar
org.eclipse.datatools.modelbase.dbdefinition-1.0.2-20120228.212129-3.jar
org.eclipse.datatools.modelbase.derby-1.0.0-20120228.212241-3.jar
org.eclipse.datatools.modelbase.sql-1.0.4-20120228.212452-3.jar
org.eclipse.datatools.modelbase.sql.query-1.1.1-20120228.213258-3.jar
org.eclipse.emf-2.6.0-20120228.212139-3.jar
org.eclipse.emf.common-2.7.0-20120228.211843-3.jar
org.eclipse.emf.ecore-2.7.0-20120228.213330-3.jar
org.eclipse.emf.ecore.change-2.7.1-20120228.212423-3.jar
org.eclipse.emf.ecore.xmi-2.7.0-20120228.212250-3.jar
org.eclipse.equinox.app-1.3.100-20120228.212926-3.jar
org.eclipse.equinox.common-3.6.0-20120228.212917-3.jar
org.eclipse.equinox.preferences-3.4.1-20120228.212233-3.jar
org.eclipse.equinox.registry-3.5.101-20120228.213147-3.jar
org.eclipse.osgi-3.7.1-20120228.213234-3.jar
org.eclipse.osgi.services-3.3.0-20120228.213016-3.jar
org.eclipse.update.configurator-3.3.100-20120228.211831-3.jar
org.mozilla.javascript-1.7.2-20120228.212308-3.jar
org.osgi.core-4.1.0.jar
org.w3c.css.sac-1.3.0-20120228.213321-3.jar
org.w3c.dom.smil-1.0.0-20120228.213313-3.jar
org.w3c.dom.svg-1.1.0-20120228.212101-3.jar
Tidy-1-20120228.212223-3.jar
com.ibm.icu-4.4.2-20120228.212729-3.jar
com.lowagie.text-2.1.7-20120228.212326-3.jar
commons-codec-1.5.jar