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)
Unable to view BIRT report
bssantosh
I downloaded Birt Viewer example from net (version 4.2.1) and deployed it in jboss 4.0.2. I have deleted org.apache.xml.serializer_2.7.1.v201005080400.jar and org.apache.xerces_2.9.0.v201101211617.jar from WEB-INF\lb folder. When I try to view the report getting below exception,
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NoSuchMethodError: javax.xml.parsers.SAXParser.reset()V
org.eclipse.birt.report.model.util.XMLParserPoolImpl.release(XMLParserPoolImpl.java:153)
org.eclipse.birt.report.model.util.ParserFactory.releaseParser(ParserFactory.java:96)
org.eclipse.birt.report.model.metadata.MetaDataReader.read(MetaDataReader.java:132)
org.eclipse.birt.report.model.api.impl.DesignEngineImpl.initialize(DesignEngineImpl.java:96)
org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newSessionHandle(DesignEngineImpl.java:147)
org.eclipse.birt.report.model.api.DesignEngine.newSessionHandle(DesignEngine.java:120)
org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:143)
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.getReportDesignHandle(ReportEngineHelper.java:255)
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:274)
org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:616)
org.eclipse.birt.report.service.ReportEngineService.openReportDesign(ReportEngineService.java:395)
org.eclipse.birt.report.utility.BirtUtility.getRunnableFromDesignFile(BirtUtility.java:608)
org.eclipse.birt.report.context.ViewerAttributeBean.getDesignHandle(ViewerAttributeBean.java:641)
org.eclipse.birt.report.context.ViewerAttributeBean.__init(ViewerAttributeBean.java:224)
org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
org.eclipse.birt.report.context.BirtContext.__init(BirtContext.java:44)
org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
org.eclipse.birt.report.context.BirtContext.<init>(BirtContext.java:30)
org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:150)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
Find more posts tagged with
Comments
mwilliams
What version of Java are you using? Have you successfully deployed on any other app server?
bssantosh
Thanks for the reply.
I am using below versions of the software
1. Java - 1.6.0_35
2. BIRT - 4.2.1
3. JBoss - 4.0.2
This is the first time I am using BIRT and I have not tried on any other app server.
mwilliams
Any way you can try a newer version of JBoss? Or are you stuck using that version? If you can't try a newer version of JBoss, I'll test it out on JBoss 4.
bssantosh
I cannot migrate to newer version of JBoss as the product uses JBoss 4.0.2 and I am just working on reporting module and it has to be hosted on the same app server.
bssantosh
Any suggestions or alternative approaches? Please suggest since it is little urgent.
mwilliams
Sorry, I was out of the office, the end of last week. I'll take a look at deploying to JBoss 4.0.2.
mwilliams
I am getting the same error as you, with JBoss 4. If I figure something out, I'll post in here.
bssantosh
Is there any link or help material available to figure out which versions of BIRT are supported on which versions of app server (JBoss). Becase I cannot upgrade JBoss sion from 4.0.2. If I am unable to run BIRT 4.2 on JBoss 4.0.2 only way left is to downgrade the BIRT designer and viewer.
Also I would like to know should I have to recreate all of the reports if I decide to downgrade the BIRT version from 4.2.1 to 2.5.x?
bssantosh
I have designed my report using Eclipse Juno & BIRT 4.2.1.
Now I need to deploy this on JBoss 4.0.2, But I could see only BIRT 2.5.1 could be deployed on JBoss 4.0.2. Further what I have done is, took the *.rptdesign file and changed the version of BIRT. What potential risks I need to take care if I opt for the above approach?
I tried downloading BIRT designer 2.5.1 along with eclipse from BIRT distribution website but the eclipse is not launching on Linux machine.
mwilliams
So, 2.5.1 did work? If you're going to try to re-version your reports to a much earlier version, you'll just want to test them all, to make sure there's nothing that breaks with the move to 2.5. If the report happens to break, you'll have to fix or redo it, depending on how severe it is.
bssantosh
Yes it worked, however 2.5.1 designer is not working. Still trying.
I tried deploying BIRT 4.2.1 on Jboss 5. No luck. Same error message is displayed.
mwilliams
What is your specific Jboss 5 version? I'll try it out. I had it working on my old machine, but I'll try a new install, on my new one, to see if I run into issues.
bssantosh
JBoss version is JBoss 5.1.0
mwilliams
JBoss 5.1.0 worked fine, for me. Still no luck with 4.0.2, but I think that might be a java issue.