Unable to set admin password during install

Hello:

I’‘m trying to install wildfire 2.4.4 in a linux box using MySQL. I have done this before so I didn’‘t expected any trouble but I’'m unable to make it work this time.

I go with the normal setup just fine until I reach the administrator password section. There I write the old and new password and I get this error as a response: “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 I get is this: “Could not find UserManager” in stderror.log

If I skip this step and try to log using admin/admin y get this exceptions in error.log:

2006.02.13 19:38:54 org.jivesoftware.util.JiveProperties.insertProperty(JiveProperties.java:214)

java.sql.SQLException: Duplicate entry ‘’’’ for key 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.ja va:1124)

at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement. java:676)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)

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:639)

at org.jivesoftware.wildfire.admin.setup.setup_002dfinished_jsp.jspService(setup 002dfinished_jsp.java:76)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

2006.02.13 19:38:54 org.jivesoftware.util.JiveProperties.insertProperty(JiveProperties.java:214)

java.sql.SQLException: Duplicate entry ‘’’’ for key 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.ja va:1124)

at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement. java:676)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)

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:639)

at org.jivesoftware.wildfire.SessionManager.(SessionManager.java:147)

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.XMPPServer.loadModule(XMPPServer.java:428)

at org.jivesoftware.wildfire.XMPPServer.loadModules(XMPPServer.java:384)

at org.jivesoftware.wildfire.XMPPServer.access$300(XMPPServer.java:81)

at org.jivesoftware.wildfire.XMPPServer$1.run(XMPPServer.java:311)

2006.02.13 19:38:54 org.jivesoftware.util.JiveProperties.insertProperty(JiveProperties.java:214)

java.sql.SQLException: Duplicate entry ‘’’’ for key 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.ja va:1124)

at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement. java:676)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)

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:639)

at org.jivesoftware.wildfire.muc.HistoryStrategy.setType(HistoryStrategy.java:116)

at org.jivesoftware.wildfire.muc.HistoryStrategy.setTypeFromString(HistoryStrategy .java:237)

at org.jivesoftware.wildfire.muc.HistoryStrategy.setContext(HistoryStrategy.java:2 50)

at org.jivesoftware.wildfire.muc.spi.MultiUserChatServerImpl.initialize(MultiUserC hatServerImpl.java:675)

at org.jivesoftware.wildfire.XMPPServer.initModules(XMPPServer.java:441)

at org.jivesoftware.wildfire.XMPPServer.access$400(XMPPServer.java:81)

at org.jivesoftware.wildfire.XMPPServer$1.run(XMPPServer.java:313)

Anyone has any ideas about what the problem is?

Well, it seems it is a problem with the database. It worked fine when I used the mysql databse installed in another server.

Anyway I’‘d suggest the message “Could not find UserManager” should be changed for something more useful, for example printStacktrace(e). I did this change myself and then I realized the problem was a UserNotFoundException because the UserProvider could not read the database correctly (I still don’'t know why this happens)

Regards

Jorge