2013年7月28日星期日

openfire + coherence distributed cluster issue

coherence problem with openfire distributed cluster

with openfire realize the communication between the server and want to use the oracle coherence
follows
1. use coherence3.3 + openfire3.7.1 + clustering.jar1.2.0
2. would coherence3.3 the three jar package coherence.jar + coherence-work.jar + tangosol.jar openfire copied to the lib directory under the installation
3. openfire will clustering.jar copied to the installation directory of the plug-in plugin package
4. restart the service, log in to the web administration console, set enable clustering directory
5. then restart the service, log management console, the initialization error exception

initially suspected that coherence is not compatible with the version of openfire, then tried coherence3.7.1, coherence3.6.1, coherence3.5, coherence3.4 with openfire3.7.1, openfire3.6.4 various permutations and combinations
were reported abnormal.

help you heroes friends ~ ~ ~ ~ ~
yangyangcwu@163.com
------ Solution ------------------------------- -------------
Oh, solves You can turn off this post a
----- - For reference only ---------------------------------------
exceptions are as follows:
java.lang.ExceptionInInitializerError
at org.jivesoftware.openfire.lockout.LockOutManager.getInstance (LockOutManager.java: 58)
at org.jivesoftware.openfire.auth.AuthFactory.authenticate (AuthFactory.java: 154)
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.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.doFilter (PageFilter.java: 39)
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: 146)
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.content (HttpConnection.java: 843)
at org.mortbay.jetty.HttpParser.parseNext (HttpParser.java: 648)
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)
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 (CoherenceClusteredCacheFactory.java: 177)
at org.jivesoftware.util.cache.CacheFactory.createCache (CacheFactory.java: 331)
at org.jivesoftware.openfire.lockout.LockOutManager. (LockOutManager.java: 70)
at org.jivesoftware.openfire.lockout.LockOutManager. (LockOutManager.java: 33)
at org.jivesoftware.openfire.lockout.LockOutManager $ LockOutManagerContainer. (LockOutManager.java: 37)
... 33 more

------ For reference only ---------------------------------- -----
solved yet? I am here clustering plugin is installed does not display
------ For reference only ----------------------------- ----------
landlord how to solve it, I encountered your problem, please help! ! !
------ For reference only -------------------------------------- -
same question, how to solve ...
------ For reference only ------------------------- --------------
recent years, there was a bad atmosphere, ie, when they encounter problems in csdn to mention, when he accidentally let a solution, only to come: I solved the. Other nothing left, seems to be telling everyone he was cattle. It is a lack of respect for others and do not know who to share with others.
------ For reference only -------------------------------------- -
in the management console does not show the cluster plug should be clustered plugin version is not compatible. I also encountered this problem, for a version.
------ For reference only -------------------------------------- -
buddies silent on the second floor, to solve the problem does not appear to share, I rub!

1 条评论:

  1. Thank you, I'm still somewhat confused though have an outline of what you mean

    回复删除