[英]How to configure Tomcat6 to listen to 2 IPs (actual as well as virtual)
[英]How to use redis or memcached to configure tomcat6 or 7 sharing session?
我想使用redis或memcached來配置tomcat 6或7共享會話,但是我總是配置失敗。 當我使用memcached時,它說:java.lang.VerifyError:class de.javakaffee.web.msm.MemcachedBackupSessionManager覆蓋最終方法init。()V,當我使用Redis時,它說:java.lang.NoClassDefFoundError:org / apache / commons / pool / impl / GenericObjectPool $ Config。
是否有人成功配置了此功能? 請幫助我,告訴我您的配置文件,非常感謝!
java.lang.NoClassDefFoundError:org/apache/commons/pool/impl/GenericObjectPool$Config
那是一個類路徑問題; 您是否為Apache Commons配置了此依賴項?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.