Hi,
<div><br></div><div>It's the first time I work on jabber.</div><div>I am trying to write a Jabber Event Broker which can block user action or filter the message.</div><div><br></div><div>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.</div>
<div>I can see an error message: "Pipe creation failed. Exiting the Application!".</div><div><br></div><div>After that, I compiled the Java sample code. It also failed, but with more information:</div><div><div>
2/4/10 12:27:40 AM [DEBUG]: ComponentProxy::onInitialize</div><div> 2/4/10 12:27:40 AM [DEBUG]: Component::onInitialize</div><div> 2/4/10 12:27:40 AM [INFO]: Connecting to the router @ /<a href="http://10.187.4.155:7">10.187.4.155:7</a>,400</div>
<div> 2/4/10 12:27:40 AM [INFO]: Connected to the router @ /<a href="http://10.187.4.155:7">10.187.4.155:7</a>,400</div><div> 2/4/10 12:27:40 AM [DEBUG]: XMLStream writing: <stream:stream xmlns='jabber:component:accept' xmlns:stream='<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>' to='eventbroker.jabber'></div>
<div> 2/4/10 12:27:40 AM [DEBUG]: ComponentStream.onStreamOpen</div><div> 2/4/10 12:27:40 AM [DEBUG]: XMLStream writing: <handshake>a187f586667d8a82ebdb69a7407c952c4a857692</handshake></div><div> 2/4/10 12:27:40 AM [ERROR]: Component authentication with router failed.</div>
<div> 2/4/10 12:27:40 AM [DEBUG]: ComponentStream.onStreamError: Software caused connection abort: recv failed</div><div> 2/4/10 12:27:40 AM [DEBUG]: EventBroker exited with SUCCESS</div><div><br></div><div>It seems it needs authentication with router.</div>
<div>Here is my question:</div><div> 1. Where can I configure the Component Authentication?</div><div> 2. Is there any extra steps I need to do except configure the JSM and OpenPort?</div><div><br></div><div>Thanks!</div>
<div><br></div><div>== Gavin</div></div>