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)
Deploy birt-viewer in tomcat 5.0
cerupesh
Hi
I download birt-report run time and unzip birtview example deploy at tomcat 5.0
but where i run that example i get following error
plz help me
javax.servlet.ServletException: Servlet execution threw an exception
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
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:601)
org.eclipse.birt.report.service.ReportEngineService.openReportDesign(ReportEngineService.java:387)
org.eclipse.birt.report.utility.BirtUtility.getRunnableFromDesignFile(BirtUtility.java:607)
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)
Find more posts tagged with
Comments
mwilliams
What steps did you do to deploy the viewer? Let me know.
cerupesh
# Download the zip file with the BIRT report engine runtime. The file is named birt-runtime-version birt-runtime 3_7_0.zip.
# Unzip the file in a staging area.
# Look under the birt-runtime- directory and locate the "Web Viewer Example" directory.
# Copy the Web Viewer Example directory to the webapps directory of your Tomcat installation. For ease of reference, rename the directory to "birt-viewer".
# Stop, then restart Tomcat.
# Display the Tomcat manager application to check that the viewer is deployed:
http://localhost:8080/manager/html
.
# Verify that birt-viewer is listed as an application, then click on the birt-viewer link.
after birt-viewer link. it gives an above error
mwilliams
I deployed with the same steps on tomcat 6 and did not have an issue. What is your java version? Have you ever deployed any other version of BIRT successfully?
cerupesh
It deployed on tomcat 6.
it is possible to deployed on tomcat 5
I am useing JDK1.5 and not deployed any other version of birt
Rupesh
mwilliams
I will download tomcat 5 and try to deploy it on that. I'm using JDK1.6. I'll let you know if it works.
mwilliams
I downloaded Tomcat 5.5.33 and deployed BIRT 3.7.0 with no issues. I can also try with Tomcat 5.0. What version do you have exactly? 5.0.28 or 5.0.30? If it's an issue with Tomcat 5.0.x, can you use the newer Tomcat for BIRT? Or are you tied to the older version?