[ https://issues.apache.org/jira/browse/APLO-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059419#comment-13059419 ]
Geert Schuring commented on APLO-62: ------------------------------------ This is what the server log shows: 2011-07-04 13:54:30,466 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:2998 2011-07-04 13:54:30,638 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:2998 2011-07-04 13:55:13,855 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3000 2011-07-04 13:55:13,902 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3000 2011-07-04 13:57:22,897 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3013 2011-07-04 13:57:22,928 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3013 2011-07-04 13:58:29,068 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3025 2011-07-04 13:58:29,115 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3025 2011-07-04 14:34:58,503 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3178 2011-07-04 14:34:58,643 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3178 2011-07-04 14:35:12,034 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3180 2011-07-04 14:35:12,081 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3180 2011-07-04 14:39:19,453 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3279 2011-07-04 14:39:19,500 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3279 2011-07-04 14:39:56,984 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3280 2011-07-04 14:39:57,062 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3280 2011-07-04 14:40:28,452 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3282 2011-07-04 14:40:28,499 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3282 2011-07-04 14:41:25,968 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3291 2011-07-04 14:41:26,015 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3291 2011-07-04 14:42:15,874 connected: local:/127.0.0.1:61613, remote:/127.0.0.1:3294 2011-07-04 14:42:15,921 disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:3294 > Can't get examples to work > -------------------------- > > Key: APLO-62 > URL: https://issues.apache.org/jira/browse/APLO-62 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-stomp > Reporter: Geert Schuring > Labels: apollo, connection, example, exception > > I can't get the apollo example to work. Both the Listener and Publisher throw > the following stack stace: > Exception in thread "main" javax.jms.JMSException: Not connected: > at > org.fusesource.stompjms.StompJmsExceptionSupport.create(StompJmsExceptionSupport.java:59) > at > org.fusesource.stompjms.channel.StompChannel.connect(StompChannel.java:76) > at > org.fusesource.stompjms.StompJmsConnection.connect(StompJmsConnection.java:365) > at > org.fusesource.stompjms.StompJmsConnection.createSession(StompJmsConnection.java:127) > at example.Listener.main(Listener.java:41) > Caused by: java.io.IOException: Not connected: > at > org.fusesource.stompjms.channel.StompSocket.connect(StompSocket.java:298) > at > org.fusesource.stompjms.channel.StompChannel.connect(StompChannel.java:74) > ... 3 more > The Apollo admin console show the following: > state: STARTED 9 minutes ago > total accepted: 8 > currently connected: 0 > I clearly shows the 8 times I've ran the examples, so the client gets > connected to the server but as soon as connection.start is called an > exception is thrown on the client. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira