问题描述
当我尝试通过右键单击应用程序名称来构建和部署我的应用程序 - >运行方式 - >全部构建和部署...我在控制台中收到失败通知:
When I am trying to build and deploy my application by right-clicking on application name -> Run As -> Build All and Deploy... I am getting a failure notification in the console:
我首先安装了Eclipse Juno,然后在其中安装了Worklight V6的插件。是否需要通过其他方式安装Worklight服务器?
I have first installed Eclipse Juno and then installed plug-in of Worklight V6 in it. Is it required to install Worklight server by some other means?
这是整个日志:
这是我在启动服务器时获得的整个日志 -
登录后更改prt和IP地址 -
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.6.0_45-b06 (en_IN)
[AUDIT ] CWWKE0001I: The server worklight has been launched.
[ERROR ] CWWKO0221E: TCP Channel defaultHttpEndpoint initialization did not succeed. The socket bind did not succeed for host 10.0.0.1 and port 8080. The port might already be in use.
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[err] 255 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[err] 2256 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 2850 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[err] 1 WorklightReportsPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[AUDIT ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[err] 1 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[err] 214 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 216 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[err] 0 WorklightReportsPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[AUDIT ] CWWKZ0022W: Application _MobileBrowserSimulator has not started in 33.066 seconds.
[AUDIT ] CWWKZ0022W: Application TestWorklightProject has not started in 31.548 seconds.
[AUDIT ] CWWKZ0022W: Application HelloWorklightProject has not started in 30.002 seconds.
推荐答案
我不知道有多少人正面对这个问题的类型和他们的Worklight服务器工作不正常,但这里是我解决我的问题的几个步骤。
I don't know how many people are facing this type of issue and their Worklight server is not working properly but here are few steps that I followed to solve my issue.
1)删除了我的整个Eclipse文件夹。
1) Deleted my whole Eclipse folder.
2)从我从Eclipse站点下载的Zipped文件中再次提取Eclipse文件夹。
2) Extracted again Eclipse folder from the Zipped file which I downloaded from Eclipse site.
3)安装的Worklight v6插件使用Eclipse中帮助选项卡中的安装新软件选项。
此链接提供了使用此流程安装的更多详细信息 -
3) Installed Worklight v6 Plugin using "Install new software" option in "Help" tab in Eclipse. More detailed info to install using this process is available at this link-
我的建议是不要使用Eclipse Marketplace安装插件,因为我在使用它时在我的两个系统中遇到麻烦
。
4)重启Eclipse并检查。
4) Restart Eclipse and check.
这篇关于IBM Worklight 6.0 - 无法访问Worklight Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!