views:

35

answers:

3

Hi,

I am trying to use the punjab connection manager with Openfire. I have an already running Openfire server. I have also installed punjab and the server starts properly, allowing me to navigate to the port 5280 on localhost. (Although http://localhost:5280/http-bind gives a "resource not found message".) I am not sure how to proceed from here. I have enabled a setting in the openfire admin console under connection managers that says "Connection managers can connect to this server. " .

How to configure punjab to connect with the xmpp server ?

So far I was directly establishing a bosh connection to the server using xmpp stophe lib and proxy module in apache. Now I wish to use punjab.

A: 

I used Punjab ages back but from my knowledge of how bosh connection managers work, i don't think your server would require any special setting for allowing Punjab to access it. For instance I use a custom connection manager written in PHP (using Jaxl library) which irrespective of type/kind/version of the destination jabber server is able to successfully communicate with them.

In your case you can simple start proxying your strophe requests (using apache proxy module) to http://localhost:5280/http-bind , where 5280 is handled by Punjab conn. manager. From their on it should be able to work your way out to destination server without any special configuration required at the server.

I suggest you to first try connecting to your gmail or facebook account using Punjab to make sure you have it configured correctly.

Abhinav Singh
Thanks for the reply. But I dont exactly get how punjab will work its way to the openfire server without any configuration. In openfire server settings, the port for http binding is 7070 and the one for connection managers is 5262. How does punjab figure this out on its own? (i know a dumb question to ask but this is what I am exactly not understanding) May be I am missing something fundamentally.
naiquevin