Two senior army officers - a colonel and a major- were among five security personnel killed in action during an encounter in Jammu and Kashmir's Kupwara district. A police officer and two army soldiers were also killed as the security personnel came under heavy fire.