Solution 1:

Suggestion: start with a symmetric operator $C$ that is not essentially self adjoint, and $A$ with ${\mathcal D}(A) \subset {\mathcal D}(C)$ that is self adjoint. Take $B = C - A$.