I've been trying to setup an IBM Worklight environment. I want to use:
- Windows Server
- Apache Tomcat 7 (latest at the time of writing)
- IBM Worklight 6.2 (latest at the time of writing)
- MySQL Server 5.6 (latest at the time of writing)
Everything seems to be working OK. I've setup Tomcat (default configuration), MySQL (default configuration). Then I continued setting up IBM Worklight. I pointed to the Tomcat installation directory, put in the MySQL Connector/J jar file, etc etc. I left virtually everything default.
Upon completion, I deployed an app. The app was made with Eclipse, using the IBM Worklight Studio 6.2 plugin. Upon hitting the app URL (http://localhost:8080/appname/console
), I get the following error:
HTTP Status 500 - java.lang.RuntimeException: Timeout while waiting for the management service to start up
type Exception report
message java.lang.RuntimeException: Timeout while waiting for the management service to start up
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.RuntimeException: Timeout while waiting for the management service to start up
com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForInitialization(AuthenticationFilter.java:561)
com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:130)
root cause
java.lang.RuntimeException: Timeout while waiting for the management service to start up
com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:133)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.54 logs.
Apache Tomcat/7.0.54
However, when I do the same install using an IBM WebSphere Liberty server, everything works fine. We do want to use Apache Tomcat instead of WebSphere Liberty.
What am I doing wrong? What's this "management service" and how can I start it or activate it? Or at least check it? Does it have something to do with JMX?