powered by Jive Software

Connecting iis to openfire

Hi at all

I want to forward request by MS ISS to openfire server for connect my XMPP web client.

i sow on the web and this forum, an howto for connect MS IIS to a generic java application server (in this case Jetty). This howto use a AJP protocol to connect the two servers.

Openfire support this?

on the howto, is necessary modify a jetty.xml configuration file

<Call name="addConnector">
    <New class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
      <Set name="port">8009</Set>

where can I put this on OpenFire?

There is another solution to realize that?

Thanks in advance


Try this:


tnx for your help but i foud another solution:

i found a proxy script in jsp, that redirect all request to another host and port. it works fine under iis6

To help someone with same problem, this is the script:

<%@page session=“true”%>
<%@page import=“java.net.,java.io.” %>
try {

String reqUrl = "[http://YOURHOSTOPENFIRE:PORT/http-bind/](http://YOURHOST:PORT/http-bind/)";

URL url = new URL(reqUrl);
HttpURLConnection con = (HttpURLConnection)url.openConnection();
int clength = request.getContentLength();
if(clength > 0) {
    byte[] idata = new byte[clength];
    request.getInputStream().read(idata, 0, clength);
    con.getOutputStream().write(idata, 0, clength);

BufferedReader rd = new BufferedReader(new InputStreamReader(con.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {

} catch(Exception e) {

Regards Daniele