I have configured the dbusername and dbpassowrd in deafult_master.properties and yet I am facing the below issue.
I had followed similar steps during last two upgradation (6.4.3 and 7.1.1) , but for 8.1 upgradation I am facing the below issue.
Can anyone please help me with this, I am stuck at this step.
echo] creating /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[mkdir] Created dir: /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands
[copy] Copying 30 files to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default/webapp/WEB-INF
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[copy] Copying 1 file to /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default/webapp/WEB-INF/classes
[copy] Warning: Could not find file /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/conf_source/templates/keystore-configuration.xml to copy.
[echo] Maven settings: /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default/maven_settings.xml
keystore-properties:
import-minimal-ce:
[jar] Building MANIFEST-only jar: /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/conf_source/ieCe/lib/iecp.jar
[echo] --- (import-export.xml:run-import-export) archiveArg = --input-zip=/jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/install_resources/export/js-catalog-db2-minimal-ce.zip ---
[echo] dbType = db2
[echo] jdbcJar = db2jcc-9.7.jar
[echo] currentConf = /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/build_conf/default
[echo] importExportConfig = /jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/conf_source/ieCe
[echo]
[echo] Validating JasperServer database connection at jdbc:db2://DBSTGBLR03:51111/JASPER:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;currentSchema=JASPER;. Phase: [import-export-test]
BUILD FAILED
/jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/bin/import-export.xml:276: The following error occurred while executing this line:
/jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/bin/import-export.xml:164: The following error occurred while executing this line:
/jasper/jasperreports-server-cp-8.1.0-bin/buildomatic/bin/validation.xml:377: Unknown attributes [dbpassword, dbusername]
Total time: 18 seconds
1 Answer:
Hello,
You need to have dbPassword and dbUsername (notice the capitalization). Try to set them in your default_master.properties, then do js-ant clean-config gen-config command under the buildomatic directory, and then try to install again.
I hope this will help you, thanks!