The initial installation of OpenFire is set to use the built-in database hsqldb, which needs to be modified to MySQL database.
Issue: Modifications to modify the way the database connection was not found on the console of the Web.
Solve:
To reset the data connection first, create a new OpenFire database in the MySQL database: Create DB openfire.
The configuration
delete the following four plug-ins:
8. Re-compile, and this time it should be successful.
9. Then we will start to configure ant. Open the ant window and click +.
10. Select the build. xml file in the build directory under openfire source code.
This interface is displayed when you select OK.
11. You don't have to worry about running it. We still need to complete the configuration step. For example, select Edit Configurations...
12. Select Ap
(SPARK) openfire is a very good IM server, and it is implemented in pure Java and has multiple platform versions. Its data storage can use a variety of databases, such as MySQL and Oracle.
In actual use, the most common problem encountered is the garbled Chinese characters after the MySQL database. This problem is very interesting, and we can see some internal mechanisms of
commonly used Jabber server software is openfire. Openfire is an instant communication service based on XMPP protocol.
As with the Open Source spirit, XMPP is also a type of software that can accommodate various protocols.
Communication Protocol. In short, XMPP protocol is an "open protocol" that allows clients to use various communications
The Protocol is co
Openfire is a real-time collaboration server. It uses XMPP protocol, which is easy to manage and maintain, provides high security and stability, and can add extension functions for plug-ins.
Openfire plug-in Development Guide. This is a file on the official website with less content. Before reading this article, you 'd better take a look at the source code build
button and select openfire_src(4) on the main Tab Of The Run window, click search, select org. jivesoftware. openfire. starter. serverstarter as the main class, and click Apply. (This is the startup class of openfire)(5) Click the arguments tab and enter-Dopenfirehome = "$ {workspace_loc: openfire}/target/openfire"Cli
1, I use the Java version is the edition 8 Update, the verification method can go to this URL to verify http://www.java.com/zh_CN/download/installed.jsp2, OpenFire use is the OPENFIRE_3_10_2.DMG3, Spark uses the Spark_2_6_34, after installation, the first time you can start the OpenFire server, but restart the computer, you can no longer start the server.Check th
. Configure the relevant ports for the OpenFire. You need to install a firewall and allow some openfire ports to pass. Use the UFW command to configure.sudo ufw allow 9090/tcpsudo UFW allow 9091/tcpsudo UFW allow 5222/tcpsudo UFW allow 7777/tcpsudo UFW allow 7443/tcpsudo uf W allow 7070/tcpsudo UFW allow 3478/tcpsudo UFW allow 3479/tcpAfter the above configuration, the initial installation steps of
Because the project needs, the user name in the project can not be unique, so openfire in the project cannot use the username in the Ofuser table to log in, after deliberation, two ways to solve:
1. Mark the contents of the Username field, for example, the original user name is Yezi, after the Mark Yezi#h, this h is our project distinguishes the different user name the way, this method does not have the technology, does not elaborate;
2, add a field i
-file =/usr/local/mysql/mysql.pidmax_allowed_packet=16mLog-bin=mysql-binSql_mode=no_engine_substitution,strict_trans_tablesinit_connect= ' SET NAMES UTF8 'Character-set-server=utf8[Client]Default-character-set=utf8Restart database/etc/init.d/mysqld restartEnter the databaseMysql-u root-puse the following command to view the default character set and see that it is already UTF8mysql> showvariables like ' character_set_% ';+--------------------------+--
I encountered the same problem as the author of the following article, except that the Java version is edition 8 Update 60. This is the most reliable solution, so share with you. Original address: http://www.bubuko.com/infodetail-998226.html1, I use the Java version is the edition 8 Update, the verification method can go to this URL to verify http://www.java.com/zh_CN/download/installed.jsp2, OpenFire use is the OPENFIRE_3_10_2.DMG3,Spark uses the Spa
1, I use the Java version is the edition 8 Update, the verification method can go to this URL to verify http://www.java.com/zh_CN/download/installed.jsp2, OpenFire use is the OPENFIRE_3_10_2.DMG3,Spark uses the Spark_2_6_34, after installation, the first time you can start the OpenFire server, but restart the computer, you can no longer start the
1, I use the Java version is the edition 8 Update, the verification method can go to this URL to verify http://www.java.com/zh_CN/download/installed.jsp2, OpenFire use is the OPENFIRE_3_10_2.DMG3, Spark uses the Spark_2_6_34, after installation, the first time you can start the OpenFire server, but restart the computer, you can no longer start the server.Check th
OpenFire is an open-source, real-time collaboration server developed in the Java programming language based on extensible Communication and Presentation Protocol (XMPP). OpenFire is easy to install and use, and is managed with the Web. A single server can support tens of thousands of concurrent users. First, go to the
Recently, the company needs to study the Jwchat+openfire Instant messaging system, then wandering in the Internet, according to its description Leng did not succeed, but eventually succeeded, now on the configuration process to explain, hope to have the same needs of netizens less take detours:First, version informationjdk6.0apache2.2openfire3.7jwchat1.0Second, the Apache server configuration.We download th
1. Download the latest OpenFire installation filesOfficial Download site: Http://www.igniterealtime.org/downloads/index.jsp#openfire2. After the download is complete, execute your installation file and install it. Try to install into the C:\Program files\ directory, if not, with the ability to have problems (I did not test the situation), so that the OpenFire installation is complete.3. Below we start the
OpenFire using custom user tables-Nomousewch's column-Blog channel-csdn.net
In recent projects using OpenFire server to implement message push function, if you use the OpenFire comes with the user table, need to maintain two user tables, not very convenient, if OpenFire
1. XMPP protocol and OpenFireThe XMPP protocol is a standard protocol in the IM domain, with reference to http://xmpp.org and rfc6120,rfc6121,rfc6122 and other related documents. http://xmpp.org/xmpp-protocols/XMPP protocol implementation, there are many open source, server-side reference http://xmpp.org/xmpp-software/servers/client can be referenced http://xmpp.org/xmpp-software/ Clients/library, etc. can be referenced http://xmpp.org/xmpp-software/l
C # obtain openfire users, including add, delete, and modify users,
Currently, the simple method is to use the openfire Plug-In User Service. We use the C # http request to obtain the User list and return an xml file.
Plug-in address: http://www.igniterealtime.org/projects/openfire/plugins.jsp
There are two ways to install the plug-in:
1. Download The userservice
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.