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
Thursday, 29 March 2012
Wednesday, 28 March 2012
Connections 101 is here … well, there actually
IBM Connections 3.0.1.1 Administration Command: Preview commands for synchronizing user data
You should run preview versions of commands before running the actual commands. When you are sure the command will do what you want, run the actual command.
Tuesday, 27 March 2012
How to serve static files from both IBM HTTP Server and an application in WebSphere Application Server
Sunday, 25 March 2012
IBM Connections 3.0.1.x - March Mobile Update
Following on from my previous post, a new Mobile Update was released on March 22: -
3.0.1.0-IC-Multi-Mobile-IFLO67638
March 2012 mobile update. This update is cumulative and includes changes from previous mobile updates. Please use the latest Update Installer for IBM Connections published to Fix Central to apply this fix.
Thanks to Kieran for sharing this with me ….
Friday, 23 March 2012
IBM Tivoli Directory Integrator solutions for IBM Connections real-world scenarios
For details on setting up TDI and IBM Connections 3.0.1, refer to the IBM Connections 3.0.1 product documentation topic, "Configuring Tivoli Directory Integrator."
IBM WebSphere Portal Unified Task List Portlet version 5.0
Configuration Changes and Options introduced in WP/WCM V7.0.0.1 and 7.0.0.2 Combined Cumulative Fixes
IBM WebSphere Portal v7 - Upgrades and Best Practices
Open Mic Webcast: Troubleshooting WebSphere Portal performance issues with Visual Configuration Explorer and the Health Center - 3 April 2012
IBM will host an Open Mic webcast with Lotus Development and Support Engineers on 3 April 2012. The topic will be "Troubleshooting WebSphere Portal performance issues with Visual Configuration Explorer and the Health Center ."
Content
Date: 3 April 2012
Time: 11:00 AM EDT (15:00 UTC, or GMT -4), for 60 minutes
IBM Sametime Proxy Server 8.5.2 - Integration with IBM Connections 3.0.1.1 and WebSphere Portal 7.0.02
Support for IBM Connections 3.0.1.1
With this fix installed, it is possible to integrate Connections 3.0.1.1 with Sametime 8.5.2 IFR 1.
Support for IBM WebSphere Portal 7.0.0.2
With this fix installed, it is possible to integrate Portal 7.0.0.2 with Sametime 8.5.2 IFR 1. Note that this integration is possible only when using the new Page Builder theme.
IBM Sametime native mobile (iOS and Android) clients improvements
With this fix installed, the user experience for users of the mobile native Sametime clients has been improved in the following ways:
Thursday, 22 March 2012
Kerberos Troubleshooting
WUG 2012 - Desktop Single Sign-On in an Active Directory - My Presentation
- Understand how to integrate WebSphere Application Server, and related products, with Active Directory
- Understand how to implement desktop single sign-on with WebSphere Portal, IBM Web Content Manager, IBM Connections etc.
- Share the lessons that we learned
- Consider the next steps
Requirement is generally to provide "seamless login" to WebSphere Portal and IBM Connections for those users who are authenticated to a Windows desktop
– User logs in to Windows desktop using AD credentials
– User accesses IBM software without providing further credentials (explicitly)
– Portal, Connections etc. recognizes the user and provides access to her personal resources
– But... we also need to consider mobile device authentication, and these aren't Windows desktops …
Tuesday, 20 March 2012
All new Rational Automation Framework and Rational Build Forge - Streamline devops and simplify your build and deploy
Discover what's new in the all-new Rational Automation Framework solution with new pricing and packaging, and a host of new features, while Rational Build Forge marches on with a new release and significant enhancements. Rational's software delivery automation solutions have led the market in helping software delivery teams streamline their builds, and manage the configuration and deployment of applications to target middleware solutions.
as part of an IBM Connections / WebSphere Portal project.
As a matter of interest, Stuart McIntyre mentioned this on ThisWeekInLotus recently in the context of automating IBM Connections deployments. Serendipity ? I think so :-)
The MP3 is here and the transcript is here.
There's also a useful analyst report, covering Rational Build Forge and Rational Automation Framework (RAF), entitled Demonstrated Benefits of Software Delivery Automation – an Analyst Study - here - it requires IBM registration, but that's not a bad thing.
WebSphere and Kerberos
Will I see you there ? I hope so .....
However, the conversation around two-way forest-level transitive trust has come up on another project, so I was looking for a good definition of it in a WebSphere context.
This section of the WAS 7 Info Centre is definitely worth a read: -
The Kerberos authentication mechanism enables interoperability with other applications (such as .NET, DB2 and others) that support Kerberos authentication. It provides single sign on (SSO) end-to-end interoperable solutions and preserves the original requester identity.
Note: Security support for Kerberos as the authentication mechanism was added for WebSphere Application Server Version 7.0. Kerberos is a mature, flexible, open, and very secure network authentication protocol. Kerberos includes authentication, mutual authentication, message integrity and confidentiality and delegation features. You can enable Kerberos on the server side. Support is provided to enable the rich Java client to use the Kerberos token for authentication to the WebSphere Application Server.
Kerberos (KRB5) authentication mechanism support for security
and includes a useful set of links, including: -
- What is Kerberos?
- The benefits of having Kerberos as an authentication mechanism
- Kerberos authentication in a single Kerberos realm environment
- Kerberos authentication in a cross or trusted Kerberos realm environment
- Things to consider before setting up Kerberos as the authentication mechanism for WAS
- Support information for Kerberos authentication
- Setting up Kerberos as the authentication mechanism for WAS
- Setting up Kerberos as the authentication mechanism for the pure Java client
Saturday, 17 March 2012
Strange behaviour with CUSTOMIZATION and COMMUNITY databases in WebSphere Portal 7
This occurred AFTER I'd restarted WebSphere Portal, immediately following a successful database migration.
As I watched the SystemOut.log during the startup, I saw errors relating to the Customization and Community databases, including: -
...
3/17/12 8:21:26:235 GMT] 00000012 DataStoreCont E com.ibm.wps.datastore.impl.DataStoreContext handleException EJPDB0002E: Error occurred during database access.
com.ibm.wps.datastore.domains.FFDCDomainUnavailableException: EJPDB0101E: Database domain [Domain: cust] is currently unavailable.
...
Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: [jcc][t4][2057][11264][4.8.87] The application server rejected establishment of the connection.
An attempt was made to access a database, cust, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004DSRA0010E: SQL State = 08004, Error Code = -4,499
...
Caused by: java.sql.SQLNonTransientException: [jcc][t4][2057][11264][4.8.87] The application server rejected establishment of the connection.
An attempt was made to access a database, cust, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004DSRA0010E: SQL State = 08004, Error Code = -4,499
...
3/17/12 8:21:29:769 GMT] 00000012 DataStoreCont E com.ibm.wps.datastore.impl.DataStoreContext handleException EJPDB0002E: Error occurred during database access.
com.ibm.wps.datastore.domains.FFDCDomainUnavailableException: EJPDB0101E: Database domain [Domain: comm] is currently unavailable.
Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: [jcc][t4][2057][11264][4.8.87] The application server rejected establishment of the connection.
An attempt was made to access a database, comm, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004DSRA0010E: SQL State = 08004, Error Code = -4,499
...
Caused by: java.sql.SQLNonTransientException: [jcc][t4][2057][11264][4.8.87] The application server rejected establishment of the connection.
An attempt was made to access a database, comm, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004DSRA0010E: SQL State = 08004, Error Code = -4,499
...
The first thing I did was to log into the WAS Integrated Solutions Console ( https://portal.uk.ibm.com:10032/ibm/console ) and test the JDBC data source for Customization - wpdbDS_customization - which immediately failed with: -
The test connection operation failed for data source wpdbDS_community on server WebSphere_Portal at node portal with the following exception: java.sql.SQLNonTransientException: [jcc][t4][2030][11211][4.8.87] A communication error occurred during operations on the connection's underlying socket, socket input stream, or socket output stream. Error location: Reply.fill(). Message: Connection reset. ERRORCODE=-4499, SQLSTATE=08001DSRA0010E: SQL State = 08001, Error Code = -4,499.
with the corresponding error: -
...
[3/17/12 16:10:08:873 GMT] 0000002f DSConfigurati W DSRA8201W: DataSource Configuration: DSRA8040I: Failed to connect to the DataSource. Encountered java.sql.SQLNonTransientException: [jcc][t4][2030][11211][4.8.87] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill(). Message: Connection reset. ERRORCODE=-4499, SQLSTATE=08001DSRA0010E: SQL State = 08001, Error Code = -4,499.
java.sql.SQLNonTransientException: [jcc][t4][2030][11211][4.8.87] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill(). Message: Connection reset. ERRORCODE=-4499, SQLSTATE=08001DSRA0010E: SQL State = 08001, Error Code = -4,499
...
in SystemOut.log.
I repeated this test for the other WebSphere Portal-related data sources: -
wpdbDS_community
wpdbDS_feedback
wpdbDS_jcr
wpdbDS_likeminds
wpdbDS_release
and saw the same "The test connection operation failed..." for Community; the other four worked just fine.
Hmmm, I thought.
I then compared and contrasted the two offending data sources with the four that worked, and then checked the DB2 directory ( as user db2inst1 on the DB2 server ): -
$ db2 list db directory
Database alias = FDBKDB
Database alias = COMMUN
Database alias = JCRDB
Database alias = CUSTOM
Database alias = LMDB
Database alias = RELEASE
It didn't take me long to realise that, for some strange reason, the Database Transfer wizard had apparently mis-entered the database names for Customization and Community.
instead of being stored as CUSTOM and COMMUN respectively, they were actually stored as CUST and COMM, hence the problems.
Once I manually updated the data sources, the Test Connection button worked a treat.
Now to restart WebSphere Portal ....
Scripting the creation of the WebSphere Portal v7 databases
Configure WebSphere Portal to use DB2
and these are the scripts that I'm using to create the databases via this command: -
$ db2 -tvf CreatePortalDB.sql
CreatePortalDB.sql
CREATE DB release using codeset UTF-8 territory us PAGESIZE 8192;
UPDATE DB CFG FOR release USING applheapsz 4096;
UPDATE DB CFG FOR release USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR release USING stmtheap 32768;
UPDATE DB CFG FOR release USING dbheap 2400;
UPDATE DB CFG FOR release USING locklist 1000;
UPDATE DB CFG FOR release USING logfilsiz 4000;
UPDATE DB CFG FOR release USING logprimary 12;
UPDATE DB CFG FOR release USING logsecond 20;
UPDATE DB CFG FOR release USING logbufsz 32;
UPDATE DB CFG FOR release USING avg_appls 5;
UPDATE DB CFG FOR release USING locktimeout 30;
UPDATE DB CFG FOR release using AUTO_MAINT off;
CREATE DB commun using codeset UTF-8 territory us PAGESIZE 8192;
UPDATE DB CFG FOR commun USING applheapsz 4096;
UPDATE DB CFG FOR commun USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR commun USING stmtheap 32768;
UPDATE DB CFG FOR commun USING dbheap 2400;
UPDATE DB CFG FOR commun USING locklist 1000;
UPDATE DB CFG FOR commun USING logfilsiz 4000;
UPDATE DB CFG FOR commun USING logprimary 12;
UPDATE DB CFG FOR commun USING logsecond 20;
UPDATE DB CFG FOR commun USING logbufsz 32;
UPDATE DB CFG FOR commun USING avg_appls 5;
UPDATE DB CFG FOR commun USING locktimeout 30;
UPDATE DB CFG FOR commun using AUTO_MAINT off;
CREATE DB custom using codeset UTF-8 territory us PAGESIZE 8192;
UPDATE DB CFG FOR custom USING applheapsz 4096;
UPDATE DB CFG FOR custom USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR custom USING stmtheap 32768;
UPDATE DB CFG FOR custom USING dbheap 2400;
UPDATE DB CFG FOR custom USING locklist 1000;
UPDATE DB CFG FOR custom USING logfilsiz 4000;
UPDATE DB CFG FOR custom USING logprimary 12;
UPDATE DB CFG FOR custom USING logsecond 20;
UPDATE DB CFG FOR custom USING logbufsz 32;
UPDATE DB CFG FOR custom USING avg_appls 5;
UPDATE DB CFG FOR custom USING locktimeout 30;
UPDATE DB CFG FOR custom using AUTO_MAINT off;
CREATE DB jcrdb using codeset UTF-8 territory us PAGESIZE 8192;
UPDATE DB CFG FOR jcrdb USING applheapsz 4096;
UPDATE DB CFG FOR jcrdb USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR jcrdb USING stmtheap 32768;
UPDATE DB CFG FOR jcrdb USING dbheap 2400;
UPDATE DB CFG FOR jcrdb USING locklist 1000;
UPDATE DB CFG FOR jcrdb USING logfilsiz 4000;
UPDATE DB CFG FOR jcrdb USING logprimary 12;
UPDATE DB CFG FOR jcrdb USING logsecond 20;
UPDATE DB CFG FOR jcrdb USING logbufsz 32;
UPDATE DB CFG FOR jcrdb USING avg_appls 5;
UPDATE DB CFG FOR jcrdb USING locktimeout 30;
UPDATE DB CFG FOR jcrdb using AUTO_MAINT off;
CREATE DB fdbkdb using codeset UTF-8 territory us PAGESIZE 8192 ;
UPDATE DB CFG FOR fdbkdb USING applheapsz 4096;
UPDATE DB CFG FOR fdbkdb USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR fdbkdb USING stmtheap 32768;
UPDATE DB CFG FOR fdbkdb USING dbheap 2400;
UPDATE DB CFG FOR fdbkdb USING locklist 1000;
UPDATE DB CFG FOR fdbkdb USING logfilsiz 4000;
UPDATE DB CFG FOR fdbkdb USING logprimary 12;
UPDATE DB CFG FOR fdbkdb USING logsecond 20;
UPDATE DB CFG FOR fdbkdb USING logbufsz 32;
UPDATE DB CFG FOR fdbkdb USING avg_appls 5;
UPDATE DB CFG FOR fdbkdb USING locktimeout 30;
UPDATE DB CFG FOR fdbkdb using AUTO_MAINT off;
CREATE DB lmdb using codeset UTF-8 territory us PAGESIZE 8192;
UPDATE DB CFG FOR lmdb USING applheapsz 4096;
UPDATE DB CFG FOR lmdb USING app_ctl_heap_sz 1024;
UPDATE DB CFG FOR lmdb USING stmtheap 32768;
UPDATE DB CFG FOR lmdb USING dbheap 2400;
UPDATE DB CFG FOR lmdb USING locklist 1000;
UPDATE DB CFG FOR lmdb USING logfilsiz 4000;
UPDATE DB CFG FOR lmdb USING logprimary 12;
UPDATE DB CFG FOR lmdb USING logsecond 20;
UPDATE DB CFG FOR lmdb USING logbufsz 32;
UPDATE DB CFG FOR lmdb USING avg_appls 5;
UPDATE DB CFG FOR lmdb USING locktimeout 30;
UPDATE DB CFG FOR lmdb using AUTO_MAINT off;
and then tune the JCR database as follows: -
$ db2 -tvf TuneJcrDB.sql
TuneJcrDB.sql
CONNECT TO jcrdb;
CREATE BUFFERPOOL ICMLSFREQBP4 SIZE 1000 PAGESIZE 4 K;
CREATE BUFFERPOOL ICMLSVOLATILEBP4 SIZE 8000 PAGESIZE 4 K;
CREATE BUFFERPOOL ICMLSMAINBP32 SIZE 8000 PAGESIZE 32 K;
CREATE BUFFERPOOL CMBMAIN4 SIZE 1000 PAGESIZE 4 K;
CREATE REGULAR TABLESPACE ICMLFQ32 PAGESIZE 32 K MANAGED BY SYSTEM USING ('ICMLFQ32') BUFFERPOOL ICMLSMAINBP32;
CREATE REGULAR TABLESPACE ICMLNF32 PAGESIZE 32 K MANAGED BY SYSTEM USING ('ICMLNF32') BUFFERPOOL ICMLSMAINBP32;
CREATE REGULAR TABLESPACE ICMVFQ04 PAGESIZE 4 K MANAGED BY SYSTEM USING ('ICMVFQ04') BUFFERPOOL ICMLSVOLATILEBP4;
CREATE REGULAR TABLESPACE ICMSFQ04 PAGESIZE 4 K MANAGED BY SYSTEM USING ('ICMSFQ04') BUFFERPOOL ICMLSFREQBP4;
CREATE REGULAR TABLESPACE CMBINV04 PAGESIZE 4 K MANAGED BY SYSTEM USING ('CMBINV04') BUFFERPOOL CMBMAIN4;
CREATE SYSTEM TEMPORARY TABLESPACE ICMLSSYSTSPACE32 PAGESIZE 32 K MANAGED BY SYSTEM USING ('icmlssystspace32') BUFFERPOOL ICMLSMAINBP32;
CREATE SYSTEM TEMPORARY TABLESPACE ICMLSSYSTSPACE4 PAGESIZE 4 K MANAGED BY SYSTEM USING ('icmlssystspace4') BUFFERPOOL ICMLSVOLATILEBP4;
Note that the scripts are "purely" text files, created using vi, gedit, Notepad, TextEdit etc.
The important thing to note is that the Wiki article assumes that you're running the commands interactively, hence the prefix of: -
db2 "
As we're running this "in batch", there's no need to do that.
In addition, the suffix of: -
;
is the default line terminator for the DB2 command-line interface (CLI). Other terminators are available ......
For more information about the terminator and the db2 -tvf command, please see this post.
I'll be back ....... :-)
WebSphere Portal -> DB2 UDB - It's The Firewall, Stupid :-)
and: -
Attempting to connect to database: jdbc:db2://db2.uk.ibm.com:60000/release:returnAlias=0; using com.ibm.db2.jcc.DB2Driver, db2inst1, PASSWORD_REMOVED
Level.SEVERE, Error Connecting db
com.ibm.db2.jcc.am.ro: [jcc][t4][2043][11550][4.8.87] Exception java.net.NoRouteToHostException: Error opening socket to server db2.uk.ibm.com/192.168.1.73 on port 60,000 with message: No route to host. ERRORCODE=-4499, SQLSTATE=08001
99
RETURN_CODE_FOR_THIS_TASK: 99
in: -
/opt/IBM/WebSphere/wp_profile/ConfigEngine/log/configwizard.log
whilst trying to hook my newly minted WebSphere Portal 7 instance up to another VM ( VirtualBox on CentOS ) running DB2 UDB.
Having already checked that DB2 was listening on port 60,000: -
$ tail /etc/services
blp5 48129/udp # Bloomberg locator
com-bardac-dw 48556/tcp # com-bardac-dw
com-bardac-dw 48556/udp # com-bardac-dw
iqobject 48619/tcp # iqobject
iqobject 48619/udp # iqobject
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 60001/tcp
DB2_db2inst1_2 60002/tcp
DB2_db2inst1_END 60003/tcp
db2c_db2inst1 50001/tcp
$ netstat -aon | grep LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:48248 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:60000 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 :::111 :::* LISTEN off (0.00/0/0)
tcp 0 0 :::6000 :::* LISTEN off (0.00/0/0)
I knew that DB2 was up and running and listening.
I conducted another basic test with Telnet: -
$ telnet db2.uk.ibm.com 60000
Trying 192.168.1.73...
telnet: connect to address 192.168.1.73: No route to host
At this point, I thought ..... "Ah ha, what about the firewall?"
I went to the DB2 box, and ran the firewall configuration programme: -
$ /usr/bin/python /usr/bin/system-config-firewall
and, lo and behold, we have: -
Now this is a demo environment, so the firewall is superfluous to my requirements.
I disabled it ... and now my TELNET test works: -
$ telnet db2.uk.ibm.com 60000
Trying 192.168.1.73...
Connected to db2.uk.ibm.com.
Escape character is '^]'.
^]quit
telnet> quit
Connection closed.
Job done, case closed, back to work :-)
Installing DB2 UDB 9.7 on CentOS Linux 6.2
This time I'm installing DB2 UDB as a precursor for an IBM Connections and WebSphere Portal deployment.
I've unpacked DB2 as follows: -
$ cd /tmp
$ tar xvf /media/LenovoExternal/Products/DB297/db297linux64.tar
and then commenced the installation: -
$ ./db2setup
WARNING:
The 32 bit library file libstdc++.so.6 is not found on the system.
32-bit applications may be affected.
DBI1190I db2setup is preparing the DB2 Setup wizard which will guide
you through the program setup process. Please wait.
Noting the WARNING re libstdc++, I've opened a new terminal window, and run: -
$ yum install libstdc++.so.6
which ties up with my other experiences of IBM software on CentOS: -
http://portal2portal.blogspot.co.uk/search?q=centos
Other than that, the DB2 installation has completed successfully.
I've then "logged in" as the DB2 instance owner - db2inst1: -
$ su - db2inst1
and attempted to create the sample database: -
$ db2sampl
Creating database "SAMPLE"...
Attempt to create the database "SAMPLE" failed.
SQL0970N The system attempted to write to a read-only file. SQLSTATE=55009
'db2sampl' processing complete.
Again I've seen this before: -
http://portal2portal.blogspot.co.uk/2009/06/sql0970n-when-running-db2sampl-on-unix.html
As before, look at the permissions for /tmp: -
$ ls -al /
drwxrwxr-x. 17 185101 330209 4096 Mar 17 04:24 tmp
and then change them: -
$ chmod 777 /tmp
Look again ...
$ ls -al /
drwxrwxrwx. 18 185101 330209 4096 Mar 17 04:25 tmp
$ db2sampl
Creating database "SAMPLE"...
Connecting to database "SAMPLE"...
Creating tables and data in schema "DB2INST1"...
Creating tables with XML columns and XML data in schema "DB2INST1"...
'db2sampl' processing complete.
Job done :-)
Friday, 16 March 2012
IBM Connections 3.0.1.1 - We have a fix list ....
This document lists the fixed APARs included in IBM Connections 3.0.1 Fix Pack 1 (3.0.1.1).
My System Is Smarter Than Your System ...
When you peer inside of the IT department of any big enterprise – there is no questioning the level of smarts that occupy the data center. Today's hardware is brilliant by comparison to the systems that used to occupy the racks 20-years ago. The capabilities of the enterprise hardware and software are amazing to say the least. And everywhere you turn – there are even smarter people who are highly skilled, master craftsmen. Walk through the café at lunch and you'll hear people paying their colleagues compliments like "John is the best DBA ever" or "If you want to fix that online commerce application, you have to call Suzy".
Resolving a "deadlock" issue with IBM HTTP Server
Starting IBM HTTP Server: [ OK ]
$ ls /opt/IBM/HTTPServer/logs
error_log.20120316 httpd.pid siddport
$ rm -Rf *
$ sudo /sbin/service ibmhttpd stop
Stopping IBM HTTP Server: httpd (no pid file) not running
[ OK ]
$ sudo /sbin/service ibmhttpd start
Starting IBM HTTP Server: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
$ ps auxw | grep -i httpd
nobody 1227 0.0 0.0 66796 2876 ? Sl 11:22 0:00 /opt/IBM/HTTPServer/bin/httpd -d /opt/IBM/HTTPServer -k start
ihsadmin 1940 0.0 0.0 61200 720 pts/0 S+ 11:22 0:00 grep -i httpd
root 32285 0.1 0.1 11392 7424 ? Ss 11:21 0:00 /opt/IBM/HTTPServer/bin/httpd -d /opt/IBM/HTTPServer -k start
nobody 32292 0.0 0.0 11392 2792 ? S 11:21 0:00 /opt/IBM/HTTPServer/bin/httpd -d /opt/IBM/HTTPServer -k start
nobody 32293 0.0 0.0 66924 4748 ? Sl 11:21 0:00 /opt/IBM/HTTPServer/bin/httpd -d /opt/IBM/HTTPServer -k start
$ echo 32285 > /opt/IBM/HTTPServer/logs/httpd.pid
$ sudo /sbin/service ibmhttpd stop
Stopping IBM HTTP Server: [ OK ]
$ sudo /sbin/service ibmhttpd start
Starting IBM HTTP Server: [ OK ]
Seemples :-)
The Humax PVR and Me …. dia Streaming
You Are Entitled …. to IBM Software
IBM Web Experience Factory - Always More To Look At … And a new version :-)
New features and enhancement in this release include:
Returning users might come to a previously visited page, either using portal page navigation from the theme or through wiring, links from other portlets, or through some other navigation mechanism. When users return to a previously visited page, they are presented with a cached view of the portlet.
Each portlet's state is independently maintained by WebSphere Portal so that, when a user navigates away from a portal page and then later returns, the portlet's state is persisted across page views. This is the default WebSphere Portal and Web Experience Factory behavior, and the cached view for the various portlets is cleared only when the user logs out and logs back in.
In some cases, however, a portlet project may present the developer with a requirement to consistently display a Web Experience Factory portlet, using a page view that reflects a portlet's initial visual state. For these use cases, it is desirable to override the default WebSphere Portal and Web Experience Factory behavior by displaying portlet page views that ignore the portlet's cached state.
This article explains the detailed steps to achieve this scenario in a Web Experience Factory portlet and briefly describes additional strategies to achieve a similar outcome, using a sample solution to guide you through these steps.
Thursday, 15 March 2012
Tuning and Troubleshooting IBM WebSphere Security
- General security configuration
- CSIv2 connectivity
- LDAP and Web authentication
Wednesday, 14 March 2012
Using Oracle VM VirtualBox to run Linux on Linux ....
Mountain mounting problems with Oracle VM VirtualBox on CentOS
My host OS is CentOS 6.2, and I'm using VirtualBox 4.1.8.
Having happily created VMs containing Windows Server 2003 R2 and Red Hat Enterprise Linux 5.5, I wanted to create a third VM running .... CentOS 6.2.
I went through the usual process to create the VM, and then added a new virtual CD/DVD drive to connect to the ISO that contains CentOS: -
CentOS-6.2-x86_64-LiveCD.iso
Sadly, however, VirtualBox through up a really useful ( NOT ) error message: -
Failed to open the CD/DVD image /media/LenovoExternal/Products/CentOS/CentOS-6.2-x86_64-LiveCD.iso.
The medium '/media/LenovoExternal/Products/CentOS/CentOS-6.2-x86_64-LiveCD.iso' can't be used as the requested device type.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
Callee: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
I did some digging around, but couldn't see anything obvious - I even tried re-running the setup script: -
$ sudo /etc/init.d/vboxdrv setup
but to no avail.
Knowing that this process had worked with other ISOs ( for W2K3 and RHEL ), I was pretty sure that the problem was with the ISO, rather than with VirtualBox.
I checked the permissions that I had to the ISO: -
$ ls -al /media/LenovoExternal/Products/CentOS/
total 714752
drwxr-xr-x. 1 nobody nobody 3 Jan 28 15:57 .
drwxrwxrwx. 1 1000 1000 63 Jan 28 15:57 ..
-rw-r-----. 1 nobody nobody 731906048 Dec 16 06:07 CentOS-6.2-x86_64-LiveCD.iso
I then compared this against the ISO for RHEL: -
$ ls -al /media/LenovoExternal/Products/RHEL/
total 6621424
drwxrwxrwx. 1 1000 1000 4 May 26 2010 .
drwxrwxrwx. 1 1000 1000 63 Jan 28 15:57 ..
-rwxrwxrwx. 1 1000 1000 3076845568 Jun 21 2009 RHEL5.2-Server-20080430.0-i386-DVD.iso
-rwxrwxrwx. 1 1000 1000 3703490560 May 25 2010 RHEL5.5-Server-20100322.0-x86_64-DVD.iso
Notice the difference ?
Yep, you guessed it - the permissions to the CentOS ISO were too restrictive e.g. the user that I'm running VirtualBox as - hayd - did not have access to the ISO.
I changed this as follows: -
$ chmod a+r CentOS-6.2-x86_64-LiveCD.iso
and VirtualBox popped into life.
Simple, now if only the VB message had been a BIT more revealing .....
IBM Connections 3.X - No need to use Xsoftrefthreshold16 any longer ...
<jvmEntries xmi:id="JavaVirtualMachine_1312972602953" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" maximumHeapSize="2506" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="-Xgcpolicy:gencon -Djava.awt.headless=true -javaagent:/opt/IBM/WebSphere/wily/Agent.jar-Xsoftrefthreshold16" executableJarFileName="" disableJIT="false">
And there's more - looking at the sound preferences on OSX using the "hidden" menu ...
IBM Collaboration Solutions - WW Partner Demo Community
This community is your community. Please make the most of it, feel free to download the presentations/material you find relevant to your projects, use the IBM Connections social feature to provide recommendations, and leave feedback.
Feel also free to use the Forum capabilities in the community to get the conversation going between you and the IBM team, and more importantly among yourselves. We look forward working closely with all of you to push the use and adoption of our Messaging, Portal and Social collaboration offerings in the region.
- ICS Integrated Demo Setup Guide
- ICS Integrated Demo Images - User IDs and URLs
- How to Download Demo Images
- Demo Visuals - what does this demo look like?
- ICS Integrated Demo related questions
- Share your Demo stories/scripts/experiences ?
- IBM Lotus Notes 8.5.3 and IBM Connections Demo ( Flash File )
- Portal and Sametime integration
- Portal and iNotes integration
- Portal and Connections integration
- Portal and Quickr integration
Tuesday, 13 March 2012
More hidden secrets in OSX - battery strength indicator ...
Monday, 12 March 2012
Mac OSX - Checking your WiFi signal strength
Mac Kung Fu details things even Mac Geniuses don't know. And why should they? Many of the tips in this book exploit settings or experimental features never officially made public.
Each tip in this unique book is deliberately short and readable, and you can dip in and out whenever you want. Most take less than a minute to complete, yet the results last for a lifetime of better computing.
Roll up, roll up, get your IBM Collaboration Solutions demos here ….
- LotusLive Labs
- Lotus Connections
- Lotus Sametime
- Lotus Quickr
- Lotus iNotes
- IBM Mashup Center
- Lotus Forms Turbo
- Lotus Notes Traveler
- WebSphere® Portal
- What's New in IBM Lotus Domino Designer 8.5
- XPages Components in the Notes 8.5.1 Client: Video Demonstrations
- Creating a simple XPages application
- Using XHTML on an XPage
- Building a government mashup with IBM Mashup Center 2.0
- Adding the Google Gadget widget to the mashup builder
- Discover how LotusLive, the integrated social networking and online collaboration services, can help your business.
- Lotus Foundations Overview
- Introduction to Mashups
- IBM Mashup Center
- Lotus Web Content Management: Create Personalized Promotions
Business Process Management For Dummies, IBM Limited Edition
Friday, 9 March 2012
IBM Connections 3.0.1 Mobile Now Working
*** UPDATE 12 March 2012 ***
One of my colleagues noticed that the original Mobile Update fix for IBM Connections had disappeared from Fix Central.
I checked with a colleague in the L2 team in Dublin: -
Quick question for you - do you happen to know whether 3.0.1.0-LC-Multi-MOBILE-CRLO63049 has been pulled and/or replaced by 3.0.1.0-IC-Multi-Mobile-IFLO64399 as the former no longer seems to available on Fix Central any longer ?
He replied saying: -
LO63049 is MOBILE AUGUST 2011 UPDATE FOR LC3.0.1 and has been replaced by
LO64399 which is SEPTEMBER 2011 MOBILE REFRESH.
Mobile fixes are cumulative so include all previously published fixes.
*** UPDATE 12 March 2012 ***
IBM Web Content Manager - Cluster Installation – setting WCM_HOST and WCM_PORT
Wednesday, 7 March 2012
CWWIM4520E The 'javax.naming.ServiceUnavailableException - Fun and Games with WebSphere Application Server and Microsoft Active Directory
[06/03/12 17:00:58:131 GMT] 0000001a exception E com.ibm.ws.wim.adapter.ldap.LdapConnection getDirContext
com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E The 'javax.naming.ServiceUnavailableException: ldap_f5.server.ibm.com:636; socket closed' naming exception occurred during processing.
[07/03/12 11:19:38:655 GMT] 0000002a exception E com.ibm.ws.wim.adapter.ldap.LdapConnection getDirContext CWWIM4520E The 'javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 775, vece^@]; Resolved object: 'com.sun.jndi.ldap.LdapCtx@4ae04ae0'' naming exception occurred during processing.
[07/03/12 11:19:38:657 GMT] 0000002a exception E com.ibm.ws.wim.adapter.ldap.LdapConnection getDirContext
com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E The 'javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 775, vece\u0000]; Resolved object: 'com.sun.jndi.ldap.LdapCtx@4ae04ae0'' naming exception occurred during processing.
Thanks to this Technote: -
The AD-specific error code is the one after "data" and before "vece" or "v893" in the actual error string returned to the binding process
525 user not found
52e invalid credentials
530 not permitted to logon at this time
531 not permitted to logon at this workstation
532 password expired
533 account disabled
701 account expired
773 user must reset password
775 user account locked
Performance management tools for IBM WebSphere Portal
This article describes the tools and how they were used to evaluate an IBM® WebSphere® Portal 7.0 performance and/or problem determination issue during a recent engagement at a customer site.
The list of tools addressed here is not complete; specifically, it does not include well known commercial tools used in many environments for load testing, such as CA Wily Introscope, IBM ITCAM, and HP LoadRunner. Instead, the tools we will discuss are a supplement to the customer-supplied tools. The process of performance management is complex and beyond the scope of this document.
Sunday, 4 March 2012
Blue Screen of Death … well almost
Friday, 2 March 2012
IBM Web Content Manager delivery solutions for your website
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...