IBM Mobilefirst CLI - 服务器启动问题 [英] IBM Mobilefirst CLI - Server start issue

查看:115
本文介绍了IBM Mobilefirst CLI - 服务器启动问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在我的Mac上安装了IBM MobileFirst CLI,但我似乎无法启动服务器。见下面的错误。我搜索了互联网,发现JDK中存在一个导致JavaLaunchHelper错误的错误。我从这里下载了可以解决问题的测试版 - JDK下载链接
。但这也无济于事。任何其他帮助表示赞赏。

I recently installed IBM MobileFirst CLI on my Mac, but I don't seem to be able to start the Server. See error below. I searched the internet and found that there is a bug in JDK which causes the JavaLaunchHelper error. I downloaded the beta version that supposedly fixes the issue from here - JDK Download Link . But this doesn't help either. Any other help is appreciated.


Imayas-MBP:EmployeeDirectory imaya $ mfp start初始化
MobileFirst控制台。 objc [18564]:类JavaLaunchHelper是在
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java

/中实现的
图书馆/的Java / JavaVirtualMachines / jdk1.7.0_80.jdk /内容/首页/ JRE / lib目录/ libinstrument.dylib。
将使用其中一个。哪一个未定义。启动
服务器工作单。服务器工作灯启动失败。检查服务器日志
了解详细信息。
/Users/imaya/.ibm/mobilefirst/6.3.0/server/wlp/bin/server:line 744:
18563中止陷阱:6$ {JAVA_CMD}$ @> $ {JAVA_CMD_LOG}
2>& 1错误:MobileFirst服务器无法启动。端口可能在
中由另一个正在运行的服务器实例使用,或者服务器可能不存在

Imayas-MBP:EmployeeDirectory imaya$ mfp start Initializing MobileFirst Console. objc[18564]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. Starting server worklight. Server worklight start failed. Check server logs for details. /Users/imaya/.ibm/mobilefirst/6.3.0/server/wlp/bin/server: line 744: 18563 Abort trap: 6 "${JAVA_CMD}" "$@" > "${JAVA_CMD_LOG}" 2>&1 Error: The MobileFirst server failed to start. The port may be in use by another instance of a running server, or the server may not exist.


推荐答案

JavaLaunchHelper错误不是问题所在;任何使用Java 7的人都会遇到它,但无论如何都会有效。

The JavaLaunchHelper error is not the problem here; Anyone using Java 7 will experience it, but things will work regardless.

这里的问题是第二个错误:

The problem here is the second error:

MobileFirst服务器无法启动。该端口可能正在使用
正在运行的服务器的另一个实例,或者该服务器可能不存在。

The MobileFirst server failed to start. The port may be in use by another instance of a running server, or the server may not exist.

验证您没有已经运行的服务器,它是由CLI或MFP安装中的MFP Studio启动的。

Verify you do not have an already running server, that was started either by the CLI or by MFP Studio in an Eclipse installation.


  1. 在命令行中,运行 mfp stop

  2. 在Eclipse中,好吧,退出它

  3. 确保Java进程未运行

然后,重新开始。使用CLI,创建一个新项目和应用程序并尝试启动服务器。例如:

Then, start over. Using the CLI, create a new project and application and try to start the server. For example:


  1. cd / Users / idanadar / Desktop

  2. mfp create testProject

  3. cd testProject

  4. mfp add hybrid testApp

  5. mfp start

  6. mfp build

  7. mfp deploy

  8. mfp console

  1. cd /Users/idanadar/Desktop
  2. mfp create testProject
  3. cd testProject
  4. mfp add hybrid testApp
  5. mfp start
  6. mfp build
  7. mfp deploy
  8. mfp console

这篇关于IBM Mobilefirst CLI - 服务器启动问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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