[JDEV] Configuring server side component
OUCHIA Mehdi FTRD/SVA/LAN
mehdi.ouchia at rd.francetelecom.com
Mon Nov 25 04:57:48 CST 2002
Hello,
I've got a problem with server side component configuration in jabber.xml.
Indeed, i have a jabberd running on a first machine called "MachineA" and an "accept" component on another one called "MachineB".
In jabber.xml on "MachineA", if i configure my component called "ordermanager" as follows :
<service id="ordermanager.MachineA">
<accept>
<ip>MachineB</ip>
<port>5999</port>
<secret>secret</secret>
</accept>
</service>
When i try to run the jabberd, i got the following error message :
ERROR: Base Handler Returned an Error:
<accept> unable to listen on the configured ip and port
However, the 2 machines are on the same network. And when i put no information for the "ip" tag ( only "<ip/>"), then my component is correctly registered with the handshake. Unfortunately, the jabberd seems to be unable to redirect to this component "message" or "iq" packets coming from classic clients !!!
What is the real meaning of the "<ip>" tag ? Does the jabberd need this information to correctly redirect xml packets to the component ? Or is the socket established at the beginning of the session between the component and the jabberd then enough ?
Thanks in advance for your help.
Best regards, Mehdi.
> ----------------------------------------------------------------------------------
> Mehdi OUCHIA mehdi.ouchia at rd.francetelecom.com
> france telecom R&D/SVA/KIS
> Téléphone : (33) 2 96 05 21 68 Télécopie : (33) 2 96 05 02 42
> 2 rue Pierre Marzin
> 22307 LANNION cedex
> --------------------------------------------------------------------------------------------------------------
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20021125/4ad448f0/attachment-0002.htm>
More information about the JDev
mailing list