IBM WorkLight控制台 [英] IBM WorkLight Console

查看:104
本文介绍了IBM WorkLight控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Worklight服务器未运行它会出现以下错误:



localhost上的HTTP预览所需的端口8080已在使用中。服务器可能已在另一个进程中运行,或者系统进程可能正在使用该端口。要启动此服务器,您需要停止其他进程或更改端口号。

解决方案

我已经自行解决了问题。



当您使用Worklight Studio启动Eclipse时,会自动启动嵌入式应用程序服务器以托管适配器和应用程序的Worklight Server实例。



此内部服务器默认使用端口8080.



如果端口8080被开发计算机上运行的另一个应用程序占用,则可能需要配置Worklight Studio内部服务器使用不同的端口。为此,请按照以下说明操作:



步骤1:在Eclipse主文件夹中,打开eclipse.ini文件。此文件与Eclipse可执行文件位于同一文件夹中。



步骤2:在-vmargs行之后,添加:-Dworklight.port = 8085(或任何其他您选择的端口号)



第3步:重启Eclipse



如果您开发Facebook应用程序或移动设备网络应用程序,您还应该确保将此端口也设置为文件中的配置值

publicWorkLightPort< projectname>

/ server / conf / worklight每个Worklight项目的.properties。这可确保Worklight Console的功能获取Facebook的URL和嵌入网页正常工作。



您可以在第7页找到它。这是PDF的链接。



http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/docs/wl_5_0_dev_env_install.pdf



谢谢&此致,



Muhammad Omer Khan

软件工程师

联合银行有限公司

巴基斯坦

Worklight server is not running it gives following error:

Port 8080 required by HTTP Preview at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

解决方案

I have resolved issue by myself.

When you start Eclipse with Worklight Studio, an embedded application server is started automatically to host a Worklight Server instance for your adapters and apps.

This internal server uses port 8080 by default.

If port 8080 is occupied by another application running on your development computer, you may need to configure Worklight Studio’s internal server to use a different port. To do so, follow these instructions:

Step 1: In the Eclipse home folder, open the eclipse.ini file. This file is located in the same folder with the Eclipse executable.

Step 2: After the -vmargs line, add: -Dworklight.port=8085 (or any other port number of your choice)

Step 3: Restart Eclipse

If you develop Facebook apps or mobile web apps, you should also make sure that you set this port also as the value of the configuration
publicWorkLightPort in the file <projectname>
/server/conf/worklight.properties, of each of your Worklight projects. This ensures that Worklight Console’s features Get URL for Facebook and Embed in Web Page work correctly.

You can find it on page 7. Here is the link to the PDF.

http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/docs/wl_5_0_dev_env_install.pdf

Thanks & Regards,

Muhammad Omer Khan
Software Engineer
United Bank Limited
Pakistan


这篇关于IBM WorkLight控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆