Warning: Problem running post-install step. Installation may not complete correctly

1

Hi, I trying install the JasperReportServer(5.6 CP) on Debian 7.6. 

But when  finish installation i receive the error below:

Warning: Problem running post-install step. Installation may not complete 

correctly

 Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce 

-DimportFile=install_resources/export/js-catalog : 

BUILD FAILED

/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:260: The 

following error occurred while executing this line:

/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:158: Java 

returned: 255

i see this log in installation.log:

     [java] Created user joeuser
     [java] Invoking module com.jaspersoft.jasperserver.export.modules.repository.ResourceImporter@cb34b22
     [java] About to save folder /
     [java] java.lang.NullPointerException
     [java] java.lang.NullPointerException
     [java]  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
     [java]  at com.sun.proxy.$Proxy12.saveFolder(Unknown Source)
     [java]  at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:94)
     [java]  at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)

Machine details on installation:

Machine Info:  
machine_cpu_count:    2
machine_cpu_speed:    3092.972 
machine_fqdn:         localhost
machine_hostname:     localhost
machine_ipaddr:       127.0.0.1
machine_total_memory: 7816
system_locale:        tr_TR.UTF-8
system_username:      root
  
[Cross Platform:   
installdir:              /opt/jasperreports-server-cp-5.6.0  
installer_directory:     /root
installer_pathname:      /root/jasperreports-server-cp-5.6.0-linux-x64-installer.run
platform_install_prefix: /opt
system_temp_directory:   /tmp
user_home_directory:     /root

My /etc/hosts file:

127.0.0.1     localhost foo

Someone help me please otherwise I'm going crazy.

Thanks!

 

admin_75's picture
Joined: Aug 26 2014 - 1:03am
Last seen: 4 years 10 months ago

1 Answer:

0

"Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce " That means that it was not able to load the repository database structure into your repo db (Postgres?)

Check your default_master.properties file and make sure that the JDBC user, password and port for the DB you are using as a repository are OK. 

marianol's picture
4427
Joined: Sep 13 2011 - 8:04am
Last seen: 9 months 2 weeks ago

writes the following in buildomatic/default_master.properties file:

appServerType = skipAppServerCheck
appServerDir=/opt/jasperreports-server-cp-5.6.0/apache-tomcat
dbType=postgresql
dbHost=127.0.0.1
dbUsername=postgres
dbPassword=p4ssw0rd
dbPort=5432
preserve_master_properties_footer_comments_when_encrypting_buildomatic=true

All other settings are comment line.

i use to existing postgresql server and i connect to my postresql server with password (psql -U postgres -h 127.0.0.1 -d sugarcrm -p 5432)
it would be perhaps benefit (psql and pgadmin3 locations are /usr/bin)

admin_75 - 4 years 10 months ago

A standard installation should not be too difficult. I'm just create a new virtual machine and i install the sudo and vim packages then download the latest serrver .run file and execute. Result: FAIL installation.

admin_75 - 4 years 10 months ago

If connection fails, instead of failing with a cryptic message, installer should provide a more useful message to the user. It was not clear to me that postgres was a pre-req for installation.

lewen7er9 - 4 years 3 months ago
show 1 more...
marianol - 4 years 3 months ago
Feedback
randomness