The deceased, identified as Balaji Ji, was attached with the Army's Madras regiment.
"He was unmarried and was supposed to go on leave. It is yet not clear what made him take the extreme step as no suicide note has been recovered from his possession," said a senior police official.
The incident took place around 11PM on Wednesday after which police were informed.
"The body was sent for postmortem. The autopsy report has confirmed the cause of death as suicidal. It seems that he committed suicide due to some personal problems," the official said.