
tomcat
文章平均质量分 76
killer-leon
做过日活千万级uv的互联网产品,精通各种Java框架,SpringBoot,SpringCould,SSH,Jfinal等,熟悉各种数据库Mysql,Sqlserver,Postgresql,Oracle,redis等等,欢迎交流!!!
展开
-
一个服务器搭多个tomcat导致session丢失,或者同一个IP不同端口,多个应用的session会冲突解决方法
一个服务器上搭建了多个tomcat或者weblogic,端口不一样,同时启动访问时session丢失。如:A,B两个服务,在浏览器中登录访问A后,当前打开的浏览器上在开一个选项卡访问B服务后,回过来点击访问A时session丢失,需要重新登录A才可以访问。经过资料查找,发现问题是因为:IP相同认为是同一个域,接收了B的set-cookie指令,把对应的cookie内容覆盖了,其中包括jsessio原创 2016-03-03 09:40:18 · 4693 阅读 · 2 评论 -
linux下重新启动tomcat
在Linux系统下,重启Tomcat使用命令操作的!首先,进入Tomcat下的bin目录cd /usr/local/tomcat/bin使用Tomcat关闭命令./shutdown.sh查看Tomcat是否以关闭ps -ef|grep java如果显示以下相似信息,说明Tomcat还没有关闭root 7010原创 2016-03-09 13:55:53 · 622 阅读 · 0 评论 -
tomat上使用redis共享session
tomat上使用redis共享session,使用 Redis 服务器来存储Session非常有优势。首先它是一个NOSQL数据,第二它很容易扩展使用原创 2016-03-04 10:31:44 · 935 阅读 · 0 评论 -
linux tomcat日志查看实用命令
linux tomcat日志查看实用命令原创 2016-08-30 11:31:36 · 6449 阅读 · 0 评论 -
tomcat性能提升3倍不是梦
tomcat性能提升,tomcat性能优化原创 2016-12-09 16:15:53 · 1899 阅读 · 0 评论 -
linux查看tomcat日志
linux查看tomcat日志原创 2017-03-30 11:37:54 · 1166 阅读 · 0 评论 -
tomcat启动慢, Creation of SecureRandom instance for session ID generation using [SHA1PRNG]took [xx] mil
tomcat启动慢,熵池阻塞变慢详解, Creation of SecureRandom instance for session ID generation using [SHA1PRNG]took [xx] milliseconds原创 2017-01-04 22:16:26 · 64569 阅读 · 18 评论 -
eclipse远程调试tomcat
eclipse设置远程调试tomcat新建jpda.bat文件,将jpda.bat放在远程tomcat bin下面jpda.bat内容如下@echo offrem Licensed to the Apache Software Foundation (ASF) under one or morerem contributor license agreements. See the NOTICE file dist原创 2016-02-19 18:08:53 · 1364 阅读 · 1 评论 -
Spring Session + Redis实现分布式Session共享
Spring Session + Redis实现分布式Session共享org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in org.springframework.session.data.redis.config.annotation.web.http.RedisHttp原创 2017-08-28 20:09:09 · 2298 阅读 · 0 评论