JBox2d does not support concave polygon collision detection. One needs to break down the concave polygon into multiple convex ones to overcome this issue. A reference with source code is available here. Another reference is available here.
Complete integrating JBox2d code into BoardPoly. To specify a polygonal obstacle, one needs to give the vertices in clockwise order. An example can be found in the TestClass.java in the source code here.