Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.
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: 2machine_cpu_speed: 3092.972machine_fqdn: localhostmachine_hostname: localhostmachine_ipaddr: 127.0.0.1machine_total_memory: 7816system_locale: tr_TR.UTF-8system_username: root[Cross Platform:installdir: /opt/jasperreports-server-cp-5.6.0installer_directory: /rootinstaller_pathname: /root/jasperreports-server-cp-5.6.0-linux-x64-installer.runplatform_install_prefix: /optsystem_temp_directory: /tmpuser_home_directory: /root
My /etc/hosts file:
127.0.0.1 localhost foo
Someone help me please otherwise I'm going crazy.
Thanks!
1 Answer:
"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.
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)
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.
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.
It never hurts to read the manual.... http://community.jaspersoft.com/documentation/tibco-jasperreports-server...