[JDEV] Jpolld and the simulator (Chapter 1)

Thomas Muldowney temas at box5.net
Sun Dec 3 23:57:19 CST 2000


The version in cvs of simulate doesn't understand the server_name config option
so you have to let the server have it's IP as one of it's hosts.

--temas

On Mon, Dec 04, 2000 at 11:21:49AM -0600, Matt Diez wrote:
> I've been working with Jabber 1.2 using jpolld. I retreived the simulator
> off of the CVS, and have been attempting to get this thing working.
> 
> Here's my jabber.xml section with the jpolld entry:
> 
>  <service id="c2s">
>         <host>jpolld.192.168.0.55</host>
>         <accept>
>             <ip/>
>             <port>5225</port>
>             <secret>test</secret>
>         </accept>
>   </service>
> 
> 
> Here's my jabber command line
> 
> jabberd -D 
> 
> (not surprising, eh?)
> 
> Here's the jpolld command line
> 
> /jpolld -h 192.168.0.55 -d 5225 -n c2s -s test
> 
> And here's my simulate.cfg file.
> 
> server=192.168.0.55
> server_name=ritalin
> port=5222
> users=1000
> message_delay=1
> login_delay=1
> login_duration=300000
> user_letter=r
> message=Hi There
> message=How are you?
> message=This is a long, \
>         multiline message.
> message=This message should be quite a bit longer than the others. \
>         I dunno why it should be longer, I just decided that it should, \
>         that's all!
> message=This is another short message!
> 
> 
> And here are the errors that jabber catches:
> 
> Mon Dec  4 12:29:57 2000  deliver.c:472 DELIVER 4:c2s <route type='error'
> from='r0000 at 127.0.0.1' to='2 at c2s/134577544' error='Server Configuration
> Error'><iq type='set' id='1'><query
> xmlns='jabber:iq:register'><username>r0000</username><password>r0000</passwo
> rd><resource>r975954589</resource></query></iq></route>
> 
> (lots of these)
> 
> And jpolld's output looks a lot like this:
> 
> [1] Adding conn at 2
> [1] Max PFD: 2
> [1] Conn gone, mpfd: 1
> [1] Adding conn at 2
> [1] Max PFD: 2
> [1] Conn gone, mpfd: 1
> [1] Adding conn at 2
> [1] Max PFD: 2
> [1] Conn gone, mpfd: 1
> [1] Error on MFD: 0: Success
> 
> Any ideas?
> 
> Matthew D. Diez
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20001203/2bdd618c/attachment-0002.pgp>


More information about the JDev mailing list