momzilla Posted December 18, 2008 Share Posted December 18, 2008 O/S CentOS release 4.7 (Final)Due to errors, I copied iReport.jar and barbecue-1.5-beta1.jar into /opt/jasperserver-3.0/apache-tomcat/webapps/jasperserver/WEB-INF/lib and bounced the server.Added barcode report to jasperserver. When executing on server no text is displayed. Text is displayed when run locally.www.dirtylittlemonkeys.com/pics/badjasperbc.pngtop is local; bottom is firefox Any clues?Post Edited by adam grebeck at 12/18/08 02:34 Link to comment Share on other sites More sharing options...
momzilla Posted December 21, 2008 Author Share Posted December 21, 2008 Centos 4.7 - ymmv with other distros.1. Install Xvfb yum install xorg-x11-Xvfb2. Make new file /etc/Xjasper.cfg with text below: localhost3. Start Xvfb /usr/X11R6/bin/Xvfb -auth /etc/Xjasper.cfg :9 -screen 0 1024x768x8 &4. Modify /opt/jasperserver-3.0/apache-tomcat/bin/startup.sh add to bottom before exec : DISPLAY=:9; export DISPLAY echo using DISPLAY=$DISPLAY5. Bounce JasperServer /opt/jasperserver-3.0/jasperctl.sh restart Good output:www.dirtylittlemonkeys.com/pics/goodbarcode.pngPost Edited by adam grebeck at 12/21/08 08:19 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now