How to use demo application and database

2008-10-13 17:21:00 | , , ,

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:

  1. Downloading the two files mentioned in previours chapter.
  2. Extracting Tomcat5.0.rar to your local driver, such as "c:/tomcat5.0" we called this directory "TOMCAT".
  3. Extracting webroot.rar to you local driver, such as "c:/sqlreportwebapp", we called this directory "WEBAPP".
  4. Downloading all libs from SVN using your SVN client tool, such as "TortoiseSVN".
  5. Copying all of the jar files into "WEBAPP"/WEB-INF/lib.
  6. Opening the file "TOMCAT"/conf/Catalina/localhost/root.xml, and change the value of attribute "docBase" to "WEBAPP", such as docBase="c:/sqlreportwebapp".
  7. Navigating to "TOMCAT"/bin and executing "startup.bat" to start up Tomcat.
  8. 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.

Add comment




biuquote
  • Comment
  • Preview
Loading