Jump to content

how to install jasper reports 6.0 using a mysql database instead of postgress


juan.a.ley

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Don't look at Chapter 6 because it just create tables and populate it and is insufficient to install JasperReports Server on to your web application server.

Look at Chaper 5 "Installing the WAR File Distribution" in the "JasperReports Server Install Guide 6.0".

Basically, do the following steps:

1. You need to have JDK setup in your environment.

2. Setup Tomcat (you'll need to download it separately)

3. Download JasperReports Server WAR distribution.

4. Unpack it

5. Copy buildomaticsample_confmysql_master.properties to buildomaticdefault_master.properties

6. Edit default_master.properties to your environment

7. Copy your mysql jdbc driver to buildomaticconf_sourcedbmysql

8. Open command prompt and move to buildomatic folder

9. Execute "js-install.bat test" to see if your settings are correct. Fix any errors.

10. Excecute "js-install.bat minimal"

Link to comment
Share on other sites

followed steps, but when I execute the check, i get errors:

js-install.sh test

Writing to log file: logs/js-install-pro_2014-12-18_23-39-40068.log
----------------------------------------------------------------------
Running JasperReports Server install script at 2014-12-18_23-39
----------------------------------------------------------------------
----------------------------------------------------------------------
Using ANT_OPTS: -Dnet.sf.ehcache.disabled=true -Xms512m -Xmx2048m -XX:PermSize=128m
----------------------------------------------------------------------
[test]
Running pre-install-test-pro Ant task.
----------------------------------------------------------------------
Buildfile: /home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/build.xml
     [echo] Filtering properties (cleaning out blank spaces)
     [echo] chkIfPackageManagedTomcat: check if package managed tomcat
 
BUILD FAILED
/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/build.xml:61: The following error occurred while executing this line:
/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:744: The following error occurred while executing this line:
/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:543: The following error occurred while executing this line:
/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:731: /home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/C:/Program Files/Apache Software Foundation/Tomcat 7.0/lib does not exist.
 
Total time: 1 second
Checking Ant return code: OK
----------------------------------------------------------------------
 

 

 

Link to comment
Share on other sites

js-install.sh test

Writing to log file: logs/js-install-pro_2014-12-18_23-39-40068.log

----------------------------------------------------------------------

Running JasperReports Server install script at 2014-12-18_23-39

----------------------------------------------------------------------

----------------------------------------------------------------------

Using ANT_OPTS: -Dnet.sf.ehcache.disabled=true -Xms512m -Xmx2048m -XX:PermSize=128m

----------------------------------------------------------------------

[test]

Running pre-install-test-pro Ant task.

----------------------------------------------------------------------

Buildfile: /home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/build.xml

[echo] Filtering properties (cleaning out blank spaces)

[echo] chkIfPackageManagedTomcat: check if package managed tomcat

 

BUILD FAILED

/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/build.xml:61: The following error occurred while executing this line:

/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:744: The following error occurred while executing this line:

/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:543: The following error occurred while executing this line:

/home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/bin/setup.xml:731: /home/produser/jasper/jasperreports-server-6.0-bin/buildomatic/C:/Program Files/Apache Software Foundation/Tomcat 7.0/lib does not exist.

 

Total time: 1 second

Checking Ant return code: OK

----------------------------------------------------------------------

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...