To tell you the truth, I'm not sure about the classloading order. You should ask on the JBoss AS users forum: http://community.jboss.org/en/jbossas?view=discussions.
Reply to this message by going to Community
Start a new discussion in JBoss Remoting at Community