A glitch in Japan Airlines Co.'s weight management system led to the cancellation of 46 domestic flights to and from Tokyo's Haneda airport on Friday, affecting about 6,700 passengers, the company said.