The openfire plug-in can access all openfire APIs. This provides great flexibility for our plug-in implementation. The following provides four commonly used plug-in integration methods. 1. Register a plugin as a component. Components can receive all packages of a specific sub-domain. For example, test_componet.example.com. Therefore, a packet sent to the joe@test_componet.example.com will be forwarded to th
Requirements audit process with anonymous user registration login, registered users after the approval of the use of openfire built-in tableHow to achieve user password unificationOpenFire is an encryption implemented through Org.jivesoftware.util.Blowfish.java.Key: There is a table Ofproperty in the OpenFire database, where there is a value of PasswordkeyBlowfish blow=new Blowfish (Passwordkey);EncryptionS
How to change the server name of openfire:
1. log onto the openfire Management page, select Edit properties at the bottom of the home page, change the server name to the current host name, click Save properties, and follow the prompts on the page to restart the server.
2. after the server is restarted, an exclamation point is displayed for the server name under the server attribute of the home page, and t
Openfire supports concurrency of about 6 kb by default. The following are the key points of optimization:
1. asynchronous Io is used at the network layer, and epoll is used in Linux.
Java. NiO,
NIO of JDK 6.0 and JDK 5.0 Update 9 supports epoll (Linux only), It will significantly improve the performance of concurrent idle connections, which is a lot of network server applications.ProgramYes.
The method for enabling is as follows:
-Djava. N
XMPP protocol as an IM, its core is the message delivery, in the OpenFire server XMPP implementation, the message is encapsulated as packet object, so OpenFire server's core code is the client packet object monitoring and processing flow, We're going to take a look at OpenFire's message packet acceptance process today.
First, the OpenFire server needs to start a
1. Create plug-ins with reference to the existing plug-in directory structure in OpenFire
Plugin creation related content to be continued.
2. Configuring the ant compilation plugin
Select the plugin entry in the Ant window, mail select Run as or Ant Build in debug as ..., select the Main tab page in the popup dialog box, and enter the following in the arguments: input box:
-dplugin=chat
Where chat is the name of the plugin. Consistent with name
Using PSI Login OpenFire Error: There was a error communicating with the server. Details:authentication Error:not Authorized
The server OpenFire runs under my XP, and then it runs under the computer name HHA:
http://hha:9090
https://hha:9091
Then either the admin, or manually added users, create an account in the PSI (not registered, I turned off the registration), using the correct user name and
1. First, make sure you've turned off the openfire.Open terminal (in application--utilities--)Enter the following commandsudo rm-rf/library/preferencepanes/openfire.prefpanesudo rm-rf/usr/local/openfiresudo rm-rf/library/launchdaemons/org.jivesoftware.openfire.plistThe first one will let you enter the administrator password, although you enter the time, the terminal will not display, do not worry, the correct input and press ENTER, it is executed.After three orders,
changing at any time.5. the business logic of stealth and blacklist is difficult to efficiently process.
The process for openfire server to process presence is as follows, which is subject to 3.6.0.
1. connectionhandler. messagereceived ();Mina-level processing.
2. stanzahander. Process () => processpresenceXMPP layer. To process all XMPP packages, only the login-related packages are processed here. Other types of packages are processed by rela
Local server Opensudo apachectl start returnIfconfig EnterFind the local repository, and then webserver-documents-in the contents of our server shared information, others can go through our host address directly to access our resourcesRemote server OpenFirst download MySQL to do our database, and then download openfire used to do our server, installation and configuration is the following URLHttp://www.cnblogs.com/xiaodao/archive/2013/04/04/2999426.ht
Fastpath was originally thought to be a pure web im spark, but it was found to be a customer service system after installation.
This module is available only when openfire Enterprise is installed. openfire enterprise charges fees. However, the trial version supports five users without violating the authorization and never expires.
The interface is in English. But you can modify the JSP by yourself.
Us
Google Blog Address: http://tsaiquinn.blogspot.com/2014/10/linuxopenfire.htmlThe elements that affect the number of connections contain three types:1) Linux system parameters2) The number of threads that the process itself can create3) OpenFire self-system parametersLinux system parameters1.ulimit–n 265535On a Linux platform, regardless of whether you write a client or a service-side program, the highest concurrency is limited by the number of files t
Ant Build OpenFire is an error must use JDK 1.5.x or higher to build openfire
Workaround: Modify the Build.xml file to locate the file
The changes are as follows:
OpenFire and the previous version number configuration does not have much difference is not specifically introduced, the web search will have a lot of illustrations The following is mainly about the development and use of smack 4.1.2, Read a lot of articles on the Internet contains StackOverflow no more than 4.1 of the use of instructions, at the same time I found some official notes and this version number is incorrect. such as use connectionconfi
In the network instability, openfire prone to swap situations, because when the client dropped the line, OpenFire can not immediately know that the client has been disconnected, as to how long it takes to find the client disconnection, and the server-side set idle Connections time. The default is 360 seconds. To solve the swap problem, the XMPP protocol supports message receipts, which simply sets the reque
. What are the nodes in the architecture?
Spark provides a basic implementation of the client and provides a good plug-in architecture. This is a good news for developers. I strongly recommend that you use plug-ins to implement your new functions, instead of modifying the source code. This will benefit your project architecture and minimize the impact of the original project.
Openfire is an implementation of an IM Server Based on XMPP protocol. Althou
=============== Problem description ====================
Errors always occur:
A connection to the database cocould not be made. view the error message by opening the "\ logs \ error. log" log file, then go back to fix the problem.
I checked error. log:
2013.09.2611:40:03org.jivesoftware.util.log.util.CommonsLogFactory-Prototypecom.mysql.jdbc.CommunicationsException:Communicationslinkfailureduetounderlyingexception:**BEGINNESTEDEXCEPTION**java.net.UnknownHostExceptionMESSAGE:[host-name]
Original link: http://www.hechunchen.info /? P = 15
We know that openfire plug-in development mainly involves three registration methods: 1) iqhandler (IQ handlers respond to IQ packets with a participant element name and namespace), 2) interceptor (packetinterceptor to receive all packets being send through the system and optionally reject them), 3) component (components receive all packets addressed to a participant sub-domain ).
Today, iqhandler i
First, make sure you've turned off the openfire.Open terminal (in application--utilities--)Enter the following commandsudo rm-rf/library/preferencepanes/openfire.prefpanesudo rm-rf/usr/local/openfiresudo rm-rf/library/launchdaemons/org.jivesoftware.openfire.plistThe first one will let you enter the administrator password, although you enter the time, the terminal will not display, do not worry, the correct input and press ENTER, it is executed.After three orders,
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.