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.

Scenario:

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:

conf

embedded-db

plugins

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:

HTTP ERROR: 500

INTERNAL_SERVER_ERROR

RequestURI=/index.jsp

Caused by:

java.lang.IncompatibleClassChangeError
     at org.jivesoftware.openfire.admin.index_jsp._jspService(index_jsp.java:415)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:66)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:42)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:70)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:99)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
     at org.mortbay.jetty.Server.handle(Server.java:324)
     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) 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.