activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <gashcr...@gmail.com>
Subject Re: Help on Adium
Date Wed, 01 Sep 2010 20:12:16 GMT
ActiveMQ doesn't understand the resource request there, so use a username like "foo" instead
of "foo@Adium" and you should be able to connect just fine, tested it here on 1.4b18 and it
looks good.

On Sep 1, 2010, at 11:12 AM, joe smith wrote:

> Hi, sorry if this is  a re-post.
> 
> I'm using amq 5.4. adium 1.3.10 on macbook runing java 1.5 jvm.
> 
> Trying to connect to default xmpp port 61222 but getting error back. Not sure where the
problem is. Error msg on broker said "borken pipe." So I dump the tcp trace - see below.
> 
> Thanks for the help and the long post...
> 
> 
> --- part of adium request ---
> 
> <iq type='set' id='purpleb133f28e'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Adium</resource></bind></iq>
> 
> 
> --- part of amq response ---
> 
>   <error>
>     <ns5:unexpected-request>Don't understand: ietf.params.xml.ns.xmpp_bind.Bind@2ffa3c</ns5:unexpected-request>
>   </error>
> 
> 
> 
> --- tcp full trace ---
> 
> --- localhost:58259->localhost:61222 opened --
> --- localhost:61222->localhost:58259 opened --
> ------ localhost:58259->localhost:61222 ------
> <?xml version='1.0' ?><stream:stream to='localhost' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
version='1.0'>
> ------ localhost:61222->localhost:58259 ------
> <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"
version="1.0" id="ID:US137440.local-58239-1283353478265-0:0" to="client" from="localhost"><stream:features
xmlns:ns30="http://jabber.org/protocol/muc#admin" xmlns:ns29="http://jabber.org/protocol/muc#user"
xmlns:ns28="http://jabber.org/protocol/address" xmlns:ns27="http://jabber.org/protocol/amp"
xmlns:ns26="http://jabber.org/protocol/amp#errors" xmlns:ns25="http://jabber.org/protocol/activity"
xmlns:ns24="http://jabber.org/protocol/disco#items" xmlns:ns23="http://jabber.org/protocol/disco#info"
xmlns:ns22="http://jabber.org/protocol/rosterx" xmlns:ns21="http://jabber.org/protocol/muc"
xmlns:ns20="urn:ietf:params:xml:ns:xmpp-tls" xmlns:ns19="urn:ietf:params:xml:ns:xmpp-bind"
xmlns:ns18="urn:ietf:params:xml:ns:xmpp-sasl" xmlns:ns17="urn:ietf:params:xml:ns:xmpp-streams"
xmlns:ns16="storage:rosternotes" xmlns:ns15="jabber:iq:time"
> xmlns:ns14="jabber:iq:oob" xmlns:ns13="jabber:iq:last" xmlns:ns12="jabber:iq:pass" xmlns:ns11="jabber:iq:roster"
xmlns:ns10="jabber:iq:version" xmlns:ns9="jabber:iq:gateway" xmlns:ns8="jabber:iq:auth" xmlns:ns7="jabber:iq:private"
xmlns:ns6="jabber:server:dialback" xmlns:ns5="urn:ietf:params:xml:ns:xmpp-stanzas" xmlns:ns4="jabber:server"><ns19:bind/><ns31:session
xmlns:ns31="urn:ietf:params:xml:ns:xmpp-session"></ns31:session></stream:features>
> ------ localhost:58259->localhost:61222 ------
> <iq type='set' id='purpleb133f28e'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Adium</resource></bind></iq>
> ------ localhost:61222->localhost:58259 ------
> <iq xmlns:ns30="http://jabber.org/protocol/muc#admin" xmlns:ns29="http://jabber.org/protocol/muc#user"
xmlns:ns28="http://jabber.org/protocol/address" xmlns:ns27="http://jabber.org/protocol/amp"
xmlns:ns26="http://jabber.org/protocol/amp#errors" xmlns:ns25="http://jabber.org/protocol/activity"
xmlns:ns24="http://jabber.org/protocol/disco#items" xmlns:ns23="http://jabber.org/protocol/disco#info"
xmlns:ns22="http://jabber.org/protocol/rosterx" xmlns:ns21="http://jabber.org/protocol/muc"
xmlns:ns20="urn:ietf:params:xml:ns:xmpp-tls" xmlns:ns19="urn:ietf:params:xml:ns:xmpp-bind"
xmlns:ns18="urn:ietf:params:xml:ns:xmpp-sasl" xmlns:ns17="urn:ietf:params:xml:ns:xmpp-streams"
xmlns:ns16="storage:rosternotes" xmlns:ns15="jabber:iq:time" xmlns:ns14="jabber:iq:oob" xmlns:ns13="jabber:iq:last"
xmlns:ns12="jabber:iq:pass" xmlns:ns11="jabber:iq:roster" xmlns:ns10="jabber:iq:version" xmlns:ns9="jabber:iq:gateway"
xmlns:ns8="jabber:iq:auth" xmlns:ns7="jabber:iq:private"
> xmlns:ns6="jabber:server:dialback" xmlns:ns5="urn:ietf:params:xml:ns:xmpp-stanzas" xmlns:ns4="jabber:server"
type="result" id="purpleb133f28e" from="localhost"><error><ns5:unexpected-request>Don't
understand: ietf.params.xml.ns.xmpp_bind.Bind@2ffa3c</ns5:unexpected-request></error></iq>
> ------ localhost:58259->localhost:61222 ------
> <iq type='set' id='purpleb133f28f'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq>
> --- localhost:58259->localhost:61222 closed --
> --- localhost:61222->localhost:58259 closed --
> 
> 
> 
> --- stacktrace ---
> 
>  WARN | Iq Unknown to: null type: set from: null id: purpleb133f28e any: ietf.params.xml.ns.xmpp_bind.Bind@2ffa3c
of type: ietf.params.xml.ns.xmpp_bind.Bind
>  WARN | Iq Unknown to: null type: set from: null id: purpleb133f28f element namespace:
urn:ietf:params:xml:ns:xmpp-session localName: session
>  INFO | Transport failed: java.io.IOException: Connection reset
> java.io.IOException: Connection reset
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:45)
>         at org.apache.activemq.transport.xmpp.XmppTransport.doRun(XmppTransport.java:189)
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:201)
>         at java.lang.Thread.run(Thread.java:613)
> Caused by: com.ctc.wstx.exc.WstxIOException: Connection reset
>         at com.ctc.wstx.sr.StreamScanner.constructFromIOE(StreamScanner.java:599)
>         at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)
>         at com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:727)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2668)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1054)
>         at org.codehaus.stax2.ri.Stax2EventReaderImpl.peek(Stax2EventReaderImpl.java:367)
>         at org.apache.activemq.transport.xmpp.XmppTransport.doRun(XmppTransport.java:169)
>         ... 2 more
> Caused by: java.net.SocketException: Connection reset
>         at java.net.SocketInputStream.read(SocketInputStream.java:168)
>         at org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)
>         at org.apache.activemq.transport.tcp.TcpBufferedInputStream.readStream(TcpBufferedInputStream.java:72)
>         at org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:92)
>         at com.ctc.wstx.io.BaseReader.readBytes(BaseReader.java:155)
>         at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:368)
>         at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:111)
>         at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:87)
>         at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
>         at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:961)
>         ... 7 more
> 
> 
> 
> 


Mime
View raw message