- 浏览: 202598 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (77)
- 技术点滴 (22)
- 14012 (1)
- 14013 (7)
- 14015 (5)
- 14016 (6)
- 14001 (6)
- 14017 (5)
- 15002 (1)
- 15003 (1)
- 14022 (1)
- struts2+spring+hibernate (0)
- jquery (0)
- JBPM (0)
- 技术研究 (4)
- http://www.oschina.net/translate/going-rest-embedding-jetty-with-spring-and-jax-rs-apache-cxf (0)
- 开源架构 (4)
- 通讯+多线程 (5)
- BasicKnowledge (1)
- 企业架构 (1)
- 优化类 (1)
最新评论
-
斯文只是爱好:
遇到一样的问题,我也是发现能用merge方法解决,但是,心里还 ...
Hibernate 异常:Illegal attempt to associate a collection with two open sessions -
talkname:
但是save是添加,merge是更新,把save变成merge ...
Hibernate 异常:Illegal attempt to associate a collection with two open sessions -
fuaotech:
恩 相互借鉴!
JS代码放在head和body的区别 -
sxm2017:
...
警告:Parameters:Invalid chunk ignored -
415421979:
...
警告:Parameters:Invalid chunk ignored
Openfire安装整合用户手册
冷志勇
官网 http://www.igniterealtime.org/
安装手册 参考
http://wenku.baidu.com/view/3d27bccd0508763231121296.html
我选择第一种数据库安装
安装spark 测试可以通讯
Linux 安装 下载 带jre的rpm包
http://www.igniterealtime.org/downloads/index.jsp
openfire-3.7.1-1.i386.rpm
Wget http://download.igniterealtime.org/openfire/openfire-3.7.1-1.i386.rpm
rpm –ivh openfire-3.7.1-1.i386.rpm
默认安装到/opt/openfire目录
启动方式 /etc/init.d/openfire start
整合用户手册
修改目录/conf/openfire.xml配置文件 开发工程中/target/conf/openfire.xml
修改后如下所示:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file stores bootstrap properties needed by Openfire.
Property names must be in the format: "prop.name.is.blah=value"
That will be stored as:
<prop>
<name>
<is>
<blah>value</blah>
</is>
</name>
</prop>
Most properties are stored in the Openfire database. A
property viewer and editor is included in the admin console.
-->
<!-- root element, all properties must be under this element -->
<jive>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
<!—默认管理员lzy -->
<admin>
<authorizedUsernames>14001,admin</authorizedUsernames>
</admin>
<!--lzy -->
<locale>zh_CN</locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<!--
<network>
<interface></interface>
</network>
-->
<!-- Authentication IntegrationS lzy -->
<provider>
<auth>
<className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className>
</auth>
<user>
<className>org.jivesoftware.openfire.user.JDBCUserProvider</className>
</user>
</provider>
<jdbcProvider>
<driver>com.mysql.jdbc.Driver</driver>
<connectionString>jdbc:mysql://58.59.97.3:3306/fajxc?user=admin&password=fuao20091</connectionString>
</jdbcProvider>
<jdbcAuthProvider>
<passwordSQL>SELECT password FROM users WHERE loginName=?</passwordSQL>
<passwordType>plain</passwordType>
</jdbcAuthProvider>
<jdbcUserProvider>
<loadUserSQL>SELECT a.loginName as loginName,b.email as email FROM users a,employee b WHERE a.loginName=? and a.loginName = b.empNo</loadUserSQL>
<userCountSQL>SELECT COUNT(*) FROM users</userCountSQL>
<allUsersSQL>SELECT loginName FROM users</allUsersSQL>
<searchSQL>SELECT loginName FROM users WHERE</searchSQL>
<usernameField>loginName</usernameField>
<nameField>userName</nameField>
<emailField>email</emailField>
</jdbcUserProvider>
<!-- Authentication IntegrationE lzy -->
<connectionProvider>
<className>org.jivesoftware.database.DefaultConnectionProvider</className>
</connectionProvider>
<database>
<defaultProvider>
<driver>com.mysql.jdbc.Driver</driver>
<serverURL>jdbc:mysql://58.59.97.3:3306/openfire</serverURL>
<username>admin</username>
<password>fuao20091</password>
<testSQL>select 1</testSQL>
<testBeforeUse>true</testBeforeUse>
<testAfterUse>true</testAfterUse>
<minConnections>5</minConnections>
<maxConnections>25</maxConnections>
<connectionTimeout>1.0</connectionTimeout>
</defaultProvider>
</database>
<setup>true</setup>
<log>
<debug>
<enabled>true</enabled>
</debug>
</log>
</jive>
替换原来服务器的配置文件 然后重启服务器 登录后台
服务器---服务器管理器---系统属性—修改privider.auth. className 和privider.user. className
有用户组的话也修改privider.group. className(值对应配置文件的路径)
注意
默认管理员要在系统中用户中存在
配置文件对应表ofProperty
冷志勇
官网 http://www.igniterealtime.org/
安装手册 参考
http://wenku.baidu.com/view/3d27bccd0508763231121296.html
我选择第一种数据库安装
安装spark 测试可以通讯
Linux 安装 下载 带jre的rpm包
http://www.igniterealtime.org/downloads/index.jsp
openfire-3.7.1-1.i386.rpm
Wget http://download.igniterealtime.org/openfire/openfire-3.7.1-1.i386.rpm
rpm –ivh openfire-3.7.1-1.i386.rpm
默认安装到/opt/openfire目录
启动方式 /etc/init.d/openfire start
整合用户手册
修改目录/conf/openfire.xml配置文件 开发工程中/target/conf/openfire.xml
修改后如下所示:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file stores bootstrap properties needed by Openfire.
Property names must be in the format: "prop.name.is.blah=value"
That will be stored as:
<prop>
<name>
<is>
<blah>value</blah>
</is>
</name>
</prop>
Most properties are stored in the Openfire database. A
property viewer and editor is included in the admin console.
-->
<!-- root element, all properties must be under this element -->
<jive>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
<!—默认管理员lzy -->
<admin>
<authorizedUsernames>14001,admin</authorizedUsernames>
</admin>
<!--lzy -->
<locale>zh_CN</locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<!--
<network>
<interface></interface>
</network>
-->
<!-- Authentication IntegrationS lzy -->
<provider>
<auth>
<className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className>
</auth>
<user>
<className>org.jivesoftware.openfire.user.JDBCUserProvider</className>
</user>
</provider>
<jdbcProvider>
<driver>com.mysql.jdbc.Driver</driver>
<connectionString>jdbc:mysql://58.59.97.3:3306/fajxc?user=admin&password=fuao20091</connectionString>
</jdbcProvider>
<jdbcAuthProvider>
<passwordSQL>SELECT password FROM users WHERE loginName=?</passwordSQL>
<passwordType>plain</passwordType>
</jdbcAuthProvider>
<jdbcUserProvider>
<loadUserSQL>SELECT a.loginName as loginName,b.email as email FROM users a,employee b WHERE a.loginName=? and a.loginName = b.empNo</loadUserSQL>
<userCountSQL>SELECT COUNT(*) FROM users</userCountSQL>
<allUsersSQL>SELECT loginName FROM users</allUsersSQL>
<searchSQL>SELECT loginName FROM users WHERE</searchSQL>
<usernameField>loginName</usernameField>
<nameField>userName</nameField>
<emailField>email</emailField>
</jdbcUserProvider>
<!-- Authentication IntegrationE lzy -->
<connectionProvider>
<className>org.jivesoftware.database.DefaultConnectionProvider</className>
</connectionProvider>
<database>
<defaultProvider>
<driver>com.mysql.jdbc.Driver</driver>
<serverURL>jdbc:mysql://58.59.97.3:3306/openfire</serverURL>
<username>admin</username>
<password>fuao20091</password>
<testSQL>select 1</testSQL>
<testBeforeUse>true</testBeforeUse>
<testAfterUse>true</testAfterUse>
<minConnections>5</minConnections>
<maxConnections>25</maxConnections>
<connectionTimeout>1.0</connectionTimeout>
</defaultProvider>
</database>
<setup>true</setup>
<log>
<debug>
<enabled>true</enabled>
</debug>
</log>
</jive>
替换原来服务器的配置文件 然后重启服务器 登录后台
服务器---服务器管理器---系统属性—修改privider.auth. className 和privider.user. className
有用户组的话也修改privider.group. className(值对应配置文件的路径)
注意
默认管理员要在系统中用户中存在
配置文件对应表ofProperty
发表评论
-
jenkins持续集成(jenkins+docker+mvn+git)
2019-08-16 01:58 0前端构建需要nodejs环境 2个问题 jenkins调用本 ... -
SQl+多服务部署并发访问DB
2018-08-01 10:31 697数据库 student id nam ... -
TCP 三次握手4次挥手收集
2018-07-31 11:36 428原理通俗解释 https://blog.csdn.net/Sp ... -
springboot构建微服务(-)
2016-04-25 19:27 698前面章文章 http://fuaotech.it ... -
自己构建微服务(springmvc+内嵌jetty+maven 环境配置)
2016-04-20 21:00 9148pom.xml文件 <project xml ... -
jetty7 同时并发连接多个目的主机时(100+) 本地tcp端口不够用的解决方案,技术点滴,通讯+多线程
2015-07-17 12:45 1559第一种方法 改注册表 改变这个变量:MaxUserP ... -
jetty3 httpclient性能并发
2015-01-07 23:52 808httpclient的并发连接问题 Poste ... -
关于Java.util.ArrayList和Java.util.Iterator的问题
2011-12-09 17:35 1657关于Java.util.ArrayList和Java.util ... -
Openfire二次开发用户手册
2011-12-08 17:21 1187Openfire二次开发用户手册 冷志勇 参考文档 htt ... -
Hibernate 异常:Illegal attempt to associate a collection with two open sessions
2011-12-08 16:47 11690Hibernate 异常: Illegal attempt ... -
采用CAS原理构建单点登录
2011-12-05 11:03 1414采用CAS原理构建单点登录 企业的信息化过程是一个循 ... -
mysql使用rand随机查询记录效率测试
2011-12-02 17:18 938一直以为mysql随机查询几条数据,就用 SELECT * F ... -
java获取汉子首字母
2011-12-02 17:16 1203public class StringUtil { //pr ... -
空指针错误 java.lang.NullPointerException
2011-12-02 16:47 1585使用基本的JAVA数据类型,变量的值要么已经是默认值, ... -
fckeditor配置
2011-12-01 18:38 1208下载2。6编辑器,和for java 2。3 包解压在网站根目 ... -
Spring 中bean 的生命周期短暂吗?
2011-11-26 15:31 875Spring 中bean 的生命周期短暂吗? 在spring中 ... -
select下拉框显示图片
2011-11-26 15:30 2502select下拉框显示图片 201 ... -
警告:Parameters:Invalid chunk ignored
2011-11-25 19:56 6786警告:Parameters:Invalid chunk ign ... -
Struts+Spring+Hibernate开发实例
2011-11-25 19:55 880Struts+Spring+Hibernate开 ... -
Java核心之Java内存分配原理
2011-11-25 19:54 857JAVA内存分配与管理 ...
相关推荐
Openfire安装配置手册 这个手册包括开发环境的搭建及服务器的安装配置 搭建开发环境:系统环境:windowsXP+JDK1.6+Eclipse3.6+Openfire
openfire的安装文件,以及openfire的安装详细教程。
[经典] Openfire SPARK 整合 扩展用户 用户组
第二章 安装OPENFIRE3.6.4 3 2.1 配置机器的域名 3 2.2 安装OPENFIRE 3 2.2.1 安装 3 2.2.2 运行数据库脚本 4 2.2.3 数据库驱动jar包 6 2.2.4 openfire初始化配置 6 2.3 设置用户 12 第三章 安装SPARK客户端 13 第四...
本人总结的linux字符界面下openfire安装配置
详细讲述了在linux上安装openfire的步骤 包括jdk、mysql、openfire的安装配置
安卓的即时通讯软件的开发工具的安装过程,openfire+spack的安装过程
Smack是即时通信客户端编程库,目前我已测通通过jsp使用smack的API向openfire注册用户发送消息,并且可以通过监听器获得此用户的应答消息。 通过smack向msn用户和QQ用户,gtalk用户发送消息应该也可以实现,关于向...
NULL 博文链接:https://bsr1983.iteye.com/blog/2240070
NULL 博文链接:https://linfengsheng.iteye.com/blog/1343814
openfire 用户整合,手把手交你实现。
openfire安装---及时聊天 、、、、
openfire+spark+red5的详细安装指南.
一个图文讲解的openfire 3.9.3的配置安装,并通过eclipse的方式部署openfire源码进行打包,将打包后的文件发布,运行的全过程
浅显易懂地介绍xmpp与openfire开源项目的使用
开源IM服务器openfire和客户端Spark,完全安装手册,支持C2S和S2S,简单的SMB用户可直接部署使用。
非常全面的openfire安装配置说明文档,还包括了spark的安装配置。
亲测可行的openfire集群实践手册,适合使用openfire做即时通讯方案的工程师做集群方案
openfire mac系统安装文件 Openfire (formerly Wildfire) is a cross-platform real-time collaboration server based on the XMPP (Jabber) protocol.
包含openfire的安装文件,关联其他数据库方案。 安装、部署、修改配置文件、调用其他数据库