Unable to install Jasper report server on windows server2008 R2

During the installation of jasper report server x64 version on windows server 2008 R2, bundled tomcat and PostgreSQL were used, an error occured at database initializing stage, and installation failed.

The error message is :


Executing initdb.exe -U postgres -E UTF8 -D D:/JASPER~1.0/POSTGR~1/data
Script exit code: 1
How to solve this problem , your suggestion will be really appreciated.
swallan's picture
Joined: Jan 10 2013 - 5:06am
Last seen: 10 years 7 months ago

3 Answers:

I tried to install with an existing Postgres database, still failed in database initializing stage with another error but also related with unicode.

later I installed jasper server successfully by using the war file package and js-install script with an existing tomcat and mysql database.

So maybe it is a bug of windows installer file for Postgres database initialization.

However, thanks for your kindly reply :)

swallan's picture
Joined: Jan 10 2013 - 5:06am
Last seen: 10 years 7 months ago

Hi Swallan,

please make sure you have Read/Write permission for the PostgreSQL Data folder. Once you solve this, you should be able to rerun installation successfully .

Regards, Olga

oesina's picture
Joined: Jun 20 2011 - 10:27am
Last seen: 10 years 2 months ago

This is Postgres related bug. Please try to install and configure Postgres separately, then run the JasperReports Server installation again and choose to install against an existing Postgres database. This should work around the problem.

mrcaffeine's picture
Joined: Nov 10 2008 - 3:38am
Last seen: 6 years 3 months ago