This stuff is there to set up the java:/comp/env environment, which by
definition is not available outside the ejb it is set up for. If you want
to use global jndi names and avoid the indirection, look up the datasource
under its global name, like java:/DefaultDS. Isn't this what you
originally
Thanks for the help.
It seems kind of strange though that if, as I understand it, these
references are there to provide a layer of indirection and to be able to
bind an address called in the bean to another location in the tree, that if
the resource is at the actual location looked up in the c
I forget this stuff quickly, but i think you want the jndi-name tag to be
the actual name the datasource is bound under (specified in
postgres-service.xml file).
Putting the comp/env entry there makes an infinite loop, since it resolves
the ejb-private reference to itself.
david jencks
On 2002.
Hi,
I'm using jboss 3.0.0 and I'm trying to set up a PostgreSQL datasource
using resource references. I've configured several mbeans to implement a
connection factory which is called PenningDB. I know this factory works,
because I had used it before by just looking it up through jndi, and not