Well, what i am doing is :
1) set all the classes of the real (not a jar) in the domains/domain1/lib/classes
2) set all external jars (from my legacy system) in domains/domain1/lib/ext
3) add in the classpath suffix the location of the realm classes :
${com.sun.aas.instanceRoot}/lib/classes
4) add in the classpath suffix all jars used by realm to connect to my legacy system :
${com.sun.aas.instanceRoot}/lib/ext/xxxx.jar
5) register my realm useing asadmin cli command
6) activate and select the security realm using graphical interface.
7) restart the application server
That's all.
[Message sent by forum member 'franck_mosse' (franck_mosse)]
http://forums.java.net/jive/thread.jspa?messageID=242866