In \server\default\deploy\ejb3.deployer\META-INF\jboss-service.xml, there is a list of ignored jars. It looks like jars not in the list are scanned.
You should bea ble to add your own jar in the list.
That is what I thought was supposed to happen, but dom4j.ja is listed. Am I supposed to list my ejb jars there?
Yes I think so.
I use embedded JBoss or my tests. To be able to start quickly embedded container, I do not perform the automatic scan, and I deploy manually my EJB3. That makes the container faster to run. (listing ignored jars was boring to implement and I risk to miss some of he jars).
I've not tried to see if it was possible to do something similar with JBoss AS ...
I am hitting the same issue where JBoss is taking long time to load the Jars during startup.
main 2008-01-14 15:05:52,798 | DEBUG | session= | user= | deployment.MainDeployer | Copying file:/weber/ps/projects/gmdev/artesia65/jboss/server/teams/deploy/jboss-hibernate.deployer/cglib-full-2.0.1.jar -> /weber/ps/projects/gmdev/artesia65/jboss/server/teams/tmp/deploy/tmp35391cglib-full-2.0.1.jar
main 2008-01-14 15:10:37,823 | DEBUG | session= | user= | deployment.JARDeployer | No xml files found
Artesia Media Group