Skip navigation
245 Views 1 Reply Latest reply: Feb 15, 2012 1:30 PM by daniel RSS
onder Bronze 3 posts since
Sep 29, 2011
Currently Being Moderated

Feb 8, 2012 5:46 AM

Openfire Cluster Problem

Hi,

I have installed OpenFire 3.7.1 on two separate Windows 2008 R2 server. Java Version 6 update 30 (build 1.6.0_24-B07) installed. Both servers share the same database (SQL Server 2008) uses.

To have cluster between these two servers i have installed "Clustering Plugin 1.2.0".  For pre-request i have copied coherence-plugin work, coherence and tongosol files to "C:\Program Files(x86)\OpenFire\lib" directory.

I received the following error when i restart openfire. I would be glad if you could help me to solve the problem.

 

ERROR MESSAGE:

Exception:

java.lang.ExceptionInInitializerError

    at org.jivesoftware.openfire.lockout.LockOutManager.getInstance(LockOutManager.jav a:73)

    at org.jivesoftware.openfire.auth.AuthFactory.authenticate(AuthFactory.java:172)

    at org.jivesoftware.openfire.admin.login_jsp._jspService(login_jsp.java:149)

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

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

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

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

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

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

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

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

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

    at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

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

    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

    at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

    at org.eclipse.jetty.server.Server.handle(Server.java:334)

    at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

    at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

    at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.IllegalStateException: Unable to access backing cache for Locked Out Accounts. BackingMapManager is a com.tangosol.net.DefaultConfigurableCacheFactory$Manager and backing map is com.tangosol.net.cache.LocalCache

    at com.jivesoftware.util.cache.ClusteredCache.init(ClusteredCache.java:106)

    at com.jivesoftware.util.cache.ClusteredCache.(ClusteredCache.java:59)

    at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory.createCache(Coherenc eClusteredCacheFactory.java:177)

    at org.jivesoftware.util.cache.CacheFactory.createCache(CacheFactory.java:346)

    at org.jivesoftware.openfire.lockout.LockOutManager.(LockOutManager.java:85)

    at org.jivesoftware.openfire.lockout.LockOutManager.(LockOutManager.java:46)

    at org.jivesoftware.openfire.lockout.LockOutManager$LockOutManagerContainer.(LockO utManager.java:52)

    ... 37 more


Best regards..

  • daniel Bronze 30 posts since
    Feb 14, 2012
    Currently Being Moderated
    Feb 15, 2012 1:30 PM (in response to onder)
    Openfire Cluster Problem

    I have the same exact error please help ! I also updated to the Cluster 1.2.1beta and i am still getting the error. When you get you enable your cluster how do you make sure it sees the other node on that is in the cluster? I also have coherence 3.3 files in the openfire lib dir.

     

    Has anyone got 3.7.1 working in a cluster?

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points