Commit Graph

188 Commits (4f2a4b98111ea41ca4b566534b149e019877bf8a)

Author SHA1 Message Date
Nikita Koksharov 6531573603 Improvement - Tomcat Session recycle method implementation 6 years ago
Nikita Koksharov 79e03e13aa Fixed - Getting java.lang.ClassNotFoundException if same Redisson instance used in tomcat and application. #1668 6 years ago
Nikita Koksharov ae14dba2fc Fixed - RedissonSessionManager throws java.lang.ClassNotFoundException if readMode=MEMORY #1867 6 years ago
Nikita Koksharov 959fad1771 Fixed - Tomcat Session expires in Redis earlier than scheduled by Tomcat. #1861 6 years ago
Nikita Koksharov 4fbaa1bfeb Fixed - RedissonSession.getAttribute throws NPE #1859 6 years ago
Nikita Koksharov 20ef832ef6 Improvement - Tomcat Session key encoding changed to String 6 years ago
Nikita Koksharov ba6b9fdbfc Improvement - return null if session object couldn't be parsed. #1773 6 years ago
Nikita Koksharov fee8ca543a
Update README.md 6 years ago
Nikita Koksharov 4c897ea4ef [maven-release-plugin] prepare for next development iteration 6 years ago
Nikita Koksharov ace29bd74b [maven-release-plugin] prepare release redisson-2.15.0 6 years ago
Nikita Koksharov 53837c6fb5 Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov 5095cd7fa7 refactoring 6 years ago
Nikita Koksharov da3e103d4a
Update README.md 6 years ago
Nikita Koksharov c64e66a15a
Update README.md 6 years ago
Nikita Koksharov e4ba9eaf09 Feature - JndiRedissonFactory and JndiRedissonSessionManager added. #1819 6 years ago
Alex 98edad84b1 [tomcat] Apply `keyPrefix` to both session and top keys
I was testing out different codecs in different environments connected to the same redis instance.  I provided a different `keyPrefix` in `context.xml` to prevent one environment's codec from messing with another environment's session management.  However, since the `keyPrefix` is only applied to the session contents themselves and not the topic subscription, codec errors were still present and causing a lot of log spew.

I expected `keyPrefix` to apply not only to the session contents but also to the topic updates, so I'm publishing this PR to see if you guys agree.

Here are example of updates for two different codecs with two different `keyPrefix` BEFORE this commit is applied.
```+1544721052.037348 [0 10.0.1.184:40588] "publish" "redisson:tomcat_session_updates:" "{\"@class\":\"org.redisson.tomcat.AttributesPutAllMessage\",\"attrs\":{\"@class\":\"java.util.HashMap\",\"session:thisAccessedTime\":[\"java.lang.Long\",1544721052035],\"session:isNew\":true,\"session:lastAccessedTime\":[\"java.lang.Long\",1544721052035],\"session:maxInactiveInterval\":3600,\"session:isValid\":true,\"session:creationTime\":[\"java.lang.Long\",1544721052035]},\"nodeId\":\"a2a9d075-4b40-4ea4-a8f4-174cb8caaa08\",\"sessionId\":\"1D83362C925593187FB081FE63BD14D0\"}"```

```+1544721052.300687 [0 10.0.0.213:55652] "publish" "redisson:tomcat_session_updates:" "\xac\xed\x00\x05sr\x00*org.redisson.tomcat.AttributeUpdateMessage\x04\x81\x81\xaa!\xb5\xabE\x02\x00\x02L\x00\x04namet\x00\x12Ljava/lang/String;L\x00\x05valuet\x00\x12Ljava/lang/Object;xr\x00$org.redisson.tomcat.AttributeMessage_\xc4\xf5\xe6~\xa9v\xa3\x02\x00\x02L\x00\x06nodeIdq\x00~\x00\x01L\x00\tsessionIdq\x00~\x00\x01xpt\x00$178c19c3-a5d5-4152-bf99-72c5102c0addt\x00 1CAE476D1DCC75948E8DBD7BCA48FF16t\x00\rsession:isNewsr\x00\x11java.lang.Boolean\xcd r\x80\xd5\x9c\xfa\xee\x02\x00\x01Z\x00\x05valuexp\x00"```
6 years ago
Nikita Koksharov dfcf183fb9
Update README.md 6 years ago
Nikita Koksharov e81139d047 [maven-release-plugin] prepare for next development iteration 6 years ago
Nikita Koksharov ae049c26ea [maven-release-plugin] prepare release redisson-2.14.1 6 years ago
Nikita Koksharov 6c1eee987d
Update README.md 6 years ago
Nikita Koksharov 2a08edf2ff [maven-release-plugin] prepare for next development iteration 6 years ago
Nikita Koksharov 20dd4ad428 [maven-release-plugin] prepare release redisson-2.14.0 6 years ago
Nikita 9c69d25caf plugins updated 6 years ago
Nikita 731234707e Feature - multi type listeners support for RTopic object. #731 6 years ago
Nikita Koksharov 908391798c
Update README.md 6 years ago
Nikita 48197a918c [maven-release-plugin] prepare for next development iteration 6 years ago
Nikita d09e06cc7e [maven-release-plugin] prepare release redisson-2.13.2 6 years ago
Nikita Koksharov 4ecae48321
Merge pull request #1639 from akrepon/master
Fix tomcat session replication issue #1414
6 years ago
Nikita Koksharov ec0e79d3af
Update README.md 6 years ago
Yasin Koyuncu c0e06ec39f Restore headers 6 years ago
Yasin Koyuncu 30f361b775 Fix tomcat session replication issue #1414 6 years ago
Nikita 2b08f0bb92 [maven-release-plugin] prepare for next development iteration 6 years ago
Nikita 6447a3af9f [maven-release-plugin] prepare release redisson-2.13.1 6 years ago
Nikita f65b54404a [maven-release-plugin] prepare for next development iteration 7 years ago
Nikita 3a28b43bcf [maven-release-plugin] prepare release redisson-2.13.0 7 years ago
Nikita 98c601fc1d version fixed 7 years ago
Nikita 787246b0b5 [maven-release-plugin] prepare for next development iteration 7 years ago
Nikita 951d22640b [maven-release-plugin] prepare release redisson-2.13 7 years ago
Nikita Koksharov 8712c7dd07
Update README.md 7 years ago
Nikita Koksharov e3db943b10
Update README.md 7 years ago
Nikita Koksharov 2e8ead7159
Update README.md 7 years ago
Nikita Koksharov b97d4088b0
Update README.md 7 years ago
Nikita Koksharov 2536f5f630
Update README.md 7 years ago
Nikita c6269509c7 refactoring 7 years ago
Nikita 43765f94de Spring Data module added. #1373 7 years ago
Nikita d5e0e6e97e MessageListener method signature fixed 7 years ago
Nikita Koksharov fa36e30438
Update README.md 7 years ago
Nikita 4b828a6cb6 [maven-release-plugin] prepare for next development iteration 7 years ago
Nikita c1968b1cba [maven-release-plugin] prepare release redisson-2.12.5 7 years ago
Nikita Koksharov 7d7da2dc07
Update README.md 7 years ago