Spark im gateway icons

Just installed openfire and spark on a couple workstations (a few of us in IT). Enabled the IM Gateway icon and we are still not getting any gateway icons on our spark client v2.5.8, have also tried installing 2.5.7 with no change.

After you installed the IM Gateway Plugin you need to go back to the Server tab of the Openfire Admin page. Near the bottom of this page is a configuration area for the Gateways. Click on the settings and enable the Protocols you want. You can restrict access to certain users/groups as needed. Once this is done exit spark and relaunch it. The icons for the protocols you enabled should be visible.

This has been done. Permissions are “All users can register”

Are there any errors in the logs for spark or the server?

None in the client.

On a server restart with cleared logs i get:

line

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

2008.02.04 18:46:24

org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:111)

Failed to create new connections on startup. Attempt 0 of 3

java.sql.SQLException:

The database is already in use by another process:

org.hsqldb.persist.NIOLockFile@50bade09[file

=/opt/openfire/embedded-db/openfire.lck, exists=true, locked=false,

valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock

file /opt/openfire/embedded-db/openfire.lck is presumably locked by

another process.

at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

at org.hsqldb.jdbcDriver.connect(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at org.jivesoftware.database.ConnectionPool.createCon(ConnectionPool.java:443)

at org.jivesoftware.database.ConnectionPool.<init>(ConnectionPool.java:88)

at org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPr ovider.java:75)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:459)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:77)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:330)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:72)

at org.jivesoftware.util.JiveProperties$JivePropertyHolder.<clinit>(JiveProp erties.java:39)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:51)

at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:524)

at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:327)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:434)

at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:155)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:50)

What operating system is the server running on? Are there any firewalls on the system?

Centos 5. There is a firewall both locally and on the outgoing wan. However, the local firewall is set to allow all local subnet traffic. And the icons don’t appear on either WAN or LAN connection.

when doing a debug on the server, it appears that packets are being sent, ie

Received iq packet: <iq id=“t837o-32” to="aim.openfire…

aim: Sending packet: <iq type=“result” id=“t837o-32” from="aim.openfire…

Ok, this is too strange. I have done absolutely no changes to the config of the server and they just started working…

It’s as if they heard me talking about them. That’s just too strange.

I’ve have the exact same issue with two different users, one it majically began working for, the other is still missing the icons. I can manually register the user and their (in this case Yahoo) contacts all populate and they have full functionality. However the user still doesn’t have any of gateway the buttons to register themselves.

If I figure out the cause before it fixes itself I’ll post here.

p.s. Cool App, I did download the source, re-branded, and re-compiled so it’s not all apples to apples.

Did you guys ever figure out why the gateway icons would not appear? We’re running into a similar situation here: The icons don’t always appear when the Spark client is loaded. We are using a branded version of Spark 2.5.8 connection to Openfire 3.6.0a

Well. I think this is a bug of Spark. It was noticed by many users that sometimes it doesnt load icons, sometimes it swaps icons’ places, etc. Race conditions issue in soirce code maybe. What about 2.6.0 Beta 2?