Re: How do you access a GBean via JNDI?

2009-01-23 Thread David Jencks
On Jan 23, 2009, at 1:47 AM, Juergen Weber wrote: Hi, right now I access a GBean from a servlet using (is that the correct way?) Kernel kernel = KernelRegistry.getSingleKernel(); URI uri = new URI(myuri); AbstractName gBeanAN = new AbstractName(uri); retVal = kernel.invoke(gBeanAN,"myMeth

Re: queueConnectionFactory in jndi.properties

2009-01-23 Thread David Jencks
You need to include more context in your questions, they are very ambiguous as is. Are you trying to look up a connection factory in the geronimo server or a standalone non-javaee client? If a standalone non-javaee client, the instructions I know about are here: http://activemq.apache.or

[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open

2009-01-23 Thread Kevan Miller
Geronimo community members, FYI --kevan On Jan 23, 2009, at 8:28 AM, Tony Stevenson wrote: The Travel Assistance Committee is now accepting applications for those wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009 in Amsterdam. The Travel Assistance Committee is l

queueConnectionFactory in jndi.properties

2009-01-23 Thread axiez
How can I set queueConnectionFactory in jndi.properties file? Is there any example? I am trying to use a plain Java class to test. -- View this message in context: http://www.nabble.com/queueConnectionFactory-in-jndi.properties-tp21622943s134p21622943.html Sent from the Apache Geronimo - Users m

How do you access a GBean via JNDI?

2009-01-23 Thread Juergen Weber
Hi, right now I access a GBean from a servlet using (is that the correct way?) Kernel kernel = KernelRegistry.getSingleKernel(); URI uri = new URI(myuri); AbstractName gBeanAN = new AbstractName(uri); retVal = kernel.invoke(gBeanAN,"myMethod",args,paramTypes); with myuri from the abstrac

accessing SendReceiveQueue from plain java class

2009-01-23 Thread axiez
Can I lookup the SendReceiveQueue from plain Java class and use it for tests or do I have to create a new Resource Group? -- View this message in context: http://www.nabble.com/accessing-SendReceiveQueue-from-plain-java-class-tp21620408s134p21620408.html Sent from the Apache Geronimo - Users mai