(Sorry to reply so late.)
Well, given that documentation for every other Java EE server
(including ones using OpenJPA) that comes up in a Google search for
jta-data-source says that you put the JNDI name of your DataSource
there, it seems reasonable to expect that Geronimo will interpret it
similarly.
While http://cwiki.apache.org/GMOxDOC22/datasource-connectionfactory-mdb-and-jpa.html
and some other Geronimo doc pages say that Geronimo does not use
JNDI, most are not very clear on the matter.
On Oct 29, 2008, at 2:32 AM, David Jencks wrote:
On Oct 28, 2008, at 7:14 PM, Doug Reeder wrote:
I think the documentation at
http://cwiki.apache.org/GMOxDOC22/datasource-connectionfactory-mdb-and-jpa.html
and
http://cwiki.apache.org/GMOxDOC21/configuring-jms.html
is all the documentation there is. Let me know if you figure it
out. I spent several days trying to configure OpenJPA to access a
JDBC connection pool via JNDI, and never could get it to work.
OpenJPA in geronimo does not use jndi to locate the jdbc connection
pool. Did you have some reason to think it did? Geronimo
connection pools are in-vm only so if you are trying to use openjpa
outside geronimo you won't be able to use a geronimo connection pool
at all.
I don't think jsmch has responded to my questions about what kind of
client is involved, but if it is not a javaee app client but a
standalone non-javaee client of some sort then geronimo
configuration is not really relevant and the activemq documentation
at http://activemq.apache.org/jndi-support.html might be helpful.
thanks
david jencks
On Oct 28, 2008, at 11:25 AM, jsmch wrote:
Hi,
i´ve a problem and was not able to find any answer in the last days.
I installed some ConnectionFactory and Topics in the "JMS
Resources"-menu-item from Geronimo.
Next step i need is to make a lookup on this objects from an
client-application. But even that´s the problem.
I don´t know how to manage it, that my Objects habe an simple jndi-
name.
Those JMS-objects have to be accessable from any other client.
I also tried the <global-jndi-name>-Tag because i thought ths
would help -
but surprisingly it is deprecated in the newer Versions and i don
´t find
something to replace it?