经过测试之后,发现是tomcat中redis相关jar包问题,替换jar包后A产品运行正常。

tomcat/lib目录下将commons-pool2-2.1.jar、jedis-2.1.0.jar、tomcat-redis-session-manager-1.1.jar包删除,重新加入commons-pool2-2.2.jar、jedis-2.7.2.jar、tomcat-redis-session-manage-tomcat7.jar包。

修改tomcat/conf目录下context.xml文件中配置信息,添加:

<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />

 <Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"

                  host="192.168.0.7" port="6379" database="0" maxInactiveInterval="60" />

 

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-06-18
  • 2021-06-08
  • 2022-02-05
  • 2021-07-06
猜你喜欢
  • 2021-05-15
  • 2022-12-23
  • 2021-11-16
  • 2017-11-27
相关资源
相似解决方案