【问题标题】:IBM MobileFirst Platfform CLI 6.3: Unable to load MobileFirst server and admin ConsoleIBM MobileFirst Platform CLI 6.3:无法加载 MobileFirst 服务器和管理控制台
【发布时间】:2015-02-13 04:13:46
【问题描述】:

我们已按照链接中的 6.3 版 IBM Developer 文档中提到的远程服务器上的静默安装过程进行操作: https://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/dev/t_silent_installation.html

从以下链接下载了 MobileFirst CLI 6.3 文件:: http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst_cli_installer_6.3.0.zip

将其解压缩到 MobileFirst CLI 6.3.0 并复制 installer.properties 文件,其中包含闲置内容,

LICENSE_ACCEPTED=TRUE

USER_INSTALL_DIR=/opt/ibm/Worklight-CLI

并留在同一个文件夹中,我将 CLI 3.0 安装到指定文件夹:

./install_linux.bin -i silent -f installer.properties

应用程序已安装到 /opt/ibm/Worklight-CLI 目录。

然后,我们根据链接中指定的命令行命令创建了一个示例应用程序: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/dev/r_wl_cli_commands_and_their_definitions.html

$ mfp create MyProject
$ cd MyProject
$ mfp build
$ mfp deploy

在应用程序构建和部署之后,当我们尝试通过浏览器检查 MobileFirst 控制台时,带有链接: http://xxx.xxx.xxx.xxx:10080/worklightconsole

登录 admin/admin 凭据后,页面显示,加载环境,但在等待 30 秒或更长时间后,它会引发错误,如附图所示。 但在日志文件中显示一些 JAR 文件丢失。我尝试多次安装 MFP 6.3 的新副本。但一直都是同一个问题。

请查看附件中的日志文件和截图。

我无法找出确切的问题。

服务器错误。请联系服务器管理员。

服务器配置:

  • Ubuntu 14.04.01 LTS
  • MobileFirst 版本:6.3.0.00.20141127-1401
  • java 版本:“1.7.0_65”
  • java.home = /usr/lib/jvm/java-7-openjdk-amd64/jre
  • OpenJDK 运行时环境 (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
  • OpenJDK 64 位服务器 VM(内部版本 24.65-b04,混合模式)

控制台错误消息:

日志文件:

[12/11/14 10:27:57:376 IST] 0000002f m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W SRVE9967W: 清单类路径 jaxb-api.jar 无法在 jar文件
wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi 。罐 或其父级。

[12/11/14 10:27:57:376 IST] 0000002f m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W SRVE9967W: 清单类路径activation.jar 找不到 jar文件

wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1。 12.osgi.jar 或其父级。

[12/11/14 10:27:57:376 IST] 0000002f m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W SRVE9967W: 找不到清单类路径 jsr173_1.0_api.jar 在jar文件中

wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1。 12.osgi.jar 或其父级。

[12/11/14 10:27:57:377 IST] 0000002f m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W SRVE9967W: 在中找不到清单类路径 jaxb1-impl.jar jar文件

wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1。 12.osgi.jar 或其父级。

[12/11/14 10:27:57:637 IST] 00000029 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: 正在装入 Web 模块:IBMJMXConnectorREST。

【问题讨论】:

    标签: ibm-mobilefirst mobilefirst-cli


    【解决方案1】:

    您只链接到文档。请编辑问题并描述您实际完成的操作

    这些是我为使用 MobileFirst CLI 创建新项目和应用程序然后打开 MobileFirst 控制台而采取的步骤(基于 CLI tutorial):

    系统:

    • OS X 10.10.1
    • Oracle Java(操作系统默认安装)

    在终端:

    1. cd /Users/idanadar/Desktop
    2. mfp 创建 testProject
    3. cd testProject
    4. mfp 添加混合 testApp
    5. 多功能一体机启动
    6. mfp 构建
    7. mfp 部署
    8. 多功能一体机控制台

    控制台已打开:

    【讨论】:

    【解决方案2】:

    检查 Eclipse 工作区的路径中是否有空格。 Liberty 8.5.5.3(MobileFirst Platform Foundation 6.3 中包含的内部开发服务器)存在一个已知限制,即路径名中不能有空格:

    https://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.getstart.doc/start/c_known_limitations.html

    与您的日志文件中显示的内容相匹配的故障可能会在控制台启动和应用部署或预览时发生。

    【讨论】:

    • MFP 服务器启动时加载日志文件消息。一切正常,除非我们打开 worklight 控制台检查已部署的应用程序。只是为了测试,我已经在本地 Ubuntu 系统上安装并检查了相同的东西,谢谢,它的工作。但不在远程 linux 服务器上。
    【解决方案3】:

    问题出在托管服务器上。他们已经部分开放了 ​​10080 端口。因为端口允许单向通信。由于某些安全原因,托管服务器组织对其进行了一些限制。现在它解决了。现在我们可以通过 worklight 控制台部署和检查已部署的应用程序了。

    感谢大家的建议和努力解决我长期列出的问题并尝试解决它。​​

    我发表了这条评论:因为其他一些人可能面临同样的问题。所以至少他们可以尽快解决这种问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-20
      • 2017-08-30
      • 2015-08-16
      • 1970-01-01
      相关资源
      最近更新 更多