fixes #5591
Merge pull request #5617 from dotCMS/issue-5591-push-publishing-unpublished-content-failing-on-W7-jboss

fixes #5591