Sparkweb is web-based XMPP client used to connect to your XMPP server like Openfire.
To install and configure sparkweb first of all you must have your openfire server installed and running successfully to achieve the goal. It can be used to test chat functionality, in Web browser.

Sparkweb should be installed on the same server where you are running Openfire server.

1. To Download Sparkweb : http://www.igniterealtime.org/projects/sparkweb/

2. Extract the Downloaded folder like below:

# tar -zxvf sparkweb_*

3. You will get a directory called sparkweb go inside the directory

# cd sparkweb

4. Rename the Sparkweb.html to index.html like below:

# mv Sparkweb.html index.html

5. Now Edit the index.html file

# vim index.html

Find this section & edit like this [ Most probably, #Line 32 ]

.....
 server: "192.168.1.39", <--------Your server IP 
 connectionType: "socket",
 port: "5222",
 autoLogin: "false",
 policyFileURL: "xmlsocket://192.168.1.39:5229" <---Add this line here 
.....

Save & exit the file.

6. Now copy the whole sparkweb Directory inside Openfire WebApp Directory.

# cp -r sparkweb/ /opt/openfire/plugins/admin/webapp/

7. Now change the ownership and permission:

# cd/opt/openfire/plugins/admin/webapp/
# chmod -R 777 sparkweb
# chown -R daemon:daemon sparkweb

8. Finally try to access from Browser like below:

http://192.168.1.39:9090/sparkweb <---- Change the IP as per your network

Dhaval Baraiya

Believe in a Happier future >> | Stay Positive! (happy)

You may also like

Leave a Reply