shjung hace 1 año
padre
commit
41867327fe

+ 24 - 0
app-install/logs/packet/VMS-0020.log

@@ -0,0 +1,24 @@
+[2023-11-28 23:41:22.129] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xec7e7670, L:/192.168.10.11:30200 - R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:23.129] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xff31b116, L:/192.168.10.11:30200 - R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:24.114] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x6fc20d62, L:/192.168.10.11:30200 - R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:25.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x3892ecc8, L:/192.168.10.11:30200 - R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:26.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x7f33d8a1, L:/192.168.10.11:30200 - R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:27.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xce0ae980, L:/192.168.10.11:30200 - R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:28.114] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x6db582b7, L:/192.168.10.11:30200 - R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:29.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x337a3c97, L:/192.168.10.11:30200 - R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]

+ 24 - 0
app-install/logs/packet/VMS-0030.log

@@ -0,0 +1,24 @@
+[2023-11-28 23:41:21.816] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x1ccd7491, L:/192.168.10.11:30200 - R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.848] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.864] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:22.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xcd78117b, L:/192.168.10.11:30200 - R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:23.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xe1e03839, L:/192.168.10.11:30200 - R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:24.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x005f8523, L:/192.168.10.11:30200 - R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:25.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xcbe6604e, L:/192.168.10.11:30200 - R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:26.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x4ba86b71, L:/192.168.10.11:30200 - R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:27.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xbbf4412d, L:/192.168.10.11:30200 - R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:28.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xc1613a63, L:/192.168.10.11:30200 - R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]

+ 47 - 23
app-install/logs/packet/vms-packet.log

@@ -1,23 +1,47 @@
-[2023-11-07 17:53:28.170] [INFO ] TcpServerRecvDataProcess.run: Start.
-[2023-11-07 17:53:28.193] [INFO ] TcpServerRecvDataProcess.Task: 0
-[2023-11-07 17:53:28.195] [INFO ] TcpServerRecvDataProcess.Task: 1
-[2023-11-07 17:53:28.195] [INFO ] TcpServerRecvDataProcess.Task: 2
-[2023-11-07 17:53:28.196] [INFO ] TcpServerRecvDataProcess.Task: 3
-[2023-11-07 17:53:28.196] [INFO ] TcpServerRecvDataProcess.Task: 4
-[2023-11-07 17:53:28.197] [INFO ] TcpServerRecvDataProcess.Task: 5
-[2023-11-07 17:53:28.197] [INFO ] TcpServerRecvDataProcess.Task: 6
-[2023-11-07 17:53:28.198] [INFO ] TcpServerRecvDataProcess.Task: 7
-[2023-11-07 17:53:28.203] [INFO ] TcpServerRecvDataProcess.run: ..End.
-[2023-11-07 17:53:29.995] [INFO ] TcpServerReqDataProcess[1001].run: Start.
-[2023-11-07 17:53:29.997] [INFO ] TcpServerReqDataProcess[1002].run: Start.
-[2023-11-07 17:53:29.999] [INFO ] TcpServerReqDataProcess[1003].run: Start.
-[2023-11-07 17:53:30.000] [INFO ] TcpServerReqDataProcess[1004].run: Start.
-[2023-11-07 17:53:45.774] [INFO ] 서버가 윈도우 NIO 모드에서 실행됩니다.
-[2023-11-07 17:53:45.922] [INFO ] *********************************************************************************
-[2023-11-07 17:53:45.923] [INFO ] **                    VMS Communication Server Information                    **
-[2023-11-07 17:53:45.923] [INFO ] **     bindAddress: 0.0.0.0
-[2023-11-07 17:53:45.924] [INFO ] **      listenPort: 30200
-[2023-11-07 17:53:45.924] [INFO ] **         backlog: 64
-[2023-11-07 17:53:45.924] [INFO ] **   acceptThreads: 16
-[2023-11-07 17:53:45.925] [INFO ] **   workerThreads: 16
-[2023-11-07 17:53:45.925] [INFO ] *********************************************************************************
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.run: Start.
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 0
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 1
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 2
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 3
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 4
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 5
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 6
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 7
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 8
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 9
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 10
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 11
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 12
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 13
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 14
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 15
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.run: ..End.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1001].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1002].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1003].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1004].run: Start.
+[2023-11-28 23:41:20.879] [INFO ] 서버가 윈도우 NIO 모드에서 실행됩니다.
+[2023-11-28 23:41:20.988] [INFO ] *********************************************************************************
+[2023-11-28 23:41:20.988] [INFO ] **                    VMS Communication Server Information                    **
+[2023-11-28 23:41:20.988] [INFO ] **     bindAddress: 0.0.0.0
+[2023-11-28 23:41:20.988] [INFO ] **      listenPort: 30200
+[2023-11-28 23:41:21.004] [INFO ] **         backlog: 64
+[2023-11-28 23:41:21.004] [INFO ] **   acceptThreads: 32
+[2023-11-28 23:41:21.004] [INFO ] **   workerThreads: 32
+[2023-11-28 23:41:21.004] [INFO ] *********************************************************************************
+[2023-11-28 23:41:21.816] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:22.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:22.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:23.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:23.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:24.114] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:24.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:25.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:25.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:26.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:26.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:27.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:27.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:28.114] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:28.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:29.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.

+ 136 - 70
app-install/logs/vms-comm-server.err.log

@@ -1,70 +1,136 @@
-[2023-11-07 17:51:30.198] [                          main] [ERROR]         c.its.vms.config.ApplicationConfig.init                 142804 
-dddddddddddddddddddddddddddddddddd: 192.168.20.13
-[2023-11-07 17:51:34.834] [                          main] [ERROR]                 o.s.boot.SpringApplication.reportFailure        142804 
-Application run failed
-java.lang.IllegalStateException: Failed to execute CommandLineRunner
-	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:811)
-	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:792)
-	at org.springframework.boot.SpringApplication.run(SpringApplication.java:346)
-	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
-	at com.its.vms.VmsCommServerApplication.main(VmsCommServerApplication.java:74)
-	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.lang.reflect.Method.invoke(Method.java:483)
-	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
-	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
-	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
-	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
-Caused by: java.lang.NullPointerException: null
-	at com.its.vms.ui.SubUI.<init>(SubUI.java:89)
-	at com.its.vms.ui.SubUIController$1.<init>(SubUIController.java:24)
-	at com.its.vms.ui.SubUIController.<init>(SubUIController.java:24)
-	at com.its.vms.ui.MainUI.<init>(MainUI.java:111)
-	at com.its.vms.VmsCommServerApplication.run(VmsCommServerApplication.java:94)
-	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:808)
-	... 12 common frames omitted
-[2023-11-07 17:51:34.843] [                          main] [ERROR]         c.its.vms.VmsCommServerApplication.onApplicationEvent   142804 
-Application Terminated: 1699347094841
-[2023-11-07 17:51:39.901] [                          main] [ERROR]        com.its.vms.service.UnitSystService.destroyService       142804 
-UnitSystService.destroy. system terminated.......
-[2023-11-07 17:52:21.808] [                          main] [ERROR]         c.its.vms.config.ApplicationConfig.init                 193328 
-dddddddddddddddddddddddddddddddddd: 192.168.20.13
-[2023-11-07 17:52:25.431] [                          main] [ERROR]                 o.s.boot.SpringApplication.reportFailure        193328 
-Application run failed
-java.lang.IllegalStateException: Failed to execute CommandLineRunner
-	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:811)
-	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:792)
-	at org.springframework.boot.SpringApplication.run(SpringApplication.java:346)
-	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
-	at com.its.vms.VmsCommServerApplication.main(VmsCommServerApplication.java:74)
-	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.lang.reflect.Method.invoke(Method.java:483)
-	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
-	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
-	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
-	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
-Caused by: java.lang.NullPointerException: null
-	at com.its.vms.ui.SubUI.<init>(SubUI.java:89)
-	at com.its.vms.ui.SubUIController$1.<init>(SubUIController.java:24)
-	at com.its.vms.ui.SubUIController.<init>(SubUIController.java:24)
-	at com.its.vms.ui.MainUI.<init>(MainUI.java:111)
-	at com.its.vms.VmsCommServerApplication.run(VmsCommServerApplication.java:94)
-	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:808)
-	... 12 common frames omitted
-[2023-11-07 17:52:25.435] [                          main] [ERROR]         c.its.vms.VmsCommServerApplication.onApplicationEvent   193328 
-Application Terminated: 1699347145434
-[2023-11-07 17:52:28.301] [                          main] [ERROR]        com.its.vms.service.UnitSystService.destroyService       193328 
-UnitSystService.destroy. system terminated.......
-[2023-11-07 17:53:22.524] [                          main] [ERROR]         c.its.vms.config.ApplicationConfig.init                 134924 
-dddddddddddddddddddddddddddddddddd: 192.168.20.13
-[2023-11-07 17:53:45.327] [                          main] [ERROR]         c.its.vms.service.VmsManageService.lambda$makeVmsProvideForm$45 134924 
-VmsManageService.makeVmsProvideForm: No Traffic: VMS(1001), FormId(10002), Req 1, Set 0.
-[2023-11-07 17:53:45.329] [                          main] [ERROR]         c.its.vms.service.VmsManageService.lambda$makeVmsProvideForm$45 134924 
-VmsManageService.makeVmsProvideForm: No Traffic: VMS(1002), FormId(10002), Req 1, Set 0.
-[2023-11-07 17:53:45.331] [                          main] [ERROR]         c.its.vms.service.VmsManageService.lambda$makeVmsProvideForm$45 134924 
-VmsManageService.makeVmsProvideForm: No Traffic: VMS(1003), FormId(10002), Req 1, Set 0.
-[2023-11-07 17:53:45.332] [                          main] [ERROR]         c.its.vms.service.VmsManageService.lambda$makeVmsProvideForm$45 134924 
-VmsManageService.makeVmsProvideForm: No Traffic: VMS(1004), FormId(10002), Req 1, Set 0.
+[2023-11-28 23:41:20.769] [                          main] [ERROR]         c.its.vms.service.VmsManageService.loadVmsDsplTrafSchedule 5912 
+VmsManageService.loadVmsDsplTrafSchedule: VMS 1001 Back Traffic Form 10003, false, IFSC Missing Traffic 7 EA.
+[2023-11-28 23:41:20.785] [                          main] [ERROR]         c.its.vms.service.VmsManageService.loadVmsDsplTrafSchedule 5912 
+VmsManageService.loadVmsDsplTrafSchedule: VMS 1002 Back Traffic Form 10004, false, IFSC Missing Traffic 10 EA.
+[2023-11-28 23:41:20.785] [                          main] [ERROR]         c.its.vms.service.VmsManageService.loadVmsDsplTrafSchedule 5912 
+VmsManageService.loadVmsDsplTrafSchedule: VMS 1003 Back Traffic Form 10005, false, IFSC Missing Traffic 12 EA.
+[2023-11-28 23:41:20.785] [                          main] [ERROR]         c.its.vms.service.VmsManageService.loadVmsDsplTrafSchedule 5912 
+VmsManageService.loadVmsDsplTrafSchedule: VMS 1004 Back Traffic Form 10006, false, IFSC Missing Traffic 10 EA.
+[2023-11-28 23:41:21.848] [                 nioWorker-3-1] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.848] [                 nioWorker-3-1] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.864] [                 nioWorker-3-1] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.864] [                 nioWorker-3-1] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:22.129] [                 nioWorker-3-2] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [                 nioWorker-3-2] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [                 nioWorker-3-2] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [                 nioWorker-3-2] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.801] [                 nioWorker-3-3] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [                 nioWorker-3-3] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [                 nioWorker-3-3] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [                 nioWorker-3-3] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:23.129] [                 nioWorker-3-4] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [                 nioWorker-3-4] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [                 nioWorker-3-4] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [                 nioWorker-3-4] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.801] [                 nioWorker-3-5] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [                 nioWorker-3-5] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [                 nioWorker-3-5] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [                 nioWorker-3-5] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:24.114] [                 nioWorker-3-6] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [                 nioWorker-3-6] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [                 nioWorker-3-6] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [                 nioWorker-3-6] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.801] [                 nioWorker-3-7] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [                 nioWorker-3-7] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [                 nioWorker-3-7] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [                 nioWorker-3-7] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:25.113] [                 nioWorker-3-8] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [                 nioWorker-3-8] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [                 nioWorker-3-8] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [                 nioWorker-3-8] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.801] [                 nioWorker-3-9] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [                 nioWorker-3-9] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [                 nioWorker-3-9] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [                 nioWorker-3-9] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:26.113] [                nioWorker-3-10] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [                nioWorker-3-10] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [                nioWorker-3-10] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [                nioWorker-3-10] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.801] [                nioWorker-3-11] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [                nioWorker-3-11] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [                nioWorker-3-11] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [                nioWorker-3-11] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:27.113] [                nioWorker-3-12] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [                nioWorker-3-12] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [                nioWorker-3-12] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [                nioWorker-3-12] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.801] [                nioWorker-3-13] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [                nioWorker-3-13] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [                nioWorker-3-13] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [                nioWorker-3-13] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:28.114] [                nioWorker-3-14] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [                nioWorker-3-14] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [                nioWorker-3-14] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [                nioWorker-3-14] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.801] [                nioWorker-3-15] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [                nioWorker-3-15] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [                nioWorker-3-15] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [                nioWorker-3-15] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:29.113] [                nioWorker-3-16] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [                nioWorker-3-16] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.channelInactive      5912 
+VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [                nioWorker-3-16] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [                nioWorker-3-16] [ERROR]      c.i.v.x.v.h.VmsServerIdleStateHandler.disconnectChannel    5912 
+VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 54 - 429
app-install/logs/vms-comm-server.log


+ 0 - 6
app-install/logs/vms-schedule.log

@@ -1,6 +0,0 @@
-[2023-11-07 17:54:05.010] [INFO ] scheduleUnitSystStts: start. scheduling-1
-[2023-11-07 17:54:05.018] [INFO ] scheduleUnitSystStts: ..end. 8 ms. scheduling-1
-[2023-11-07 17:54:08.010] [INFO ] scheduleVmsStatusRequest: start. scheduling-1
-[2023-11-07 17:54:08.011] [INFO ] scheduleVmsStatusRequest: ..end. 1 ms. scheduling-1
-[2023-11-07 17:54:15.012] [INFO ] scheduleVmsOnOffControl: start. scheduling-1
-[2023-11-07 17:54:15.019] [INFO ] scheduleVmsOnOffControl: ..end. 7 ms. scheduling-1

+ 95 - 23
app-install/logs/vms-session.log

@@ -1,23 +1,95 @@
-[2023-11-07 17:53:28.170] [INFO ] TcpServerRecvDataProcess.run: Start.
-[2023-11-07 17:53:28.193] [INFO ] TcpServerRecvDataProcess.Task: 0
-[2023-11-07 17:53:28.195] [INFO ] TcpServerRecvDataProcess.Task: 1
-[2023-11-07 17:53:28.195] [INFO ] TcpServerRecvDataProcess.Task: 2
-[2023-11-07 17:53:28.196] [INFO ] TcpServerRecvDataProcess.Task: 3
-[2023-11-07 17:53:28.196] [INFO ] TcpServerRecvDataProcess.Task: 4
-[2023-11-07 17:53:28.197] [INFO ] TcpServerRecvDataProcess.Task: 5
-[2023-11-07 17:53:28.197] [INFO ] TcpServerRecvDataProcess.Task: 6
-[2023-11-07 17:53:28.198] [INFO ] TcpServerRecvDataProcess.Task: 7
-[2023-11-07 17:53:28.203] [INFO ] TcpServerRecvDataProcess.run: ..End.
-[2023-11-07 17:53:29.995] [INFO ] TcpServerReqDataProcess[1001].run: Start.
-[2023-11-07 17:53:29.997] [INFO ] TcpServerReqDataProcess[1002].run: Start.
-[2023-11-07 17:53:29.999] [INFO ] TcpServerReqDataProcess[1003].run: Start.
-[2023-11-07 17:53:30.000] [INFO ] TcpServerReqDataProcess[1004].run: Start.
-[2023-11-07 17:53:45.774] [INFO ] 서버가 윈도우 NIO 모드에서 실행됩니다.
-[2023-11-07 17:53:45.922] [INFO ] *********************************************************************************
-[2023-11-07 17:53:45.923] [INFO ] **                    VMS Communication Server Information                    **
-[2023-11-07 17:53:45.923] [INFO ] **     bindAddress: 0.0.0.0
-[2023-11-07 17:53:45.924] [INFO ] **      listenPort: 30200
-[2023-11-07 17:53:45.924] [INFO ] **         backlog: 64
-[2023-11-07 17:53:45.924] [INFO ] **   acceptThreads: 16
-[2023-11-07 17:53:45.925] [INFO ] **   workerThreads: 16
-[2023-11-07 17:53:45.925] [INFO ] *********************************************************************************
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.run: Start.
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 0
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 1
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 2
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 3
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 4
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 5
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 6
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 7
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 8
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 9
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 10
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 11
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 12
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 13
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 14
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.Task: 15
+[2023-11-28 23:41:20.113] [INFO ] TcpServerRecvDataProcess.run: ..End.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1001].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1002].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1003].run: Start.
+[2023-11-28 23:41:20.473] [INFO ] TcpServerReqDataProcess[1004].run: Start.
+[2023-11-28 23:41:20.879] [INFO ] 서버가 윈도우 NIO 모드에서 실행됩니다.
+[2023-11-28 23:41:20.988] [INFO ] *********************************************************************************
+[2023-11-28 23:41:20.988] [INFO ] **                    VMS Communication Server Information                    **
+[2023-11-28 23:41:20.988] [INFO ] **     bindAddress: 0.0.0.0
+[2023-11-28 23:41:20.988] [INFO ] **      listenPort: 30200
+[2023-11-28 23:41:21.004] [INFO ] **         backlog: 64
+[2023-11-28 23:41:21.004] [INFO ] **   acceptThreads: 32
+[2023-11-28 23:41:21.004] [INFO ] **   workerThreads: 32
+[2023-11-28 23:41:21.004] [INFO ] *********************************************************************************
+[2023-11-28 23:41:21.816] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:21.816] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x1ccd7491, L:/192.168.10.11:30200 - R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.848] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:21.864] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x1ccd7491, L:/192.168.10.11:30200 ! R:/192.168.123.108:62833]
+[2023-11-28 23:41:22.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:22.129] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xec7e7670, L:/192.168.10.11:30200 - R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.129] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xec7e7670, L:/192.168.10.11:30200 ! R:/192.168.123.107:61419]
+[2023-11-28 23:41:22.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:22.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xcd78117b, L:/192.168.10.11:30200 - R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:22.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcd78117b, L:/192.168.10.11:30200 ! R:/192.168.123.108:62838]
+[2023-11-28 23:41:23.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:23.129] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xff31b116, L:/192.168.10.11:30200 - R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.129] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xff31b116, L:/192.168.10.11:30200 ! R:/192.168.123.107:61420]
+[2023-11-28 23:41:23.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:23.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xe1e03839, L:/192.168.10.11:30200 - R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:23.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xe1e03839, L:/192.168.10.11:30200 ! R:/192.168.123.108:62839]
+[2023-11-28 23:41:24.114] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:24.114] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x6fc20d62, L:/192.168.10.11:30200 - R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.114] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6fc20d62, L:/192.168.10.11:30200 ! R:/192.168.123.107:61421]
+[2023-11-28 23:41:24.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:24.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x005f8523, L:/192.168.10.11:30200 - R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:24.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x005f8523, L:/192.168.10.11:30200 ! R:/192.168.123.108:62840]
+[2023-11-28 23:41:25.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:25.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x3892ecc8, L:/192.168.10.11:30200 - R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x3892ecc8, L:/192.168.10.11:30200 ! R:/192.168.123.107:61422]
+[2023-11-28 23:41:25.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:25.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xcbe6604e, L:/192.168.10.11:30200 - R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:25.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xcbe6604e, L:/192.168.10.11:30200 ! R:/192.168.123.108:62841]
+[2023-11-28 23:41:26.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:26.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x7f33d8a1, L:/192.168.10.11:30200 - R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x7f33d8a1, L:/192.168.10.11:30200 ! R:/192.168.123.107:61423]
+[2023-11-28 23:41:26.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:26.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0x4ba86b71, L:/192.168.10.11:30200 - R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:26.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0x4ba86b71, L:/192.168.10.11:30200 ! R:/192.168.123.108:62843]
+[2023-11-28 23:41:27.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:27.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0xce0ae980, L:/192.168.10.11:30200 - R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0xce0ae980, L:/192.168.10.11:30200 ! R:/192.168.123.107:61425]
+[2023-11-28 23:41:27.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:27.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xbbf4412d, L:/192.168.10.11:30200 - R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:27.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xbbf4412d, L:/192.168.10.11:30200 ! R:/192.168.123.108:62847]
+[2023-11-28 23:41:28.114] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:28.114] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x6db582b7, L:/192.168.10.11:30200 - R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.114] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x6db582b7, L:/192.168.10.11:30200 ! R:/192.168.123.107:61426]
+[2023-11-28 23:41:28.801] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.108.
+[2023-11-28 23:41:28.801] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.108, ID: 1003, VMS-0030, [id: 0xc1613a63, L:/192.168.10.11:30200 - R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:28.801] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.108, [id: 0xc1613a63, L:/192.168.10.11:30200 ! R:/192.168.123.108:62848]
+[2023-11-28 23:41:29.113] [INFO ] VmsTcpCommServerInitializer.----initChannel: 192.168.123.107.
+[2023-11-28 23:41:29.113] [INFO ] VmsServerIdleStateHandler.----channelActive: 192.168.123.107, ID: 1002, VMS-0020, [id: 0x337a3c97, L:/192.168.10.11:30200 - R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [ERROR] VmsServerIdleStateHandler.--channelInactive: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]
+[2023-11-28 23:41:29.113] [ERROR] VmsServerIdleStateHandler.disconnectChannel: 192.168.123.107, [id: 0x337a3c97, L:/192.168.10.11:30200 ! R:/192.168.123.107:61427]

BIN
app-install/vms-comm-server.exe.old


+ 1 - 1
src/main/java/com/its/vms/config/CommunicationConfig.java

@@ -70,7 +70,7 @@ public class CommunicationConfig {
         }
 
         if (this.readerIdleTimeSeconds == 0) {
-            this.readerIdleTimeSeconds = 80;
+            //this.readerIdleTimeSeconds = 80;
         }
         if (this.connectTimeoutSeconds == 0) {
             this.connectTimeoutSeconds = 10;

+ 1 - 0
src/main/java/com/its/vms/dto/TbVmsCtlrDto.java

@@ -275,6 +275,7 @@ public class TbVmsCtlrDto implements Serializable {
         clearRegisteredCommandTimer();
         this.netState = NET.CLOSED;
         this.channel = null;
+        this.dupChannel = null;
         this.disConnectTm = SysUtils.getSysTimeStr();
         this.stts.initError();
     }

+ 4 - 3
src/main/java/com/its/vms/xnettcp/vms/VmsTcpCommServerInitializer.java

@@ -37,6 +37,7 @@ public class VmsTcpCommServerInitializer extends ChannelInitializer<Channel> {
     @Override
     protected void initChannel(Channel channel) throws Exception {
         String ipAddress  = NettyUtils.getRemoteIpAddress(channel);
+        log.info("VmsTcpCommServerInitializer.----initChannel: {}.", ipAddress);
         TbVmsCtlrDto vmsObj = this.repoService.getIpAddrMap(ipAddress);
         if (vmsObj == null) {
             log.error("VmsTcpCommServerInitializer.----initChannel: {}, Unknown ip address. will be closed.", ipAddress);
@@ -45,9 +46,9 @@ public class VmsTcpCommServerInitializer extends ChannelInitializer<Channel> {
         }
         else {
             IdleStateHandler tcpIdleStateHandler = new IdleStateHandler(
-                    this.config.getReaderIdleTimeSeconds(),
-                    this.config.getWriterIdleTimeSeconds(),
-                    this.config.getAllIdleTimeSeconds(),
+                    0,//this.config.getReaderIdleTimeSeconds(),
+                    0,//this.config.getWriterIdleTimeSeconds(),
+                    120,//this.config.getAllIdleTimeSeconds(),
                     TimeUnit.SECONDS);
 
             ChannelPipeline pipeline = channel.pipeline();

+ 1 - 1
src/main/java/com/its/vms/xnettcp/vms/VmsTcpCommServerService.java

@@ -102,7 +102,7 @@ public class VmsTcpCommServerService {
         serverBootstrap.childOption(ChannelOption.SO_LINGER, 0);           // 4way-handshake 비활성
         serverBootstrap.childOption(ChannelOption.SO_KEEPALIVE, false);    // KEEPALIVE 비활성(활성: true)
         serverBootstrap.childOption(ChannelOption.SO_REUSEADDR, true);     // 소켓 재사용
-        serverBootstrap.childOption(ChannelOption.TCP_NODELAY, true);      // Nagle 알고리즘 비활성화
+        serverBootstrap.childOption(ChannelOption.TCP_NODELAY, true);      // Nagle 알고리즘 비활성화, true
 
         VmsTcpCommServerInitializer vmsTcpCommServerInitializer = new VmsTcpCommServerInitializer(
                 this.config,

+ 0 - 2
src/main/java/com/its/vms/xnettcp/vms/codec/VmsTcpServerEncoder.java

@@ -1,7 +1,6 @@
 package com.its.vms.xnettcp.vms.codec;
 
 import com.its.app.utils.NettyUtils;
-import com.its.vms.config.CommunicationConfig;
 import com.its.vms.dto.TbVmsCtlrDto;
 import com.its.vms.service.AppRepositoryService;
 import com.its.vms.xnettcp.vms.handler.VmsServerIdleStateHandler;
@@ -23,7 +22,6 @@ import java.nio.ByteBuffer;
 @ChannelHandler.Sharable
 public class VmsTcpServerEncoder extends MessageToByteEncoder<Object> {
 
-    private final CommunicationConfig communicationConfig;
     private final AppRepositoryService repoService;
 
      @Override

+ 35 - 7
src/main/java/com/its/vms/xnettcp/vms/handler/VmsServerIdleStateHandler.java

@@ -9,8 +9,6 @@ import com.its.vms.process.DbmsData;
 import com.its.vms.process.DbmsDataProcess;
 import com.its.vms.process.DbmsDataType;
 import com.its.vms.service.AppRepositoryService;
-import com.its.vms.xnettcp.vms.process.TcpServerSendData;
-import com.its.vms.xnettcp.vms.protocol.enums.eVmsOpCode;
 import io.netty.channel.Channel;
 import io.netty.channel.ChannelDuplexHandler;
 import io.netty.channel.ChannelFuture;
@@ -41,14 +39,16 @@ public class VmsServerIdleStateHandler extends ChannelDuplexHandler {
                 String ipAddress  = NettyUtils.getRemoteIpAddress(ctx.channel());
                 log.error("VmsServerIdleStateHandler.userEventTriggered, ----READER_IDLE: {}, R: {}, W: {}, A: {} will be closed.",
                         ipAddress, this.config.getReaderIdleTimeSeconds(), this.config.getWriterIdleTimeSeconds(), this.config.getAllIdleTimeSeconds());
-                ctx.channel().disconnect();
-                ctx.channel().close();
+//                ctx.channel().disconnect();
+//                ctx.channel().close();
+                VmsServerIdleStateHandler.disconnectChannel(this.vmsObj, ctx.channel());
                 MDC.remove(this.vmsObj.getLogKey());
                 MDC.clear();
             }
             else if (e.state() == IdleState.WRITER_IDLE) {
             }
         }
+        //super.userEventTriggered(ctx, evt);
     }
 
     @Override
@@ -73,22 +73,49 @@ public class VmsServerIdleStateHandler extends ChannelDuplexHandler {
         MDC.put("id", this.vmsObj.getLogKey());
         log.info("VmsServerIdleStateHandler.----channelActive: {}, ID: {}, {}, {}", ipAddress, this.vmsObj.getVmsCtlrNmbr(), this.vmsObj.getCtlrId(), ctx.channel().toString());
         if (this.vmsObj.getChannel() != null) {
+            AppRepositoryService repoService = (AppRepositoryService) AppUtils.getBean(AppRepositoryService.class);
+            TbVmsCtlrDto tmpObj = repoService.getIpAddrMap(ipAddress);
+            if (tmpObj != null) {
+                log.error("VmsServerIdleStateHandler.----channelActive: {}, {}", this.vmsObj.getCtlrIp(), tmpObj.getCtlrIp());
+            }
+
             try {
                 log.error("VmsServerIdleStateHandler.----channelActive: Old Connection Active: {}, ID: {}, {}, {}", ipAddress, this.vmsObj.getVmsCtlrNmbr(), this.vmsObj.getCtlrId(), this.vmsObj.getChannel().toString());
-                this.vmsObj.getChannel().disconnect();
-                this.vmsObj.getChannel().close();
+//                this.vmsObj.getChannel().disconnect();
+//                this.vmsObj.getChannel().close();
+                VmsServerIdleStateHandler.disconnectChannel(this.vmsObj, ctx.channel());
+//                ctx.channel().disconnect();
+//                ctx.channel().close();
+//                return;
             }
             catch(Exception e) {
             }
         }
 
+        /**
+         * 1. 데이터 송수신 타임아웃 핸들러 등록
+         * 2. 현재 핸들러를 삭제한다.
+         */
+//        int allIdleTimeSec = 120;   // 2분
+//        VmsServerIdleStatePacketHandler vmsServerIdleStatePacketHandler = new VmsServerIdleStatePacketHandler(
+//                0,
+//                0,
+//                allIdleTimeSec,
+//                TimeUnit.SECONDS
+//        );
+//        ctx.channel().pipeline().addAfter("vmsTcpIdleStateHandler","vmsServerIdleStatePacketHandler", vmsServerIdleStatePacketHandler);    // packet idle handler add
+//        ctx.channel().pipeline().remove("vmsTcpIdleStateHandler");     // login idle handler remove
+//        ctx.channel().pipeline().remove(this);                              // First packet recv/send timeout handler(dsrcAsn1ServerConnectionHandler)
+
         this.vmsObj.connected(ctx);
         TbVmsCtlrStts stts = this.vmsObj.getStts().clone();
         this.dbmsDataProcess.add(new DbmsData(DbmsDataType.DBMS_DATA_CTLR_STTS, false, stts)); // 제어기 접속 상태 업데이트
-        this.vmsObj.addRequestData(new TcpServerSendData(eVmsOpCode.OP_VMS_STATUS_REQ, null));    // 최초 접속시 제어기 상태정보 요청
+//        Thread.sleep(2000);
+//        this.vmsObj.addRequestData(new TcpServerSendData(eVmsOpCode.OP_VMS_STATUS_REQ, null));    // 최초 접속시 제어기 상태정보 요청
 
         MDC.remove(this.vmsObj.getLogKey());
         MDC.clear();
+        super.channelActive(ctx);
     }
 
     @Override
@@ -122,6 +149,7 @@ public class VmsServerIdleStateHandler extends ChannelDuplexHandler {
         VmsServerIdleStateHandler.disconnectChannel(this.vmsObj, ctx.channel());
         MDC.remove(this.vmsObj.getLogKey());
         MDC.clear();
+        super.exceptionCaught(ctx, cause);
     }
 
     public static void disconnectChannel(TbVmsCtlrDto AObj, Channel channel) {

+ 88 - 0
src/main/java/com/its/vms/xnettcp/vms/handler/VmsServerIdleStatePacketHandler.java

@@ -0,0 +1,88 @@
+package com.its.vms.xnettcp.vms.handler;
+
+import com.its.app.AppUtils;
+import com.its.app.utils.NettyUtils;
+import com.its.vms.dto.TbVmsCtlrDto;
+import com.its.vms.process.DbmsDataProcess;
+import com.its.vms.service.AppRepositoryService;
+import io.netty.channel.Channel;
+import io.netty.channel.ChannelFuture;
+import io.netty.channel.ChannelHandlerContext;
+import io.netty.handler.timeout.IdleStateEvent;
+import io.netty.handler.timeout.IdleStateHandler;
+import lombok.extern.slf4j.Slf4j;
+import org.slf4j.MDC;
+
+import java.util.concurrent.TimeUnit;
+
+@Slf4j
+public class VmsServerIdleStatePacketHandler extends IdleStateHandler {
+
+    private final DbmsDataProcess dbmsDataProcess;
+
+    public VmsServerIdleStatePacketHandler(long readerIdleTime, long writerIdleTime, long allIdleTime, TimeUnit unit) {
+        super(readerIdleTime, writerIdleTime, allIdleTime, unit);
+        this.dbmsDataProcess = (DbmsDataProcess) AppUtils.getBean(DbmsDataProcess.class);
+    }
+
+    @Override
+    public void channelActive(ChannelHandlerContext ctx) throws Exception {
+        log.error("DsrcAsn1ServerIdleStatePacketHandler.-----channelActive: {}", NettyUtils.getTcpAddress(ctx.channel()));
+    }
+
+    @Override
+    protected void channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt) throws Exception {
+
+    }
+
+    @Override
+    public void channelInactive(ChannelHandlerContext ctx) throws Exception {
+
+    }
+
+    public static void disconnectChannel(TbVmsCtlrDto AObj, Channel channel) {
+        // 로그인 하지 않은 또는 비정상 접속 네트워크 세션 종료(로그인 처리를 수행하지 않은 세션에 대한 종료)
+        String ipAddress = NettyUtils.getRemoteIpAddress(channel);
+        if (AObj == null) {
+            AppRepositoryService repoService = (AppRepositoryService) AppUtils.getBean(AppRepositoryService.class);
+            AObj = repoService.getIpAddrMap(ipAddress);
+        }
+        if (AObj != null) {
+            MDC.put("id", AObj.getLogKey());
+        }
+        try {
+            log.error("VmsServerIdleStatePacketHandler.disconnectChannel: {}, {}", ipAddress, channel.toString());
+
+            channel.flush();
+            ChannelFuture f = channel.disconnect().awaitUninterruptibly();  // channelInactive event fire
+            if (!f.isDone() || !f.isSuccess()) {
+                log.error("VmsServerIdleStatePacketHandler.disconnectChannel: {}, isDone: {}, isSuccess: {}", ipAddress, f.isDone(), f.isSuccess());
+            }
+        }
+        catch(Exception e) {
+        }
+
+        if (AObj != null) {
+            AObj.disconnected();
+            MDC.remove(AObj.getLogKey());
+            MDC.clear();
+        }
+    }
+
+    @Override
+    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
+        String ipAddress = NettyUtils.getRemoteIpAddress(ctx.channel());
+        AppRepositoryService repoService = (AppRepositoryService) AppUtils.getBean(AppRepositoryService.class);
+        TbVmsCtlrDto obj = repoService.getIpAddrMap(ipAddress);
+        if (obj != null) {
+            MDC.put("id", obj.getLogKey());
+        }
+        log.error("DsrcAsn1ServerIdleStatePacketHandler.---exceptionCaught: {}, {}, Exception: {}", ipAddress, ctx.channel().toString(), cause);
+        VmsServerIdleStatePacketHandler.disconnectChannel(obj, ctx.channel());
+        super.exceptionCaught(ctx, cause);
+        if (obj != null) {
+            MDC.remove(obj.getLogKey());
+        }
+    }
+
+}

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio