I am trying to follow the Getting Started section for Worklight on developerWorks. I have installed Worklight Studio 6.1 Consumer Edition (instead of Development Edition) into Eclipse 4.3.2. I did the basic creation of an app and tried to run it. However, the Worklight Development Server that was automatically created for me will not start. I deleted the app to see if I could get it to start but it still fails. The error message is:
[ERROR ] CWWKZ0005E: The application _MobileBrowserSimulator cannot start because the server is not configured to handle applications of type war.
That was the same error I was getting for the app I created. I can see no place in the server configuration to tell it whether or not it should handle WAR files. In fact, it will gladly allow me to add a Web Application based on a WAR file via the Server Configuration editor. The entire console for the Worklight Development Server is:
Listening for transport dt_socket at address: 10777
Launching worklight (WebSphere Application Server 8.5.5.0/wlp-1.0.3.20130524-0951) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51-b13 (en_US)
[AUDIT ] CWWKE0001I: The server worklight has been launched.
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[AUDIT ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[ERROR ] CWWKZ0005E: The application _MobileBrowserSimulator cannot start because the server is not configured to handle applications of type war.
[AUDIT ] CWWKE0036I: The server worklight stopped after 1 minutes, 0.848 seconds.
How do I tell the development server to handle WAR files? Or is something else going on here?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…