The ear file is created under java.io.temp dir (whatever it is on your
system). You can set *system* property (i.e. not the one that you pass to the
createEJBContainer call) org.glassfish.ejb.embedded.keep-temporary-files=true
to have the temp files left behind. By default they are marked as
deleteOnExit.
When you have 2 EJB jars in the classpath to follow the spec requirement to
have them part of a single app, they need to belong to the same ear in GF. So
I construct that temp ear (as a directory of modules and lib jars).
Now about the classpath and the files... Your setup shouldn't work because it
should either take the list of files from the Map or parse the classpath. Are
you still running on the 3.1 or did you switch to the latest GF code?
--
[Message sent by forum member 'mvatkina']
View Post: http://forums.java.net/node/812613