Re: Tomme+ and JMS with JNDI configuration

2016-07-22 Thread Romain Manni-Bucau
https://github.com/rmannibucau/lookup-from-spring-in-tomee uses that, lookup works and is done with first solution: https://github.com/rmannibucau/lookup-from-spring-in-tomee/blob/master/src/main/webapp/WEB-INF/applicationContext.xml#L13 Romain Manni-Bucau @rmannibucau

Re: Tomme+ and JMS with JNDI configuration

2016-07-22 Thread sureshshine
Thanks .. It's not working, Still i am getting null exception for connectionFactory. I changed the spring configuration as you suggested ( I tried both ) and Please help me to get it resolved. Thanks much. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomm

Re: Tomme+ and JMS with JNDI configuration

2016-07-22 Thread sureshshine
Finally , the issue has been resolved , I added the below configuration in my application web.xml , it's works fine. resource-ref> JMS JNDI Connection jms/ConnectionFactory javax.jms.ConnectionFactory Container Thanks

Re: Tomme+ and JMS with JNDI configuration

2016-07-22 Thread Romain Manni-Bucau
Add prefix openejb:Resource/ or java:openejb/Resource/ to id value for spring lookup Le 22 juil. 2016 12:19, "sureshshine" a écrit : > Thanks much for your reply. > > I need one more clarification and added a jndi resource in tomee.xml as > follows, > > > BrokerXmlConfig = xbean

Re: Tomme+ and JMS with JNDI configuration

2016-07-22 Thread sureshshine
Thanks much for your reply. I need one more clarification and added a jndi resource in tomee.xml as follows, BrokerXmlConfig = xbean:file:/conf/activemq.xml ServerUrl = tcp://localhost:61616 connectionMaxIdleTime = 15 Minutes

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fstop-mojo.mdtext Index: trunk/content/maven/stop-mojo.mdtext === --- trunk/content/maven/stop-mojo.mdtext

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fstart-mojo.mdtext Index: trunk/content/maven/start-mojo.mdtext === --- trunk/content/maven/start-mojo.mdtext

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Frun-mojo.mdtext Index: trunk/content/maven/run-mojo.mdtext === --- trunk/content/maven/run-mojo.mdtext (revis

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fexec-mojo.mdtext Index: trunk/content/maven/exec-mojo.mdtext === --- trunk/content/maven/exec-mojo.mdtext

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fdebug-mojo.mdtext Index: trunk/content/maven/debug-mojo.mdtext === --- trunk/content/maven/debug-mojo.mdtext

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fconfigtest-mojo.mdtext Index: trunk/content/maven/configtest-mojo.mdtext === --- trunk/content/maven/configte

CMS diff:

2016-07-22 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/maven%2Fbuild-mojo.mdtext Index: trunk/content/maven/build-mojo.mdtext === --- trunk/content/maven/build-mojo.mdtext