The army clashed with local forces from Jubbaland state, which has broken off ties with the central government.