I am currently using an embedded JBoss for automated EJB unit testing as well as a standalone JBoss server for deployment. Both have to be performed on the same machine.
While the standalone machine uses the standard "on-disk" HSQLDB, the embedded JBoss uses the in-memory version.
It all seems to work ok, except that within my embedded container a lookup of
ctx = new InitialContext();
datasource = (DataSource) ctx.lookup("java:/DefaultDS");
returns the on-disc datasource of the standalone machine. I am not sure which session beans are returned from lookups...
is it possible to configure my embedded JBoss to coexist with my standalone version(different port, etc)?????
Hello world!
I have a same problem! Have any ideals ?