[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] NumberFormatException running JMS version of Datashare example App

I'm making progress learning ECF and manged to get the "generic" datashare example (org.eclipse.ecf.examples.datashare.app) to run with no problems.

However, when I attempt to run the "JMS" example, I get the NumberFormatException below. I must be doing something wrong as this is the default for the example.

Any ideas?

Thanks

Dan
--------------------------------------------------

May 3, 2011 12:25:21 PM org.apache.activemq.transport.tcp.TcpTransportFactory createTransport
WARNING: path isn't a valid local location for TcpTransport to use
java.lang.NumberFormatException: For input string: "/exampleTopic"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:136)
at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:141)
at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:51)
at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:80)
at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:243)
at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:258)
at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:230)
at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:178)
at org.eclipse.ecf.provider.jms.channel.AbstractJMSChannel.setupJMS(AbstractJMSChannel.java:161)
at org.eclipse.ecf.provider.jms.channel.AbstractJMSServerChannel.<init>(AbstractJMSServerChannel.java:35)
at org.eclipse.ecf.provider.jms.activemq.container.ActiveMQServerChannel.<init>(ActiveMQServerChannel.java:25)
at org.eclipse.ecf.provider.jms.activemq.container.ActiveMQJMSServerContainer.start(ActiveMQJMSServerContainer.java:40)
at org.eclipse.ecf.internal.provider.jms.activemq.ActiveMQJMSServerContainerInstantiator.createInstance(ActiveMQJMSServerContainerInstantiator.java:64)
at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:296)
at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:315)
at org.eclipse.ecf.internal.examples.datashare.app.AbstractDatashareApplication.createContainer(AbstractDatashareApplication.java:86)
at org.eclipse.ecf.internal.examples.datashare.app.AbstractDatashareApplication.startup(AbstractDatashareApplication.java:105)
at org.eclipse.ecf.internal.examples.datashare.app.AbstractDatashareApplication.start(AbstractDatashareApplication.java:58)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Unknown Source)