Two civilian shipyard workers at Joint Base Pearl Harbor-Hickam in Honolulu were killed by a US sailor on Wednesday, Rear Adm. Robert Chadwick told reporters.
The shooter then killed himself, Chadwick said.
A third civilian employee was wounded and is stable at a hospital, Chadwick added.
Chadwick said the sailor took his life after opening fire near Shipyard Drydock 2, a maintenance area for nuclear submarines.
Authorities have not released the identities of the victims or the shooter.
The incident occurred at 2:30 p.m. HST (7:30 p.m. ET) at the Pearl Harbor Naval shipyard, officials tweeted on the base’s verified Twitter account.
About three hours later, Lydia Robertson, a US Navy spokesperson, said the scene was secured and the base had reopened. Both base security and Navy Investigative Services are conducting the investigation, she said.
Several witnesses told CNN affiliate KGMB/KHNL that they heard gunshots.
One man, who did not give his name, said he was at his desk when he heard loud pops.
“I kind of recognized that as gunshots, I looked out the window (and) saw three people on the ground, I looked out in time to see the shooter, who I assume was a sailor because he was in uniform, point the gun at his head and shoot himself,” the witness told KGMB/KHNL.
The Queen’s Medical Center in Honolulu received one patient from the incident, Minna Sugimoto, a spokeswoman for The Queen’s Health System, told CNN.
There were no other details about the victims.
The shooting occurred three days before commemorations of the Japanese attack that thrust the United States into World War II.
The base houses Air Force and Navy units and the base population, as of 2015, was more than 66,000.
This is a developing story. Check back for updates.