Created attachment 416753 [details] server log Description of problem: Upgrade JON 2.3 to JON 2.4 (JON build #169) with Oracle 10g gives exception (SQLException: ORA-00911: invalid character) on screen. 2010-05-26 15:09:02,256 FATAL [org.rhq.enterprise.installer.ServerInformation] Cannot upgrade the database schema - RHQ Server will not run properly java.lang.RuntimeException: Cannot run ANT on script [/NotBackedUp/install/jon169/jon-server-2.4.0-SNAPSHOT/logs/db-upgrade.xml]. Cause: /NotBackedUp/install/jon169/jon-server-2.4.0-SNAPSHOT/logs/db-upgrade.xml:27: Failed to upgrade - error in spec version [2.87]. Cause: Error executing the task [org.rhq.core.db.ant.dbupgrade.SST_DirectSQL] in schema spec version [2.87]. Cause: The schema spec task [DirectSQL] has encountered an error. Cause: java.sql.SQLException: ORA-00911: invalid character at org.rhq.enterprise.installer.ServerInformation.startAnt(ServerInformation.java:781) at org.rhq.enterprise.installer.ServerInformation.upgradeExistingDatabaseSchema(ServerInformation.java:276) at org.rhq.enterprise.installer.ConfigurationBean.save(ConfigurationBean.java:723) ... Version-Release number of selected component (if applicable): JON build #169 - Revision: 10621 http://hudson-qe.rhq.rdu.redhat.com:8080/job/jon/169/ How reproducible: Always Steps to Reproduce: 1) Install JON 2.3 with Oracle 10g 2) Install one more JON 2.3 server with same database (High Availability) 3) Install/configure 3 rhq-agests 4) Perform operations on JON 2.3 (i) Create alerts for platform, JBoss AS4, RHQ Agent, Compatible group (alert condition is Free Memory > 0.1 OR Total Memory < 999999) (ii) Create groups (Mix, Compatible, Group defination) (iii)Content repository syncronization (for JBoss Patch) (iv) Create Roles and Users (v) Change INVENTORY -> CONNECTION of JBoss AS4 (vi)Change configuration values of 'RHQ Agent' and create 'History' (vii)Perform LDAP settings (viii)Create 'SCHEDULES' for 'View Process List' on platform 5) Upgrade JON 2.3 to JON 2.4 (JON build #169) - Complete installation process 6) Check server log for any database error/exception Actual results: Upgrade JON 2.3 to JON 2.4 with Oracle 10g gives error/exception (SQLException: ORA-00911: invalid character) on screen. Expected results: Upgrade JON 2.3 to JON 2.4 should upgrade with all its data without any error/exception. Additional info: Please refer attached server log.
Created attachment 416755 [details] screenshot
Same error found while upgrading JON 2.3.1 to JON 2.4 (JON build #169) with Oracle 10g.
Fixed in b81e16180565b6d38bd87c439258dc030a1433bf
Verified on JON build #170 - Revision: 10621 Observed that there is no - SQLException: ORA-00911: invalid character
Mass-closure of verified bugs against JON.