IBM Worklight 6.1 - Project fails to initialize because the project database schema is from version N/A

I got the following error message when I try to deploy my .war file to the application server:

Error 500: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: FWLSE0206E: The project /rmbp failed to initialize, because the project database schema for data source jdbc:db2:// is from version N/A, which is not supported by the server from version Use the Worklight ant tasks to upgrade the project database schema. [project rmbp]

I already doing some research and ask IBM's about our issue as wellas reviewed the following similar question: IBM Worklight 6.1 - Unable to initialize the project due to DB2 error


It looks like you try to install a Worklight runtime to the APPCNTR database. This database is used for Application Center and is not related to the Worklight runtime database that is called WRKLGHT.

How do you install your Worklight war file : with the server configuration tool, the deployment ant scripts (that can be found in the configuration-samples directory of the Worklight installation) or manually ?

See that explains how to configure the Worklight runtime database and deploy a Worklight runtime war file.

The error message looks pretty clear to me. You seem to have upgraded your Worklight installation, but did not upgrade the database scheme used for Application Center.

You need to consult with the IBM Worklight Information Center.

You do not mention how did you upgrade your installation to v6.1.0, nor what did you do. So take a look at the following topic as well regarding database upgrade, since as mentioned it looks like your DB2 database scheme for the APPCNTR database did not take place:

Have you create a jdbc connection in your Websphere Application Server? It will be needed by the application inside the WAR file to connect to the database.

If you have done it, you can check inside your WAR file and look for web.xml file in WEB-INF/ folder. In my case I found a jdbc hardcoded inside the file, for example:

  <description>Worklight Server Database</description>

  <description>Reports Database</description>

You can rename those hardcoded file into the same name of the jdbc that you created in you WAS.

For the database issue, you can follow this link to use ant for DB creation.

If you follow the 1st ant script for DB2 creation which will have two different databases, you need to create the new user for this line if you haven't done so. Because as you can see, in the xml script, user and password will be needed to create the WRKLGHT database. For example:

<db2 database="WRKLGHT" server=""
       user="wl6admin" password="wl6pass">

If you use non-default port for your DB2 connection, you can add on your port number parameter after the server parameter. For example:


For user creation, u can follow this link:

Need Your Help

Print range images get by query in MYSQL- ASP.NET

javascript mysql

I require to print a range of images that bring in a query, the range can be very large but when printing mean to choose whether you want to print a certain range by nose images if this has to do w...

how to write simple select query with where clause in django object

python django django-views

I am very new to Django and want to ask one doubt that how to write simple select query with where clause in django