mobilefirst-cli

Issue accessing MobileFirst adapters

亡梦爱人 提交于 2020-01-06 22:00:00
问题 I am using MobileFirst CLI 7.1, Java 1.8.0_65 (on Mac OS X 10.9.5 if it matters). I have been working without issue in my current environment for about a month now but have suddenly hit an issue with all the adapters I developed, which have been working successfully up until this point. The initial error surfaced when testing from a browser. I thought perhaps it was related to the way the WL JavaScript libraries authenticate with the adapters which run on the server (clearing the browser

How to remove an environment from the project?

僤鯓⒐⒋嵵緔 提交于 2020-01-02 06:23:19
问题 Is it possible to remove a mobile environment from the project like say Blackberry and Adobe Air environments. For instance mobilefirst add environment helps to add environment, but is there a command to remove an environment? 回答1: The CLI does not have a command to "remove an environment". You can submit feature requests, here: https://developer.ibm.com/mobilefirstplatform/help/ Your only alternative is: Navigate to the application folder and delete the environment directory as you would

MFP CLI 7.1 adapter wont deploy with mfp push command

北战南征 提交于 2019-12-23 23:30:31
问题 I have my project on github https://github.com/drkhannah/KMF I pushed this MFP cli 7.1 project to github and had a team member clone it After an npm install, I tried the 'mfp cordova preview' command, errors said this wasnt an mfp project, then I tried 'cordova platform add ios and android', then 'mfp cordova preview' worked, is this only because the platforms folder was in the .gitignore? Also I had trouble adding an adapter, since I uploaded to github without adapters, the adapters folder

My IBM MobileFirst Platform 7.1 CLI-based server has some issues; how can I easily recreate it?

痞子三分冷 提交于 2019-12-22 01:16:37
问题 I'm working with an IBM MobileFirst Platform 7.1 server supported by the Command-Line interface; however, my server isn't starting and stopping correctly. How can I recreate it easily from scratch in one command? 回答1: You might also give the "MFP eXtras" project a try --> https://github.com/kfbishop/mfpx The mfpx kill command will stop server, kill processes, clean tmp dirs, etc. MFPX is not supported / endorsed by IBM, just me (and AndrewF :). Feedback welcomed. 回答2: This chain of commands

mobilefirst ios error crashing my app

醉酒当歌 提交于 2019-12-13 07:38:08
问题 when I make a request to a url, sometimes i get a 403 response and the app crashes I have edited my entitlements-Release.plist and entitlements-debug.plist so that they contain: key-chain-access-groups: Array item 0: $(AppIdentifierPrefix)worklight.group this step let me make the call a few more times, but eventually crashed my app again mfp -v 7.1.0.00.20151227-1730 2016-01-21 12:41:49.332 kmf[2236:1264285] [DEBUG] [WORKLIGHT] +[WLClient sharedInstance] in WLClient.m:165 ::

Building project.war file Via ant missed the files in java->server folder

混江龙づ霸主 提交于 2019-12-13 04:55:42
问题 I am creating project.war file using ant and worklight-ant-builder.jar file in the MFP. While my project is build using mfp or via eclipse in the bin the .war file and classes folder have all the things including content in my server->java folder. But when i build the ant file using step 1 i dont get the files in my server->java folder. Note i have verified this by using 7-zip to see the contents in the .war file and also seen the folder classes created by the mobileFirst which contains

mobile first cli project deploy failing

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 04:12:56
问题 when i try to deploy my project using MFP CLI it gives the following error xxxx-Macmini:Nauth user-x$ mfp build App Nauth was successfully built. xxxx-Macmini:Nauth user-x$ mfp deploy Initializing MobileFirst Console Error: The MobileFirst server that you have configured does not appear to be running. Start the server with 'mobilefirst start'. mfp info xxxx-Macmini:Nauth user-x$ mfp info OS: darwin x64 Release: 11.4.2 System Memory: 128 MB free out of 4096 MB Node: v0.10.30 MobileFirst CLI: 7

MobileFirst 8.0 Cordova CLI Interface not found in app preview (MAC)

雨燕双飞 提交于 2019-12-12 18:18:46
问题 I have successfully started the server, registered the app and deployed all adapters. However, whenever I call the command: mfpdev app preview The CLI is responding with the following message: [BS] Serving files from: ./platforms Error: The Cordova command-line interface is not installed on your system path. Of course I have previously checked that Cordova is available, by using cordova -v (I am gettint '6.1') What could be the problem? I'm using OSX El Capitan 10.11.3 Update: mfpdev info

MFP CLI cannot build-deploy project initially created with MFP Studio

不打扰是莪最后的温柔 提交于 2019-12-12 17:32:37
问题 Problem Context : We initially created a MFP hybrid project with the iOS environment using MFP Studio plugin for Eclipse. We have this project under source control (Git on DevOps). Some team members in our team are doing iOS development for this project and since they are not familiar with Eclipse, they are wanting to use the CLI instead. Other developers in the same team will continue to use Studio since they are writing Java code for the MFP adapters and want to leverage the capabilities

IBM worklight:7.1: failure. state: 500, response: The server was unable to process the request from the application. Please try again later

a 夏天 提交于 2019-12-12 04:18:17
问题 I am using mobilefirst 7.1 CLI and have my services running on tomcat. My adapter talks with the services on the servers and gets back the response. I have only desktopbrowser environment in the application (Guessing that should not matter at all). I am getting this error " failure. state: 500, response: The server was unable to process the request from the application. Please try again later." And followed by : Client registration failed with error: {"responseHeaders":{"$WSEP":"","Date":"Mon