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
Monday, 30 November 2009
Installing WebSphere Portal Express 6.1.5 on Linux
Installing%20WebSphere%20Portal%20Express%206.1.5%20on%20Linux.pdf
Enjoy !
Creating an IBM Lotus Web Content Management site structure with one click
If you work with IBM Lotus Web Content Management, one of your recurring tasks is defining site structure. This task by its nature is time-consuming and repetitive; you are required to take more than 10 distinct steps to create a single site or site area. Moreover, site structures are not portable by design; you cannot export your site structure from one library on one server to a different library on a different server. Instead, you need to recreate the entire site structure manually.
Because the number of sites and site areas that make up a single site structure can reach the thousands, you need a method to automate the process of defining the site structure and to make it easier to move, export, and import. In this article, you can learn a simple way to define your site structure as an XML file and deploy it accordingly.
Friday, 27 November 2009
Installing WebSphere Portal 6.1.5 on Linux ....
mkdir IL-1
tar xvzf CZ8H5ML.tgz -C IL-1
unzip C1HA2ML.zip -d IL-2
unzip CZ8I8ML.zip -d IL-3
unzip CZ8I9ML.zip -d IL-4
unzip CZ8IAML.zip -d IL-5
mkdir IL-1
tar xvzf CZ8H5ML.tgz -C IL-1
mkdir IL-2
tar xvzf CZ8HDML.tgz -C IL-2
unzip CZ8I4ML.zip -d IL-3
unzip CZ8I5ML.zip -d IL-4
unzip CZ8I6ML.zip -d IL-5
unzip CZ8I7ML.zip -d IL-5A
Thursday, 26 November 2009
Jon Mell - first it was the WebSphere Portal 4 deployment guide, now it's Lotus Connections 2.5 ...
...
Wednesday, 25 November 2009
WebSphere Portal and Lotus Web Content Management 6.1.5 are released ...
- Unleashes the power of social software capabilities such as blogs and wikis to convert Web site visitors to participants and customers.
- Reduces integration costs with Enterprise Content Management (ECM) solutions by leveraging out-of-the-box Document Picker to access content from ECM repositories such as FileNet, IBM Content Manager, and Quickr.
- Uses Web Content Integrator to provide incremental value by consuming and publishing of external content repositories.
- Enhances ease-of-use by enabling authoring of content and template creation using tools such as Dreamweaver and WebDAV hooks.
- Enhances rich text editor capabilities by embedding Ephox's EditLive Editor, thus, eliminating the need for separate installation.
Tuesday, 24 November 2009
Lotus Connections - Problems with person/people tagging in Profiles
To cut a long story short, the customer was seeing a problem whereby an authenticated user was unable to tag his/her own profile, using the Tags widget on the left-hand side of the My Profile page. There was no obvious error in the browser, and the tag cloud/list was never updated.
After much trial and error, we narrowed the problem domain down to it only occuring when we accessed LC via a pair of front-end HTTP server, via an HTTP load balancer - it's my understanding that the LB "merely" directs requests to one of the two IHS servers on a "round robin" basis, so has no real part to play in the story.
We were able to confirm that the problem WAS "caused" by the presence of the front-end IHS servers, by accessing Profiles directly on the WAS instance ( in the client's case, each Connections feature is clustered across two identical WAS ND nodes ). When we accessed Profiles in this way ( e.g. http://connections.uk.ibm.com:9088/profiles ), tagging worked as expected.
However, going via the HTTP servers ( both with the WAS plugin configured correctly to direct the requests to the cluster ), we saw the following string of messages ( some good, some bad ) in the IHS access.log file: -
192.168.1.3 - - [24/Nov/2009:13:07:02 +0000] "GET /profiles/html/myProfileView.do?lang=en HTTP/1.1" 200 41226
192.168.1.3 - - [24/Nov/2009:13:07:04 +0000] "GET /profiles/html/profileLocalTime.do?timezoneId=Europe%2FLondon&timeNow=1259067900000&lang=en HTTP/1.1" 200 17
192.168.1.3 - - [24/Nov/2009:13:07:04 +0000] "GET /profiles/ajax/getStatusMessage.do?key=39464090-6e3a-4543-9370-954f341c3096&lang=en HTTP/1.1" 200 1171
192.168.1.3 - - [24/Nov/2009:13:07:04 +0000] "GET /profiles/ajax/getWallContent.do?key=39464090-6e3a-4543-9370-954f341c3096&filter=PROFILE&type=ALL&lang=en HTTP/1.1" 200 12500
192.168.1.3 - - [24/Nov/2009:13:07:04 +0000] "GET /communities/service/atom/communities/all?userid=E7CEACE4-B7E8-BDD0-8025-76680020359C&ps=5 HTTP/1.1" 500 619
192.168.1.3 - - [24/Nov/2009:13:07:14 +0000] "POST /profiles/html/tagTypeahead.do?useJson=true HTTP/1.1" 200 8
192.168.1.3 - - [24/Nov/2009:13:07:15 +0000] "PUT /profiles/atom/forms/profileTags.do?targetKey=39464090-6e3a-4543-9370-954f341c3096&sourceKey=39464090-6e3a-454 3-9370-954f341c3096 HTTP/1.1" 403 319
192.168.1.3 - - [24/Nov/2009:13:07:15 +0000] "GET /profiles/auth/loginRedirect.do?loginReturnPage=%2Fprofiles%2Fhtml%2FmyProfileView.do%3Flang%3Den HTTP/1.1" 302 -
192.168.1.3 - - [24/Nov/2009:13:07:15 +0000] "GET /profiles/html/myProfileView.do?lang=en HTTP/1.1" 200 41226
192.168.1.3 - - [24/Nov/2009:13:07:16 +0000] "GET /profiles/html/profileLocalTime.do?timezoneId=Europe%2FLondon&timeNow=1259067960000&lang=en HTTP/1.1" 200 17
192.168.1.3 - - [24/Nov/2009:13:07:16 +0000] "GET /profiles/ajax/getStatusMessage.do?key=39464090-6e3a-4543-9370-954f341c3096&lang=en HTTP/1.1" 200 1171
192.168.1.3 - - [24/Nov/2009:13:07:16 +0000] "GET /profiles/ajax/getWallContent.do?key=39464090-6e3a-4543-9370-954f341c3096&filter=PROFILE&type=ALL&lang=en HTTP/1.1" 200 12500
192.168.1.3 - - [24/Nov/2009:13:07:16 +0000] "GET /communities/service/atom/communities/all?userid=E7CEACE4-B7E8-BDD0-8025-76680020359C&ps=5 HTTP/1.1" 500 619
Of these, we can ignore the HTTP 500 errors coming from Communities, as that feature is not running ( I've taken the logs from my own LC25 clustered environment, as I was able to recreate the customer's problem ).
The important error is the HTTP 403 coming from the PUT method.
The customer was also using the HTTP mod_write directive, which I've again reproduced on my own setup here: -
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine on
RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)$
RewriteRule .* - [F]
Can you see the problem ? I bet you can - sadly, it took me a little longer ...
As mentioned, the person tagging feature uses the HTTP PUT method, rather than the more common HTTP POST method. The customer's configuration for mod_rewrite was explicitly blocking this, via the RewriteCond directive seen above.
Once we change the rule to read: -
RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD|PUT)$
and restarted IHS, all was well.
The moral of the story ? Break a problem down into logical domains e.g. test the core of the environment ( in our case, accessing Profiles directly on WAS on port 9088 ) and, if that works, focus on the HTTP servers, in terms of (a) non-standard modules/directives and (b) the access and error logs.
With thanks to Erik Sorensen, the Lotus Connections support team in Mulhuddart, Dublin, and, of course, my customer.
Sorted :-)
Sunday, 22 November 2009
IBM HTTP Server installation wizard - not very wizardly
Wednesday, 18 November 2009
WSWS7007E and WSVR0501E Conflict between Lotus Connections 2.5 and Feature Pack for Web Services for WebSphere Application Server V6.1
WSWS7007E: The peoplepages.war application module cannot be loaded correctly because of the following error: com.ibm.ws.metadata.annotations.AnnotationException: Annotation processing failed for class: com/ibm/lconn/profiles/internal/service/AbstractCodesService.class
WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationServerImpl]com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.metadata.annotations.AnnotationException: Annotation processing failed for class: com/ibm/lconn/profiles/internal/service/AbstractCodesService.class
WVER0012I: VersionInfo reporter version 1.15.4.3, dated 11/12/08
--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time November 17, 2009 9:35:40 PM GMT
Installation
--------------------------------------------------------------------------------
Product Directory /opt/IBM/WebSphere/AppServer
Version Directory /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /opt/IBM/WebSphere/AppServer/logs
Backup Directory /opt/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory /tmp
Product List
--------------------------------------------------------------------------------
ND installed
WEBSERVICES installed
Installed Product
--------------------------------------------------------------------------------
Name IBM WebSphere Application Server - ND
Version 6.1.0.23
ID ND
Build Level cf230910.10
Build Date 3/10/09
Installed Product
--------------------------------------------------------------------------------
Name WebServices Feature Pack
Version 6.1.0.23
ID WEBSERVICES
Build Level cf230907.03
Build Date 2/21/09
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
SECJ0375E: Mismatch of realms during token validation
On the Federated Repositories page, enter an administrative user ID (for example, wasadmin) in the Primary administrative user name field. You can leave the other default settings, such as Realm name, unchanged. Note: The administrative user ID must be unique, and must not exist in the LDAP repository to be federated.
CLFRN1152E: Unable to contact the global search service. Please start the Search application if it is not started. If the service is started, please check the network connection.
All entries in this file should be updated to the Web server URL with the exception of the three bootstrap entries – two of which should not be modified at all. The only bootstrap entry which must be modified is that for search. Leave the host and port blank as shown:
[09/11/09 15:01:12:979 GMT] 00000037 TagCloudServi E com.ibm.lconn.comm.internal.service.TagCloudServiceImpl getEJBSearchHandlerFromSearchEjbDefault Caught naming exception!
javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:dm.uk.ibm.com:2811". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=dm.demo.ibm,port=2811 vmcid: IBM minor code: E02 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1386)
Wednesday, 11 November 2009
IBM WebSphere eXtreme Scale 6 - Review to come
- Get hands-on experience with eXtreme Scale APIs, and understand the different approaches to using data grids
- Introduction to new design patterns for both eXtreme Scale and data grids in general
- Tutorial-style guide through the major data grid features and libraries
- Start working with a data grid through code samples and clear walkthroughs
Thursday, 5 November 2009
Lotus Connections 2.5 - All clustering together ...
Sunday, 1 November 2009
Fun and Games with Windows 7
Good news! I talked to a friend that worked in the Windows 7 development at Microsoft and he had the same prob with 2 of his computers and figured out the solution. While it doesn't make a whole lot of sense, the HDMI Audio comes from the video card drivers. I went to Intel's website and chose my video card, and they had Windows 7 RC drivers up, I downloaded those and installed, rebooted and my HDMI audio is now back in the soundcard list and I tested it, worked great! So to all of you above, go get the latest video card drivers and try again. Worked for me!
Note to self - use kubectl to query images in a pod or deployment
In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...
-
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...