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

Recommended Posts

By: Panagiotis Varlagas - varlagas

XVFB and AIX

2003-05-10 15:49

We have designed and successfully tested our

Jasper reports on a Win2K server.

 

After moving to an AIX server, we had the known issue with the AWT class needing an X server

to display and we've installed XVFB.

 

The problem we are experiencing is that in some reports some text in the far-right end of fields gets

truncated. We strongly suspected that this is due to the fact that XVFB has screen dimensions of 1280x1024, whereas in Win2K we had settings of 1024x768. We've changed the settings of XVFB to 1024x768, but we still get the exact same situation.

 

This means that:

(1) Either the screen dimensions is not the root cause of our problem or

(2) It is, but somehow JasperReports ignored the screen dimensions of the XVFB X server, and get their settings from somewhere else or

(3) The screen dimensions are OK, but something else makes JasperReports render the report in a different manner (Please note that this cannot be the DPI where we do have a small difference - 96x96 vs 100x100, which is ~~4% and both theoretically and experimentally we have shown that it cannot be the root cause)

 

Any help by Teodor and the JasperReports community would be hugely appreciated!

 

 

We have installed Xvfb on our AIX machine because the Java AWT code used by JasperReports needs it.

 

However, we have realized that the default 1280x1024 screen dimensions screw up our reports which have been originally developed and testing against a Win2K server with 1024x768. So, we would like to change the XVFB X server screen dimensions to 1024x768 rather than redesigning and retesting all our reports.

 

However, unlike Linux and Solaris, where an Xvfb command with a -screen flag exists, by way of which the default screen dimensions can be overridden, here in the AIX world we start XVFB by specified a -vfb flag to the X command. It seemsone cannot override the default dimensions by using the X command.

And the question is: How do I override the default 1280x1024 screen dimensions? (I get this info by executing xdpyinfo -display :5, where 5 my XVBF display).

 

Many thanks in advance for your help! (I am not presumptous that you will provide it to me, just hoping you will help a colleague in distress if actually you can)

 

 

 

 

By: Panagiotis Varlagas - varlagas

RE: XVFB and AIX

2003-05-10 15:51

We have designed and successfully tested our

Jasper reports on a Win2K server.

 

After moving to an AIX server, we had the known issue with the AWT class needing an X server

to display and we've installed XVFB.

 

The problem we are experiencing is that in some reports some text in the far-right end of fields gets

truncated. We strongly suspected that this is due to the fact that XVFB has screen dimensions of 1280x1024, whereas in Win2K we had settings of 1024x768. We've changed the settings of XVFB to 1024x768, but we still get the exact same situation.

 

This means that:

(1) Either the screen dimensions is not the root cause of our problem or

(2) It is, but somehow JasperReports ignored the screen dimensions of the XVFB X server, and get their settings from somewhere else or

(3) The screen dimensions are OK, but something else makes JasperReports render the report in a different manner (Please note that this cannot be the DPI where we do have a small difference - 96x96 vs 100x100, which is ~~4% and both theoretically and experimentally we have shown that it cannot be the root cause)

 

Any help by Teodor and the JasperReports community would be hugely appreciated!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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