Fix logrotate problems at the jboss RA

This pull request intend to fix logrotate problems at the jboss RA.

These patches are posted at the following mailing-list.
http://www.gossamer-threads.com/lists/linuxha/dev/88595