[jdev] Problem of the EchoComponent sample code
Xiang (Gavin) Ye
gavin.ye at gmail.com
Thu Feb 4 16:55:33 CST 2010
It's the first time I work on jabber.
I am trying to write a Jabber Event Broker which can block user action or
filter the message.
I compiled EchoComponent sample code and put it on my Jabber Server (It's a
Jabber XCP 5.4 from Jabber Inc). But it started and then exit.
I can see an error message: "Pipe creation failed. Exiting the
After that, I compiled the Java sample code. It also failed, but with more
2/4/10 12:27:40 AM [DEBUG]: ComponentProxy::onInitialize
2/4/10 12:27:40 AM [DEBUG]: Component::onInitialize
2/4/10 12:27:40 AM [INFO]: Connecting to the router @ /10.187.4.155:7
2/4/10 12:27:40 AM [INFO]: Connected to the router @ /10.187.4.155:7,400
2/4/10 12:27:40 AM [DEBUG]: XMLStream writing: <stream:stream
2/4/10 12:27:40 AM [DEBUG]: ComponentStream.onStreamOpen
2/4/10 12:27:40 AM [DEBUG]: XMLStream writing:
2/4/10 12:27:40 AM [ERROR]: Component authentication with router failed.
2/4/10 12:27:40 AM [DEBUG]: ComponentStream.onStreamError: Software
caused connection abort: recv failed
2/4/10 12:27:40 AM [DEBUG]: EventBroker exited with SUCCESS
It seems it needs authentication with router.
Here is my question:
1. Where can I configure the Component Authentication?
2. Is there any extra steps I need to do except configure the JSM and
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev