Jump to content
We've recently updated our Privacy Statement, available here ×

Barcode bcImage 3of9


momzilla

Recommended Posts

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.png

top 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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Centos 4.7 - ymmv with other distros.

1. Install Xvfb

       yum install xorg-x11-Xvfb

2. Make new file /etc/Xjasper.cfg with text below:

     localhost

3. 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=$DISPLAY

5. Bounce JasperServer

     /opt/jasperserver-3.0/jasperctl.sh restart

 

Good output:

www.dirtylittlemonkeys.com/pics/goodbarcode.png




Post Edited by adam grebeck at 12/21/08 08:19
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...