There are too many IM servers which work with XMPP protocol. Some of them are paid/Enterprise and some of them are OpenSource.
We are using "Openfire" as a IM server for our projects. It is free, open source and java based. Except this advantages it has too many plugins which you can use for free. Openfire is a XMPP server and it has own client application with name "Spark".
You can simply install Openfire, then go to admin console (for example if your ip is 1.2.3.4 then admin page will be available as http://1.2.3.4:9090) and configure it to use with embedded database. But in a realtime you need to use your own databases as Oracle, PostgreSQL, MySQL and etc. for storing messages, settings and etc. Additionally you may need get users from your own/already existing database.
Lets note below informations which is useful:
- If your domain is im.handysofts.com => 1.2.3.4:5222 then all your user account id will look like myusername@im.handysofts.com (example: vasif@im.handysofts.com, admin@im.handysofts.com and etc.)
- If you want to reset Openfire confifuration and start again then do it as below
# /etc/init.d/openfire stop # vi /opt/openfire/conf/openfire.xml <setup>false</setup> # /etc/init.d/openfire start
- Log location is
/opt/openfire/logs/
For example /opt/openfire/logs/all.log is writes all actions errors, warn and etc. - All system properties are stored in ofproperty table and any changes will be affected after openfire restart
Login with default admin user (if you have specified password during config use it or default pass is admin) and start changing System Properties - add below system properties if you want to use your own/already existing user database (it means you have already registered users and you want allow them to login to your messaging server using the same username and passwords which already exists)
Note: we are using PostgreSQL 9.4 as a database
- jdbcProvider.driver=org.postgresql.Driver
- jdbc:postgresql://localhost:5432/mydb?useUnicode=true&characterEncoding=UTF-8&user=myuser&password=mypass
- provider.auth.className=org.jivesoftware.openfire.auth.JDBCAuthProvider
- provider.user.className=org.jivesoftware.openfire.user.JDBCUserProvider
- admin.authorizedJIDs=youradminuser@im.handysofts.com,oteradminusername@im.handysofts.com
- jdbcAuthProvider.passwordSQL=SELECT your_password_col FROM users WHERE your_username_col=?
- jdbcAuthProvider.passwordType=plain
- jdbcUserProvider.loadUserSQL=SELECT full_name_col, email FROM users WHERE your_username_col=?
- jdbcUserProvider.userCountSQL=SELECT COUNT(id_col) FROM users
- jdbcUserProvider.allUsersSQL=SELECT your_username_col FROM users
- jdbcUserProvider.searchSQL=SELECT your_username_col FROM users WHERE
- jdbcUserProvider.usernameField=your_username_col
- jdbcUserProvider.nameField=full_name_col
- jdbcUserProvider.emailField=email
If there will be something wrong with system properties and you will not be able to login using admin user then you can made changes on database (ofproperty table) and then restart Openfire try to login again
GOOD LUCK :)
Lucky Club Casino site - Lucky Club Casino
ReplyDeleteLucky Club Casino · Games · Promotions · Payment Methods · Customer Support · Security · Support · Contact Support · Support · Promotions · Support. Rating: 2.2 · 32 votes · Free · Android · luckyclub.live Entertainment
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download Now
ReplyDelete>>>>> Download Full
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download LINK
>>>>> Download Now
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download Full
>>>>> Download LINK 08
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download Now
ReplyDelete>>>>> Download Full
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download LINK
>>>>> Download Now
Vasif Mustafayev'S Blog: Openfire Custom Database Integration Steps >>>>> Download Full
>>>>> Download LINK zx