users@glassfish.java.net

Re: Separate JNDI per instance?

From: <forums_at_java.net>
Date: Wed, 28 Sep 2011 16:00:21 -0500 (CDT)

I guess the confusion is coming from the use of the term "instance"... In
Weblogic you can have a single "admin console" and then each "managed
instance" has it's own JNDI etc. and what I am trying to achieve is
something similiar.

Ultamatley I am trying to run multiple discreet copies of the same
application with a single admin point. The application is designed on a per
client basis only, so a shared database is not possible - if I create
multiple Glassfish domains (each obviously has it's own JNDI, DAS etc.) then
it all works fine as you would expect, but that feels untidy.

If I could work around it if i could externalise the hibernate persistence
XML file - thereby each instance of the application would use a different
config which would point to a different DB - thats doesn't appear possible so
 both options seems not to work.

Does that make more sense?


--
[Message sent by forum member 'seclarke']
View Post: http://forums.java.net/node/848220