WebSphere Application Server
IBM eXtreme Scale
Jan 13, 2018
Playing with IBM's online Blockchain development environment.
For more information see the IBM developer blockchain page at developer.ibm.com/blockchain/.
Dec 20, 2017
To achieve a password-less login from Unix host A to remote Unix host B, see SSH public-key authentication. You can leverage this functionality to automate execution of processes on the remote host.
New IBM Bluemix videos:
Video on How can I view SOAP requests using tcpmon?. Note that SOAPUI utility provides similar information.
Doing some work with Moodle. A LAMP-based learning site-builder that includes forums and wikis.
Some notes on how to use a Windows Domain users for portal DB authentication.
Have not updated front page in a while, but have been updating documentation.
With Portal v8.5 themes, automatic dependency injection adds required modules at run time.
Sporadic exceptions in a clustered environment generally indicate that one of the cluster members is misconfigured. For example, a jar file version is out-of-date on one of the cluster members. If you are making web service calls to a VIP that load balances to multiple producer hosts, and you are getting sporadic errors related to SOAP calls, this generally indicates that one of the web service producer hosts is misconfigured.
In a nutshell, sporadic errors can be frustrating, due to their seeming randomness. But in an environment with clustered resources, knowing the error is sporadic can help to narrow down the possible culprits.
I finally got around to digitizing my collection of Friday Night Poker Party radio shows. For cognoscenti only. Enjoy.
When dealing with xmlaccess imports, knowing the provenance of your source data file is critical.
WAS front ends
DataPower XI52 in a nutshell
Oct 16, 2015
DataPower XI52 in a nutshell
The IBM DataPower XI52 appliance provides an ESB backbone that facilitates (brokers) communication between services. Features include...
The UX for encrypting files locally has some usability issues. See: Why Johnny Can't Encrypt. [TROOPERS15] Haroon Meer is recommending we all read Surviving on a Diet of Poisoned Fruit Reducing the National Security Risks of America's Cyber Dependencies.
Aug 8, 2015
Having now worked in both Agile and Waterfall software development shops, an analogy came to mind: Agile is in-memory data, Waterfall is persisted data. Agile shops value talk over the written word, generally eschewing documentation as an insalubrious chore. Talk is the preferred medium of knowledge transfer, with the information transferring directly into the memory of target individuals. Cached in a person's brain, retrieval is very fast. With Waterfall, documentation is the preferred method of knowledge transfer. Patterns and procedures are refined, signal to noise ratios are increased, and new team members, for whom the original chatter is gone with the wind, can get up to speed in a comprehensive and rigorous manner. Both have their advantages and disadvantages.
I miss my pre-internet brain.
An epic winter in my home state of Minnesota. Even the grizzled locals are exasperated. Me, I spent most of it at the Miami Hilton, courtesy of a client engagement. There were, however, some white-knuckle rides driving the treacherous stretch through the Minnesota river valley that converys one to-and-from the MSP airport and Mankato.
Some notes on WebSphere Portal v8 install
To get plain old HTML files from IBM's Portal and WCM Wiki, go to the translation page, and choose English.
Some notes on IBM Support Tools portlet for IBM Web Content Manager
Very simple backup script, backup.sh
A just-good-enough script to add anchor tags for each line with an <h3> tag.
for i in `ls *.html` do echo $i ./anchor.sh $i done
You might want to remove tags first...
for i in `ls *.html` do echo $i ./removetags.sh $i done
To create a table of contents...
If you are working with DataPower XC10s to support sessions, you might need to explicitly set serialVersionID
No, not Doctor Suess. EvenGrid OddGrid is a method for seamlessly upgrading versions of WebSphere Server Applications that store session data in an eXtreme Scale grid.
On a more mundane note, my work continues with multiple XC10 implementations, mostly up in Canada. Using the XC10 as a replacment for local DynaCache and local session management.
All my favorites!
Lots of work with the WebSphere Datapower XC10 appliance, used, in this case, for eXtreme Scale dynamic cache grids supporting WebSphere Commerce.
For example, hosts foo and bar both have an average response time of 24 seconds. Host foo has response times of 22, 24, 26, and 24 ms. Host bar has response times of 2, 40, 50, and 4. Although mean time is the same, the standard deviation of host bar is greater.
Web site shell scriptsMay 1, 2013
This site leverages some effective, albeit cursorily written, shell scripts to perform batch editing. For example, the following script will recurse through a document root and for each html file, if the phrase is found, remove the word "easily" from a particular phrase...
rp.sh uses a colon (:) as a separator. If the line to change has a colon, substitute the colon with a period (.). For example, to change "The end:" to "The end."...
rp.sh The end. : The end.
...or you can run a script that uses a comma as a delimiter, as long as the phrase does not contain a comma...
To convert lines with angle brackets...
To remove a phrase...
For rp.sh to work efficiently, we need to grep unbroken phrases. Many html files converted from Word and PDF have lots of broken lines. These are lines that end with a word, instead of a period. We can used join.sh to find files containing our keyword at the end of the line, and join that line with the line below.
To recurse through html files and replace phrase with an inline link...
link.sh $x myfile.html phrase to apply inline link
To generate a list link.sh commands based on titles of files in current directory...
To remove a link...
To acquire the original html files to work with, we can use wget. For example...
To download associated files, such as gifs...
To convert a text file into an html file...
After downloading, we beautify by running a series of sed commands.
To open all files with phrase "foo bar" in vi, run...
Enable WAS v8 security
WebSphere Commerce Web 2.0 Coremetrics
To log on automagically into Portal:
Passwordless scp between hosts
To scp files from host to another without having to enter credentials, set up ssh-based public key authentication. Once configured, in addition to passwordless copies, you can execute remote commands using ssh -f. Automation via shell scripts and cron is also now enabled, with an infinite set of possibilities. Cost: $0.
Enterprise Service Bus / Service Integration Bus
The Enterprise Service Bus (ESB) pattern is used for integration with external systems such as ERP and OMS, providing...
Enterprise Service Buses (ESBs) and Service Integration Buses (SIBs) closely related..
ERP and OMS
WebSphere Commerce exposes web services for loosely-coupled integration with...
Outbound web services exposed by the back-office integration
Inbound web services exposed by the back-office integration
Virtual portal scopes
Separation between virtual portals is achieved by scoping the portal resources of the virtual portals. Scoping means making portal resources available uniquely and separately to individual virtual portals and their users:
A portal resource scoped for virtual portals exists individually for each virtual portal and has an identification unique within the entire portal installation. The resource is available only in one particular virtual portal and we can customize such resources for each virtual portal independently.
For example, the resource...
...is scoped for the virtual portals...
Customizing resource_A_VP_1 does not affect resource_A_VP_2 and resource_A_VP_3.
Filter chain events
With Portal v7, users can traverse contexts for which they have no access role assigned, in order to get to a child context for which they have an access role assigned. For if user S has no access role for the Products context, user S cannot edit or map that context, but user S can view and click that context in the URL Mapping portlet, in order to get to the Hardware context, for which the user has the Editor access role.
What the dickens?
FastCompany explains the internet to a 19th century British street urchin.
The data center
wsadmin one-liner scripts
WebSphere Application Server one-liner scripts. Userful for the stoopid (like me).
JCR Explorer and XPath
Been running a lot of XPath queries in JCR explorer these days, trying to fix some syndication issues.
For example, getting error...
Could not save item with id DepRef(id:121212121 type: com.aptrix.pluto.site.SiteArea nonDraft:true draft:false purged:false parentId:919191919 timeStamp:123 stateUpdate: false versions:null moved: false) because it could not find its parent.
...means parent uuid on subscriber does not match parent uuid on syndicator. To verity, in JCR Explorer, run the following queries on both systems...
//element(*, ibmcontentwcm:siteArea)[@jcr:uuid = '121212121']
You will undoubtedly find both uuids on syndicator, but not subscriber. This will be the case even if site areas show as existing on both machines from within the authoring portlet on the subscriber.
One way to fix...
lsofA paen to lsof.
My name is Michael Pareene. I am a principal software engineer with RSI Solutions Inc., specializing in the IBM software stack.
This site represents my notes. Send all inquiries to email@example.com.