exists before attempting to delete it.
*/
final Extra extra = Util.getExtra( ref );
if ( extra.checkValid() )
{
final ConfigRemover rrc = ConfigRemover.class.cast( ref.getContainer() );
try
{
// may fail as illegal in PE or EE with one ref
rrc.removeConfig( ref.getJ2EEType(), ref.getName() );
}
catch( Exception e )
{
failures.add( ref );
}