ibm-mobilefirst - Unable to upload Cordova code to MFP version 8 with mfpdev command -
问题描述
I have imstall IBM MFP 8 on a Ubuntu server with Tomcat 8.
I have configured mfpdev on my local machine and have access to the MFP server. However, I get the follwoing errors when I tried to register my code to the MFP server. Can you please let me know how to fix this issue.
command = mfpdev -d app register qamobilegcpmfp1 mfp
Result =
mfpdev-cli verb cli process.argv=["/usr/local/bin/node","/usr/local/bin/mfpdev","-d","app","register","qamobilegcpmfp1","mfp"]
mfpdev-cli verb cli opts={"debug":true,"argv":{"remain":["app","register","qamobilegcpmfp1","mfp"],"cooked":["--debug","app","register","qamobilegcpmfp1","mfp"],"original":["-d","app","register","qamobilegcpmfp1","mfp"]}}
mfpdev-cli verb cli mobilefirst@8.0.0
mfpdev-cli verb cli node@v6.9.5
Verifying server configuration...
mfpdev-cli verb getRuntimes processResp: success
Registering to server:'http://172.16.001.99:3100' runtime:'mfp'
mfpdev-cli verb detectPlatforms detecting platforms present
mfpdev-cli verb parsePlatformInfo Parsing platform: cordova-android
mfpdev-cli verb mfp-config-xml Initializing get, set, and delete methods.
Updated config.xml file located at: /Users/Douments/Development/mymobile/dev/MobileV2/config.xml
Run 'cordova prepare' to propagate changes.
mfpdev-cli verb postRawBody processResp: OK(200) failure: {
mfpdev-cli verb postRawBody "jse_shortmsg": "Server request was unsuccessful. Check your server's availability or contact IBM Support.",
mfpdev-cli verb postRawBody "jse_summary": "Server request was unsuccessful. Check your server's availability or contact IBM Support.: FWLSE0323: State change failure: HTTP 200 - OK",
mfpdev-cli verb postRawBody "jse_cause": {
mfpdev-cli verb postRawBody "jse_shortmsg": "FWLSE0323: State change failure",
mfpdev-cli verb postRawBody "jse_summary": "FWLSE0323: State change failure: HTTP 200 - OK",
mfpdev-cli verb postRawBody "jse_cause": {
mfpdev-cli verb postRawBody "name": "OK"
mfpdev-cli verb postRawBody },
mfpdev-cli verb postRawBody "message": "FWLSE0323: State change failure: HTTP 200 - OK",
mfpdev-cli verb postRawBody "name": "FAILURE"
mfpdev-cli verb postRawBody },
mfpdev-cli verb postRawBody "message": "Server request was unsuccessful. Check your server's availability or contact IBM Support.: FWLSE0323: State change failure: HTTP 200 - OK",
"java.io.FileNotFoundException: http://localhost:3100/mfpadminconfig/api/schema/mfp_default_schema/1.0/configuration/21be5c1b-c988-4af3-b32e-d5ca0895574f?dataOnly=true"
解决方案
推荐阅读
- bash - 如何从集成终端窗口在新的集成终端窗口中运行脚本
- android - 有没有办法重新映射android数字键盘以赋予小数和负号自己的独立键?
- python - scipy.optimize.curve_fit:不是正确的浮点数组错误/对象对于所需数组来说太深
- reactjs - 使用地图功能ReactJS水平对齐卡片
- angular - Angular FormControl 数据未从视图更新
- laravel - Laravel - 将 Where 子句与 If 语句和参数一起使用
- swift - 无法使用 Alamofire 从这个 swift 类访问我的 API
- ruby-on-rails - 如何将 rake 与从开发环境执行生产数据库命令分开?
- python-3.x - 使用 CuDNNLSTM 预测 Y 标签
- python - 将 Pandas DataFrame 转换为 VALUES sql 语句