[JDEV] jserver and etherxd

Schuyler Heath sheath at jabber.org
Sat Aug 26 18:40:55 CDT 2000


Hello,

Koichi Moriyama wrote:
> 
> Dear Jabber developers,
> 
> I'm a visiting researcher at College of Computing, Georgia Tech.  I'm
> right now writing some code of Jabber clients for a research project
> here.  As I'm going to have something to be demonstrated to my
> advisers, I'd like to setup a demo environment on the isolated network
> from the Internet.
> 
> Here, I have a question.  Can I setup a Jabber server (jserver) in such
> an environment ?

Yes, you can.

> So far, I have been having my own jserver on my Linux box.  A couple of
> hours ago, I guess, I've figured out that "jserver" seems to connect to
> etherxd.  Actually,  jserver cannot be initialized if it is executed in
> an isolated network.

This isn't really true...
jserver can start it's own "etherxd" in the same process, and will by
default.  Just make sure the 'remote' tag is commented out of
your jserver.xml:

  <etherx>
    <secret>test</secret>
    <!-- only enable to use remote mode, you should know what you are
doing!
      <remote>12.34.56.78</remote>
    -->
  </etherx>

Maybe you are noticing mod_version?  mod_version checks for newer
versions
of jserver by connecting to update.jabber.org.
To disable this comment it out of jserver.xml:
 
  <dso>

    <!--
<mod_version>PREFIX/jabber/lib/jabber/mod_version.so</mod_version> -->

  </dso>

> Can I get and install etherxd on my box ?

Yes, it's in libetherx now.  etherxd doesn't really exist anymore.

Hope this helps,
Schuyler




More information about the JDev mailing list