This is a copy of wiki page from : http://code.google.com/p/sqlreport/wiki/HowToUseDemo, please follow the URL to gain newer version.
How to use demo application and database
Introduction
By ready this page, you will learn:
- What should you can get from this site.
- How to configure a simple test enviroment for SqlReport.
Resources
All of the resources are stored in this site (Downloads or SVN). The following are used by this page:
- Tomcat5.0: Apache Tomcat 5.0, I have remove a lot of useless files.
- webroot.rar: The WebApp? of SqlReport, including classes files, but I have not put libs into it, you can found all libs from SVN.
How to use
Please followthe steps to construct a simple test enviorment for SqlReport:
- Downloading the two files mentioned in previours chapter.
- Extracting Tomcat5.0.rar to your local driver, such as "c:/tomcat5.0" we called this directory "TOMCAT".
- Extracting webroot.rar to you local driver, such as "c:/sqlreportwebapp", we called this directory "WEBAPP".
- Downloading all libs from SVN using your SVN client tool, such as "TortoiseSVN".
- Copying all of the jar files into "WEBAPP"/WEB-INF/lib.
- Opening the file "TOMCAT"/conf/Catalina/localhost/root.xml, and change the value of attribute "docBase" to "WEBAPP", such as docBase="c:/sqlreportwebapp".
- Navigating to "TOMCAT"/bin and executing "startup.bat" to start up Tomcat.
- Opening your Internet Explorer, and navigating to "http://localhost:8080/sqlreport/report.jsp". If you get error message as "com.jeasonzhao.report.engineer.ReportManager?.getReport(ReportManager?.java:87)", it means you have configure successfully, or please send email to me and paste your error message.