Tip: cannot upgrade from v8 / Jboss7 to Platform 9 RC (9.0.0.0) in the Java stack

Tip: cannot upgrade from v8 / Jboss7 to Platform 9 RC (9.0.0.0) in the Java stack

  
Symptoms

You are upgrading a previous installation of the OutSystems Platform from version 8 / Jboss 7 to the new Platform 9 RC (9.0.0.0).
When running the Configuration Tool, SCInstall yields an error message like:

Preparing ServiceCenter eSpace deployment...
Deploying ServiceCenter eSpace...
Creating ServiceCenter default tenant...
Unexpected content found in ping. Status: OK. Content




Finished installing Service Center v9.0.0.0!

After this error message, if you try to access /ServiceCenter/_ping.jsf in your server, you find in your JBoss server.log (/opt/jboss-as-7.1.1.Final/standalone/log/server.log) a message similar to the following:

18:22:47,201 ERROR [outsystems.hubedition.webwidgets.BaseRequestStartupFilter] (http--0.0.0.0-8080-2) java.lang.NoClassDefFoundError: outsystems/runtimeservices/db/jdbcpool/JDBCPool


Cause

Some files caching the names of classes used in the OutSystems Platform under JBoss are not being updated, causing JBoss not to find the class indicated.

To confirm that this is the problem, check the content of the following file using the command:
    cat /opt/jboss-as-7.1.1.Final/modules/outsystems/main/outsystems.runtimeservices.jar.index

If you don't see a line with the following, you have the problem:
outsystems/runtimeservices/db/jdbcpool


Resolution

Delete the said file with command
    rm /opt/jboss-as-7.1.1.Final/modules/outsystems/main/outsystems.runtimeservices.jar.index

and restart jboss.

Regards,
Acácio Porta Nova