The ferry, with more than 240 people on board, was traveling from Surabaya in East Java to Banjarmasin in South Kalimantan province, on Borneo Island, officials said.