Microservice Builder includes everything a business needs to focus on application development rather than the framework. It provides beta binaries to support building and testing environments, and low-touch development-to-deployment experience with simplification of DevOps tasks.
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Friday, 30 June 2017
WebSphere continuous delivery offerings provide functional and usability enhancements for 2Q 2017
Microservice Builder includes everything a business needs to focus on application development rather than the framework. It provides beta binaries to support building and testing environments, and low-touch development-to-deployment experience with simplification of DevOps tasks.
Thursday, 29 June 2017
Problems extending a disk in Red Hat Enterprise Linux 7.3
Following one of my much earlier posts: -
Increasing the size of a partition using Red Hat Enterprise Linux 6.3
I hit a bit of a snag.
This all worked: -
fdisk /dev/sda - to add a new partition ( having extended the disk using VMware Workstation )
reboot
pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created.
vgextend rhel /dev/sda3
Volume group "rhel" successfully extended
lvextend /dev/rhel/root /dev/sda3
Size of logical volume rhel/root changed from 47.46 GiB (12151 extents) to 97.46 GiB (24950 extents).
Logical volume rhel/root successfully resized.
but this step failed: -
resize2fs -p /dev/rhel/root
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/rhel/root
Couldn't find valid filesystem superblock.
As ever, the internet had the answer: -
resize2fs: Bad magic number in super-block while trying to open
So I tried xfs_grow instead: -After a bit of trial and error... as mentioned in the possible answers, it turned out to require
xfs_growfs
rather thanresize2fs
.
xfs_growfs /dev/rhel/root
meta-data=/dev/mapper/rhel-root isize=256 agcount=4, agsize=3110656 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0 spinodes=0
data = bsize=4096 blocks=12442624, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =internal bsize=4096 blocks=6075, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 12442624 to 25548800
and now my disk is twice the original size: -
df -kmh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 98G 9.2G 89G 10% /
devtmpfs 4.8G 0 4.8G 0% /dev
tmpfs 4.8G 0 4.8G 0% /dev/shm
tmpfs 4.8G 8.6M 4.8G 1% /run
tmpfs 4.8G 0 4.8G 0% /sys/fs/cgroup
/dev/sda1 497M 219M 278M 45% /boot
tmpfs 983M 0 983M 0% /run/user/0
which is awesome.
Oh, Red Hat Enterprise Linux, where's my trusty killall command
0 S wasadmin 8620 1 0 80 0 - 558992 futex_ Jun28 ? 00:04:27 /opt/ibm/WebSphere/AppServer/java_1.7.1_64/bin/java -Xmaxt0.5 -Dwas.status.socket=41495 -Declipse.security -Dosgi.install.area=/opt/ibm/WebSphere/AppServer -Dosgi.configuration.area=/opt/ibm/WebSphereProfiles/AppSrv01/servers/nodeagent/configuration -Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev85_1.7.1_64_%g,nonFatal -Dcom.ibm.xtq.processor.overrideSecureProcessing=true -Xcheck:dump -Xbootclasspath/p:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/ibmorb.jar -Dorg.osgi.framework.bootdelegation=* -classpath /opt/ibm/WebSphereProfiles/AppSrv01/properties:/opt/ibm/WebSphere/AppServer/properties:/opt/ibm/WebSphere/AppServer/lib/startup.jar:/opt/ibm/WebSphere/AppServer/lib/bootstrap.jar:/opt/ibm/WebSphere/AppServer/lib/jsf-nls.jar:/opt/ibm/WebSphere/AppServer/lib/lmproxy.jar:/opt/ibm/WebSphere/AppServer/lib/urlprotocols.jar:/opt/ibm/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/ibm/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/lib/tools.jar -Dorg.osgi.framework.bootdelegation=* -Dibm.websphere.internalClassAccessMode=allow -verbose:gc -Xms128m -Xmx768m -Xcompressedrefs -Xscmaxaot4M -Xnoaot -Xscmx90M -Dws.ext.dirs=/opt/ibm/WebSphere/AppServer/java_1.7.1_64/lib:/opt/ibm/WebSphereProfiles/AppSrv01/classes:/opt/ibm/WebSphere/AppServer/classes:/opt/ibm/WebSphere/AppServer/lib:/opt/ibm/WebSphere/AppServer/installedChannels:/opt/ibm/WebSphere/AppServer/lib/ext:/opt/ibm/WebSphere/AppServer/web/help:/opt/ibm/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/ibm/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/ibm/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/opt/ibm/WebSphereProfiles/AppSrv01 -java.ext.dirs=/opt/ibm/WebSphere/AppServer/tivoli/tam:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/ext -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dpython.cachedir=/opt/ibm/WebSphereProfiles/AppSrv01/temp/cachedir -Dwas.install.root=/opt/ibm/WebSphere/AppServer -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/ibm/WebSphereProfiles/AppSrv01 -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.awt.headless=true -Djava.library.path=/opt/ibm/WebSphere/AppServer/lib/native/linux/x86_64/:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/amd64/compressedrefs:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/amd64:/opt/ibm/WebSphere/AppServer/bin:/opt/ibm/WebSphere/AppServer/nulldllsdir:/usr/lib64:/usr/lib: -Djava.endorsed.dirs=/opt/ibm/WebSphere/AppServer/endorsed_apis:/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/endorsed -Djava.security.auth.login.config=/opt/ibm/WebSphereProfiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/opt/ibm/WebSphereProfiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/ibm/WebSphereProfiles/AppSrv01/config PCCell1 Node1 nodeagent
…
No package killall available.
Error: Nothing to do
do an apt-cache search.
On my FC15 box, killall is located in the "psmisc" package.
But it sounds to me like something hasn't installed correctly. I would imagine killall would be installed by default on even the most stripped of distro's. Its been there the last time i installed Arch or a CentOS 6 netinst (which seemed to have a few things missing that i thought should be there)
Verifying : psmisc-22.20-9.el7.x86_64 1/1
Installed:
psmisc.x86_64 0:22.20-9.el7
Complete!
Wednesday, 28 June 2017
java.lang.OutOfMemoryError exception with IBM UrbanCode Deploy 6.2.4
2017-06-28 14:26:54,909 ERROR https-jsse-nio-0.0.0.0-8443-exec-1 com.urbancode.commons.web.filter.ExceptionHandlingFilter - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
whilst importing a rather large component into IBM UrbanCode Deploy (UCD) 6.2.4: -
-rw-r--r-- 1 hayd hayd 9098139652 Jun 28 11:13 bpmexport_artifacts5020774184330379773.zip
Thankfully, this IBM developerWorks Answers post: -
urbancode deploy server javaheapsize out of memory
has the answer; to increase the max heap: -
@kberg you can increase the java heap memory size by changing the default value of
I made the change: -JAVA_OPTS -Xmx
value within the $SERVER_HOME/bin/set_env
file. The default size is set to 1024m.
vi /opt/IBM/UCD624/bin/set_env
changing from: -
JAVA_OPTS="-Xmx4096m
to: -
JAVA_OPTS="-Xmx2048m
and restarted UCD: -
~/stopUCD.sh
~/startUCD.sh
We'll see how it goes ...
Spotlight and Finder on macOS - Not playing nicely until now ...
Friday, 23 June 2017
IBM Business Process Manager 8.5.7 Cumulative Fix 2017-06 Released
IBM BPM on Cloud
IBM BPM
IBM Process Federation Server
The BPM UI toolkit is now the default toolkit. It provides equivalent controls to the legacy UI toolkits and includes many new controls. Although the Coaches and Responsive Coaches toolkits are deprecated, coaches that use these toolkits still work. Use the new BPM UI controls for new development and to replace existing coach implementations as required. To become familiar with the controls in the new toolkit, explore the Discover BPM UI sample. For more information, see Controls in the BPM UI toolkit.
Furthermore, for coaching and troubleshooting assistance, IBM BPM now provides guidance as you develop and test your coach-based user interfaces to ensure optimal UI performance. For more information, see Accessing coach performance statistics.
Wednesday, 21 June 2017
IBM Redbook - Governing Operational Decisions in an Enterprise Scalable Way
This book describes how organizations can choose between the built-in ODM decision governance framework or a custom governance based on manually managed branches. Related topics such as access control, permissions and user management are covered and give a full view on decision service governance. You will find this book valuable if you are using or considering the usage of an operational decision management system in your organization, either with ODM on-premises or ODM on Cloud offerings.
This book was written to help assist the following target audience in applying Decision Management technology successfully: IT Project Managers, need to understand how Decision Governance differs from IT Governance and how ODM straddles both worlds to facilitate agile change.
IT Technical Architects, need to understand how to architect ODM to sit inside both the IT and business worlds.
Business Analyst, need to understand the processes for changing business policies using ODM Decision Center.
Business Rule Development Team, need to understand the best way to structure rule projects for scalability and maintainability.
Chapter 1. Introduction
Chapter 2. Decision governance for project managers
Chapter 3. Roles and responsibilities in governing decisions
Chapter 4. Securing Decision Center
Chapter 5. Designing decision services
Chapter 6. Processes
Chapter 7. Decision Governance Framework
Chapter 8. Deployment
Chapter 9. ODM DevOps
Chapter 10. ODM on Cloud
Chapter 11. Branching and merging
Chapter 12. Conclusion
Appendix A. Acronyms
Monday, 19 June 2017
NullPointerException seen when using BPMConfig.sh to create a second IBM BPM Deployment Environment
The 'BPMConfig.sh -create -de /mnt/ResponseFiles/Advanced-PS-ThreeClusters-DB2.properties' command failed. For more information, see the log file /opt/ibm/WebSphere/AppServer/logs/config/BPMConfig_20170619-153221.log.
[19/06/17 15:39:01:391 BST] 00000001 WccmHelper < com.ibm.bpm.config.util.ws.WccmHelper getBPMCellConfigExtension RETURN null
[19/06/17 15:39:01:391 BST] 00000001 BPMConfig E com.ibm.bpm.config.BPMConfig main <Null Message>
java.lang.NullPointerException
at com.ibm.bpm.config.BPMConfig.checkCellScopedDB(BPMConfig.java:1097)
at com.ibm.bpm.config.BPMConfig.configureDeploymentEnvironment(BPMConfig.java:641)
java.lang.NullPointerException
at com.ibm.bpm.config.BPMConfig.checkCellScopedDB(BPMConfig.java:1097)
at com.ibm.bpm.config.BPMConfig.configureDeploymentEnvironment(BPMConfig.java:641)
at com.ibm.bpm.config.BPMConfig$Actions.createDe(BPMConfig.java:4437)
IBM BPM and DB2 and Permissions and Users and So On and So Forth :-)
com.ibm.db2.jcc.am.SqlSyntaxErrorException: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=DB2USER1.LSW_SYSTEM_SCHEMA, DRIVER=4.18.60
before, as per these posts: -
gives us an SQL exception code, which DB2 can debug for us: -
db2 ? SQL0204
which returns: -
SQL0204N "<name>" is an undefined name.
Note that the exception relates to DB2USER1.LSW_SYSTEM_SCHEMA whereas we have: -
db2 list tables for all|grep -i LSW_SYSTEM
LSW_SYSTEM BPMDB2USER T 2017-06-15-10.19.40.987764
LSW_SYSTEM_SCHEMA BPMDB2USER T 2017-06-15-10.19.41.033429
This reflects a time when we tried/failed to use a Unix / DB2 user account that was LONGER than eight characters: -
Looking at the scripts that WAS generates for the database here: -
/opt/IBM/WebSphere/AppServer/profiles/PSDmgr01/dbscripts/
I can see that the schema name has been correctly set by the BPMConfig.sh tool when we rebuilt the Deployment Environment with the new shorter user - db2user1: -
PSCell1.PSCell1De1/DB2/PSBPMDB/createSchema_Advanced.sql:CREATE TABLE db2user1.LSW_SYSTEM (
PSCell1.PSCell1De1/DB2/PSBPMDB/createSchema_Advanced.sql:ALTER TABLE db2user1.LSW_SYSTEM ADD CONSTRAINT "PROPKEY" CHECK (CHARACTER_LENGTH("PROPKEY",CODEUNITS16) <= 256) ENFORCED ENABLE QUERY OPTIMIZATION
PSCell1.PSCell1De1/DB2/PSBPMDB/createSchema_Advanced.sql:ALTER TABLE db2user1.LSW_SYSTEM ADD CONSTRAINT "PROPVALUE" CHECK (CHARACTER_LENGTH("PROPVALUE",CODEUNITS16) <= 256) ENFORCED ENABLE QUERY OPTIMIZATION
...
PSCell1.PSCell1De1/DB2/PSBPMDB/createSchema_Advanced.sql: db2user1.LSW_SYSTEM("PROPKEY",
PSCell1.PSCell1De1/DB2/PSBPMDB/createSchema_Advanced.sql: db2user1.LSW_SYSTEM_SCHEMA("PROPNAME",
but I'm guessing that we didn't drop/recreate the databases after that change :-(
Now to test …
and: -
db2 grant dbadm on database to user db2user1
Saturday, 17 June 2017
Friday, 16 June 2017
WebSphere Liberty Collectives - Deploying Node.JS using REST
"rule":"Node.js Server Rule",
"hosts":["wlpn.uk.ibm.com"],
"variables": [
{ "name":"applicationPackage","value":"helloworld-1.0.0.tgz" },
{ "name":"serverName", "value":"Server1" },
{ "name":"clusterName", "value":"Cluster1" },
{ "name":"keystorePassword", "value":"passw0rd" },
{ "name":"applicationDir", "value":"/home/wasadmin/" }
]
}
{
"rule":"Node.js Server Rule",
"hosts":["wlpn.uk.ibm.com"],
"variables": [
{ "name":"applicationPackage","value":"helloworld-1.0.0.tgz" },
{ "name":"serverName", "value":"Server1" },
{ "name":"clusterName", "value":"Cluster1" },
{ "name":"keystorePassword", "value":"passw0rd" },
{ "name":"applicationDir", "value":"/home/wasadmin/" }
]
}
Node.JS - Unknown SSL protocol error
var fs = require('fs');
var options = {
key: fs.readFileSync('key.pem'),
cert: fs.readFileSync('cert.pem')
};
var server = http.createServer(options, function(req, res) {
res.writeHead(200);
res.write('<p>Hello world!</p>');
res.end();
});
var port = 10001;
server.listen(port, function() {
console.log('server listening on port ' + port);
});
...
Certificate:
Data:
Version: 1 (0x0)
Serial Number:
89:66:62:89:72:dd:66:ff
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, ST=Hampshire, L=Winchester, O=IBM, OU=Cloud, CN=Dave Hay/emailAddress=david_hay@uk.ibm.com
Validity
Not Before: Jun 16 15:14:36 2017 GMT
Not After : Oct 31 15:14:36 2044 GMT
Subject: C=GB, ST=Hampshire, L=Winchester, O=IBM, OU=Cloud, CN=Dave Hay/emailAddress=david_hay@uk.ibm.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (512 bit)
Modulus (512 bit):
00:d3:fc:99:16:f7:a0:2a:e5:a5:53:09:55:7e:5f:
63:f3:d6:98:92:39:56:7c:71:fb:ca:5f:75:af:c4:
1f:78:d8:a3:23:1a:ca:e2:d5:f1:a6:43:61:2b:51:
e8:39:f5:43:77:4a:59:ae:8c:f5:22:a3:82:51:52:
45:12:c2:bf:95
Exponent: 65537 (0x10001)
Signature Algorithm: sha1WithRSAEncryption
c9:76:2b:eb:c6:39:ad:ce:3d:0c:cb:8d:28:26:95:82:68:c4:
cb:e6:06:fa:62:62:b8:ea:8d:13:47:7f:92:c4:0c:e6:d1:97:
1c:ec:f1:01:e5:63:be:e5:f4:f4:cd:09:76:3f:55:75:72:2a:
d2:c3:58:2a:c6:1f:64:50:ae:60
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
and validated the key: -
...
Certificate:
Data:
Version: 1 (0x0)
Serial Number:
aa:3b:0b:19:b8:7c:e5:42
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, ST=Hampshire, L=Winchester, O=IBM, OU=Cloud, CN=Dave Hay/emailAddress=david_hay@uk.ibm.com
Validity
Not Before: Jun 16 15:28:55 2017 GMT
Not After : Oct 31 15:28:55 2044 GMT
Subject: C=GB, ST=Hampshire, L=Winchester, O=IBM, OU=Cloud, CN=Dave Hay/emailAddress=david_hay@uk.ibm.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
...
IBM Rational Software Architect Designer on macOS - java.lang.RuntimeException: No application id has been found.
!ENTRY org.eclipse.equinox.launcher 4 0 2017-06-16 15:33:20.767
!MESSAGE Could not find extension: com.ibm.cds
!SESSION 2017-06-16 15:33:20.690 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments: -product com.ibm.rational.rsa.product.v95.ide
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.ibm.rational.rsa.product.v95.ide
!ENTRY org.eclipse.osgi 4 0 2017-06-16 15:33:21.684
!MESSAGE Bundle com.ibm.cds not found.
!ENTRY org.eclipse.equinox.app 0 0 2017-06-16 15:33:24.789
!MESSAGE Product com.ibm.rational.rsa.product.v95.ide could not be found.
!ENTRY org.eclipse.osgi 4 0 2017-06-16 15:33:31.004
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
and change from: -
Wednesday, 14 June 2017
WebSphere Liberty Profile - 17.0.0.2 is out ....
Thursday, 8 June 2017
After Atom on Centos, Atom on Ubuntu is soooo much easier
Using Atom Text Editor on CentOS Linux
doing it on Ubuntu is SOO much easier: -
Download it
wget https://atom.io/download/deb
Install it
sudo dpkg --install /home/hayd/Downloads/atom-amd64.deb
Fix up the dependencies ( including Git )
sudo apt-get -f install
Use it
atom
Job's a good 'un
Installing Ubuntu Server - Your installation CD-ROM couldn’t be mounted
685+0 records in
685+0 records out
718274560 bytes transferred in 22.509606 secs (31909690 bytes/sec)
Wednesday, 7 June 2017
Using Atom Text Editor on CentOS Linux
I've been recently converted to the Atom text editor on my Mac, so thought that I'd do the same on my newly minted Linux box, which is running CentOS: -
cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
Having downloaded Atom from here: -
I ended up with the following RPM: -
-rw-rw-r--. 1 hayd hayd 99606115 Jun 7 11:10 atom.x86_64.rpmand tried/failed to install it: -
sudo rpm -ivh atom.x86_64.rpm
error: Failed dependencies:
libXss.so.1()(64bit) is needed by atom-1.17.2-0.1.x86_64
I assumed that the solution would be simple; merely install the missing library: -
sudo yum install -y libXss.so.1
Amongst other things, this installed
libXScrnSaver-1.2.2-6.1.el7.i686.rpmHowever, when I retried the installation: -
sudo rpm -ivh atom.x86_64.rpm
it again failed with: -
error: Failed dependencies:
libXss.so.1()(64bit) is needed by atom-1.17.2-0.1.x86_64
When I thought further, I realised that I'd merely installed the 32-bit version of libXScreenSaver ( i686 ), whereas I was trying to install the 64-bit version of Atom.
I re-ran my installation: -
sudo yum install -y libXss.so*
which pulled libXScrnSaver.x86_64 0:1.2.2-6.1.el7
This time around, I was able to happily install Atom: -
sudo rpm -ivh atom.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:atom-1.17.2-0.1 ################################# [100%]
Tuesday, 6 June 2017
WebSphere Liberty Profile - What Have We Got ?
appClientSupport-1.0 [1.0.0]
appSecurity-1.0 [1.1.0]
appSecurity-2.0 [1.0.0]
appSecurityClient-1.0 [1.0.0]
batch-1.0 [1.0.0]
batchManagement-1.0 [1.0.0]
beanValidation-1.0 [1.0.0]
beanValidation-1.1 [1.0.0]
bells-1.0 [1.0.0]
bluemixUtility-1.0 [1.0.0]
blueprint-1.0 [1.0.0]
cdi-1.0 [1.0.0]
cdi-1.2 [1.0.0]
cloudant-1.0 [1.0.0]
clusterMember-1.0 [1.0.0]
collectiveController-1.0 [1.0.0]
collectiveMember-1.0 [1.0.0]
concurrent-1.0 [1.0.0]
constrainedDelegation-1.0 [1.0.0]
couchdb-1.0 [1.0.0]
distributedMap-1.0 [1.0.0]
ejb-3.2 [1.0.0]
ejbHome-3.2 [1.0.0]
ejbLite-3.1 [1.0.0]
ejbLite-3.2 [1.0.0]
ejbPersistentTimer-3.2 [1.0.0]
ejbRemote-3.2 [1.0.0]
el-3.0 [3.0.0]
eventLogging-1.0 [1.0.0]
federatedRegistry-1.0 [1.0.0]
httpWhiteboard-1.0 [1.0.0]
j2eeManagement-1.1 [1.1.0]
jacc-1.5 [1.0.0]
jaspic-1.1 [1.0.0]
…
WebSphere Application Server 17.0.0.1 (1.0.16.cl170120170227-0220) on IBM J9 VM, version pxa6480sr3fp12-20160919_01 (SR3 FP12) (en_GB)
Monday, 5 June 2017
WebSphere Liberty Profile - Tracing
[05/06/17 17:02:52:594 BST] 00000024 y.authentication.jaas.modules.UsernameAndPasswordLoginModule A CWWKS1100A: Authentication did not succeed for user ID wasadmin. An invalid user ID or password was specified.
[05/06/17 17:02:52:616 BST] 00000031 y.authentication.jaas.modules.UsernameAndPasswordLoginModule A CWWKS1100A: Authentication did not succeed for user ID wasadmin. An invalid user ID or password was specified.
wasadmin
<sensitive java.lang.String@6f65828e>
[05/06/17 17:02:52:531 BST] 00000022 id=c258be29 m.ws.security.quickstart.internal.QuickStartSecurityRegistry < checkPassword Exit
null
[05/06/17 17:02:52:531 BST] 00000022 id= y.authentication.jaas.modules.UsernameAndPasswordLoginModule A CWWKS1100A: Authentication did not succeed for user ID wasadmin. An invalid user ID or password was specified.
[05/06/17 17:02:52:563 BST] 00000022 id= com.ibm.ws.security.authentication.AuthenticationException > <init> Entry
CWWKS1100A: Authentication did not succeed for user ID wasadmin. An invalid user ID or password was specified.
[05/06/17 17:02:52:563 BST] 00000022 id=f47e0a6e com.ibm.ws.security.authentication.AuthenticationException < <init> Exit
com.ibm.ws.security.authentication.AuthenticationException: CWWKS1100A: Authentication did not succeed for user ID wasadmin. An invalid user ID or password was specified.
at com.ibm.ws.security.authentication.jaas.modules.UsernameAndPasswordLoginModule.login(UsernameAndPasswordLoginModule.java:81)
at com.ibm.ws.kernel.boot.security.LoginModuleProxy.login(LoginModuleProxy.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:788)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:196)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
at java.security.AccessController.doPrivileged(AccessController.java:650)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:696)
at javax.security.auth.login.LoginContext.login(LoginContext.java:597)
at com.ibm.ws.security.authentication.internal.jaas.JAASServiceImpl.doLoginContext(JAASServiceImpl.java:344)
at com.ibm.ws.security.authentication.internal.jaas.JAASServiceImpl.performLogin(JAASServiceImpl.java:330)
at com.ibm.ws.security.authentication.internal.jaas.JAASServiceImpl.performLogin(JAASServiceImpl.java:315)
at com.ibm.ws.security.authentication.internal.AuthenticationServiceImpl.performJAASLogin(AuthenticationServiceImpl.java:458)
at com.ibm.ws.security.authentication.internal.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:203)
at com.ibm.ws.webcontainer.security.internal.BasicAuthAuthenticator.basicAuthenticate(BasicAuthAuthenticator.java:127)
at com.ibm.ws.webcontainer.security.internal.BasicAuthAuthenticator.handleBasicAuth(BasicAuthAuthenticator.java:118)
at com.ibm.ws.webcontainer.security.internal.BasicAuthAuthenticator.authenticate(BasicAuthAuthenticator.java:71)
at com.ibm.ws.webcontainer.security.WebAuthenticatorProxy.authenticate(WebAuthenticatorProxy.java:93)
at com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.authenticateRequest(WebAppSecurityCollaboratorImpl.java:1050)
at com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.determineWebReply(WebAppSecurityCollaboratorImpl.java:849)
at com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.performSecurityChecks(WebAppSecurityCollaboratorImpl.java:609)
at com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.preInvoke(WebAppSecurityCollaboratorImpl.java:532)
at com.ibm.wsspi.webcontainer.collaborator.CollaboratorHelper.preInvokeCollaborators(CollaboratorHelper.java:458)
at com.ibm.ws.webcontainer.osgi.collaborator.CollaboratorHelperImpl.preInvokeCollaborators(CollaboratorHelperImpl.java:267)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1125)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4956)
at com.ibm.ws.webcontainer31.osgi.webapp.WebApp31.handleRequest(WebApp31.java:525)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:315)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1014)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:280)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:967)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:359)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:318)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:471)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:405)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:285)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:256)
at com.ibm.ws.channel.ssl.internal.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1043)
at com.ibm.ws.channel.ssl.internal.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:632)
at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1777)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
...
Thursday, 1 June 2017
WebSphere Liberty Profile - Silent Installation
-rw-r--r--. 1 wasadmin wasadmins 149840706 Jun 1 08:50 wlp-base-all-17.0.0.1.jar
mkdir /opt/IBM
groupadd wasadmins
useradd -g wasadmins -d /home/wasadmin wasadmin
echo "passw0rd" | passwd wasadmin --stdin
chown -R wasadmin:wasadmins /opt/IBM
vi ~/installer.properties
Append: -
INSTALLER_UI=silent
USER_INSTALL_DIR=/opt/IBM/Java
LICENSE_ACCEPTED=TRUE
Install Java
./ibm-java-jre-8.0-3.12-x86_64-archive.bin -i silent -f installer.properties 1>console.txt 2>&1
Validate Java
/opt/IBM/Java/jre/bin/java -version
Java(TM) SE Runtime Environment (build pxa6480sr3fp12-20160919_01(SR3 FP12))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160915_318796 (JIT enabled, AOT enabled)
J9VM - R28_Java8_SR3_20160915_0912_B318796
JIT - tr.r14.java.green_20160818_122998
GC - R28_Java8_SR3_20160915_0912_B318796_CMPRSS
J9CL - 20160915_318796)
JCL - 20160914_01 based on Oracle jdk8u101-b13
Setup Path
vi ~/.bashrc
Append: -
JAVA_HOME=/opt/IBM/Java/jre/
PATH=$PATH:$JAVA_HOME/bin
source ~/.bashrc
Validate Java
java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build pxa6480sr3fp12-20160919_01(SR3 FP12))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160915_318796 (JIT enabled, AOT enabled)
J9VM - R28_Java8_SR3_20160915_0912_B318796
JIT - tr.r14.java.green_20160818_122998
GC - R28_Java8_SR3_20160915_0912_B318796_CMPRSS
J9CL - 20160915_318796)
JCL - 20160914_01 based on Oracle jdk8u101-b13
Install WLP
Before you can use, extract, or install IBM WebSphere Application
Server V9.0.0.3, you must accept the terms of IMPORTANT: READ CAREFULLY
and additional license information. Please read the following license
agreements carefully.
The --acceptLicense argument was found. This indicates that you have
accepted the terms of the license agreement.
Extracting files to /opt/IBM/wlp
Successfully extracted all product files.
vi /opt/IBM/wlp/etc/server.env
Append: -
# Specify WLP working directory
WLP_USER_DIR=/opt/IBM/work
# Specify Java Home
JAVA_HOME=/opt/IBM/Java/jre/
IBM Data Server Manager
Data Server Manager offers a lightweight setup option for real-time monitoring and administration. The optional repository database can record monitoring metrics for historical analysis, identify storage access patterns for capacity planning, and track configuration changes for problem determination. Automated, expert advice from a holistic view of the database and intelligent alerts based on trends and statistics help optimize application performance, reduce the need for specialized skills and lower total cost of ownership.
Data Server Manager comes in two editions:
For DB2 for z/OS, Data Server Manager Base Edition offers advanced capabilities with centralized configuration management available in the DB2 Administration Solution Pack for z/OS. DB2 Query Workload Tuner for z/OS takes advantage of Data Server Manager architecture either as an individual product or component of the DB2 Performance Solution Pack for z/OS.
Reminder - installing podman and skopeo on Ubuntu 22.04
This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman and skopeo on an Ubuntu box: - lsb_rel...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...