So, we're talking WPS 6.2.0.0 (a bit obsolete) and 7.0.0.4, deployed vs. DB2 database hosted on z/OS (which probably is the most troublesome circumstance, as you cannot create any objects automatically like in LUW edition). What we try to do is to generate Deployment environment (in any topology - single, distributed or "golden"), while defining databases on z/OS DB2. What we get is failure in this particular part:, where instead of:
you keep getting:
CWLDB9014E: The configuration of component WBI_BPCEventCollector failed.
To make it short, before, I could not find the reason. But recently, I think I found it by looking into FFDC error report, and saw there errors related to failing connection to DERBY database. I wondered why it tries to use Derby when I explicitly requested all databases to be hosted on z/OS, but I will never know (perhaps some buggy ant script, or other config xml issue). Nevertheless, what we need to do is to:
- create "dummy" Derby database, just for sake of generation of DE:
- go to /opt/ibm/WebSphere/AppServer/derby/bin/networkServer
- run ./ij.sh
- issue command: connect 'jdbc:derby:/opt/ibm/WebSphere/AppServer/profiles/PPD2UZLB01DMgr/databases/event/PD2UZL.Support/DerbyEventDB/BPD2CEDB;create=true';
- add custom user to connect to Derby server
- edit /opt/ibm/WebSphere/AppServer/derby/derby.properties by adding line
derby.user."yourUser"=yourpwd
- edit /opt/ibm/WebSphere/AppServer/derby/derby.properties by adding line
- start Derby network server (/opt/ibm/WebSphere/AppServer/derby/bin/networkServer/startNetworkServer.sh)
Note: default TCP/IP port for derby is 1527 - now, get back to DE generation wizard and run it again, but now type in Derby database for your EventDB - server is localhost:1527, user is "yourUser" and password "yourpwd"
- finish generation and you should get to successful end of operation
- assuming you have already created all necessary database in your target DB (either DB2 on z/OS or other supplier), you now need to redefine jdbc datasource for EventDB to point to the datastore of your choice.
Good luck, leave a comment or vote in the poll please!