ibm-cloud

Any way to access a NFS from Bluemix runtime?

牧云@^-^@ 提交于 2019-12-13 06:38:37
问题 I need to push an application to Bluemix that requires access to a remote file system via NFS. I haven't found any NFS service. Existing Object Store services use Swift API and the application requires native file system access, not other kind of APIs. I tried to execute "mkdir" and "mount" commands from app initialization but it seems there are restrictions for such executions from the user that runs the runtime. I got return codes that mean errors. So I run out of ideas. Do you have any

How to connect php with IBM SQL Database using Bluemix?

泪湿孤枕 提交于 2019-12-13 06:09:31
问题 Suppose, i am connect to mysql database using mysql_coni(), so that now i am try to connect IBM SQL Database which provide by IBM Bluemix. Which function or which correct way used to connect PHP With IBM SQL Database within bluemix. 回答1: To connect to the SQLDB service in Bluemix you can use db2_connect. You should use a connection string instead of separate database/username/pw/etc. parameters because it is a remote DB service Following an example of parsing VCAP_SERVICES to connect to the

IBM Bluemix: Device connected, but 'IBMIoT: Error: Connection refused: Not authorized' message keeps popping up

北战南征 提交于 2019-12-13 05:50:40
问题 I am experimenting with IoT services in IBM Bluemix, attending a running MOOC at Coursera. I have set up my trial account and successfully registered some devices. I am testing the connectivity between Bluemix and my Raspberry Pi with the following simple Node-RED flow in Bluemix: Node-RED flow @ Bluemix where normal and alert are simple injection nodes of the respective strings, the format message node is similarly simple (returns msg , where msg.payload = {'a' : {'indicator' : msg.payload}}

Running DreamFactory 2.0 on BlueMix

微笑、不失礼 提交于 2019-12-13 05:37:18
问题 I am trying to get DreamFactory 2.0 running on BlueMix. I have followed the instructions found at https://developer.ibm.com/bluemix/2014/06/17/getting-started-laravel-bluemix/ on running Laravel applications on BlueMix. I have everything under htdocs except for .bp-config, .cfignore, manifest.yml and composer.json. I have modified the path to artisan for all the scripts in composer.json and then did cf push df2 In the log messages, I see the php buildpack getting installed, all the modules

Error deploying application from Eclipse to Bluemix

本秂侑毒 提交于 2019-12-13 05:11:18
问题 While pushing an application from Eclipse to Bluemix, I received this error: Error: Client error - Error performing operation: 500 Error I tried multiple times but received the same error whenever pushing the application. 回答1: We are currently experiencing some issues in our South region. We expect these issues to be resolved shortly. For updates on the status of our runtimes, please see the following: https://developer.ibm.com/bluemix/support/#status 来源: https://stackoverflow.com/questions

Deploying a Standard vNext WebApplication VS Next 2015 RC to Bluemix fails

霸气de小男生 提交于 2019-12-13 05:06:05
问题 I'm trying to deploy a aspnet5 Project (Template vNext WebApplication from Visual Studio) to Bluemix CF Service (Asp.net). Yet it's not possible and fails with: OUT FAILED: Writing Release YML failed, 746: unexpected token at '?{ OUT "webroot": "wwwroot", OUT "dependencies": { OUT "Microsoft.AspNet.Diagnostics": "1.0.0-beta4", OUT "Microsoft.AspNet.Mvc": "6.0.0-beta4", OUT "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta4", OUT "Microsoft.AspNet.Server.IIS": "1.0.0-beta4", OUT "Microsoft.AspNet

How can I install the Rule Designer on Eclipse for the Business Rules service on Bluemix?

爷,独闯天下 提交于 2019-12-13 04:55:41
问题 I want to use the Business Rules service on Bluemix (powered by ODM) provided by IBM. I have tried to setting up Rule Designer into Eclipse with the manual. However, I can’t find the URL or Location for Eclipse update site on this manual. Could you tell me the way to setting up the software? 回答1: If you see point 6 In the Add Repository dialog, enter the following repository details. Name: Business Rules Service Rule Designer Location: http://businessrules-updates.eu-gb.bluemix.net/ Update

Database script encounterd “AWKDBE018E Cannot access required JDBC Driver folder” in Workload Scheduler

爱⌒轻易说出口 提交于 2019-12-13 04:38:53
问题 I create a step of database script which access to SQL Database Service in Workload Scheduler Service. When I run the process, the step encountered the error below. error message AWKDBE018E Cannot access required JDBC Driver folder message information http://www-01.ibm.com/support/knowledgecenter/SSGSPN_9.2.0/com.ibm.tivoli.itws.doc_9.2/common/src_ms/awsmsawkdbe.htm?lang=en AWKDBE018E Cannot access required JDBC Driver folder Explanation The job was not able to access a JDBC Driver folder,

IBM Db2: select numeric characters only from a column

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 04:36:14
问题 I have a column 'TEST_COLUMN' that carries 3 values: 123 123ad(44) w-eq1dfd2 I need to SELECT TEST_COLUMN but get the following result: 123 12344 12 I am running on Db2 Warehouse on Cloud. 回答1: You can use REGEXP_REPLACE: SELECT REGEXP_REPLACE( '123Red345', '[A-Za-z]','',1) FROM sysibm.sysdummy1 The query would return "123345". Because you asked below, here is the generic version: SELECT REGEXP_REPLACE(YOUR_COLUMN, '[A-Za-z]','',1) FROM SCHEMA.TABLE 来源: https://stackoverflow.com/questions

Deploying meanjs to Bluemix, but always failing

三世轮回 提交于 2019-12-13 04:12:17
问题 node-pre-gyp install --fallback-to-build sh: 1: node-pre-gyp: not found npm ERR! Linux 3.19.0-25-generic npm ERR! argv "node" "/tmp/staged/app/.heroku/node/bin/npm" "rebuild" npm ERR! node v0.10.40 npm ERR! npm v3.3.5 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! v8-debug@0.4.6 install: node-pre-gyp install --fallback-to-build npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback