Where to put a shared library in JBoss AS 5?

Classloading: You’re right, put the .jars to JBOSS/server/<configuration>/lib, or JBOSS/lib. JBoss AS comes with bundled Hibernate libs which are tested with that AS version. See jboss-6.0.0-SNAPSHOT\server\default\conf\jboss-service.xml: <server> <!– Load all jars from the JBOSS_HOME/server/<config>/lib directory and the shared JBOSS_HOME/common/lib directory. This can be restricted to specific jars by specifying them in the archives attribute. TODO: … Read more