jueves, 20 de febrero de 2014

Solving problems when installing Jasperserver in Centos 6.x

When you try to install jasperserver in Centos 6.x you can face errors like:

Warning: Problem running post-install step. Installation may not complete
correctly
 Error running
/usr/jasperserver/jasperreports-server-cp-5.5.0/apache-ant/bin/ant
import-minimal-ce :
BUILD FAILED
/usr/jasperserver/jasperreports-server-cp-5.5.0/buildomatic/bin/import-export.xml
:275: The following error occurred while executing this line:
/usr/jasperserver/jasperreports-server-cp-5.5.0/buildomatic/bin/import-export.xml
:158: Java returned: 255



At least in our installation the problem was that the "myservername.localdomain" wasn't included in the file /etc/hosts.

It should look like this:

127.0.0.1       localhost myservername.localdomain

I hope this can help someone.

1 comentario:

  1. I have a similar error but Java returned : -1 in Windows, please Help me!!.....excuse for my bad english!!

    ResponderEliminar