2021-02-04 13:46
可以设置的,
UndertowServer undertowServer = UndertowServer.create(AppConfig.class).configWeb(builder -> {
.........
// 设置SESSIONID
ServletSessionConfig servletSessionConfig = new ServletSessionConfig();
servletSessionConfig.setMaxAge(3600);
servletSessionConfig.setName("TEST-SESSIONID");
builder.getDeploymentInfo().setServletSessionConfig(servletSessionConfig);
});
2019-06-10 19:39
@happyboy 编译环境、运行环境都检查排除了,用了几个小时还是没有找到原因。无赖中百度搜索一下就到这个帖子了。麻烦@jfianl 给排查处理一下啦。谢谢!
2019-06-10 19:09
今天下午升级系统发现类似问题
2019/06/10 18:54:34.034 [DEBUG] com.jfinal.proxy.ProxyGenerator -
Generate proxy class "com.lingweitech.fw.common.counter.event.CounterGroupWriteEventListener$$EnhancerByJFinal":
package com.lingweitech.fw.common.counter.event;
import com.jfinal.aop.Invocation;
public class CounterGroupWriteEventListener$$EnhancerByJFinal extends CounterGroupWriteEventListener {
public void doEvent(com.lingweitech.fw.common.counter.event.CounterGroupWriteEvent p0) {
Invocation inv = new Invocation(this, 1L,
args -> {
CounterGroupWriteEventListener$$EnhancerByJFinal.super.doEvent(
(com.lingweitech.fw.common.counter.event.CounterGroupWriteEvent)args[0]
);
return null;
}
, p0);
inv.invoke();
}
}
2019/06/10 18:54:35.035 [ERROR] com.jfinal.proxy.ProxyCompiler - /CounterGroupWriteEventListener$$EnhancerByJFinal.java:3: 错误: 程序包com.jfinal.aop不存在
import com.jfinal.aop.Invocation;
^
2019/06/10 18:54:35.035 [ERROR] com.jfinal.proxy.ProxyCompiler - /CounterGroupWriteEventListener$$EnhancerByJFinal.java:4: 错误: 找不到符号
public class CounterGroupWriteEventListener$$EnhancerByJFinal extends CounterGroupWriteEventListener {
^
符号: 类 CounterGroupWriteEventListener
2019/06/10 18:54:35.035 [ERROR] com.jfinal.proxy.ProxyCompiler - /CounterGroupWriteEventListener$$EnhancerByJFinal.java:6: 错误: 找不到符号
public void doEvent(com.lingweitech.fw.common.counter.event.CounterGroupWriteEvent p0) {
^
符号: 类 CounterGroupWriteEvent
位置: 程序包 com.lingweitech.fw.common.counter.event
2019/06/10 18:54:35.035 [ERROR] com.jfinal.proxy.ProxyCompiler - /CounterGroupWriteEventListener$$EnhancerByJFinal.java:7: 错误: 找不到符号
Invocation inv = new Invocation(this, 1L,
^
符号: 类 Invocation
位置: 类 com.lingweitech.fw.common.counter.event.CounterGroupWriteEventListener$$EnhancerByJFinal
2019/06/10 18:54:35.035 [ERROR] com.jfinal.proxy.ProxyCompiler - /CounterGroupWriteEventListener$$EnhancerByJFinal.java:7: 错误: 找不到符号
Invocation inv = new Invocation(this, 1L,
^
符号: 类 Invocation
位置: 类 com.lingweitech.fw.common.counter.event.CounterGroupWriteEventListener$$EnhancerByJFinal