Jump to content
We've recently updated our Privacy Statement, available here ×

Jasperserver upgrade - build failed - Java returned: 255


aparnagl

Recommended Posts

Hi

Upgrading jasper server from 6.1.0 to 7.1.0 by following the following document:

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-upgrade-guide/v71/upgrading-60-63-71-0#upgrading_562921741_1114058

 

Command used:

cd jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic

sudo ./js-upgrade-newdb-ce.sh export_local_14FEB2020_1111.zip

 

After following all other steps, I am now on the step for  'Upgrading to JasperReports Server 7.1'.

I get the following error:

BUILD FAILED
/jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic/bin/db-common.xml:1016: The following error occurred while executing this line:
/jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic/bin/import-export.xml:370: The following error occurred while executing this line:
/jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic/bin/import-export.xml:196: Java returned: 255

Attached the log file from my buildomatic/log.

Please guide me on what I am doing wrong and how the upgrade can be run sucessfully.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You got the file not found error:

java.io.FileNotFoundException: export_local_14FEB2020_1111.zip (No such file or directory)

 

Check to see where you put this exported JRS 6.1.0 reository zip file and make sure to use full path to reference the location or move it under JRS 7.1.0 folder

/jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic

Also make sure its has read access for all users.

 

 

Link to comment
Share on other sites

I managed to resolve this by changing my command:

cd /jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic

 

/jasper_upgrade/jasperreports-server-cp-7.1.0-bin/buildomatic$ sudo ./js-upgrade-newdb-ce.sh /jasper_upgrade/export_local_14FEB2020_1111.zip

 

This worked and the upgrade was completed successfully.

 

Link to comment
Share on other sites

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