September 28, 2004

WebSphere: serverindex.xml

Sometimes things go bump in the night.

Like the nightly builds we have scheduled at work. Last night, for some reason yet to be determined, at a certain point when a build script was attempting to uninstall an EAR from WebSphere, it got its knickers in a twist and stuffed up a file called serverindex.xml.

Fortunately, after I had fumbled around for a while trying to fix the problem, my colleague David found this clue. It seems that the deployed applications declared in this xml file must exactly match those that are deployed. Makes sense! Except that I'd never heard of the serverindex.xml file before today.

Oh well, you live and learn.

Update: Learnt more the next day. Take care to ensure that serverindex.xml has the hostname specified correctly. This is used when the WebSphere plug-in for Apache is regenerated.

Posted to Software Development by Keith Pitty