Hide Forgot
project_key: SOA The error is: Buildfile: build.xml execute: [groovy] JBoss SOA Platform Database Configuration Script [groovy] ------------------------------------------------ [groovy] [groovy] This script is used to configure the SOA platform and all its [groovy] constituent components against a new RDBMS. Deployment scripts [groovy] are currently available for the following databases: [groovy] DB2 9.7, MS SQL 2005, MS SQL 2008, MySQL 5.0, MySQL 5.1, [groovy] Oracle 10g, Oracle 11g, Oracle 11RAC, PostgresSQL 8.2.4, PostgresSQL 8.3.7 [groovy] [groovy] ** Warnings ** [groovy] This script may not work correctly if you have made manual [groovy] changes to the database configuration. [groovy] This script is only intended to do initial configuration. [groovy] It is not intended to be used multiple times. [groovy] [groovy] Which server configuration are you changing? [groovy] all, production, production_orig, standard, web, [groovy] minimal, default [default]: production [groovy] Using profile directory: [groovy] /jboss/local/51_ER1_temp/jboss-soa-p.5/jboss-as/server/production/ [groovy] [groovy] Profile is clustered [groovy] [groovy] [groovy] Please enter the database you wish to configure: [groovy] db2-97, mssql2005, mssql2008, mysql50, mysql51, [groovy] oracle10g, oracle11g, oracle11RAC, postgresql824, postgresql837 mysql [groovy] ** Error: unknown database: mysql [groovy] Please enter the database you wish to configure: [groovy] db2-97, mssql2005, mssql2008, mysql50, mysql51, [groovy] oracle10g, oracle11g, oracle11RAC, postgresql824, postgresql837 mysql50 BUILD FAILED /jboss/local/51_ER1_temp/jboss-soa-p.5/jboss-as/tools/schema/build.xml:19: groovy.lang.MissingPropertyException: Exception evaluating property 'size' for java.util.ArrayList, Reason: groovy.lang.MissingPropertyException: No such property: size for class: java.io.File Total time: 13 seconds
See: http://jira.codehaus.org/browse/GROOVY-4094 '...On Sun JVM, the ArrayList class has a private property called size, that's why list.size returns you the value of that property. On IBM JVM, the ArrayList class does not have any property called size, in that case groovy behavior is to apply the property on each member of the collection and collect values of all member.property in a collection and return. So, it now expects "size" property on each collection member, but that also fails because String class also does not have any size property. If you are interested in getting the size of the list then list.size is not the groovy-way to get it anyway - it is list.size().
To fix this - change line 387 in build.xml from: if (db_driver.size == 0) { to if (db_driver.size() == 0) {
Fixed with revision 6558 of: build-tools/resource/schema-tool/build.xml Commit message: SOA-2316 Use list.size(), not list.size. From Len DiMaggio.
Verified fixed in ER2 build.
Temporarily reopening to update release note info.
Release Notes Docs Status: Added: Not Required Writer: Added: dlesage