Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Mantaray exception



Back to:
www.javaworld.com/javaworld/jw-06-2006/jw-0626-mantaray.html
.

I am getting the following error when I try to run the example.

I have been having a hard time trying to figure out how the mantaConfig fits into the configuration.

=================

java.lang.NullPointerException
at org.mr.core.net.NetworkManager.createServerSockets(NetworkManager.java:651)
at org.mr.MantaAgent.init(MantaAgent.java:220)
at org.mr.api.jms.MantaConnectionFactory.getChannel(MantaConnectionFactory.java:225)
at org.mr.api.jms.MantaConnection.(MantaConnection.java:147)
at org.mr.api.jms.MantaConnectionFactory.createConnection(MantaConnectionFactory.java:190)
at org.mr.api.jms.MantaConnectionFactory.createConnection(MantaConnectionFactory.java:165)
at org.springframework.jms.connection.SingleConnectionFactory.doCreateConnection(SingleConnectionFactory.java:310)
at org.springframework.jms.connection.SingleConnectionFactory.initConnection(SingleConnectionFactory.java:281)
at org.springframework.jms.connection.SingleConnectionFactory.createConnection(SingleConnectionFactory.java:209)
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:188)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:418)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:484)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:470)
at com.nov.cet.ecn.JmsSender.sendMessage(JmsSender.java:23)
at com.nov.cet.ecn.JmsTest.main(JmsTest.java:11)

Your rating: None