activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nlif <naa...@dbnet.co.il>
Subject Problems setting up XMPP transport
Date Sat, 10 Mar 2007 06:48:44 GMT

Hi,

I am trying to setup ActiveMQ with XMPP support, but I get this exception:

2007-03-09 19:31:47,656 ERROR ActiveMQ Transport: tcp:///127.0.0.1:3940
[org.apache.activemq.transport.xmpp.XmppTransport] - <XMPP Reader thread
caught: javax.xml.stream.XMLStreamException>
javax.xml.stream.XMLStreamException
	at com.bea.xml.stream.MXParser.fillBuf(MXParser.java:3700)
	at com.bea.xml.stream.MXParser.more(MXParser.java:3715)
	at com.bea.xml.stream.MXParser.parseProlog(MXParser.java:1968)
	at com.bea.xml.stream.MXParser.nextImpl(MXParser.java:1947)
	at com.bea.xml.stream.MXParser.next(MXParser.java:1333)
	at com.bea.xml.stream.XMLEventReaderBase.<init>(XMLEventReaderBase.java:70)
	at com.bea.xml.stream.XMLEventReaderBase.<init>(XMLEventReaderBase.java:48)
	at
com.bea.xml.stream.MXParserFactory.createXMLEventReader(MXParserFactory.java:130)
	at
com.bea.xml.stream.MXParserFactory.createXMLEventReader(MXParserFactory.java:151)
	at
org.apache.activemq.transport.xmpp.XmppTransport.run(XmppTransport.java:158)
	at java.lang.Thread.run(Thread.java:595)

I currently have ActiveMQ 4.1 with smack 2.2.1 as client.
plus:
activemq-xmpp-4.1.0-incubator.jar
stax-1.0 
jaxb-2.0

The client code simply attempts to login:

XMPPConnection connection = new XMPPConnection("localhost",61234);
connection.login("john", "smith"); // here I get the exception on the broker

the AMQ broker is configured with transport - "xmpp://localhost:61234"

Has anyone used this successfully? I'd appreciate any tips.

Thanks,
Naaman
-- 
View this message in context: http://www.nabble.com/Problems-setting-up-XMPP-transport-tf3380024s2354.html#a9407806
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message