setgetweb.com

Google
 

About setgetweb.com

WebSphere Application Server

  1. WAS v9.0
  2. WAS v8.5.5 *
  3. Liberty Core v8.5.5 *
  4. WAS v8.5 *
  5. WAS v8.0
  6. WAS v7.0
  7. WAS v6.1
  8. WAS v6.0
  9. WAS v5.1

Portals

  1. Portal v9
  2. Portal v8.5 (*)
  3. Portal v8.0
  4.     Install example
  5.     v7 to v8 migration
  6. Portal v7.0 *
  7. Portal v6.1.5
  8. Portal v6.1
  9. Portal v6.0
  10. Portal v5.1
  11. Moodle 3.3

IBM Connections

  1. Developerworks
  2. 626.bluefizz.net/
  3. Connections v5.0
  4. Greenhouse
  5. Connections v4.5
  6. Connections v4.0
  7. Connections v3.0
  8. Connections v2.5

Rational

  1. Rational Application Developer v9.1.1
  2. Development
  3. Rational Performance Tester v8.5
  4. Rational Performance Tester v8
  5. Rational Performance Tester v7
  6. Rational Functional Tester v8

IBM MobileFirst

  1. MobileFirst v7 (*)
  2. MobileFirst v6.3 (*)
  3. Worklight v5

WebSphere Commerce

  1. Commerce v7.0
  2. Commerce v6.0

WebSphere MQ

  1. MQ v7.5
  2. MQ v6

IBM BPM

  1. IBM BPM v8.5
  2. IBM BPM v8.0
  3. WebSphere Lombardi v7.2

IBM ODM

  1. ODM v8.5
  2. ODM v8.0.1

IBM PureApplication

  1. PureApplication System

IBM eXtreme Scale

  1. eXtreme Scale v8.6
  2. XC10 v2.5
  3. XC10 v2.1
  4. Installation Manager v1.4
  5. eXtreme Scale v7.1
  6. eXtreme Scale v7.0
  7. WebSphere XD v6.0

IBM Tivoli

  1. Tivoli Monitoring v6.3
  2. ITCAM for Applications v7.1
  3. ITCAM v6.1
  4. ITCAM for WAS v7.2
  5. Directory Integrator v7.1
  6. Tivoi Monitoring (Infocenter)
  7. ITCAM Wiki

Other

  1. Sencha Ext JS 5.1
  2. i5/OS
  3. iSeries
  4. WebLogic v10.3
  5. WebLogic v8.1
  6. WPARs

Misc

  1. CGI
  2. Linux
  3. sed
  4. lsof
  5. e-books
  6. tcpdump
  7. awk
  8. rsync
  9. Scripts
  10. Apache 2.0
  11. Samba
  12. DNS
  13. Multicast
  14. snort
  15. security
  16. Lucene v2.4
  17. Reverse tunnels

Further Reading

  1. w3schools.com
  2. IBM Digital Experience Developer Center
  3. IBM Middle User Community
  4. Support Portal
  5. developerWorks
  6. Redbooks
  7. Partnerworld
  8. IBM Greenhouse
  9. Portal Wiki
  10. A Portal to a Portal
  11. Certifications

Twitter

  1. IBMAppServer
  2. IBMCommerce
  3. IBMDataPower
  4. IBMProcessServ

Oct 19, 2017

New IBM Bluemix videos:

  1. How-to's & Demos: A tour of Bluemix 2017
  2. An Updated Overview and Demonstration of IBM Bluemix


Oct 17, 2017

IBM WebSphere Portal 8.5 CF12 and IBM WebSphere Portal 8.0 CF22 introduce secure default settings for CVE-2014-8912.


Oct 5, 2017

Video on How can I view SOAP requests using tcpmon?. Note that SOAPUI utility provides similar information.


Aug 15, 2017

Doing some work with Moodle. A LAMP-based learning site-builder that includes forums and wikis.


July 14, 2017

Administering IBM WebSphere Portal 9.0: A comprehensive workshop


May 10, 2017

Some notes on how to use a Windows Domain users for portal DB authentication.


Oct 6, 2016

Working on WebDAV issues related to portal CF 20 migration.


Sept 12, 2016

Have not updated front page in a while, but have been updating documentation.


June 1, 2016

With Portal v8.5 themes, automatic dependency injection adds required modules at run time.


May 20, 2016

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.


Mar 25, 2016

I finally got around to digitizing my collection of Friday Night Poker Party radio shows. For cognoscenti only. Enjoy.


Mar 18, 2016

When dealing with xmlaccess imports, knowing the provenance of your source data file is critical.


Nov 14, 2015

WAS front ends

  • WAS web server plug-in

    Interface between a web server and an application server that determines server to which a client request, such as servlets, needs to be routed.

  • WebSphere DataPower

    Secure appliance-based proxy server offering enhanced functionality, including WS-Addressing, custom advisors, QOS, and SLA.

  • WAS proxy server

    Routes HTTP requests to content servers. Can be the initial point of entry for requests to servers in the enterprise. Not safe for DMZ deployment. Typically fronted by a web server, or used in internal only environments where stringent host security requirements are not required.

  • DMZ Proxy Server for IBM WAS

    Designed to be safely installed on a stand-alone node in a DMZ. Provides session affinity, failover support, and workload balancing for the WAS topology. The DMZ is a safe zone between firewalls, typically located between a client and a backend server. Accepts requests from clients on the Internet, and forwards the requests to servers in the enterprise environment.

  • On Demand Router (ODR)

    Intelligent router that is aware of the dynamic state of the cell. If one server in the cell fails, the requests are routed to another server. The configuration of the ODR in the DMZ is not supported.

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

Protocol virtualization Communication between parties who use different protocols such as http, https, ftp, MQ. ESB bridges (converts) these protocols.
Message format virtualization For example, one party sends XML (SOAP) message, ESB converts to JSON, which is sent to backend.
Endpoint virtualization WSDL services that used to exist on servers can be moved to ESB.
XML attack security Including DoS, MMXDos, and other attacks.
Configuration driven interface Less code to write
XML processing at wire speed. Versus server-based ESB solutions that operate at software speed.


Aug 12, 2015

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.


April 29 2015

HTML with line breaks in the middle of the sentence can be made continuous by running lastword.sh to display the last word of any text, and then running join.sh against the output.


May 6, 2014

I miss my pre-internet brain.


May 3, 2014

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


Jan 13, 2014

To get plain old HTML files from IBM's Portal and WCM Wiki, go to the translation page, and choose English.


Jan 9, 2014

Some notes on IBM Support Tools portlet for IBM Web Content Manager


Nov 6, 2013

Very simple backup script, backup.sh


Nov 5, 2013 - Automatically 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...

To create a table of contents...


Nov 4, 2013

A procedure to install WAS and IHS.


Oct 24, 2013

If you are working with DataPower XC10s to support sessions, you might need to explicitly set serialVersionID


Oct 23, 2013

My son, Alex, the writer, was spotlighted on the Daily Show by John Stewart.


Oct 18, 2013

A simple file system backup script


Oct 12, 2013

EvenGrid OddGrid

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.


XC10 DataPower

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.


Aug 27, 2013

Sturgeon! Dick! Asimov! Heinlein! DeCamp! Bradbury! Sheckley! Pohl!

All my favorites!


Aug 27, 2013

Public key authentication using Cygwin


Aug 17, 2013

Lots of work with the WebSphere Datapower XC10 appliance, used, in this case, for eXtreme Scale dynamic cache grids supporting WebSphere Commerce.


Standard Deviation

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 scripts

May 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 you can easily install : we can install

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

    rp.sh \<li\> my phrase : \<p\> \<li\> my phrase

To remove a phrase...

    rp.sh Remove this 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...

    x=/path/to/html/files
    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...

    removelink.sh setgetweb.com/path/to/file.html inline link phrase to remove

To acquire the original html files to work with, we can use wget. For example...

    wget http://foo.com/topics/file1.html
    wget http://foo.com/topics/file2.html
    wget http://foo.com/topics/file3.html
    wget http://foo.com/topics/file4.html

To download associated files, such as gifs...

    wget -r -nc http://foo.com/topics/file1.html

To convert a text file into an html file...

Sometimes navigation panels hid actual URLs behind javascript. One workaround for acquiring these URLS is to copy-paste the contents of the navigation panel to an MS Word doc, and then save the document as html.

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

  1. Start the deployment manager

  2. Open the WAS administrative console...

      http://your_host.your_domain:9060/ibm/console

    ...and go to...

      Security | Global security

  3. Use the Security Configuration Wizard, or configure security manually.

    By default...

    • Administrative security is enabled
    • Application security is disabled

Read more...


WebSphere Commerce Web 2.0 Coremetrics

When a Web 2.0 store refreshes a part of the page, the analyticsJS JavaScript object, loaded in every store page and waiting for a Web 2.0 event, sends JSON data to the Coremetrics Event Listener, which invokes the Coremetrics JavaScript tagging function.

            Read more...


It's magic

To log on automagically into Portal:

    http://host:port/wps/guest/cxml/04_SD9ePMtCP1I800I_KydQvyHFUBADPmuQy?userid=wpadmin&password=foo


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

  • communication
  • protocol mediation
  • message transformation

Enterprise Service Buses (ESBs) and Service Integration Buses (SIBs) closely related..


ERP and OMS

WebSphere Commerce exposes web services for loosely-coupled integration with...

  • Enterprise Resource Planning (ERP)

    • Process orders
    • Perform inventory management
    • Be the master of record for catalog and member information
    • Provide front-end features for marketing and merchandising

    The ERP scenario includes the OMS scenario as a sub-scenario.

  • Order Management Systems (OMS)

    • Process orders
    • Edit orders
    • Release orders to the fulfillment system
    • Manage inventory


Outbound web services exposed by the back-office integration

Outbound service Description
CreateOrganization Notify an external system of the creation of a buyer organization.
UpdateOrganization Notify an external system of a buyer organization update.
GetProductAvailability Retrieve the availability of a product from an external system if the information is not cached locally.
CheckOrderInventory Check the inventory of an order on an external system if the information is not cached locally.
ReserveOrderInventory Update the inventory reservation of an order on an external system.
CancelOrderInventory Cancel the inventory reservation of an order on an external system.
TransferOrder Transfer an order to an external system.
GetOrder Retrieve the details of an order or list of orders from an external system.


Inbound web services exposed by the back-office integration

Inbound service Description
Inventory cache update Update the inventory cache in WebSphere Commerce when a store is configured to use an external system for inventory management.
Order preprocessing Validate an external order (for example, an order that has been transferred to an external order management system) against contracts in WebSphere Commerce, and for calculating its prices, discounts, shipping charges, taxes and so forth using settings in WebSphere Commerce.
Order Status Update Update the status of an order in Commerce when a store is configured to use an external system for order processing and fulfillment.
Payment processing Process online financial transactions such as payment authorizations and payment captures.
Synchronize Organization Add or update an organization in Commerce to synchronize Commerce with the external master repository.
Synchronize Person Add or update a person in Commerce to synchronize Commerce with the external master repository.

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

    resource_A

...is scoped for the virtual portals...

  • VP_1
  • VP_2
  • VP_3

...as...

  • resource_A_VP_1
  • resource_A_VP_2
  • resource_A_VP_3

Customizing resource_A_VP_1 does not affect resource_A_VP_2 and resource_A_VP_3.


Filter chain events

Interface Description
com.ibm.portal.auth.ExplicitLoginFilter Login by username and password, for example, using login portlet or login URL
com.ibm.portal.auth.ImplicitLoginFilter Perhaps user is already authenticated by WAS, but not yet by Portal
com.ibm.portal.auth.ExplicitLogoutFilter. User clicks Logout button
com.ibm.portal.auth.ImplicitLogoutFilter After a session timeout, or if authenticated user accesses a public page, or user navigates to a virtual portal without being member of the associated user realm.
com.ibm.portal.auth.SessionTimeoutFilter Called immediately after an idle timeout of the user session
com.ibm.portal.auth.SessionValidationFilter Called for every request before actions are triggered and the page is rendered.

Portal contexts

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.


Fully-qualified URLs from Javascript content

One way to to get fully-qualified URLs from JavaScript content, such as the left navigation table on an IBM Redbook, is to copy content into MS Word, and then save document as HTML.


The data center

Informative long-form article on modern data centers from the author of How we drive.


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']
//element(*, ibmcontentwcm:siteArea)[@jcr:uuid = '919191919']

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

  1. Delete site area child and parent on subscriber
  2. Edit site area on syndicator and then save, to give item a fresh time stamp.
  3. Re-syndicate


lsof

A paen to lsof.


Archives

  1. Archive 2016


About setgetweb.com

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 michael.pareene@setgetweb.com.