【问题标题】:Error while starting MobileFirst 7.1 CLI Server启动 MobileFirst 7.1 CLI 服务器时出错
【发布时间】:2016-04-07 13:04:38
【问题描述】:

使用命令 mfp start 启动 MobileFirst 7.1 Cli 服务器时出现以下错误

Cannot find the server configuration. Creating a new MobileFirst test server.
The development server is being created.
The development server has been successfully created with the following information:
Server Directory: /Users/vamsik/.ibm/mobilefirst/7.1.0.00.20160401-2103/server/
URL: http://localhost:10080/
Initializing MobileFirst Console.
objc[57651]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Starting server worklight.
Server worklight started with process ID 57650.
The server is listening on port 10080.
Server Directory: /Users/vamsik/.ibm/mobilefirst/7.1.0.00.20160401-2103/server/
URL: http://localhost:10080/
Error: Deploy process failed.

我卸载了 MobileFirst 7.1 CLI 并重新安装了它,但在启动服务器时遇到了同样的错误。我没有启动任何其他 MobileFirst Server,甚至 Eclipse 的 MobileFirst Server。

当我给 mfp push 时,我收到以下错误

Preparing for push...
Error: error code: 126
Error: The MobileFirst server that you have configured does not appear to be running. Start the server with 'mobilefirst start'.
Error: SERVERNOTRUNNING
Error: Push has failed

【问题讨论】:

  • 重新安装后,是否使用了之前创建的同一个项目?如果是,您实际上是否首先使用“mfp start”启动它?还是您创建了一个新项目?另外,您的 Java 版本是多少?
  • 你在那个端口上运行了其他东西吗? MobileFirst 通常使用三个端口,10080 (http)、10443 (http) 和 10777(用于远程调试)。您可以使用lsof -i :<port#> 查看这些端口上的内容
  • @IdanAdar 我尝试使用旧项目和新创建的项目,但遇到相同的错误。我的 Java 版本:“1.7.0_67”。当我给mfp status 时,我收到消息,因为服务器正在侦听端口 10080

标签: ibm-mobilefirst mobilefirst-server mobilefirst-cli


【解决方案1】:

尝试的选项:

  1. 确保您还没有打开并运行 MobileFirst Studio for Eclipse
  2. 擦“mfp stop”,然后擦“rm -rf .ibm”,然后创建一个新项目,导航到它,然后擦“mfp start”
  3. 重新启动您的工作站

【讨论】:

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