KEYALTER error with Wildfire and Asterisk

I am running Wildfire 3.0.0 (Linux server) with Spark 1.1.4 (Linux and Windows) and I am getting the error messages below. I am also using Wildfire with the Asterisk-IM plugin. After my Spark clients start up, a call from one extension to another shows a user “on the phone”, and their presence status correctly goes back to “Online”. When a call is made again between extensions, the presence status changes to “on the phone” and doesn’'t go back to “Online” at all. What could be wrong? Any help is appreciated.

2006.07.08 12:19:22 org.jivesoftware.database.SchemaManager.checkSchema(

java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘‘KEYALTER TABLE jivePrivate MODIFY username VARCHAR(64)’’ at line 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(

at com.mysql.jdbc.MysqlIO.sendCommand(

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(

at com.mysql.jdbc.Connection.execSQL(

at com.mysql.jdbc.Connection.execSQL(

at com.mysql.jdbc.Statement.execute(

at org.jivesoftware.database.SchemaManager.executeSQLScript( )

at org.jivesoftware.database.SchemaManager.checkSchema(

at org.jivesoftware.database.SchemaManager.checkWildfireSchema( 69)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio

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

at org.jivesoftware.util.JiveProperties.loadProperties(

at org.jivesoftware.util.JiveProperties.init(

at org.jivesoftware.util.JiveProperties.(

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.wildfire.starter.ServerStarter.start(

at org.jivesoftware.wildfire.starter.ServerStarter.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

Hey gambol,

The mysql error is unrelated to the asterisk presence problem. To manual fix the sql problem edit resources\database\upgrade\9\wildfire_mysql.sql and add a ; at the end of line 8. This is how things should look like:


ALTER TABLE jivePrivate MODIFY username VARCHAR(64);

Regarding the asterisk-im plugin we need to fix that problem.


– Gato