[jboss-user] [Installation, Configuration & Deployment] - Embedded JBoss and standalone Joss on the same machine...

mhassel do-not-reply at jboss.com
Sun Feb 18 21:12:26 EST 2007


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)?????

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018653#4018653

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018653



More information about the jboss-user mailing list