Error when clicking on user/Group tab in the admin console

I am running openfire Openfire 3.10.0 on my ubuntu server and all seems to be working except for the fact that I can’t see the list of users subscribed to my server in the admin console.When I click on it I get this error:


Problem accessing /user-summary.jsp. Reason:

    Server Error

Caused by:

java.lang.NullPointerException: Domain cannot be null at org.xmpp.packet.JID.<init>( at org.jivesoftware.openfire.SessionManager.getActiveSessionCount( at org.jivesoftware.openfire.spi.PresenceManagerImpl.isAvailable( at org.jivesoftware.openfire.admin.user_002dsummary_jsp._jspService( at org.apache.jasper.runtime.HttpJspBase.service( at javax.servlet.http.HttpServlet.service( at org.eclipse.jetty.servlet.ServletHolder.handle( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage( at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.util.LocaleFilter.doFilter( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.admin.PluginFilter.doFilter( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.admin.AuthCheckFilter.doFilter( at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.eclipse.jetty.servlet.ServletHandler.doHandle( at org.eclipse.jetty.server.handler.ScopedHandler.handle( at at org.eclipse.jetty.server.session.SessionHandler.doHandle( at org.eclipse.jetty.server.handler.ContextHandler.doHandle( at org.eclipse.jetty.servlet.ServletHandler.doScope( at org.eclipse.jetty.server.session.SessionHandler.doScope( at org.eclipse.jetty.server.handler.ContextHandler.doScope( at org.eclipse.jetty.server.handler.ScopedHandler.handle( at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle( at org.eclipse.jetty.server.handler.HandlerCollection.handle( at org.eclipse.jetty.server.handler.HandlerWrapper.handle( at org.eclipse.jetty.server.Server.handle( at org.eclipse.jetty.server.HttpChannel.handle( at org.eclipse.jetty.server.HttpConnection.onFillable( at$ at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( at org.eclipse.jetty.util.thread.QueuedThreadPool$ at

This might be due to the fact that my server is not restarting correctly.This is what I have done

1.Installed the latest version of openfire(3.10.0) on my ubuntu 14.04 server
2.Configured it to use my public ip address as the domain (my resolvable domain wasn't available yet),I also configured it to use the mysql database located at the same public Ip address.Here all was working fine and my admin console was working fine.

3.When the resolvable domain became available ,I configured openfire to use it as the domain,
  The network.interface was the public Ip and I changed that to the resolvable domain I also adjusted the xmpp.domain to that domain.

4.I went and changed the interface tag to the public domain in the openfire.xml file and restarted openfire.

My users could still login ,and all the changes could be reflected in the database ,It is just the web admin that is not showing the user/Groups.It also says that there are no sessions when I have users actually loged in and exchanging messages.

I am issuing the

**./openfire restart **

in my terminal and it is saying that it has restarted.But when I log in in the web admin it says that for a few days(since my first clean install).

I would appreciate it if somebody helped point out what I might be doing wrong.

Thank you for your time.

I would try to rerun a setup and specify new domain name this way, than editing xmpp.domain part for an already setup server.

Stop the server, edit openfire.xml and change the last tag to false. Run Openfire and run the web setup again (it shouldn’t alter your database).