http://radio.weblogs.com/0112098/2005/07/26.html#a533 http://incubator.apache.org/servicemix/jndi-configuration.html
The two explained how to set up jndi context using spring. but in jndi.xml of servicemix3.1, <bean id="jndi" class="org.apache.xbean.spring.jndi.SpringInitialContextFactory" factory-method="makeInitialContext" singleton="true"> <property name="entries" ref="jndiEntries" /> </bean> when jbicontaner init(),NamingContext is null;and after new InitialContext(),do not lookup object of java:comp/env/jms/wsnotificationCF that define in jndi.xml. thanks -- View this message in context: http://www.nabble.com/Setting-up-a-JNDI-context-using-Spring----tf4688957s12049.html#a13401210 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.