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

Error when running ./js-ant import-minimal-ce


phelgren

Recommended Posts

Running this in an AIX environment (eq 7.2)  Thisis exactly the same error as posted here:


https://community.jaspersoft.com/questions/1186301/js-ant-import-minimal-ce-build-failed

Circumstances are a bit different in that I am manually installing the war file and I am using mysql as the DB (Maria).  All seems well but I haven't been able to determine what is causing the error (hard to follow all the XML references).   Here is the compete error:

 

bash-4.4$ ./js-ant import-minimal-ce
Buildfile: /opt/jasperreports-server-cp-7.8.0-bin/buildomatic/build.xml
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists
     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists
     [echo]  Back-End version: ${git.currentBranchName}-SNAPSHOT
     [echo] Front-End version: ${git.currentBranchName}-SNAPSHOT
     [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists
     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists
     [echo] tomcatPackageManaged IS SET
     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE
     [echo] Maven settings: /opt/jasperreports-server-cp-7.8.0-bin/buildomatic/build_conf/default/maven_settings.xml

keystore-properties:

import-minimal-ce:
     [echo]  --- (import-export.xml:run-import-export) archiveArg = --input-zip=/opt/jasperreports-server-cp-7.8.0-bin/buildomatic/install_resources/export/js-catalog-mysql-minimal-ce.zip ---
     [echo]              dbType = mysql
     [echo]             jdbcJar = mariadb-java-client-2.5.3.jar
     [echo]         currentConf = /opt/jasperreports-server-cp-7.8.0-bin/buildomatic/build_conf/default
     [echo]  importExportConfig = /opt/jasperreports-server-cp-7.8.0-bin/buildomatic/conf_source/ieCe
     [echo]
     [echo] Validating JasperServer database connection at jdbc:mysql://localhost:3306/jasperserver_new?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&autoReconnectForPools=true&tinyInt1isBit=false&allowPublicKeyRetrieval=true. Phase: [import-export-test]
[advanced-sql] Executing commands
[advanced-sql] 1 of 1 SQL statements executed successfully
     [echo] Connection OK
     [java] 2021-10-02T17:32:53,533 ERROR BaseExportImportCommand:45 - java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

Ideas on where to look or how to solve would be apprecaited.
 

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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