I don’t know if I have the exact same problem as the OP, but I have the same configuration (openfire 3.4.5, embedded-db, asterisk-im 1.4) and I am unable to add a server to the Asterisk-IM plugin page.
On the Asterisk-IM tab, I click the Add Server link, fill in the correct data, press the Create Server button, and then nothing happens.
In the Info log I see this:
2008.04.23 14:55:52 Found old database version 0 for asterisk-im. Upgrading to version 2…
2008.04.23 14:55:52 Initializing phone plugin
2008.04.23 14:55:52 Initializing Asterisk Manager connection
2008.04.23 14:55:52 Started server (unencrypted) socket on port: 5269
2008.04.23 14:55:52 Started plain (unencrypted) socket on port: 5222
2008.04.23 14:55:52 Started SSL (encrypted) socket on port: 5223
2008.04.23 14:56:12 Connecting to 192.168.44.23:5038
2008.04.23 14:56:13 Connected via Asterisk Call Manager/1.0
2008.04.23 14:56:13 Successfully logged in
In the Warn log I see this:
2008.04.23 14:55:18 EXCEPTION
java.lang.NullPointerException
In the Error log I see this:
2008.04.23 14:56:12
org.jivesoftware.phone.database.DbPhoneDAO.insert(DbPhoneDAO.java:449)
Table not found in statement [INSERT INTO phoneServer (serverID,
serverName, hostname, port, username, password) VALUES (?, ?, ?, ?, ?,
?)]
java.sql.SQLException:
Table not found in statement [INSERT INTO phoneServer (serverID,
serverName, hostname, port, username, password) VALUES (?, ?, ?, ?, ?,
?)]
On on the Asterisk server console I see:
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Manager ‘openfire’ logged on from 192.168.44.22
Can someone please help?