You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "cui.hailin" <cu...@gmail.com> on 2007/10/25 08:56:40 UTC

Setting up a JNDI context using Spring???

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.