He was played by actor Mathew Staley in a movie, but you would be extremely hard pressed to find anyone who can identify the man or the actor. He shares a name with another historical figure who is immensely more famous. His death in combat was completely overshadowed by concurrent events.
Thomas "Stonewall" Jackson is justly famous for his superior exploitation of the terrain in his 1862 Valley Campaign. However, Jackson owned up to not having an especially good eye for military ground. To compensate, Jackson secured the services of two engineering officers who served as his topographers and created the maps which allowed Jackson to exploit the geographical features so well. One was Captain Jedediah Hotchkiss and the other was our protagonist, James Boswell. (no relation to the biographer)
Boswell and Hotchkiss became very close friends and worked well together, the former named chief engineer and specializing in the construction of defenses and placement of troops, the latter becoming the master mapmaker. What Jackson did in the Valley was made possible by these two men.
On May 2nd, 1863, Jackson met his end at the hands of his own troops at Chancelorsville. Most accounts of his mortal wounding will say ".....wounding Jackson, and killing several members of his staff who were with him." Then it will follow Jackson through amputation and eventual death, those staffers have left the stage and the story.
Two weeks earlier Boswell had written a letter to his aunt, commenting on how unusual it was that to date, no one on Jackson's staff had been killed in any of the numerous engagements. Riding with Jackson at Chancelorsville, Boswell was struck once in the leg, and twice in the head, by the same volley which brought down Stonewall. Boswell died instantly, 18 days short of his 25th birthday. He left behind a a war diary which historians have found very valuable in treatments of Jackson.
Here is a link which features a photgraph of Boswell, as well as one of his grave in Fredericksburg.
James Keith Boswell (1838 - 1863) - Find A Grave Memorial
It was "Gods and Generals" which featured Boswell as a very minor character.
This thread isn't about the more famed of the Civil War figures, or about revisting the contoversies, if you contribute, try and make it something which most us us do not know.