RE: javax.naming.NameNotFoundException: tcp

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
The only argument accepted by the Listener example is the destination (i.e,
topic or queue) name:

> run.sh Listener
usage: Listener <destination>

Try:
> run.sh Listener topic1 

> -----Original Message-----
> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf 
> Of Sascha Hunold
> Sent: Tuesday, 7 March 2006 9:49 PM
> To: [email protected]
> Subject: [openjms-user] javax.naming.NameNotFoundException: tcp
> 
> Hi all,
> 
> I have been testing the 0.7.7-alpha-3 release. At first, I 
> wanted to test the examples.
> 
> I didn't chang the default openjms.xml and the 
> jndi.properties in the example dir.
> 
> I started the server by running
> 
> /openjms-0.7.7-alpha-3/bin> ./startup.sh Using OPENJMS_HOME: 
> /home/hunold/tmp/openjmstests/openjms-0.7.7-alpha-3
> Using JAVA_HOME:    /usr/central/i386/java-1.5.0
> OpenJMS 0.7.7-alpha-3
> The OpenJMS Group. (C) 1999-2005. All rights reserved.
> http://openjms.sourceforge.net
> 11:39:58.025 INFO  [main] - Server accepting connections on 
> tcp://127.0.0.2:3035/ 11:39:58.030 INFO  [main] - JNDI 
> service accepting connections on tcp://127.0.0.2:3035/
> 11:39:58.034 INFO  [main] - Admin service accepting 
> connections on tcp://127.0.0.2:3035/
> 11:39:58.088 INFO  [main] - Server accepting connections on 
> rmi://127.0.0.2:1099/
> 11:39:58.089 INFO  [main] - JNDI service accepting 
> connections on rmi://127.0.0.2:1099/
> 11:39:58.091 INFO  [main] - Admin service accepting 
> connections on rmi://127.0.0.2:1099/
> 
> Looks alright.
> 
> But trying to start the Listener results in an exception:
> 
> ./run.sh Listener tcp://127.0.0.2:3035
> 
> Using OPENJMS_HOME: 
> /home/hunold/tmp/openjmstests/openjms-0.7.7-alpha-3
> Using JAVA_HOME:    /usr/central/i386/java-1.5.0
> Using CLASSPATH:    
> ./:/home/hunold/tmp/openjmstests/openjms-0.7.7-alpha-3/lib/ope
> njms-0.7.7-alpha-3.jar
> javax.naming.NameNotFoundException: tcp:
>         at
> org.codehaus.spice.jndikit.memory.MemoryContext.doLocalLookup(
> MemoryContext.java:90)
>         at
> org.codehaus.spice.jndikit.AbstractLocalContext.localLookup(Ab
> stractLocalContext.java:327)
>         at
> org.codehaus.spice.jndikit.AbstractLocalContext.lookupSubConte
> xt(AbstractLocalContext.java:366)
>         at
> org.codehaus.spice.jndikit.AbstractLocalContext.lookup(Abstrac
> tLocalContext.java:311)
>         at
> org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl.lo
> okup(RMINamingProviderImpl.java:158)
>         at
> org.exolab.jms.server.net.RemoteNamingProvider.lookup(RemoteNa
> mingProvider.java:126)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553)
>         at 
> org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511)
>         at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unk
> nown Source)
>         at java.lang.Thread.run(Thread.java:595)
> 
> 
> I'd appreciate if someone could help me on this?
> 
> Cheers
> 
> Sascha
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language that extends applications into web and 
> mobile media. Attend the live webcast and join the prime 
> developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
> dat=121642
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.