JasperReports

JasperReports
Jasper:
 * JasperReports Server | Free software downloads at SourceForge.net - http://sourceforge.net/projects/jasperserver/
 * Jaspersoft Community - http://community.jaspersoft.com/
 * Installation guide - http://community-static.jaspersoft.com/sites/default/files/docs/jasperreports-server-install-guide.pdf

Hostname:
 * Add to /etc/hosts or suffer import error of doom!

Dependencies: yum install java ant

Installation: wget http://sourceforge.net/projects/jasperserver/files/JasperServer/JasperReports%20Server%20Community%20Edition%205.5.0/jasperreports-server-cp-5.5.0a-linux-x64-installer.run/download \ -O jasperreports-server-cp-5.5.0a-linux-x64-installer.run chmod u+x jasperreports-server-cp-5.5.0a-linux-x64-installer.run ./jasperreports-server-cp-5.5.0a-linux-x64-installer.run
 * 1) 5.5.0a

wget http://sourceforge.net/projects/jasperserver/files/latest/download chmod u+x download ./download
 * 1) latest

CLI Wizard: (all defaults)
 * EULA
 * EULA Accept
 * Custom Installation / Install All Components and Samples
 * Target: /opt/jasperreports-server-cp-5.5.0a
 * use bundled Tomcat
 * use bundled PostgreSQL
 * Server port: 8080
 * Shutdown port: 8005
 * Database Server port: 5432
 * install sample databases
 * Begin installation (takes a few minutes)
 * Opt-out of heardbeat

Heardbeat Opt-in for JasperReports Server Heartbeat Help us build better products by opting in For more information please visit: www.jaspersoft.com/heartbeat

Link: ln -sfn jasperreports-server-cp-5.6.0 /opt/jasperreports-server
 * 1) ln -sfn jasperreports-server-cp-5.5.0a /opt/jasperreports-server

Start server: cd /opt/jasperreports-server ./ctlscript.sh start

Access server: http://SERVER:5002/jasperserver

Stop server: cd /opt/jasperreports-server ./ctlscript.sh stop

Start/Stop individual components: ./ctlscript.sh start|stop postgresql ./ctlscript.sh start|stop tomcat

init.d script: cp /opt/jasperreports-server/scripts/linux/jasperserver /etc/init.d/

Users: jasperadmin : jasperadmin - Administrator for the default organization (ROLE_ADMINISTRATOR,ROLE_USER) joeuser : joeuser         - Sample end-user (ROLE_USER) anonymousUser :           - Anonymous user with no access to anything (ROLE_ANONYMOUS)

superuser : superuser     - System-wide administrator (does not work) demo : demo               - Sample end-user for the SuperMart Dashboard demonstration (does not work)

Proxy:  ServerName analytics.oeey.com

ProxyPass        /  http://localhost:8080/ nocanon ProxyPassReverse /  http://localhost:8080/ ProxyRequests    Off AllowEncodedSlashes NoDecode

# Local reverse proxy authorization override # Most unix distribution deny proxy by default (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)  Order deny,allow Allow from all 

ServerAdmin admin@oeey.com ErrorLog logs/analytics.oeey.com-error_log CustomLog logs/analytics.oeey.com-access_log common 

Jasper webapps cleanup cd /opt/jasperreports-server/apache-tomcat mkdir webapps-old cd webapps mv host-manager manager ROOT ../webapps-old mv jasperserver ROOT

cd /opt/jasperreports-server ./ctlscript.sh restart

Issues
See Talk:JasperReports