Application server integration layer changed completely since AS 5.x.
There were many non trivial refactorings/improvements/fixes in the past.
Can you reproduce this issue on AS 6.x series before creating JIRA?
AS 5.x series are not supported anymore in the community.