FAQ Database Discussion Community


How to connect PHP web service on BlueMix and Android app? [closed]

php,android,json,db2,bluemix
I need to create a connection between a SQL DB2 database located on BlueMix and an Android App. To do so, I wanted to create a web service to handle the communication between the database and the app using JSON data. This web service is written in PHP, which needs...

Is there any known limit for the size of an app uploaded and for the GBs assigned to a runtime?

cloudfoundry,bluemix
I was asked to deploy a Java EE application of 700MB (single EAR file) which requires 8 GB of RAM to execute. I searched the docs but I didn't found any documented limit for those two parameters: size and RAM. Any URL or idea? Thanks!...

Error deploying application from Eclipse to Bluemix

cloudfoundry,bluemix
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....

Connecting Android application to BlueMix stored DB2 Database

android,database,db2,database-connection,bluemix
How can I connect an Android application to a DB2 database stored in BlueMix? I know that some Java libraries are missing in Android, so I can't use JDBC to connect to the database. Any Idea?...

How to debug asp.net remotely on bluemix?

c#,asp.net,bluemix
is it possible to debug my asp.net c# project remotely in the bluemix cloud?

How can I use AMA(Advance Mobile Access) custom authentication with OAuth service provider?

bluemix
How can I use AMA custom authentication with OAuth service provider? Perhaps, the AMA doc of Implementing Bluemix Single Sign On as a custom in identity provider. in Getting started could help this. But this doc has deleted....

Automatically import REST APIs from GitHub / via API into API Manager?

import,automation,swagger,bluemix,swagger-2.0
Does the API Manager / Bluemix provide an interface (API, hook) to automatically update API definitions when I push Swagger 2.0 API definition changes to a GitHub repository?

How to add users to Cloud Directory via API?

single-sign-on,bluemix
I am using Bluemix Single Sign On Cloud Directory from Node.js and I would like to be able to register users from the app (not manually via administration). Is it possible? After reading the docs I haven't found any API specification. Thanks!...

Does cf push respect the use of .gitignore?

git,push,bluemix
I'm using the .gitignore file below with the hope that when I push my application, the tmp directory and swap files will be ignored. That isn't happening though and now I am wondering if cf push even considers .gitignore? *.swp tmp/ Does anyone know if cf push takes a .gitignore...

Cloudant does not not store object data sent via Bluemix “Data for iOS 8”

ios,bluemix,cloudant
I am trying to store a simple object (a custom class that has two String properties) in a Cloudant DB from an iOS App. I am making use of the Bluemix iOS SDK, specifically "Data for iOS 8". So far I am trying to apply the samples for the Swift...

Why can't Node-RED parse the VCAP_SERVICES environment in Bluemix?

bluemix,node-red
I am using Node-RED and want to parse in Bluemix VCAP_SERVICES but I am getting an error. My code is: var services = context.global.VCAP_SERVICES; var env_cloudint = services['CloudIntegration'][0].credentials; but I get this error : TypeError: Cannot read property 'CloudIntegration' of undefined I do have CloudIntegration in my VCAP_SERVICES. Do I...

Populate API Manager “Documentation and Attachments” tab from Swagger 2.0 definition?

swagger,bluemix,swagger-2.0
How do I specify items for the "Documentation and Attachments" tab in the API Manager in my Swagger 2.0 definition? ...

Can I use Java 8 on IBM's Bluemix Application Platform

java-8,ibm,bluemix
I would like to use Java 8 features in Bluemix standalone java application, is this supported by default or do I need to alter some configuration?

Bluemix API Manager Swagger 2.0 import ignores “formData” variables

import,integration,swagger,bluemix,swagger-2.0
In this code, path and query variables are imported, but the form data variable is not. However, (non-IBM) Swagger UI displays it correctly. { ... "paths": { "/stuff/{p}": { "post": { "consumes": [ "application/x-www-form-urlencoded", "multipart/form-data" ], "parameters": [ { "name": "p", "in": "path", "description": "Path variable", "required": true, "type": "string"...

Any way to access a NFS from Bluemix runtime?

bluemix
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...

Liberty Java Runtime - Websphere release change management

java,release,bluemix
The documentation is very clear on how to manage different versions of JRE but do you know how Bluemix manage the change of websphere release? To be concrete, if I launch today my java application on the current websphere 8.5, can I be confident that, if websphere is upgraded to...

Why can't I unbind this service?

cloudfoundry,sendgrid,bluemix
When I try to unbind a specific SendGrid service from my Java Liberty application running on Bluemix, I get the following error message: Service broker error: {"description"=>"Received exception with class 'javax.ws.rs.client.ResponseProcessingException' and message 'Problem with reading the data, class com.appdirect.backend.integration.custom.sendgrid.output.SendGridResult, ContentType: application/xml;charset=utf-8.' while calling integration endpoint 'null'."} I get the...

An internal error has occurred. The application may still be initializing or the URL used is invalid

bluemix,dashdb
When I try opening the dashDB console from Bluemix, I occasionally get the following error message: An internal error has occurred. The application may still be initializing or the URL used is invalid. Check the URL and try again. For more information, view the server log files. How can I...

Able to connect to Cloudant database, but cannot list contents from Bluemix Node.js app

node.js,api,bluemix,cloudant
I am using the CloudantDB service for a Bluemix app and I am able to connect to my database successfully but not list the contents. I get the error message: Error: one of _all_dbs, _admin, server_admin is required for this request Here is the code that causes this error message:...

Single Sign-On on Bluemix: how to retrive user profile after binding SSO service to Liberty

single-sign-on,bluemix
I create an app, and bind it to Liberty. It works fine. But how could I get the user profile after user login? I saw there is a "Return-to url" in integration tab: https://ssoConfigboard.mybluemix.net:443/oidcclient/redirect/rwuYaLiy78 But after I visit this url, I got 500 server error: Error 500: SRVE0295E: Error reported:...

Bluemix Load Balancer Algorithm

load-balancing,bluemix,autoscaling
What algorithm is used to balance HTTP load among several instances running on Bluemix? It seems I can use auto-scaling service to scale horizontally, and want to know what algorithm is used when balancing the load.

Laravel 5 app on Bluemix

php,laravel,composer-php,bluemix
I’ve been having trouble to deploy my laravel app to bluemix using laravel 4.2 and 5.0. This is the error in the blumix logs: 2015-05-01T16:52:49.71+0100 [STG/0] ERR [UnexpectedValueException] 2015-05-01T16:52:49.71+0100 [STG/0] ERR Could not parse version constraint ^1.2.2: Invalid version string “^1.2.2″ 2015-05-01T16:52:49.71+0100 [STG/0] ERR install [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev]...

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

cloudfoundry,asp.net-5,bluemix
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":...

Can I use a service bound to apps in one Bluemix region across other Bluemix regions?

bluemix
There are multiple regions in Bluemix. I have a service instance bound to an application in one region and I want to use that service instance in other Bluemix regions. I've not found a clear intuitive way to do this. Is there a supported method? Thanks!...

Beginner: Bluemix programming languages for analysis of IoT data

bluemix
I am a h/w engineer interested in using Bluemix for an IOT application. Other than C, I do not know any programming language but I am willing to learn whatever necessary. My application is as follows: My sensor nodes would upload data to an existing h/w server that has the...

How can I convert a PHP application in Bluemix to use SQL Database instead of mySQL database?

php,mysql,db2,bluemix
I have been following this tutorial: "Build and deploy a REST API on IBM Bluemix with PHP and MySQL." The tutorial uses mySQL. I want to use the SQL Database service, which uses DB2, I think. The tutorial implements a REST API. When I try making a REST call using...

Getting “error”: “No text provided” when trying to post content to V2/Profile of personality insights API

python,json,bluemix,ibm-watson,personality-insights
I have deployed watson-developer-cloud/personality-insights-python module in to bluemix and created an APP in Bluemix. The link for my app is running absolutely fine. However, when I want to invoke /v2/profile api, with a post request I am getting an error. Here is the code I used in Python. import requests,...

Error BXNUI2032E: The host is taken — Occurs while creating a Java Liberty project in IBM Bluemix

java,cloudfoundry,bluemix
I am using the Java DB Web Starter boilerplate in IBM Bluemix. When I use it to create an app called SentimentAnalysisAPP, create fails with this error: BXNUI2032E: An error occurred when contacting Cloud Foundry to create a resource. Resource: routes. Cloud Foundry message: "The host is taken: SentimentAnalysisAPP." See...

Using Twitter node in Node-RED in Bluemix

bluemix,node-red
I am a beginner in using Node-RED in Bluemix. I am trying to analyse the tweets along with sentiment analysis using sentiment node. Do we have an option to pass the tweet search keyword as a parameter? Also can we control (start/stop) the flow based on tweet count (for example...

Bluemix IoT Foundation Starter give Error: Lost connection to server

bluemix,iot
I am trying the Internet of Things Foundation Starter boilerplate in Bluemix. Here are the steps I am following: Create a new app using the boilerplate Once the app is up, I go to the URL and see the NodeRED home page I click on the button to take me...

How to retrieve api key for IBM containers after first usage

bluemix
the api key, used in 'ice login -k xxx', was shown when I started to use IBM containers beta. After that, where can I retrieve my api key in case I forgot it?

API Manager: Set API icon in Swagger 2.0 definition?

import,swagger,bluemix,swagger-2.0
Is it possible to define an API icon in the Swagger 2.0 definition that will be shown on the app developers page? Or is it at least possible to set an API icon in the API Manager UI? I could not find anything related. ...

How to specify npm version when deploying nodejs apps to bluemix?

node.js,npm,bluemix
I created a node.js application with runtime dependencies of scoped packages in my package.json: "dependencies": { "@shawnzhu/mybot" : "latest", ... }, "engines": { "npm": ">2.0.0", "node": "0.10.38" }, I also have a custom .npmrc that points scope @shawnzhu to my private npm registry. Currently it works when deploying to heroku,...

What should the Python start command look like in Bluemix?

python-3.x,bluemix
I am trying to push a python3 app to Bluemix, but get the error msg "missing start command". I have tried to add -c "python appname.py" as Python usually has in Windows and -c "python3 appname.py" as in Python in Linux, but neither works for me. Can anyone give me...

Bluemix Mobile Application Security - User Authentication

security,authentication,bluemix
In the Bluemix documentation, 2 options are available for the User Authentication in Mobile Application Security (MAS) : Google Sign-in Worklight Sign-in The documentation talks about the security token, how MAS can validate the security token and obtain user information. In the case I would like to use Worklight sign-in,...

Is it possible to activate the compatibility mode for Oracle in SQL Database?

db2,bluemix
Is there any way to activate compatibility mode for Oracle in any of the existing plans of SQL Database (DB2) in Bluemix? It seems by default is not activated. Thanks!

Are Bluemix Cloud Integration & Secure Gateway in High Availability? [on hold]

bluemix,secure-gateway
I have some questions related to the functioning of Bluemix Cloud Integration & Secure Gateway. Are they in High Availability? Do they use virtual IP or not? Thank you very much...

Android, Bluemix Error 401 : You are not authorized

android,connection,database-connection,http-status-code-401,bluemix
I downloaded the sdk from here, created an application but when i run the app the logcat notifies: Error 401, Failure: You are not authorized. I tested the Bluemix app with the sample code you can find here, obviously switching the default parameters with my app's ones....

Bluemix: Cannot create VM with public IP

openstack,bluemix
When I try to create a VM with a public IP address on Bluemix, I get the following error: Your VMs are in error - Resource CREATE failed: Error: Resource CREATE failed: Error: Resource CREATE failed: NotFound: External network f242da31-3809-48a4-aa84-46da1c50586c is not reachable from subnet a78fbf7e-1e4a-4d3a-a039-c05be4846bc3. Therefore, cannot associate Port...

How to use a private secure connection in a node.js application?

node.js,integration,bluemix
I have established a private Cloud Integration>Basic Secure Connection, but then to use/access it I have to use mutual TLS in my node.js application (which is on also on BlueMix). I have seen this post: https://developer.ibm.com/bluemix/2015/04/17/securing-destinations-tls-bluemix-secure-gateway/ which describes a way to use the private Secure Connection. But what I am...

Creating a Virtual Machine on Bluemix, is giving an error while importing ssh key [closed]

ssh,openstack,bluemix
I am following the steps to create Virtual Machine on Bluemix following the steps as below. https://www.ng.bluemix.net/docs/starters/index-gentopic4.html#vm_ssh_key I am blocked when I am trying to configure a SSH key. I am using an existing key pair which I use with my other machines. I get an error "Keypair data is...

Docker and Namespace-related errors after a successful login to Bluemix

osx,docker,bluemix
I have installed Python (with Pip and easysetup), Cloud Foundry and ICE in my host machine, OS X 10.10.3. I've booted boot2docker and attempted to ice login. After a successful login attempt: mbp-idan:~ idanadar$ boot2docker up Waiting for VM and Docker daemon to start... .o Started. Writing /Users/idanadar/.boot2docker/certs/boot2docker-vm/ca.pem Writing /Users/idanadar/.boot2docker/certs/boot2docker-vm/cert.pem...

Is there a recommended 3rd party solution to managing logs on Bluemix?

bluemix
We have a handful of Ruby (Rails/Sinatra) apps and are looking for an easy means of managing retention, search and analysis of our logs for these applications. The initial problem was that every time we'd push a new version of our apps the logs would disappear. We then started streaming...

How can I execute a program (C/C++) after uploading it to Bluemix?

bluemix
I've written a number of C/C++ programs in my local environment that I pushed to Bluemix using cf push MYAPP with null-buildpack-master for the buildpack. Now I want to execute those programs. How can I do that?...

unable to connect through SSH key to bluemix container

docker,bluemix
I am currently trying to use the bluemix container service (in beta) When I want to create a new container, I follow the steps, and just choose the name and the ports to open. I paste a SSH, and at the end I get the error : "Unable to create...

Accessing the Openstack API in Bluemix

virtual-machine,openstack,bluemix
For the VM capability in Bluemix, is it possible to use the OpenStack API? If so, how do you access it? I'm trying to use these URLs : https://keystone2.open.ibmcloud.com/v2.0/tokens (POST) with this payload: {"auth": { "tenantName": "myTenant", "passwordCredentials": {"username": "myUser", "password": "myPwd"} } } https://keystone2.open.ibmcloud.com/v3/auth/tokens (POST) with this payload :...

How can I move my application across spaces in Bluemix?

bluemix
I have a couple of apps running in my own Bluemix space and I want to shift them into a different space that we use for integration purposes. I can see no option in any part of the Bluemix UI to do this. Is there a recommended way to make...

Update of Bluemix run times or services. Will they always be backward compatible?

paas,bluemix
I've been playing with IBM Bluemix (liking it a lot so far) and we are considering to use it for production. What I'm not totally clear on is what happens when runtime environments or services get updated. I assume this happens quite frequently. Will the new version be always backward...

Does the Watson Text-to-Speech service in Bluemix work for mobile apps?

bluemix,ibm-watson
Why doesn't the Watson Text-To-Speech service on Bluemix work for mobile devices? Is this a common issue for outputstream data coming from the server? Thanks! Edit: Sry, somebody have changed my question totally. I am talking about Text-to-Speech...

CF CLI features that are enabled in Bluemix

command-line-interface,bluemix
There are a lot of cloud foundry features provided by CF CLI, that Bluemix platform has decided to disallow. CF_STAGING_TIMEOUT - Does not have any effect on Bluemix while uploading big war files. cf set quotas - Does not work on Bluemix. Delete organizations - Bluemix documentation says has to...

Bluemix: Node.js example with sqldb service (VCAP_SERVICES credentials)

javascript,node.js,bluemix
I am attempting to use the Node.js SDK runtime starter on bluemix with the SQL service and am finding that the code excerpts from the documentation are incompatible with the current version of the Node.js starter code - looks like the app code has been overhauled recently but the documentation...

AutoReconfigurationServletContainerInitializer could not be instantiated

websphere-liberty,bluemix,buildpack
I am deploying a Java EE app to Bluemix, and when first request arrives I got this error: 2015-05-20T23:11:58.51+0200 [App/0] OUT [INFO ] FFDC1015I: An FFDC Incident has been created: "java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider org.cloudfoundry.reconfiguration.spring.AutoReconfigurationServletContainerInitializer could not be instantiated com.ibm.ws.webcontainer.osgi.DynamicVirtualHost startWebApp" at ffdc_15.05.20_21.11.58.0.log It is a piece of code from Liberty...

Does Bluemix include a JBoss runtime?

jboss,cloudfoundry,bluemix
How can I create a JBoss runtime on Bluemix? The JBoss buildpack for Cloud Foundry does not support all features. The current buildpack is focused on running web applications in the servlet container and nothing further. Are there more docs on this and any updates on the plans going forward,...

Custom datasets in Watson Q&A service

bluemix,ibm-watson
Is there a way to create a custom dataset in Watson for use with services such as Question and Answer? I tried the service using the 'healthcare' dataset and it was very limited. I could ask it any of the questions that were suggested by the IBM team (ex. What...

What does the error “Uncaught Exception: Uncaught RestRequestError - Unexpected error when communicating with server.” mean?

bluemix
I am using the Hybrid SDK with the Mobile Data service on Bluemix.I execute the query.find() method against one of my classess and get: Uncaught Exception: Uncaught RestRequestError - Unexpected error when communicating with server What is the cause of this error and how can I get my call to...

Bluemix can not list docker images

docker,bluemix
I've successfully logged in bluemix container service via command ice login with following output: Authentication with container cloud service at https://api-ice.ng.bluemix.net/v1.0/containers completed successfully You can issue commands now to the container service Proceeding to authenticate with the container cloud registry at registry-ice.ng.bluemix.net Login Succeeded And ice ps -a works as...

Git Repo was created missing many project files

git,bluemix
Have a strange issue. I cloned a bluemix app I had been working on, removed the .git info, modified the manifest, package and project files and then used 'cf push' to create a new app. It appeared to work, the new project was created in bluemix and my files were...

Custom Log Handler using HTTP PUT Method and creates loop

java,java-ee,logging,bluemix
i working on a Java Webservice. We want to build our own Custom Log Service on Bluemix. To use the log service i created a custom Log handler. The log handler builds the request in the publish method and then try to send via http put method the log to...

Bluemix authentication ios8 with google and facebook

facebook,authentication,ios8,bluemix,google-authentication
I am trying to implement two types of authentication from an iOS8 device in the bluemix platform. I succeeded in adding one type of authentication: google. I am using a ADVANCED MOBILE ACCESS module, and I am at the User Authentication part. It looks from a dashboard like I can...

How to write query to my Cloudant database?

nosql,bluemix,cloudant
I am trying to achieve the right query for my NoSQL database, but I am confused how to do it in Cloudant. In SQL with be SELECT * FROM mydb WHERE user_permit_doc_id = 10 AND user_tracking_id = 1 My query is like: https://293e2cb7-3561-4004-a1c3-58d54f517ee6-bluemix.cloudant.com/user_files/_design/user_tracking/_view/new-view?startkey=["user_permit_doc_id:10"] and it returns all of the docs,...

Deleting an IBM Bluemix Internet of things services gives an error

ibm,bluemix,iot
I'm working on a Bluemix Internet of Things (IoT) project and want to delete an IoT service. Bluemix returns: Service broker error: Calling url https://bluemix-staging.internetofthings.ibmcloud.com/broker/v2/service_instances/2a98b0e9-2d48-4fed-b66b-c20cac2f83c7?plan_id=iotf-service-free-id&service_id=iotf-service-id failed with error message getaddrinfo ENOTFOUND bluemix-staging.internetofthings.ibmcloud.com I can't create a new service as well. Any ideas how to proceed?...

Bluemix Push service security concern

ios,security,sdk,push-notification,bluemix
We are using IBM Push-Notification service and Mobile-App-Security on our Bluemix app (serving iOS clients). In order to send a push notification, our server sends a POST request to: https://mobile.ng.bluemix.net/push/v1/apps/{application-id}/messages with the application secret in the Ibm-Application-Secret header (following the instructions here). To initialize Mobile-App-Security SDK inside our app you...

What is the difference between api.mybluemix vs api.ng.bluemix?

bluemix
What is the difference between the two? I am using cf api https://api.ng.bluemix.net. Another tutorial on the IBM website uses cf api https://api.mybluemix.net. Which doesn't seem to be working. Is it outdated and not working or am I using it wrong? On the Bluemix website they only show two CF...

Is it possible to use the Single Sign On Service (currently only available on US) from an app deployed on UK?

single-sign-on,bluemix
I get that it wont be possible to bind the service and therefore not use the VCAP_SERVICES, and credentials would need to be managed in another way. Since the communication would go via the internet, I guess the question is really: Does the SSO service have an API that can...

Bluemix: service bound to container does not appear in VCAP_SERVICES

ssh,docker,containers,cloudfoundry,bluemix
I'm trying to use IBM Containers for Bluemix to deploy a container and bind it to a Bluemix service. I start with an existing Bluemix app, which is bound to the MongoDB service I want. I verify that its VCAP_SERVICES environment variable is correctly populated: $ cf env mamacdon-app Getting...

Can one get multiple results from one API call in IBM Watson?

python,bluemix,ibm-watson,personality-insights
I am using Python to program a script for IBM Watson's Personality Insights service. I am using the results as training data for a Machine Learning project. Since the service is so limited (100 calls/month), is it possible to get multiple personality insights with only one API call? ...

Bluemix : cf logs command taking 10-15 mins to load

cloudfoundry,bluemix
This just started today but it seems to be consistent across all of my Bluemix apps, running cf logs <appname> --recent is taking 10+ minutes to load, making debugging a grueling experience. Is this a known issue?...

how to deploy standalone java applications (jar's) to bluemix?

java,bluemix
There are lots of instructions online for deploying web applications (war files) to Bluemix, but I couldn't find any documentation on deployment of standalone java applications, that are run similar to the following: java -jar myapp.jar...

How to uninstall the IBM Containers Extension (ICE) CLI tool?

osx,bluemix
I have been experimenting with working with IBM Containers in Bluemix using the IBM Containers Extension (ICE) CLI tool. For this I have also installed Python 2.7.9, Python pip, Python setuptools, Cloud Foundry CLI and then ICE CLI. I would now like to remove these from my Mac machine. Python......

How can I connect to Cloudant from a Flask App running in Bluemix?

python,flask,bluemix,cloudant
I have seen a flask sample project for Bluemix: https://github.com/IBM-Bluemix/bluemix-python-flask-sample How can I connect to Cloudant from this flask application? Note: I know how to use flask. I have seen the instructions for connecting to Cloudant using the requests library and that is the approach I would like to use....

How to gain authorization to perform requested action, specifically create an instance of a service in Bluemix?

cloudfoundry,bluemix
I am following the Developing Watson Applications with BlueMix tutorial but for some reason when attempting to create an instance via cf create-service DataCache free DataCacheInst I get the following error: FAILED Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action...

Can I move a Bluemix service to a different org

bluemix
I created a Bluemix service in my "Dev" org for testing. Now I want to move it to a different org. Is there a way to just move or transfer the existing service or do I have to create a whole new one in the new org?

Change the Jazz ID for a Bluemix account

bluemix,jazz,devops
Some time ago I started to use the Bluemix platform to develop PHP services that were used by a mobile application. After a while, I realized that it would be very useful to have a repository to which I can connect multiple Eclipse IDEs and work on the same application....

How can I preserve execute bits for files during 'cf push' for Node apps?

cloudfoundry,bluemix
I need to push a node application that will be executing a bash script and the script file needs to have the execute bit set. Can the cf command line utility allow me to set execute permission? If it doesn't, can I do something during the staging cycle of my...

Connecting a Java application to an SQL database in IBM Bluemix

java,sql,database,bluemix,cloudant
I have created a Bluemix app that has a small SQL Database. I want to access the database from my site with API calls. I am new to Java so I used the starter code provided in the Liberty for Java runtime and followed the "tutorial" linked in the Bluemix...

Where can I get IBM Eclipse Tools for Bluemix for offline installation?

eclipse,bluemix
I know I can install IBM Eclipse Tools for Bluemix on-line from Eclipse Marketplace or WasDev site, but I am looking for a download package (ZIP file) to be able to install it in offline machines. Thanks!...

Simple node.js app deployed to Bluemix seems to be leaking memory

node.js,memory-leaks,bluemix
I am learning node.js, and have a fairly simple application which seems to be leaking memory when deployed to Bluemix. I need assistance in determining if this is caused by my code, or a module I am using. When deployed with the Monitoring and Cloudant services it would crash with...

Bluemix and peaks of traffic - how to protect from crashing

security,bluemix
I want to protect my node app from high http traffic peaks so app does not crash (could be an attack or just unexpected peak). Load balancers are usually the way to go to protect the app. You can define rules like routing the traffic somewhere else if traffic is...

Getting “failed to start accepting connection” while deploying my app into bluemix

node.js,db2,bluemix
Hi Am facing "failed to start accepting connection" error while pushing or deploying my app to bluemix. Can any help me in that.... my code snippet as given below: var express = require('express'); app = express(); var ibmbluemix = require('ibmbluemix') var ibmdb = require('ibm_db'); var http = require('http'); var url...

How can I write queries for the Bluemix SQL database

db2,bluemix
How can I create a table that includes auto increment and NOT NULL. I am using the sql database console that bluemix offers. The following query gives me an error. CREATE TABLE discounts ( id INT NOT NULL AUTO_INCREMENT, title VARCHAR(255) NOT NULL, expired_date DATE NOT NULL, amount DECIMAL(10,2) NULL,...

Does Bluemix devops build pipeline support java 8 apps?

java-8,bluemix,ibm-jazz
Given the Bluemix announcement that java 8 is supported. What do I need to do to get my java 8 app compiling in the IBM Bluesmix build pipeline (jazzhub build and deploy). I have set the java8 environment variable and restaged the app using the following: cf set-env <myApp> JBP_CONFIG_IBMJDK...

Uploading files to a bluemix app and pointing to them from configuration files

cloudfoundry,bluemix
I am trying to upload files to my bluemix app and I am having problems using and understanding the file system. After I have succesfully uploaded files I want to give their path on my configuration files. Specifically, I want to upload a jar file to the server and later...

How can I import my own pre-built VM images into Bluemix?

virtual-machine,openstack,bluemix
I have a number of my own (pre-built) VM images that I want to use on Bluemix. I can see no way of importing these images. I only seem to be able to select from the list of image templates. Is there a way I can upload my own images...

How to import a 3rd party Python library into Bluemix?

python,bluemix
My Python app needs web.py to run but I'm unable to figure out how to get it up to bluemix. I see no options using cf push. I tried to "import web" and added some additional code to my app without success. When I push my Python app to bluemix...

Bluemix Node.js app not showing new code

cloudfoundry,bluemix
I've built a Node.js app locally that works fine but when I went to test it on Bluemix, it didn't show the app consistently. What I mean is this. I did my cf push. It reported it went up ok. I went to my domain and I saw the original,...

What does this SSO error mean? - CTJSO1502E The authentication process to the configuration dashboard failed

bluemix
I'm just starting up with Bluemix Single Sign On (SSO). Whenever I'm accessing the SSO console using Safari I get a popup with the error below. CTJSO1502E The authentication process to the configuration dashboard failed I do not get this error when accessing the SSO console using my firefox browser....

Bluemix + Node.js - Is there documentation for the watson-developer-cloud module?

node.js,bluemix,ibm-watson
I am interested in playing around with the Q & A service, the demo app uses the REST API and I am wondering if the service can be used with the newer watson-developer-cloud module and if so where can I find an example or documentation for those functions. The demo...

Using Java/Liberty to connect to a DB2 Database on Bluemix

java,android,ibm,websphere-liberty,bluemix
We have a DB2 Database stored in Bluemix. Because DB2 Drivers are not compatible to Android we have to set up a layer between the application and Bluemix. We choose to use the Java DB Starter boilerplate. How can we implement the create, read, update and delete functions in the...

For the Bluemix Secure Gateway service, how does the data center's network need to be configured?

bluemix
I am going to use Secure Gateway service in Bluemix and I have some questions about how I should make it work. Systems in my data center's intranet access the Internet through a proxy (with no authentication). Can Secure Gateway connect to Bluemix via a proxy? Does it connect to...

How to access REST api endpoints for Bluemix

rest,bluemix
I followed an IBM Blumix article on "Build and deploy a REST API on IBM Bluemix with PHP and MySQL". http://www.ibm.com/developerworks/library/wa-deployrest-app/index.html However it never says how to access the actual endpoints(I think I am using the right word). It says to call "/v1/products" to list all products. I am very...

Are there any known negatives to using Requests in Flask to interface to Cloudant on Buemix?

python,flask,couchdb,bluemix,cloudant
I am writing an app in Python Flask that makes use of the Python HTTP library Request to interface with Cloudant on Bluemix. It is an easy interface that allows me to directly access the Bluemix VCAP information for Cloudant and of course the Cloudant API. However it does not...

Bluemix ClearDB MySQL capacity limitation

mysql,cloudfoundry,bluemix,cleardb
The MySQL ClearDB service in Bluemix catalogue is offered with one single plan with a very limited capacity (5MB and 4 connections) and for free. Do you have a recommendation for an application that requires a mysql db with a higher capacity? Should I run an hybrid application with the...

HttpServlet in IBM Java?

bluemix,ibm-jdk
I'm trying to build an app using IBM Bluemix that takes user input in an HTML form, processes it in a server-side Java application, and returns the processed data to the user. This kind of thing is really simple to implement using HttpServlet, but that class doesn't seem to exist...

Deployment fail with build pack which is not located at cloudfoundry

bluemix
I am learning about custom build packs in Bluemix, I have downloaded the sample code coming with the PHP web app and try to push it back using the cf cli tool. The thing is that I get errors whenever I am not using the buildpack which is not located...

Use of container docker as a proxy for CF app to get public IP

docker,containers,bluemix
I need a public IP for my application: is it a proper solution to use docker container as a proxy? I can see the price increasing quite a lot with all traffic going through proxy to reach the application. Is there any other option recommended?

bluemix runtime: auto vertical scalability?

node.js,scalability,bluemix
It is clear that the auto-scale service allows to automatically scale-in and scale-out an application horizontally. And that I can manually scale vertically my application too by MANUALLY increasing/decreasing the memory. Is there a way to AUTOMATICALLY increase and decrease the memory associated to the node.js instances based on some...

Bluemix Secure Gateway service, how to perform /v1/sgconfig GET call

bluemix,secure-gateway
The REST API for Secure Gateway has a GET operation located at /v1/sgconfig. It has a single, mandatory parameter: Authorization. What should the value of this parameter be and where is that value located? The VCAP_SERVICES environment variables for Secure Gateway only contain org_id and space_id. The Bluemix Secure Gateway...

Unable to access Push service dashboard on Bluemix

push-notification,push,bluemix
When trying to access the Push service dashboard I got this error: Exception thrown by application class 'com.ibm.mbaas.ui.BackendUtility.getJSONResponse:-1' javax.servlet.ServletException: UIBACK108E: Got unsuccessful response from 'https://mccp.ng.bluemix.net/login/rolecheck'. The response status was 400 Bad Request. The response body was: "{"error":"bad_request","error_description":"Parameters role and space_guid are required"}". at com.ibm.mbaas.ui.BackendUtility.getJSONResponse(Unknown Source) at...

difference between IoT Foundation and Node-RED?

bluemix,iot,node-red
We have 2 boilerplates with Node-RED in Bluemix catalog. Are there any differences between "IoT Foundation Starter" and "Node-RED Starter"? I know that the Node-RED Starter boilerplate has the Monitoring and Analytics service. Is this the only difference?

How to tell which buildpack has staged my application in Cloud Foundry?

cloudfoundry,bluemix
In Cloud Foundry, is there a way to tell which buildpack (and which version of that buildpack) has staged a given application? I am thinking there must be a way because I can see it on the Bluemix web console, but I can't find the same information from the cf...