199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Doh, IBM DB2 on the IBM Container Service on IBM Bluemix, remember persistence :-)
Tue, Aug 22nd 2017 24
IBM DB2 Express on IBM Containers - PAM says "No"
Tue, Aug 22nd 2017 27
Gosh and Darn it - Kubernetes, kubectl, macOS and IBM Bluemix
Mon, Aug 21st 2017 45
IBM Bluemix, Cloud Foundry and IBM Containers - fatal error: unexpected signal during runtime execution
Mon, Aug 21st 2017 27
Using Sed and Aw to munge JSON
Sun, Aug 20th 2017 48
Java to DB2 via TLS 1.2 - A new one on me
Fri, Aug 18th 2017 44
IBM API Connect - Now a Happy Bunny - Was Notworking, Now Networking
Fri, Aug 18th 2017 52
Top 10
What's the opposite of "cat" ? Another in the "I did not know that" series
Wed, Aug 16th 2017 137
Getting my head around REST APIs
Tue, Aug 15th 2017 129
IBM API Connect - Adding IBM DataPower Gateway into the mix - SOMA import failed
Thu, Aug 17th 2017 54
IBM API Connect - Now a Happy Bunny - Was Notworking, Now Networking
Fri, Aug 18th 2017 52
IBM DataPower Gateway on Docker - Remember the memory
Tue, Aug 15th 2017 51
IBM DataPower Gateway - SSH now working
Tue, Aug 15th 2017 50
Securing the Database - IBM DB2 10.5 and Transport Layer Security 1.2
Wed, Jun 3rd 2015 49
IBM DataPower Gateway on Docker - So far, now (mostly) so good
Tue, Aug 15th 2017 48
IBM DataPower Playground - on IBM Bluemix
Fri, Aug 18th 2017 48
Using Sed and Aw to munge JSON
Sun, Aug 20th 2017 48




Recent Blog Posts
24
Doh, IBM DB2 on the IBM Container Service on IBM Bluemix, remember persistence :-)
Tue, Aug 22nd 2017 9:34a   Dave Hay
Having got DB2 running on the IBM Container Service on IBM Bluemix: -IBM DB2 Express on IBM Containers - PAM says "No"I was a little perturbed when my Java code failed to work, when connecting from my Mac to the DB2 container: -java -cp db2jcc4.jar:. JdbcTestDB2 54.23.128.93 50000 SAMPLE db2inst1 Qp455w0rd!com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-1031, SQLSTATE=58031, SQLERRMC=null, DRIVER=4.23.42I checked the SQL code: -db2 ? sql1031SQL1031N The database directory cannot be f
27
IBM DB2 Express on IBM Containers - PAM says "No"
Tue, Aug 22nd 2017 8:19a   Dave Hay
I'm still journeying the river of discovery with IBM Containers on IBM Bluemix, and was attempting to start / use a DB2 Express image: -docker run --name db2 -p 50000:50000 -e DB2INST1_PASSWORD=passw0rd -e LICENSE=accept -d registry.eu-gb.bluemix.net/david_hay/db2expressc db2startfb99173b-c082-4206-8f4f-ada478153bd3docker logs db2 -fgNew password: BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word%Changing password for user db2inst1.8passwd: all authenticat
45
Gosh and Darn it - Kubernetes, kubectl, macOS and IBM Bluemix
Mon, Aug 21st 2017 11:17a   Dave Hay
So I'm continuing my Voyage O' Discovery with IBM Containers, Bluemix, Kubernetes etc. on my Mac, following tutorials such as this: -Setting up the CLI and API to deploy and manage clusters in IBM Bluemix Container Serviceand have got to the part where one sets up kubectl using an environment variable $KUBECONFIG.Whilst I can "see" my Kubernetes cluster: -bx cs clustersOKName ID State Created Workers Datacenter DaveHayK
27
IBM Bluemix, Cloud Foundry and IBM Containers - fatal error: unexpected signal during runtime execution
Mon, Aug 21st 2017 9:24a   Dave Hay
Whilst tinkering with IBM Bluemix, using the underlying Cloud Foundry (CF) and IBM Containers (IC) capabilities, I was looking to update the IC plugin: -cf ic updateYou are using version 0.8.934 of the IBM Containers plug-in.Version 0.8.1028 of the plug-in is available for you to install.Run the "cf ic update" command to update your plug-in to the current version.You can review the documentation to see the changes that are included in the new version.https://www.ng.bluemix.net/docs/containers/
48
Using Sed and Aw to munge JSON
Sun, Aug 20th 2017 9:32a   Dave Hay
One of my friends had a requirement to pull apart from JSON data, stripping out specific "columns" of data, ideally using standard Unix/Linux commands, again ideally in one single command.This is with what I came up :-)So here's an example of the JSON data: -davehay.json{ "givenName": "Dave", "familyName": "Hay", "eddress": "david_hay@uk.ibm.com" "givenName": "Dave", "familyName": "Hay", "eddress": "david_hay@uk.ibm.com" "givenName": "Dave", "familyName": "Hay"
44
Java to DB2 via TLS 1.2 - A new one on me
Fri, Aug 18th 2017 7:05p   Dave Hay
So I've been helping a friend debug and resolve a problem whereby his Java 7 code wasn't connecting to a DB2 database via a TLS 1.2 connection.To validate this, I setup a DB2 instance to support TLS 1.2: -As rootecho "db2c_ssl 60007/tcp" >> /etc/servicesAs db2inst1/home/db2inst1/sqllib/gskit/bin/gsk8capicmd_64 -keydb -create -db /home/db2inst1/keystore.kdb -pw passw0rd -stash/home/db2inst1/sqllib/gskit/bin/gsk8capicmd_64 -cert -create -db /home/db2inst1/keystore.kdb -pw passw0rd -label
52
IBM API Connect - Now a Happy Bunny - Was Notworking, Now Networking
Fri, Aug 18th 2017 3:59p   Dave Hay
As per the past few posts, I've been learning my way around IBM API Connect, and had it nearly working - until about 15 minutes ago when it ALL started working. Without getting too deep into the What and How, the TL;DR; is this …..I have three VMs; the API Manager, the Developer Portal and the DataPower Gateway.As per a previous post: - IBM API Connect - Adding IBM DataPower Gateway into the mix - SOMA import failed I'd moved DataPower onto a different Mac, as it requires 8 GB RAM.I'd sen
34
IBM API Connect - "Unexpected token ILLEGAL"
Fri, Aug 18th 2017 2:35p   Dave Hay
So I'm continuing my voyage of discovery with IBM API Connect, and had followed this tutorial to create a simple API using Loopback: -Building a simple public API on API ConnectAnnoyingly, when I came to test my API, I was seeing this: -and, via Debug, this: -This is the Gateway Script that I have: -Can you see what I can see ?Yeah, I'm at home to Cap'n Copy Paste :-(I fixed my code: -saved the API and republished the product.Now we have this: -which is far far better.So, for the record, the
28
IBM API Connect - Webhooks not configured
Fri, Aug 18th 2017 2:27p   Dave Hay
I'm learning my way around IBM API Connect at present, which is giving me a great opportunity to also learn IBM DataPower Gateway, which is nice.Whilst trying to determine why I'm unable to test my APIs on the DataPower Gateway from within the API Manager, I was looking at some of the underlying Developer Portal commands, including: -list_siteswhich returned: -5995c388e4b0d25e2a2ee8f2.5995c388e4b0d25e2a2ee8fe => portal.uk.ibm.com/davehay/sb (INSTALLED) Webhooks not configuredand: -statusSy
48
IBM DataPower Playground - on IBM Bluemix
Fri, Aug 18th 2017 8:49a   Dave Hay
I found this serendipitously whilst looking for something completely different: -Welcome to the IBM DataPower Playground.The IBM DataPower Playground is an interactive website that lets you write GatewayScript code and execute it on a cloud hosted DataPower Gateway for learning purposes.GatewayScript is a new transformation technology for API, Web and Mobile and is available in DataPower as a Processing Policy Action starting from firmware version 7.0. For more information see the documentation.




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition