Vcgoyo
Vcgoyo
I can't find the example how can i use redisson with spring-session as a spring-xml config this is my spring-xml Now I config redis-server twice and i must add spring-data-redis...
redisson底层使用了全异步的netty,那支持自定义设置调用链上下文吗
org.redisson.client.RedisException: Unexpected exception while processing command at org.redisson.command.CommandAsyncService.convertException(CommandAsyncService.java:353) at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:150) at org.redisson.RedissonObject.get(RedissonObject.java:90) at org.redisson.RedissonMap.get(RedissonMap.java:267) at org.redisson.spring.cache.RedissonCache.get(RedissonCache.java:73) at org.springframework.cache.interceptor.AbstractCacheInvoker.doGet(AbstractCacheInvoker.java:73) at org.springframework.cache.interceptor.CacheAspectSupport.findInCaches(CacheAspectSupport.java:554) at org.springframework.cache.interceptor.CacheAspectSupport.findCachedItem(CacheAspectSupport.java:519) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:401) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)...
使用egg-redis,egg-session-redis 将session存储在redis中,目前场景需要获取sessionid ,如果将session的encrypt设置为false后getcookie才能拿到sessionid,encrypt设置为true后getcookie就拿不到了,请问这个有解决方案吗~
egg中有设置应用上下文的地方吗,类似java端的context-path 比如设置contextpath为 webapp1,那所有路由的前面默认增加 webapp1/ 然后在增加反向代理后 nginx的location可以指向 webapp1/
## What happens? 业务需要在configWillLoad中动态的修改一些中间件的连接配置,我们将configWillLoad写在了一个独立的插件中,然后在应用组件引用该插件,同时应用层组件也引用了egg-redis,在应用层组件启动的时候发现,ioredis的初始化在configWillLoad之前 ,导致redis密码还未在configWillLoad中修改为正确的时候,redis就初始化了就报密码错误了 ``` 2019-01-14 10:53:41,438 INFO 7032 [master] node version v10.13.0 2019-01-14 10:53:41,441 INFO 7032 [master] egg version 2.14.2 2019-01-14 10:53:43,470 ERROR 6228 [egg-redis] client error: ReplyError:...
在同一个工程的测试类里边运行没问题,用maven的tomcat插件运行的时候会报如下错误 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [E:\JAVA\eclipse2017workplace\vcgo-manager\vcgo-manager-service\target\classes\spring\applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis/SqlMapConfig.xml];...
when the client connect to the server, I want get HttpSession in `onconnect` but now I just only get the client sessionID in shakehand , can I get the HttpSession?...
I user spring-session with redis,When I configure all , It don't work and I have a question then I don't kown whether because of the my spring version cause this...