Admin Web Interface Broken After Upgrade

Problem: Web interface doesn’t work after upgrade. This is unfortunate, because I like Openfire a lot and want to stroke its webby buttons and stuff.


Openfire 3.6.0 installed from .deb package onto Ubuntu 8.04 box running Java 1.5.0-15-0ubuntu1.

The following directories were copied from the previous installation of Openfire (version 3.3.0, manually installed from a tgz and quite happily running and the web interface worked) and chowned to openfire.openfire:




and the keystore and truststore files were copied and chowned to the resources directory.

Software starts OK and users can log in and chat.

Going to host:9090 produces the login page, and I log in, and kablooie, I get this:




Caused by:

     at org.jivesoftware.openfire.admin.index_jsp._jspService(
     at org.apache.jasper.runtime.HttpJspBase.service(
     at javax.servlet.http.HttpServlet.service(
     at org.mortbay.jetty.servlet.ServletHolder.handle(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at org.jivesoftware.util.LocaleFilter.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at org.jivesoftware.admin.PluginFilter.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
     at org.mortbay.jetty.servlet.ServletHandler.handle(
     at org.mortbay.jetty.servlet.SessionHandler.handle(
     at org.mortbay.jetty.handler.ContextHandler.handle(
     at org.mortbay.jetty.webapp.WebAppContext.handle(
     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
     at org.mortbay.jetty.handler.HandlerCollection.handle(
     at org.mortbay.jetty.handler.HandlerWrapper.handle(
     at org.mortbay.jetty.Server.handle(
     at org.mortbay.jetty.HttpConnection.handleRequest(
     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
     at org.mortbay.jetty.HttpParser.parseNext(
     at org.mortbay.jetty.HttpParser.parseAvailable(
     at org.mortbay.jetty.HttpConnection.handle(
     at org.mortbay.thread.QueuedThreadPool$ I have no Java chops at all, so this message pretty much says "rhubarb, rhubarb, rhubarb" to me.

I'd appreciate a shove in the right direction towards resolving this.

The problem may be in the order that you copied the directories. Openfire 3.6 is radically different and performs various upgrades to those directories at install. You probably have outdated files now. I would force a reinstall.

I copied the directories after installing the software but before starting it.

When you say “force a reinstall”, do you mean “dpkg -i openfire_3.6.0.deb” or do you mean to start Openfire in a particular way, so that it does the Upgrade Magic on the files?

I meant dpkg -i openfire_3.6.0.deb

You get the cookie!

Thanks for a concise and correct answer. I’m licking the web admin interface right now.