Hi,
I did a upgrade from Mandriva 2005LE to 2006.0 this weekend. It went fairly well, and almost everything seems to be working correctly. Except Jive Messenger…
After the upgrade, Messenger ran fine, but wouldn’'t let anybody log in either by Psi or the Admin Console. So, I tried a little bit of troubleshooting.
First I checked to make sure my jive_messenger database was all fine and MySQL was happy – no problems there.
Next, I made sure my Java was fine and the MySQL connector was installed. All good.
Next, I re-installed all the Messenger files except for the jive-messenger.xml file. Still no access.
Next, I ran ethereal to make sure Messenger was talking to MySQL, and it was.
Next, I nuked and recreated my MySQL database. Still no ability to log in with admin:admin. And, yes, the database can be accessed by knoda as user jive, and looks fine.
Finally, I copied over the default jive-messenger.xml file and tried to setup again. Everything is fine up to Administrator Account – it gives the error, “There was an unexpected error encountered when setting the new admin information. Please check your error logs and try to remedy the problem.”. The only error that I can find in the logs is, “Could not find UserManager”. I’'ve also gotten an error:
2005.10.31 02:12:30 org.jivesoftware.util.JiveProperties.insertProperty(JiveProperties.java:214)
java.sql.SQLException: Duplicate entry ‘’’’ for key 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2926)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.ja va:1120)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement. java:675)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1162)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1079)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1064)
at org.jivesoftware.util.JiveProperties.insertProperty(JiveProperties.java:211)
at org.jivesoftware.util.JiveProperties.put(JiveProperties.java:191)
at org.jivesoftware.util.JiveGlobals.setProperty(JiveGlobals.java:635)
at org.jivesoftware.messenger.muc.HistoryStrategy.setType(HistoryStrategy.java:115 )
at org.jivesoftware.messenger.muc.HistoryStrategy.setTypeFromString(HistoryStrateg y.java:228)
at org.jivesoftware.messenger.muc.HistoryStrategy.setContext(HistoryStrategy.java: 241)
at org.jivesoftware.messenger.muc.spi.MultiUserChatServerImpl.initialize(MultiUser ChatServerImpl.java:665)
at org.jivesoftware.messenger.XMPPServer.initModules(XMPPServer.java:368)
at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:275)
at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:133)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jivesoftware.messenger.starter.ServerStarter.start(ServerStarter.java:82)
at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)
while trying to log in the Admin Console.
I’‘ve been banging my head on this problem for a while, and it’‘s quite late here (so if stuff doesn’‘t make sense, that’'s why). So, any pointers on how to troubleshoot further would be very much appreciated!
Cliff