If this is a YJ, block the front wheels, and put the rear axle on jackstands. With the engine OFF, shift into 4wd. (This will keep the front disconnect disconnected) Shift the transmission to neutral. Then grab the front and rear driveshaft and turn them back and forth in opposite directions with your hands and see if you feel or hear anything. Move them up and down too to check the bearings.