WebSphere Application Server
IBM eXtreme Scale
Installing Docker for Windows in order to load/deploy Dockerfiles for WebSphere Application Server traditional.
Playing with IBM's online Blockchain development environment.
For more information see the IBM developer blockchain page at developer.ibm.com/blockchain/.
Password-less login and remote execution
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.
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. Or, 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.
Friday Night Poker Party
I finally got around to digitizing my collection of Friday Night Poker Party radio shows. For cognoscenti only. Enjoy.
WAS front ends
DataPower XI52 in a nutshell
The IBM DataPower XI52 appliance provides an ESB backbone that facilitates (brokers) communication between services. Features include...
Agile vs. Waterfall
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.
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.
Plain old HTML files
To get plain old HTML files from IBM's Portal and WCM Wiki, go to the translation page, and choose English.
Add anchor tags
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
Create a table of contents
To create a table of contents...
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.
Homegrown shell scripts
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...
WebSphere Commerce Web 2.0 Coremetrics
Non-interactive log on to Portal
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.
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.
What the dickens?
FastCompany explains the internet to a 19th century British street urchin.
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.
See also: How can I view SOAP requests using tcpmon?. Note that SOAPUI utility provides similar information.
My name is Michael Pareene, and I am the creator of setgetweb.com. This site represents my notes. Send all inquiries to firstname.lastname@example.org. See also my resume.