[jboss-user] [JNDI/Naming/Network] - Embedded JBoss and Standalone JBoss on same machine

mhassel do-not-reply at jboss.com
Fri Feb 16 20:09:20 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=4017996#4017996

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

More information about the jboss-user mailing list