This question already has answers here:
react-native :app:installDebug FAILED
(35 answers)
Closed 8 days ago.
when I run npx react-native run-android it giving Error the following shows the content of error message
npx react-native run-android
info JS server already running.
info Installing the app...
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Task :react-native-gradle-plugin:compileKotlin
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (157, 32): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (163, 31): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (171, 36): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (114, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with root to point to your root project and reactNativeDir to point to the folder of the react-native NPM package
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (27, 51): 'BaseVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (130, 12): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'LibraryVariant' is deprecated. Deprecated in Java
w: /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (251, 14): 'BaseVariant' is deprecated. Deprecated in Java
Checking the license for package Android SDK Tools in /home/krishna/Android/Sdk/licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in /home/krishna/Android/Sdk/tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 30.0.3 in /home/krishna/Android/Sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /home/krishna/Android/Sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 31 in /home/krishna/Android/Sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /home/krishna/Android/Sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
Task :app:compileDebugJavaWithJavac
Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libevent-2.1.so, libevent_core-2.1.so, libevent_extra-2.1.so, libfabricjni.so, libfb.so, libfbjni.so, libflipper.so, libfolly_runtime.so, libglog.so, libglog_init.so, libhermes-executor-debug.so, libhermes.so, libimagepipeline.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, librrc_image.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libturbomodulejsijni.so, libyoga.so.
Task :app:installDebug
Installing APK 'app-debug.apk' on 'M2101K6P - 12' for :app:debug
Task :app:installDebug FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
38 actionable tasks: 38 executed
Note: /home/krishna/Documents/workspace/13oct2022/PureNative/android/app/src/debug/java/com/purenative/ReactNativeFlipper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[CXX1101] NDK at /home/krishna/Android/Sdk/ndk/21.4.7075529 did not have a source.properties file
Unable to install /home/krishna/Documents/workspace/13oct2022/PureNative/android/app/build/outputs/apk/debug/app-debug.apk
com.android.ddmlib.InstallException: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
at utorWorker.run(DefaultPlanExecutor.java:342)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51)
at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:54)
at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:43)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40)
at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:161)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:247)
at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$7(StateTransitionController.java:174)
at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174)
at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:161)
at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController.java:156)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109)
at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:164)
at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:45)
at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:183)
at java.base#11.0.16/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base#11.0.16/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.base#11.0.16/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base#11.0.16/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base#11.0.16/java.lang.Thread.run(Thread.java:829)
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:installDebug'.
java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 7m 16s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Note: /home/krishna/Documents/workspace/13oct2022/PureNative/android/app/src/debug/java/com/purenative/ReactNativeFlipper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[CXX1101] NDK at /home/krishna/Android/Sdk/ndk/21.4.7075529 did not have a source.properties file
Unable to install /home/krishna/Documents/workspace/13oct2022/PureNative/android/app/build/outputs/apk/debug/app-debug.apk
com.android.ddmlib.InstallException: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
What went wrong:
Execution failed for task ':app:installDebug'.
java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 7m 16s
at makeError (/home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/execa/index.js:174:9)
at /home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/#react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/home/krishna/Documents/workspace/13oct2022/PureNative/node_modules/#react-native-community/cli/build/index.js:142:9)
info Run CLI with --verbose flag for more details.
Follow React-native and android setup from here
Node & Watchman
brew install node
brew install watchman
Java Development Kit
brew tap homebrew/cask-versions
brew install --cask zulu11
Android development environment
Install Android Studio
Install the Android SDK
Configure the ANDROID_SDK_ROOT environment variable
I've just installed the version 7.1 of the MFP CLI on a Windows 10 VMware.
JDK 1.8.0_92 is installed, and the JAVA_HOME env variable has been setup accordingly
Below is the error I get when trying the mfp start:
C:\Users\johan\Documents\Workspaces\MobileFirst\SampleHybridApp>mfp start -d
mobilefirst-cli verb cli process.argv=["C:\Program Files\IBM\MobileFirst-CLI\\IBMnode\node.exe","C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\bin\mobilefirst-cli.js","start","-d"]
mobilefirst-cli verb cli opts={"debug":true,"argv":{"remain":["start"],"cooked":["start","--debug"],"original":["start","-d"]}}
mobilefirst-cli verb cli mobilefirst#7.1.0.00.20160401-2108
mobilefirst-cli verb cli node#v0.10.36
Initializing MobileFirst Console.
mobilefirst-cli verb ant variables -Dworklight.server.install.dir=C:\Users\johan.ibm\mobilefirst\7.1.0.00.20160401-2103\server
mobilefirst-cli verb ant variables -Dworklight.port=10080
mobilefirst-cli verb ant variables -Dbasedir=C:\Users\johan\Documents\Workspaces\MobileFirst\SampleHybridApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.33
mobilefirst-cli verb ant variables -file=C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib\build.xml
mobilefirst-cli verb ant task build-WAR
Buildfile: C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib\build.xml
build-WAR:
[echo] Building worklight WAR for project SampleHybridApp
[war-builder] Copied 5 empty directories to 4 empty directories under C:\Users\johan\Documents\Workspaces\MobileFirst\SampleHybridApp\bin\classes
[war-builder] Compiling 2 source files to C:\Users\johan\Documents\Workspaces\MobileFirst\SampleHybridApp\bin\classes
Error: build-WAR Failed Error:
BUILD FAILED
C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib\build.xml:153: Could not compile java classes. Make sure JAVA_HOME points to the JDK, and the classpath is correctly set.
Total time: 1 second
Error: The server start-up process failed.
mobilefirst-cli verb cli finish with mobilefirst start
mobilefirst-cli verb code 1
Other MFP CLI command seems to be working since I was able to add a WindowsPhone environment to my Hybrid app project...
Could someone please provide some help? Is the MFP CLI 7.1 supported on Windows 10?
Thanks
In MFP 7.1, JDK 1.8 is not supported. Please use JDK 1.7.
Run mfp stop and try creating a new hybrid app to see if the issue is still occurring.
You can also remove the .war file and start the server again and it will rebuild the war file.
I'm getting an error when I try to push my runtime to the MFP CLI server
version 7.1.0.00.20151219-1541
install-WAR:
[configureapplicationserver] Logging output of task to file /Users/hannade/.mobilefirst_platform_server/configuration-logs/configureApplicationServer_2015_12_24_09_39_49.log
[configureapplicationserver] WARNING: The Reports database is deprecated in IBM MobileFirst Platform Foundation since V7.0.0.
[configureapplicationserver] Use Operational Analytics instead.
[configureapplicationserver] See http://ibm.biz/knowctr#SSHS8R_7.1.0/com.ibm.worklight.monitor.doc/monitor/c_op_analytics_overview.html
mobilefirst-cli sill build-deploy-war Error deploying WAR file to server.
mobilefirst-cli sill build-deploy-war Error:
mobilefirst-cli sill build-deploy-war BUILD FAILED
mobilefirst-cli sill build-deploy-war /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413: Element inside inside : Cannot access database jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT
mobilefirst-cli sill build-deploy-war Details: java.sql.SQLException: Failed to start database '/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' with class loader AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar], see the next exception for details.
mobilefirst-cli sill build-deploy-war
mobilefirst-cli sill build-deploy-war Total time: 1 second
mobilefirst-cli sill build-deploy-war
mobilefirst-cli sill mfp_push-main project not valid: {"cmdInfo":{"debugLevel":"silly","cwd":"/Users/hannade/Developer/KMF/kmf","rawArgs":{"remain":[],"cooked":["--dd"],"original":["--dd"]}},"deployables":[{"platform":"Common","platformId":"hybridCommonLegacy","platformDirectory":"/Users/hannade/Developer/KMF/kmf/apps/test","type":"application","environment":"common","applicationDirectory":"/Users/hannade/Developer/KMF/kmf","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","technology":"hybrid","structure":"Legacy","status":"APP_SOURCE_FOUND","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/JSDataAdapter","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/deposit","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/depositHistory","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/depositsToReview","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/history","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/review","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"},{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/test","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}],"projectType":"MFP_LEGACY_PROJECT","projectPath":"/Users/hannade/Developer/KMF/kmf","backendRuntime":{"path":"/Users/hannade/Developer/KMF/kmf","localServerInfo":{"local":true,"protocol":"http","host":"localhost","port":10080,"login":"admin","password":"YWRtaW4=","wlpInstallDir":"/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server","wlpServerName":"worklight","jarDir":"/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/WorklightServer","version":"7.1.0.00.20151219-1535"},"serversDirectory":"/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server","name":"kmf"},"mobileFirstPath":"/Users/hannade/Developer/KMF/kmf/mobilefirst"}
Error: Error deploying WAR file to server.
Error:
BUILD FAILED
/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413: Element inside inside : Cannot access database jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT
Details: java.sql.SQLException: Failed to start database '/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' with class loader AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar], see the next exception for details.
Total time: 1 second
mobilefirst-cli sill {"jse_shortmsg":"Error deploying WAR file to server.\nError: \nBUILD FAILED\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413: Element inside inside : Cannot access database jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\nDetails: java.sql.SQLException: Failed to start database '/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' with class loader AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar], see the next exception for details.\n\nTotal time: 1 second\n","jse_summary":"Error deploying WAR file to server.\nError: \nBUILD FAILED\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413: Element inside inside : Cannot access database jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\nDetails: java.sql.SQLException: Failed to start database '/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' with class loader AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar], see the next exception for details.\n\nTotal time: 1 second\n","message":"Error deploying WAR file to server.\nError: \nBUILD FAILED\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413: Element inside inside : Cannot access database jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\nDetails: java.sql.SQLException: Failed to start database '/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' with class loader AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar], see the next exception for details.\n\nTotal time: 1 second\n"}
mobilefirst-cli sill could not determine status of the following deployablable: {"platform":"Common","platformId":"hybridCommonLegacy","platformDirectory":"/Users/hannade/Developer/KMF/kmf/apps/test","type":"application","environment":"common","applicationDirectory":"/Users/hannade/Developer/KMF/kmf","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","technology":"hybrid","structure":"Legacy","status":"APP_SOURCE_FOUND","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/JSDataAdapter","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/deposit","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/depositHistory","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/depositsToReview","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/history","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/review","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
mobilefirst-cli sill could not determine status of the following deployablable: {"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/test","mfpConfigDirectory":"/Users/hannade/Developer/KMF/kmf","archiveDirectory":"/Users/hannade/Developer/KMF/kmf/bin","type":"adapter","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"}
Error: Push has failed
mobilefirst-cli verb cli finish with mobilefirst push
mobilefirst-cli verb code 0
macsupports-MacBook-Pro-8:kmf hannade$
Difficult to tell from the exception.
You can try again with the debug flag as it may tell more.
Alternatively you can open a PMR to have the development team further investigate it. As it it the workaround it not connect to the proxy at the same time. Sounds like a potential bug...
Context:
We developed an app using MFP v6.3. Using MFP CLI v6.3, we can restart, build and deploy all assets (WAR, adapters, and apps) without any problems.
Problem:
Using MFP CLI v7.0 to deploy the MFP v6.3 adapters and apps is not working. Below, I am including most of the from executing 'mfp restart'; note that the exit code is 1. I also included the output of 'mfp bd'. It seems the only MFP asset that gets deployed is the WAR file; MFP adapters and apps are not deployed. Bringing the MFP console also confirms this.
MFP CLI v7.0 restart output:
$ mfp restart -d
[...]
BUILD SUCCESSFUL
Total time: 2 seconds
mobilefirst-cli verb ant variables -Dbasedir=/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task install-admin
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
install-admin
[...]
BUILD SUCCESSFUL
Total time: 1 second
mobilefirst-cli verb ant variables -Dbasedir=/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task install-WAR
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
install-WAR:
[configureapplicationserver] Logging output of task <configureApplicationServer> to file /Users/olivieri/.mobilefirst_platform_server/configuration-logs/configureApplicationServer_2015_06_17_23_46_28.log
[configureapplicationserver] ** Creating migrated war file
[configureapplicationserver] Jun 17, 2015 11:46:29 PM com.worklight.ant.migration.MigrationTask MigrationTask.execute
[configureapplicationserver] INFO: FWLST2014I: The migration process was bypassed, because the project WAR file of version 7.0.0.00.20150608-1356 is compatible with the server version 7.0.0.00.20150608-1356.
[configureapplicationserver] Jun 17, 2015 11:46:29 PM com.worklight.ant.migration.MigrationTask MigrationTask.execute
[configureapplicationserver] INFO: FWLST2015I: The project WAR file was successfully copied to the destination location '/var/folders/c9/gf_f0_sd60q1mm9kxwgvlxsr0000gn/T/wla3231324120/PerchReadyApp.war'.
[configureapplicationserver] ** Created migrated war file
[configureapplicationserver] Copying /var/folders/c9/gf_f0_sd60q1mm9kxwgvlxsr0000gn/T/wla3231324120/derby.jar to /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/shared/resources/PerchReadyApp/derby/derby.jar
[configureapplicationserver] Copying /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/servers/worklight/server.xml to /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/servers/worklight/server.xml.bak16
[configureapplicationserver] Modifying /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/servers/worklight/server.xml
[configureapplicationserver] Copying /var/folders/c9/gf_f0_sd60q1mm9kxwgvlxsr0000gn/T/wla3231324120/PerchReadyApp.war to /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/servers/worklight/apps/PerchReadyApp.war
BUILD SUCCESSFUL
Total time: 1 second
objc[22452]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_75.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 22451.
mobilefirst-cli verb ant variables -Dbasedir=/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task upgrade
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
upgrade:
[project-upgrader] FINE: DEBUG_PERFORM_UPGRADE
[project-upgrader] INFO: FWLST1022I: Starting to migrate the PerchReadyApp project from version 6.3.0.00.20150214-1702 to version 7.0.0.00.20150608-1356.
[project-upgrader] INFO: FWLPL0025I: The PerchReadyApp project is being saved as /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/PerchReadyApp_2015_06_17_234645.backup.zip file.
[project-upgrader] path found:6.3.0.0--->7.0.0.0
[project-upgrader] FINE: DEBUG_FOUND_PATH
[project-upgrader] INFO: FWLST1226I: Added Authorization Manager Cordova plugin to config.xml (/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/apps/Perch/iphone/native/config.xml).
[project-upgrader] FINE: DEBUG_STAMP_VERSION
[project-upgrader] WARN: FWLST1118W: Native libraries in application 'Perch' were upgraded. It is recommended to deploy this app with a new version to the WL Server and also publish a new version in the App Store for the environment(s): iphone. Clients with older SDKs will no longer receive direct update. You may want to block/notify older versions to enforce the customers to upgrade to a newer version from the app store.
[project-upgrader] INFO: FWLPL0018I: Migrating the PerchReadyApp project from version 6.3.0.00.20150214-1702 to version 7.0.0.00.20150608-1356 has succeeded.
BUILD SUCCESSFUL
Total time: 20 seconds
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task build-All
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
build-All:
build-WAR:
[echo] Building worklight WAR for project PerchReadyApp
[war-builder] Ignoring contents of 'server/java' folder. To include this folder, set the 'compileJava' property to true.
[war-builder] Building war: /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/bin/PerchReadyApp.war
build-Adapters:
[echo] Build MobileFirst adapters for project PerchReadyApp
[echo] Building MobileFirst Adapter /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/adapters/AuthenticationAdapter
[echo] Worklight Ant task version 7.0.0.00.20150608-1356
[adapter-builder] Building zip: /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/bin/AuthenticationAdapter.adapter
[echo] Building MobileFirst Adapter /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/adapters/DBSetupAdapter
[echo] Worklight Ant task version 7.0.0.00.20150608-1356
[adapter-builder] Building zip: /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/bin/DBSetupAdapter.adapter
[echo] Building MobileFirst Adapter /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/adapters/PerchAdapter
[echo] Worklight Ant task version 7.0.0.00.20150608-1356
[adapter-builder] Building zip: /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/bin/PerchAdapter.adapter
build-Apps:
[echo] Build MobileFirst apps for project PerchReadyApp
[echo] Building Hybrid MobileFirst App /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/apps/Perch
[echo] Worklight Ant task version 7.0.0.00.20150608-1356
[app-builder] Jun 17, 2015 11:47:08 PM com.worklight.ant.builders.ApplicationBuilderTask execute
[app-builder] SUCCESS: FWLST2001I: Successfully built environments: [common, iphone]
BUILD SUCCESSFUL
Total time: 4 seconds
mobilefirst-cli verb ant variables -Dbasedir=/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task runtime-status
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
runtime-status:
[wladm] <?xml version="1.0" encoding="UTF-8"?>
[wladm] <runtime name="PerchReadyApp" numberOfAdapters="0" numberOfApplications="0" synchronizationStatus="ok" numberOfActiveDevices="0" numberOfDecommissionedDevices="0" isDeviceTabEnabled="true" isAccessManagementEnabled="false" analyticsConsolePath="http://192.168.1.126:10080/analytics/console" bitlyApiKey="" bitlyUsername="" platformVersion="7.0.0.00.20150608-1356" serverVersion="7.0.0.00.20150608-1356" developmentMode="true" deviceTrackingEnabled="true" running="true" auditEnabled="true" topology="STANDALONE" productVersion="7.0.0.00-20150608-1356">
[wladm] <license numberOfActiveDevices="0" numberOfInactiveDevices="0" numberOfApplications="0" numberOfServers="0" lastReportDate="2015-06-18T04:43:10.546Z" decommissionTaskInterval="86400" decommissionWhen="90" maxNumberOfRecordedDevices="0" maxNumberOfRecordedDevicesOnDate="2015-06-18T04:31:50.030Z" archiveDecommissionWhen="90"/>
[wladm] </runtime>
BUILD SUCCESSFUL
Total time: 1 second
mobilefirst-cli verb ant variables -Dbasedir=/Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp
mobilefirst-cli verb ant variables -Dworklight.jars.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib
mobilefirst-cli verb ant variables -Dworklight.ant.tools.dir=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools
mobilefirst-cli verb ant variables -Dworklight.hostname=192.168.1.126
mobilefirst-cli verb ant variables -file=/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
mobilefirst-cli verb ant task deploy-All
Buildfile: /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml
deploy-All:
minimal-update-WAR:
[updateapplicationserver] Logging output of task <updateApplicationServer> to file /Users/olivieri/.mobilefirst_platform_server/configuration-logs/updateApplicationServer_2015_06_17_23_47_11.log
[updateapplicationserver] ** Creating migrated war file
[updateapplicationserver] Jun 17, 2015 11:47:11 PM com.worklight.ant.migration.MigrationTask MigrationTask.execute
[updateapplicationserver] INFO: FWLST2014I: The migration process was bypassed, because the project WAR file of version 7.0.0.00.20150608-1356 is compatible with the server version 7.0.0.00.20150608-1356.
[updateapplicationserver] Jun 17, 2015 11:47:11 PM com.worklight.ant.migration.MigrationTask MigrationTask.execute
[updateapplicationserver] INFO: FWLST2015I: The project WAR file was successfully copied to the destination location '/var/folders/c9/gf_f0_sd60q1mm9kxwgvlxsr0000gn/T/wla8891032652/PerchReadyApp.war'.
[updateapplicationserver] ** Created migrated war file
[updateapplicationserver] Copying /var/folders/c9/gf_f0_sd60q1mm9kxwgvlxsr0000gn/T/wla8891032652/PerchReadyApp.war to /Users/olivieri/.ibm/mobilefirst/7.0.0.00.20150608-1356/server/wlp/usr/servers/worklight/apps/PerchReadyApp.war
deploy-Adapters:
[echo] Deploy MobileFirst adapters for project PerchReadyApp
[echo] Deploying MobileFirst Adapter /Users/olivieri/git/Ready.App.4.Perch/PerchReadyApp/bin/AuthenticationAdapter.adapter to http://192.168.1.126:10080/worklightadmin
[echo] Username admin
mobilefirst-cli verb cli finish with mobilefirst restart
mobilefirst-cli verb code 1
**MFP CLI v7.0 bd output:**
$ mfp bd -d
All apps and adapters were successfully built.
$
So maybe semantic, but you can't have a 6.3 project with v7.0 CLI. The first command you run within that project will force an automatic upgrade to the level of the CLI.
I'm unable to replicate your issue using a basic test case.
MFP v6.3
create and start server
create project and adapter
build, deploy, test adapter ok
stop server
MFP 7.0
create and start v7.0 server
[Project is automatically upgraded to v7.0]
build, deploy, test adapter ok
Please PM me your project, or a subset that replicates the issue, and I'll dig further, and/or get development involved.