President Obama hopes to avoid the pitfalls Bill Clinton, the last Democratic president, had met with the military.