Thursday, 13 September 2018

IBM Master Data Management - Problems with Apache Jettison

I saw this whilst starting my newly minted MDM Cluster: -

[13/09/18 11:52:21:546 BST] 000000b6 jsp           W loadTldsFromJar jsp error failed to load tld in jar. uri = [/WEB-INF/lib/jettison-1.3.5.jar]
                        /opt/ibm/WebSphere/AppServer/profiles/AppSrv01/wstemp/WABS/mdmNode01/MDMClusterMember1_null/ (No such file or directory)

Thankfully, I've seen this before, but hadn't yet blogged the problem / solution.

This IBM Technote: -

covers it nicely: -

so I created a Jython script to do this very thing: -

vi setMDMWCProperty.jy 

propertyName = ""
propertyValue = "true"
serverName = 'MDMClusterMember1'
server = AdminConfig.getid('/Server:'+serverName+'/')
wc = AdminConfig.list('WebContainer',server)
attr = [['name',propertyName],['value',propertyValue]]
AdminConfig.create('Property', wc, attr)

which did the job nicely :-)

No comments:

LinuxONE for Dummies

As more companies transform their infrastructures with hybrid cloud services, they require environments that protect the safety of their ...