Jump to content

Recommended Posts

Posted

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!

 

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
Posted

"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. 

Posted

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)

Posted
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.
  • 6 months later...
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...