- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试通过右键单击应用程序名称 -> Run As -> Build All and Deploy 来构建和部署我的应用程序时...我在控制台中收到失败通知:
Failed to deploy the application to Worklight server: please verify that the Worklight server is started and reachable.
我先安装了Eclipse Juno,然后在里面安装了Worklight V6的插件。是否需要通过其他方式安装 Worklight 服务器?
这是整个日志:
[2013-07-21 09:55:04] FWLPL0001W: Server not started yet. Build may fail at first trial. [2013-07-21 09:55:13] Starting build process: application 'HelloWorklightApp', all environments [2013-07-21 09:55:14] FWLPL0010W: "localhost" was detected from the target server configuration. Using the primary IP address of the host machine, 101.218.109.86, 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. [2013-07-21 09:55:16] Application 'HelloWorklightApp' with all environments build finished. [2013-07-21 09:55:16] Deploying application 'HelloWorklightApp' with all environments to Worklight Server... [2013-07-21 09:55:38]
Failed to deploy the application to Worklight server: please verify that the Worklight server is started and reachable.
这是我启动服务器时得到的完整日志-
[AUDIT ] CWWKE0001I: The server worklight has been launched. [ERROR ] CWWKO0030E: An exception was generated when starting chain CHAIN-defaultHttpEndpoint because of exception com.ibm.wsspi.channelfw.exception.ChannelException: TCP Channel: defaultHttpEndpoint- Problem occurred while starting channel: Unable to establish loopback connection [AUDIT ] CWWKZ0058I: Monitoring dropins for applications. [AUDIT ] CWWKF0011I: The server worklight is ready to run a smarter planet. [AUDIT ] CWWKZ0022W: Application _MobileBrowserSimulator has not started in 30.002 seconds. [AUDIT ] CWWKZ0022W: Application HelloWorklightProject has not started in 30.001 seconds. [AUDIT ] CWWKG0016I: Starting server configuration update. [AUDIT ] CWWKG0018I: The server configuration was not updated. No functional changes were detected. [AUDIT ] CWWKG0016I: Starting server configuration update. [AUDIT ] CWWKG0017I: The server configuration was successfully updated in 0.043 seconds. [AUDIT ] CWWKZ0022W: Application TestWorklightProject has not started in 30.002 seconds.
更改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 项目和应用程序之后
查看更改主机值是否有帮助。您也可以在此处更改端口,以防 10080 被占用而您出于任何原因无法释放它。
关于ibm-mobilefirst - IBM Worklight 6.0 - 无法访问 Worklight Server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17769156/
我在 IBM worklight for android 上开发了一个应用程序。我必须使用 Web 服务,但我需要 Worklight 服务器。我想知道为什么在 worklight 上开发的应用程序需
我在像这样的 Work Light 混合项目中有一个自定义身份验证器 public class MyCustomAuthenticator implements WorkLightAuthentica
我正在寻找有关如何将现有 Worklight 代码导入支持 Worklight 的 Eclipse 环境的信息。 除了导入项目之外,似乎还可以导入应用程序和适配器。应用程序和适配器必须包含哪些子组件才
能否将 Worklight Server 部署到还运行其他非 Worklight .ear 应用程序的 WebSphere 应用程序服务器?或者 Worklight 是否需要自己独立的 WAS 实例?
我正在使用 Worklight,并且很难理解什么是 Worklight 服务器。 它在哪里? 当我们构建应用程序时,它会在服务器控制台中显示该应用程序正在部署到 Worklight Server。 最
有没有一种方法可以更改 Android 选项菜单中的默认“Worklight 设置”字符串(由 Worklight 提供)? 最佳答案 更新:更正了答案...... 是的。 打开 yourApp.js
我想将应用程序图标从默认图标更改为自定义图标。 我在 application-descriptor.xml 中使用这个元素 common/images/some-logo.png 但没有任何变化。 W
我需要自定义一个屏幕,用户可以在其中通知客户端的 worklight 服务器 ip。我可以动态更改 url 连接吗?我知道在 android 中按下菜单按钮,有通知 url 的选项,但我想要自定义屏幕
在我的 Linux 机器上, 当我导入 WorklightStarter project对于 Worklight 6.1 到全新的 Eclipse 环境(w/Worklight Studio 从 Ec
我刚刚升级到 Worklight 6.0,但现在找不到我的控制台!我曾经访问过 http://localhost:8080/console 但我现在无法访问。 Worklight 告诉我以下内容: [
当我尝试通过右键单击应用程序名称 -> Run As -> Build All and Deploy 来构建和部署我的应用程序时...我在控制台中收到失败通知: Failed to deploy th
我可以使用适用于 Android 的 Facebook SDK 登录 Facebook 并获取用户信息。执行此操作时,所有代码都在 src/com.name/MainActivity.java 中。
我使用 worklight 6.0 和 dojo toolkit 1.9 为 android environment2.2 开发了一个示例混合应用程序。当我在模拟器上测试这个应用程序时它工作正常。但是
IBM Worklight 6.0 安装在带有 mySQL 数据库的 Liberty Profile 8.5.5 上。在部署应用程序并尝试访问 Worklight 控制台时,在控制台上遇到以下错误 E
我正在 Windows 计算机上的 Eclipse 上使用 worklight。我永远无法让它正常停止或重新启动。通常我必须花 5 分钟尝试删除服务器并添加回工作灯项目,然后它可能会再次启动。有人经历
我想知道如何在 worklight 中发送本地通知。我希望即使应用程序不在前台,通知也会显示在设备屏幕上。我进行了搜索,只发现使用 WL.SimpleDialog,但是这只在用户打开应用程序时显示。有
我已将 NativeAPIForIOSPush 作为服务器组件设置了 module_07_04_iOSNativePush iOS项目。我已经在工作灯项目中更新了.p12文件。并将applicatio
我在使用 Worklight 适配器进行基本身份验证时遇到问题。每当我对 REST URL 进行身份验证时,它都会进行身份验证。但是,身份验证似乎在 Worklight 服务器中创建了一个 sessi
当我尝试在我的一个 worklight 项目上构建和部署所有内容时,我开始遇到此错误: !ENTRY com.worklight.studio.plugin 4 0 2013-03-18 10:17:
Worklight 是否支持对同一项目使用两个推送证书? 我需要在开发和生产模式下测试我的项目,所以我需要放两个 .p12 文件。 Worklight 文档说我们需要将证书命名为“apns-certi
我是一名优秀的程序员,十分优秀!