Hi,
I have two fresh installs one on Virtualbox which is working perfectly and one on a VM which gives me trouble when generating reports.
Config on Virtualbox:
[code]
[test@localhost ~]$ cat /etc/redhat-release
CentOS release 6.5 (Final)
[test@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux
[test@localhost ~]$ yum list squash-tm
Installed Packages
squash-tm.noarch 1.10.0.RELEASE-5.el5 @squashtest
[test@localhost ~]$ yum list java-1.6.0-openjdk
Installed Packages
java-1.6.0-openjdk.i686 1:1.6.0.0-5.1.13.3.el6_5 @updates
[/code]
Config on VM (with bugs):
[code]
[root@squash01 ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@squash01 ~]# uname -a
Linux squash01.xxx.net 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Installed Packages
squash-tm.noarch 1.10.0.RELEASE-5.el5 @squashtest
Installed Packages
java-1.6.0-openjdk.x86_64 1:1.6.0.0-5.1.13.3.el6_5 @updates
[/code]
When I try to generate a report or to export, I got a "java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser".
Searching the web, I found [url=http://stackoverflow.com/questions/3628 ... ngine-util]thread[/url]. Indeed, I haven't any X11 installed on my VM.
Do you know where I could set the java.awt.headless=true so I could give it a try ?
Regards.
Generating reports on a system without X11 installed
Generating reports on a system without X11 installed
I have performed a
[code]
[root@squash01 ~]# yum groupinstall "X Window System" "Fonts"
[/code]
and I have no more problem with generating reports althought it would be better if I could avoid having X11 installed.
[code]
[root@squash01 ~]# yum groupinstall "X Window System" "Fonts"
[/code]
and I have no more problem with generating reports althought it would be better if I could avoid having X11 installed.