当我尝试将运行时推送到 MFP CLI 服务器时出现错误
版本 7.1.0.00.20151219-1541
install-WAR: [configureapplicationserver] 将任务的输出记录到文件 /Users/hannade/.mobilefirst_platform_server/configuration-logs/configureApplicationServer_2015_12_24_09_39_49.log [configureapplicationserver] 警告:自 V7.0.0 起,IBM MobileFirst Platform Foundation 中已弃用 Reports 数据库。[configureapplicationserver] 改用 Operational Analytics。[配置应用服务器] 见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 将 WAR 文件部署到服务器时出错。mobilefirst-cli sill build-deploy-war 错误:mobilefirst-cli sill build-deploy-war 构建失败 mobilefirst-cli sill build-deploy-war /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight- server/lib/build.xml:413:内部元素:无法访问数据库 jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT mobilefirst-cli sill build-deploy-war 详细信息:java.sql.SQLException:无法使用类加载器 AntClassLoader [/ Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar],有关详细信息,请参阅下一个异常。"端口":10080,"登录":"admin","密码":"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"} 错误:将 WAR 文件部署到服务器时出错。错误:构建失败/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413:内部元素:
总时间:1秒
mobilefirst-cli sill {"jse_shortmsg":"将 WAR 文件部署到服务器时出错。\n错误:\nBUILD FAILED\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build. xml:413:内部元素:无法访问数据库 jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\n详细信息:java.sql.SQLException:失败使用类加载器 AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/ 启动数据库“/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT” generator-worklight-server/lib/worklight-ant-deployer.jar],详见下一个异常。\n\n总时间:1秒\n","jse_summary":"将WAR文件部署到服务器时出错。\n错误:\n构建失败\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:413:内部元素:无法访问数据库 jdbc:derby:/Users/hannade/ .ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\n详细信息:java.sql.SQLException:无法启动数据库'/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219- 1535/server/derby/kmf/WRKLGHT' 带有类加载器 AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/worklight-ant-deployer.jar],见下详细信息例外。\n\n总时间:1 秒\n","message":"将 WAR 文件部署到服务器时出错。\n错误:\nBUILD FAILED\n/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules /generator-worklight-server/lib/build.xml:413: 里面的元素:无法访问数据库 jdbc:derby:/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT\n详细信息:java.sql.SQLException: 无法启动数据库'/Users/hannade /.ibm/mobilefirst/7.1.0.00.20151219-1535/server/derby/kmf/WRKLGHT' 带有类加载器 AntClassLoader[/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/ worklight-ant-deployer.jar],详见下一个异常。\n\n总时间:1 秒\n"} mobilefirst-cli sill 无法确定以下可部署的状态:{"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 无法确定以下可部署的状态:{"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":"适配器","status":"APP_SOURCE_FOUND","technology":"hybrid","platform":"Adapter","structure":"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"} mobilefirst-cli sill 无法确定以下可部署的状态:{"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" “技术”:“混合”,“平台”:“适配器”,“结构”:"Legacy","platformId":"hybridAdapterLegacy","debugLevel":"silly"} mobilefirst-cli sill 无法确定以下可部署的状态:{"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 无法确定以下可部署的状态:{"applicationDirectory":"/Users/hannade/Developer/KMF/kmf","platformDirectory":"/Users/hannade/Developer/KMF/kmf/adapters/ depositToReview","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 可以无法确定以下可部署的状态:{"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 无法确定以下可部署的状态:{"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 无法确定以下可部署:{"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"} 错误:Push has failed mobilefirst-cli verb cli finish with mobilefirst push mobilefirst-cli verb code 0 macsupports-MacBook-Pro-8:kmf hannade$Push has failed mobilefirst-cli verb cli finish with mobilefirst push mobilefirst-cli verb code 0 macsupports-MacBook-Pro-8:kmf hannade$Push has failed mobilefirst-cli verb cli finish with mobilefirst push mobilefirst-cli verb code 0 macsupports-MacBook-Pro-8:kmf hannade$