Are the two configurations using the same deployed application?
Tracking down the difference, or reproducing the error in a test case simple enough to submit with a bug report (so we can run it in the debugger), is the only way I can think of to solve this problem.
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=388397