我无法在worklight开发服务器上运行我的移动应用程序

时间:2015-01-10 13:01:24

标签: ibm-mobilefirst worklight-server

  

FWLPL0010W:从目标服务器检测到“localhost”   组态。使用主机的主IP地址,   197.255.122.78,构建Worklight应用程序。请考虑使用完全限定的主机名(避免使用“localhost”)或有效的IP   代替地址。可以通过打开来修改该值   Worklight Development Server的配置编辑器   “服务器”视图。

     

[2015-01-10 12:34:11]
  com.worklight.studio.plugin.nls.Messages:FWLPL0001W:服务器没有   开始了。构建可能在第一次试用时失败。 [2015-01-10 12:34:11]   FWLPL0017E:由于Worklight无法打开Worklight控制台   服务器未运行。右键单击服务器'Worklight Development   服务器'从“服务器”视图并从菜单中选择“开始”以启动   服务器。

1 个答案:

答案 0 :(得分:1)

从评论中,问题似乎如下:

  

Server Worklight Development Server无法在120内启动   秒。如果服务器需要更多时间,请尝试增加超时   在服务器编辑器中。

Google搜索提出了以下相同的问题:Worklight Server not starting

根据http://www-01.ibm.com/support/docview.wss?uid=swg21668175

中的说明提供了解决方案
To resolve this problem, you can apply one or both of the following workarounds.

    Complete the following steps to increase the timeout default value:
        1.Open the Servers view.

        2.Double-click the Worklight Development Server to open the Overview pane.

        3.Expand the Timeouts section.

        4.Increase the value in the Start (in seconds) field. Consider doubling the default value; that is, set it to 120 seconds.

    Complete the following steps to remove the unnecessary applications from Worklight Development Server.
        1.Open the Servers view.

        2.Right-click the Worklight Development Server.

        3.Select the Add and Remove option.

        4.Remove all applications that you do not intend to work on.

对配置进行任何这些更改后,请重新启动服务器。