You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2011/08/25 14:19:31 UTC

[jira] [Updated] (APLO-62) Can't get examples to work

     [ https://issues.apache.org/jira/browse/APLO-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-62:
------------------------------

    Fix Version/s: 1.1

> 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
>    Affects Versions: 1.0-beta3
>            Reporter: Geert Schuring
>              Labels: apollo, connection, example, exception
>             Fix For: 1.1
>
>
> 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