[JDEV] example-transport...how to get it working?
Mark Hahn
mhahn at gte.com
Mon Dec 18 09:37:46 CST 2000
>
>first, for those that want to write a transport, I updated the
>example-transport CVS module (was written against the 0.7 server) to
>be a 1.2+ compatable .so transport. I included bunches of code
>documentation to show how and why the transport works.
Appreciate the commented code. Now if I could actually get it to work
with 1.2 I would appreciate it even more. I downloaded the example
code, compiled it and made the indicated extensions to the jabber.xml
file.
<service id="example.naoh.gte.com">
<load><example_transport>../example-transport/src/example.so</example_
transport></load>
</service>
I added example.noah.gte.com to my name server and reinited it. I
halted and restarted my jabber server. If I try to register the
transport (using WinJab), I receive two error messages, one
indicating "Remote Server Error" and the other a server error saying
that it "Could not contact this agent. It is possible that the agent
is not operating". I am not sure what could be wrong. I am assuming
that the <load> tag specifies the location of the shared object file
relative to the location of the jabber executable. Any other tag or
attribute mods required?
Since my limited exposure to transports is limited to getting aim to
run I am not sure where to turn with this .so based example
transport. I want to get this to work so that I can use this as a
stepping off point for some of my own work.
Thanks for any help.
-mark
================================================
Mark Hahn | Verizon Laboratories
mark.hahn at verizon.com | 40 Sylvan Road
| Waltham, Ma. 02451
================================================
More information about the JDev
mailing list