On 3/26/07, Randy H <[EMAIL PROTECTED]> wrote:

Thanks for your post Bruce.
That fixed my first problem (getting the initial JNDI context).  Now I get
an exception on the JNDI lookup of the Client factory name ( lookup(
ClientFactory.DEFAULT_JNDI_NAME ) );

  The exception is (with accompanying log4j entries):


JNDI context: [EMAIL PROTECTED]

Get factory using JNDI lookup on: java:comp/env/jbi/ClientFactory
javax.naming.NamingException: scheme java not recognized
        at
org.apache.xbean.spring.jndi.DefaultContext.lookup(DefaultContext.java:131)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.lmco.ctest.main(ctest.java:32)


Do you have another useful suggestion?

Have you created an entry to register the JBI container in JNDI? Below
is an example entry:

<entry key="java:comp/env/jbi">
 <ref local="jbi" />
</entry>

If this is placed in the <map> element in the jndi.xml file. Then the
jndi.xml file must be imported into the servicemix.xml file. But I
think that this is only accessible locally, not remotely.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to