我无法在 Worklight 开发服务器上 运行 我的移动应用程序
I can't run my mobile app on worklight development server
FWLPL0010W: "localhost" was detected from the target server
configuration. Using the primary IP address of the host machine,
197.255.122.78, to build the Worklight application(s). Consider using a fully qualified hostname (avoid using "localhost") or a valid IP
address instead. The value can be modified by opening the
configuration editor of Worklight Development Server from the
"Servers" view.
[2015-01-10 12:34:11]
com.worklight.studio.plugin.nls.Messages:FWLPL0001W: Server not
started yet. Build may fail at first trial. [2015-01-10 12:34:11]
FWLPL0017E: Worklight Console can not be opened because the Worklight
Server is not running. Right-click the server 'Worklight Development
Server' from "Servers" view and select "Start" from the menu to start
the server.
根据评论,问题似乎如下:
Server Worklight Development Server was unable to start within 120
seconds. If the server requires more time, try increasing the timeout
in the server editor.
A 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.
对配置进行任何这些更改后,重新启动服务器。
FWLPL0010W: "localhost" was detected from the target server configuration. Using the primary IP address of the host machine, 197.255.122.78, to build the Worklight application(s). Consider using a fully qualified hostname (avoid using "localhost") or a valid IP address instead. The value can be modified by opening the configuration editor of Worklight Development Server from the "Servers" view.
[2015-01-10 12:34:11]
com.worklight.studio.plugin.nls.Messages:FWLPL0001W: Server not started yet. Build may fail at first trial. [2015-01-10 12:34:11] FWLPL0017E: Worklight Console can not be opened because the Worklight Server is not running. Right-click the server 'Worklight Development Server' from "Servers" view and select "Start" from the menu to start the server.
根据评论,问题似乎如下:
Server Worklight Development Server was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor.
A 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.
对配置进行任何这些更改后,重新启动服务器。