Search code examples
eclipseeclipse-junoibm-mobilefirst

Deployment fails with 'An internal error occurred during: "Start Worklight Server"'


I have Worklight Developer 5.0.6 installed on Eclipse 4.2.2 (Juno).

Trying to deploy a plain-vanilla Worklight project (hybrid WL application created w/ Wizard), I get a pop-up window entitled Problem Occurred. The Details view shows this error message:

An internal error occurred during: "Start Worklight Server". 
org/apache/tools/ant/types/selectors/FileSelector

The Worklight Console in Eclipse shows this:

[2013-05-28 09:51:58]             Worklight Server started successfully on localhost:8080   
[2013-05-28 09:51:58]             Activating Worklight project: DemoAppProject...   
[2013-05-28 09:51:58]             Customization not found for project DemoAppProject. 
Building explicitly.

Checking the Worklight Console on http://localhost:8080/console I see that the server is running, but there's no active project.

What am I missing?


Solution

  • @bluez,

    Based on your comments to my questions below,
    I've installed Eclipse Classic 4.2.2 (Juno, on my Mac OS X 10.8.3) and Worklight Studio plug-in from the IBM website you've linked to.
    Created a new Worklight project and application. Build all and Deploy - deployment passed successfully.

    Make sure that:

    • The "check for updates" checkbox is ticked before starting the plug-in installation.
    • You have Java JDK version 6 or later installed

    1. Is this Eclipse Java EE 4.2.2 (Juno SR2), or another variant?
    2. Does the project's .war file exist under the project's bin\ folder?
    3. Is this a clean installation of Eclipse and Worklight plug-in, or an upgrade?