see 
http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/client-resource-lookup-preview/src/test/java/org/superbiz/client/SenderTest.java

you need to setup your client


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-08-27 23:09 GMT+02:00 brmeyer <[email protected]>:
> Apologies if I'm missing something elementary.  My tomee.xml has the
> following:
>
>     <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
>         BrokerXmlConfig =  broker:(tcp://localhost:61616)
>         ServerUrl       =  vm://localhost
>     </Resource>
>     <Resource id="ConnectionFactory" type="javax.jms.ConnectionFactory">
>         ResourceAdapter = MyJmsResourceAdapter
>     </Resource>
>     <Resource id="sramp/events/topic" type="javax.jms.Topic"/>
>
> From a remote application (not on the same JVM), I'm able to use
> ActiveMQInitialContextFactory and the tcp://localhost:61616 provider url to
> successfully discover "ConnectionFactory".  But, it cannot discover
> "sramp/events/topic". What am I missing that would allow the
> ConnectionFactory to be accessed externally, but not the Topic?  Supposedly
> https://issues.apache.org/jira/browse/TOMEE-393 corrected this.
>
> Thanks!
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Remote-access-to-JNDI-resources-tp4671430.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to