ibm mobilefirst - Exception starting Worklight server on Tomcat -


i move application dev producation,change application-description.xml , worklight.properties files , generate .war file,and add tomcat,but when start tomcat,it occur follow error:

   java.lang.classnotfoundexception: class org.hsqldb.jdbcdriver not found in worklight platform or project  

but add hsql.jar application,it still error,any help? worklight version 5.0.5 , apache-tomcat-7.0.37 , mysql 5.1.57

hsql default database used when running worklight project in eclipse. when move tomcat, need edit in worklight.properties database-related properties.

since mentioned mysql, need uncomment mysql section in worklight.properties , edit according setup.

of course, undeploy , re-deploy updated .war file.

additions: hsql filesystem-driven database, , provided worklight work out-of-the-box, when running in eclipse.

when moving tomcat , installing worklight in it, must edit worklight.properties , set know how talk datbase.

in case, when using mysql must include in tomcat's \lib folder mysql connector/j file. can here: http://www.mysql.com/downloads/mirror.php?id=412178 (click on "no thanks, start download" @ bottom).

note in order run worklight on application server (such tomcat, websphere or liberty), you must use either consumer or enterprise edition of worklight. required otherwise not have worklight jee .jar file sql scripts create database tables. of done via ibm installation manager.

you cannot use worklight on application server using developer edition.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -