As Jan suggests, it seems lik posibly either the URL to the file or that
you don't have the 'default' connection binding. Were you able to get it
working?

Robbie

On 3 April 2013 14:37, ani <[email protected]> wrote:

> Hmmm, apparently we are still missing something the JNDI lookup fails -
> indicating the jndi-file.properties are initialising the JNDI tree.
>
> 2013-04-03 15:09:23,619 [Hermes ThreadPool-2] DEBUG
> hermes.JNDIContextFactory - properties:
> {java.naming.provider.url=file://d:/apos/jndi-file.properties ,
>
> java.naming.factory.initial=org.apache.qpid.jndi.PropertiesFileInitialContextFactory}
> 2013-04-03 15:09:23,619 [Hermes ThreadPool-2] ERROR
> hermes.JNDIConnectionFactory - default
> javax.naming.NameNotFoundException: default
>         at
> org.apache.qpid.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:270)
>         at javax.naming.InitialContext.lookup(Unknown Source)
>         at
>
> hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:80)
>         at
>
> hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:122)
>         at
>
> hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92)
>         at
>
> hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81)
>         at
>
> hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91)
>         at
>
> hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104)
>         at
>
> hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142)
>         at
>
> hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190)
>         at
>
> hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570)
>         at
>
> hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)
>         at
> hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)
>         at
>
> hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:122)
>         at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
>         at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
>         at java.lang.Thread.run(Unknown Source)
> 2013-04-03 15:09:23,619 [Hermes ThreadPool-2] DEBUG
> hermes.browser.tasks.BrowseDestinationTask -
> ........
> ........
>
> Did you do anything else ?
>
> Regards
> Aage Nielsen
>
>
>
>
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/QPID-and-HermesJMS-tp7590418p7590996.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to