Applications deployed under jboss often are not independent but with classes in some jars wich refers to other classes in other jars. To avoid messages like "Class Not Found Exceptions" during jar/war loading at jboss startup you may define jar/war loading order at startup.
Basic configuration is located in org.jboss.deployment.MainDeployer-xmbean.xml file under $jboss_home/server/default/conf/xmdesc.
You may define .jar/war loading order at jboss startup in descriptor section as follows from this sample where may define every single file name with a integer for loading priority :
In this sample I set first my own jars loading order and later generic statements for jar and war loading (540:.jar,550:.war) .