Been testing some rear JK shocks on the XJ. They are perfect. All I had to do was remove the sleeve in the bottom mount.

Stock give you 2 inch lift
2 inch lift give you 4 inch lift etc

I fitted 2" lifted OME. The compressed length was the same as the stock shock I took off.

Green Jeep Mobile