admin_75 Posted August 27, 2014 Posted August 27, 2014 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: 255i 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.972 machine_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.0 installer_directory: /rootinstaller_pathname: /root/jasperreports-server-cp-5.6.0-linux-x64-installer.runplatform_install_prefix: /optsystem_temp_directory: /tmpuser_home_directory: /rootMy /etc/hosts file:127.0.0.1 localhost fooSomeone help me please otherwise I'm going crazy.Thanks!
Solution marianol Posted August 28, 2014 Solution Posted August 28, 2014 "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.
admin_75 Posted August 29, 2014 Author Posted August 29, 2014 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 Posted September 4, 2014 Author Posted September 4, 2014 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.
lewen7er9 Posted March 25, 2015 Posted March 25, 2015 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.
marianol Posted March 25, 2015 Posted March 25, 2015 It never hurts to read the manual.... http://community.jaspersoft.com/documentation/tibco-jasperreports-server-installation-guide-community-edition/v60/installing-war-0
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now