Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>HSQL is the default database used when running the Worklight project in Eclipse. When you move to Tomcat, you also need to edit in worklight.properties the database-related properties.</p> <p>Since you mentioned MySQL, you need to uncomment the MySQL section in worklight.properties and edit it according to your setup.</p> <p>Of course, also undeploy and re-deploy the updated .war file.</p> <p><strong>Additions:</strong> HSQL is a filesystem-driven database, and is provided by Worklight to work out-of-the-box, when running in Eclipse.</p> <p>When moving to Tomcat and installing Worklight in it, you must edit worklight.properties and set it up so that it will know how to talk with the datbase.</p> <p>In your case, when using MySQL you must also include in Tomcat's \lib folder the MySQL connector/J file. You can get it from here: <a href="http://www.mysql.com/downloads/mirror.php?id=412178" rel="nofollow">http://www.mysql.com/downloads/mirror.php?id=412178</a> (click on "No thanks, just start my download" at the bottom).</p> <p>Note that in order to run Worklight on an Application Server (such as Tomcat, WebSphere or Liberty), <strong>you must use either the Consumer or Enterprise Edition of Worklight</strong>. This is required as otherwise you will not have the Worklight JEE .jar file as well as the SQL scripts to create the database tables. All of this is done via the IBM Installation Manager.</p> <p>You cannot use Worklight on an Application Server using the Developer Edition.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload