`
heamon
  • 浏览: 20948 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

Openfire custom database And http-bind

阅读更多
Currently I need working on instant message, so choice openfire as XMPP server.

Enviroments:

Openfire(3.6.3)
Mysql(5.0.75)

Requirements:

Intergeneration with local user, the same as custom database of user in openfire tutorial.

Depend on the tutorial, you may be can't make it work.That's the issue, first if you want to change the configuration, you need do it before install. If you already installed, you need change the property manually in database related table is 'Ofproperty'.

*important, after this if this still not work, occur 'user can't login', it may because the database character, you can check wether the database default character is UTF8.

That's for the custom database integration.

Below, let's talk about http-bind.

If you want to use instant message with HTTP/TCP, you need configuration with http-bind.

Step 1: In openfire console -> server setting -> http setting, enable the http-bind and better enable the syntax.

Step 2: If you use apache, need configuration the httpd.cnf, load module about proxy. What I used is haproxy, I think this is better than apache.

Here's my configuration, I want to haproxy to forward a subfolder, like when visite http://host.com/http-bind, it will use the proxy.
Here's the code:

frontend web-balancer
  bind 192.168.10.10:8080 #Ip and port, also you can use domain

  acl need_bind url_beg /http-bind #this return url contain http-bind 

  use_backend backend_server if need_bind #if true will use backend server

  default_backend default_server

backend backend_server
  server web01 192.168.10.10:7070 weight 5 check #this is the openfire http-bind

backend default_backend
server rails-1 192.168.10.10:3000 maxconn 30 check inter 20000 fastinter 1000 fall 1 #except http-bind, will use this default server




 
分享到:
评论

相关推荐

    openfire与jingle---即时通讯系统开发

    openfire与libjingle都是即时通讯系统开发中的很牛的开源软件(库),openfire是支持java很好的jabber服务器,libjingle可以和gtalk通信,并实现了p2p以及电话等功能,由google公司release的。

    openfire安装---及时聊天

    CREATE DATABASE openfire; ``` - 通过浏览器访问 `http://your_ip:9090` 来完成后续配置。 - 选择语言(中文); - 服务器设置:输入 IP 地址作为域名,其他选项保持默认; - 数据库设置: - 选择标准...

    基于openfire服务器的消息订阅-发布系统核心代码

    基于XMPP协议的Samck库提供一套PubSub的功能,这是基于openfire服务器的消息订阅-发布系统核心代码。代码需要修改一部分才可心使用,本人修改后的代码请参照另一篇文章:...

    openfire-4.2.0-1.noarch.rp

    Linux环境下的openfire安装包,能够结合spark客户端进行即时通信

    openfire_4-2-3x64

    没有jre的open fire,Openfire (formerly Wildfire) is a cross-platform real-time collaboration server based on the XMPP (Jabber) protocol. Read about the name change

    openfire-4-6-4.exe

    openfire服务端

    openfire-red5-spark-rtmps-required-files

    【标题】"openfire-red5-spark-rtmps-required-files" 涉及到的是一个针对企业内部通信的二次开发项目,它结合了Openfire、Red5和Spark这三款工具,以提供更加定制化的实时通信解决方案。 Openfire是一款开源的即时...

    openfire-gcm-cedro-plugin

    建造先决条件:使用 Maven 2.2.1 从安装 maven-openfire-plugin 获取一份openfire.jar并将其安装到 maven 中。 有几种方法可以做到,这里有两种: 选项 1. 在下载您需要的 openfire 版本的源代码然后根据源代码路径...

    openfire-restAPI-plugin:允许通过RESTful API进行Openfire管理

    REST API插件自述文件REST API插件通过向服务器发送REST / HTTP请求来提供管理Openfire的能力。 该插件的功能对于需要在Openfire管理控制台之外管理Openfire的应用程序很有用。功能清单获取所有或特定用户的概述,并...

    openfire-4.3.0-1.x86_64

    openfire-4.3.0-1.x86_64.rpm, 为CentOS 安装 提供,开发即时消息使用

    XMPP_OPenfire即时通讯IM-android版

    XMPP(Extensible Messaging and Presence Protocol)是一种基于XML的实时通信协议,广泛用于构建即时通讯(IM)系统。Openfire是基于XMPP标准的服务器端软件,它提供了强大的安全性和可扩展性,使得开发者能够快速...

    Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2

    Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2

    apache+jwchat原码,自己亲测试可用

    “/jwchat/http-bind/”:jwchat就通过访问http://域名/jwchat/http-bind/地址去和openfire通讯,apache接到请求后就会重新定向到http://blzc.com:7070/http-bind/ “http://blzc.com:7070/http-bind/”:被重新...

    ios即时通讯客户端开发之-mac上搭建openfire服务器 - 月光的尽头 - 博客园.webarchive ) 您可以上传小于60MB的文件

    ios即时通讯客户端开发之-mac上搭建openfire服务器 - 月光的尽头 - 博客园.webarchive ) 转发

    Openfire源码 缺失的jar包- jetty-jmx-8.0.0.M2.jar

    Openfire源码 缺失的jar包- jetty-jmx-8.0.0.M2.jar 。还有其他jar包请查看

    openfire环境搭建说明

    ### Openfire环境搭建知识点 #### 一、Openfire简介与工具准备 - **Openfire**:Openfire是一款基于XMPP协议的开源即时通讯服务器,它提供了丰富的功能支持,包括消息传递、文件传输、多用户聊天等。对于企业内部...

    openfire-4.2.3-1.x86_64.rpm

    openfire-4.2.3-1.x86_64,linux版本,openfire4.2.3最新版本

    基于smack连接openfire服务器的例子-JAVA

    在Java编程领域,XMPP(Extensible Messaging and Presence Protocol)是一种广泛用于实时通讯的开放标准,它基于XML,主要用于构建即时消息和在线状态服务。Openfire是基于XMPP的服务器,提供了一个强大且可扩展的...

Global site tag (gtag.js) - Google Analytics