Monday, 2 April 2012

SRVE0209E: Writer already obtained seen using XMLAccess against WebSphere Portal v7 when SPNEGO is configured

When running: -

$ cd /opt/IBM/WebSphere/wp_profile/PortalServer/bin 
 ./xmlaccess.sh -in /opt/IBM/WebSphere/PortalServer/doc/xml\-samples/Export.xml -out /tmp/snafu.xml -url http://portal.uk.ibm.com:10039/wps/config -user WPSAdmin -password Passw0rd

returns: -

SRVE0209E: Writer already obtained

in /tmp/snafu.xml.

This Technote, amongst others, provides a circumvention / solution to this: -

PK64013; 6.1.0.19: provide way to turn off tai authentication
Create a new security Custom Property 

com.ibm.websphere.security.performTAIForUnprotectedURI

set to false ( the default is true ) via Security -> Global security > Custom properties.

Once we did this, and restarted WebSphere Portal, the job was done :-)

No comments:

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="{...