Do not place your jars in the client directory. Instead, include the necessary jar files
from the client directory in your client's classpath. Yes, that means if the client is
on a remote machine that you must copy the client directory (or just the jars you need) to
that machine. Thus, the client directory is mainly a repository of jar files that clients
might use.
Regarding lib vs server/xxx/lib, the files in lib are needed to bootstrap the app server,
and the files in server/xxx/lib are what is required to run the various services provided
by the server. Compare, for example, the list of jars in server/minimal/lib with the ones
in server/default/lib (you can do this only if you downloaded the binary zip file, not if
you used the installer jar file, though with the later I supposed you could install a
minimal server).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975925#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...