Bit late, but I came across this question when I was having this issue in WebLogic. My solution was to add this to my weblogic.xml
:
true
I found this solution better for when you don't want to (or can't) edit the configuration on the WebLogic server.