Ibm cloud 使用Cloudant的IBM容器上的MFPF不';行不通
我按照以下步骤选择Cloudant作为其数据库 在IBM容器上运行IBM MaBiLe1.1平台基础 似乎创建db命令已成功执行Ibm cloud 使用Cloudant的IBM容器上的MFPF不';行不通,ibm-cloud,ibm-mobilefirst,Ibm Cloud,Ibm Mobilefirst,我按照以下步骤选择Cloudant作为其数据库 在IBM容器上运行IBM MaBiLe1.1平台基础 似乎创建db命令已成功执行 ./prepareserverdbs.sh args/prepareserverdbs.properties Arguments : ----------- DB_TYPE : cloudantNoSQLDB DB_SRV_NAME : container1114 DB_SRV_PLAN : Shared APP_NAME : container111
./prepareserverdbs.sh args/prepareserverdbs.properties
Arguments :
-----------
DB_TYPE : cloudantNoSQLDB
DB_SRV_NAME : container1114
DB_SRV_PLAN : Shared
APP_NAME : container1114
RUNTIME_NAME :
SCHEMA_NAME : WLADMIN
Creating database Service - container1114
Successfully created Database Service
Creating application 'container1114'
Application Created Successfully
Getting database configuration
Configuration saved in file '../usr/config/wladmin.xml'
Successfully Completed Cloudant NoSQL DB Service Binding
bash-3.2$ ./prepareserverdbs.sh args/prepareserverdbs.properties
Arguments :
-----------
DB_TYPE : cloudantNoSQLDB
DB_SRV_NAME : container1114
DB_SRV_PLAN : Shared
APP_NAME : container1114
RUNTIME_NAME : AdapterBasedAuth
SCHEMA_NAME : AdapterBasedAuth
Database service 'container1114' exists
Application 'container1114' exists
Getting database configuration
Configuration saved in file '../usr/config/AdapterBasedAuth.xml'
Successfully Completed Cloudant NoSQL DB Service Binding
但是当我打开Cloudant web控制台时,我没有看到任何数据库
我使用这个cloudant服务绑定应用程序成功创建了容器。但当我打开MFPF控制台时,我看不到任何应用程序。我在“messages.log”中发现了以下错误
我怎样才能解决这个问题
[11/13/15 12:31:40:955 UTC] 000000b4 com.ibm.worklight.management.ui.servlet.ServiceProxy E Exception Server returned HTTP response code: 500 for URL: http://134.168.23.233:9080/worklightadmin/management-apis/1.0/runtimes?fullInfo=true while redirecting request to http://134.168.23.233:9080/worklightadmin/management-apis/1.0/runtimes?fullInfo=true
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant URL = https://e8ebde9a-5f33-4364-8eb0-d77a028f5f66-bluemix:c27f9feffefc04bf53321c1185757fed47b0d6775334ee802bc0a180xxxxxx@e8ebde9a-5f33-4364-8eb0-d77a02xxxxxxx-bluemix.cloudant.com
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Databasename = mfp_admin_db
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Username = e8ebde9a-5f33-4364-8eb0-d77xxxxx6-bluemix
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Password = ****************************************************************
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Connect Timeout = null
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Socket Timeout = null
[11/13/15 12:34:56:406 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Max Connections = null
[11/13/15 12:34:56:407 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant SSL Authentication = null
[11/13/15 12:34:56:407 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant SSL Configuration = null
[11/13/15 12:34:56:407 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Proxy Host = null
[11/13/15 12:34:56:407 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Proxy Port = null
[11/13/15 12:34:56:408 UTC] 000000ef com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant URL = https://e8ebde9a-5f33-4364-8eb0-d77a028f5f66-bluemix:c27f9feffefc04bf53321c1185757fed47b0d6775334ee802bc0a1800b2746e4@e8ebde9a-5f33-4364-8eb0-d77a0xxxxxx-bluemix.cloudant.com
[11/13/15 12:34:56:408 UTC] 000000ef com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Databasename = mfp_admin_db
[11/13/15 12:34:56:408 UTC] 000000ef com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Username = e8ebde9a-5f33-4364-8eb0-d77a028f5f66-bluemix
[11/13/15 12:34:56:408 UTC] 000000ef com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Password = ****************************************************************
[11/13/15 12:34:56:408 UTC] 000000ef com.ibm.worklight.admin.datastore.DataStoreCloudantUtil I Cloudant Connect Timeout = null
[11/13/15 12:34:56:407 UTC] 000000eb com.ibm.worklight.admin.datastore.DataStoreCloudantUtil E Failed to allocate Cloudant Data Store even though it is configured.
仅供参考,对于CloudantDB,prepareserverdb.scripts不会创建任何表。它发生在使用startserver脚本创建容器的过程中 当您遇到任何问题时,可以查看Bluemix状态通知页面。它将向您实时显示每个服务状态 在执行prepareserver.sh脚本操作之前,是否添加了任何项目运行时(WAR)。只有在执行映像生成(后期定制)之前添加项目后,才会在MFPF控制台上显示运行时(而不是应用程序)。您可以在登录到运行时下的管理控制台后添加应用程序、适配器
例如。。。基于MobileFirstStarter映像的容器默认只有一个运行时,称为“MobileFirstStarter”“仅供参考,对于CloudantDB,prepareserverdb.scripts不会创建任何表。它发生在使用startserver脚本创建容器的过程中。”。这就是我的答案。非常感谢。