Revert "LPS-39221 Source formatting"

This reverts commit 5258496c11964e54805045c7c27362da7a125164.
Revert "LPS-39221 dont throw exception on weblogic as it works differently"

This reverts commit 95b4476e89fed1c9b71d6ed4fd72ae10650616f7.