You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by 107 <10...@motiw.ru> on 2007/08/24 14:15:39 UTC

Re: Using activemq as a jabber server

Hello, All!
I also try to use ActiveMQ as Jabber Server.
I was build it from last svn trunk "apache-activemq-5.0-SNAPSHOT" (20070823)
After start I see only one message about "Failed to create local registry",
and ActiveMQ starts successfully (for ex. WebConsole works fine).
But when I try to login into Jabber (by Spark client) I see only:

DEBUG XmppTransport                  - XMPP consumer thread starting
DEBUG XmppTransport                  - Sending initial stream element
DEBUG XmppTransport                  - Initial stream element sent!
and nothig else.

After 10-20 seconds Spark says "Invalid user name and password". PSI for ex.
show nothing in it XML-console.

Then I try to add some lib-files to ./apache-activemq/lib 
(for ex. stax-1.2.0.jar, wstx-asl-3.2.1.jar, and others).

After it, I can log into Jabber server by Spark client successfully!!!

Log file says:

DEBUG ProtocolConverter              - Iq Auth Query  to: null type: get
from: null id: zrBoD-0 resource: null username: test1
DEBUG ProtocolConverter              - Iq Roster  to: null type: get from:
null id: zrBoD-2 item: []
DEBUG ProtocolConverter              - Iq Disco Items query  to: localhost
type: get from: null id: zrBoD-3 node: null item: []
WARN  ProtocolConverter              - Iq Unknown  to: null type: get from:
test1@localhost/spark id: zrBoD-4 element namespace: vcard-temp localName:
vCard
WARN  ProtocolConverter              - Iq Unknown  to: null type: get from:
null id: zrBoD-5 element namespace:
http://www.jivesoftware.org/protocol/sharedgroup localName: sharedgroup

Then I try add contact in roster, but get a "Unable add contact" message.
Log says:

DEBUG ProtocolConverter              - Iq Roster  to: null type: set from:
null id: vw1gE-10 item: [jabber.iq.roster.Item@1ae7b85]
DEBUG ProtocolConverter              - Presence: null id: vw1gE-11 to:
test1@localhost type: subscribe showOrStatusOrPriority: [] any: []
#### Creating ActiveMQ destination for: test1
DEBUG ProtocolConverter              - Presence: null id: vw1gE-12 to:
test1@localhost type: subscribed showOrStatusOrPriority: [] any: []
#### Creating ActiveMQ destination for: test1

Button "Join Conference Room" has no effect too.

How do you think, what can it be, and how use ActiveMQ as Jabber server
correctly (maybe you have a article or documentation about it)?

Thank you, All!!!
-- 
View this message in context: http://www.nabble.com/Using-activemq-as-a-jabber-server-tf3372095s2354.html#a12311278
Sent from the ActiveMQ - User mailing list archive at Nabble.com.