javax.naming.NameNotFoundException: tcp
Sascha Hunold <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
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/openjms-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(AbstractLocalContext.java:327)
at
org.codehaus.spice.jndikit.AbstractLocalContext.lookupSubContext(AbstractLocalContext.java:366)
at
org.codehaus.spice.jndikit.AbstractLocalContext.lookup(AbstractLocalContext.java:311)
at
org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl.lookup(RMINamingProviderImpl.java:158)
at
org.exolab.jms.server.net.RemoteNamingProvider.lookup(RemoteNamingProvider.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(Unknown 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