修改后台bug

This commit is contained in:
haozq 2024-06-03 15:30:21 +08:00
parent eabfa368c4
commit 6250379738
48 changed files with 14638 additions and 130 deletions

2
.gitignore vendored
View File

@ -4,4 +4,4 @@ logs
.gitignore
out
*.iml
gen
gen

349
hs_err_pid25608.log Normal file
View File

@ -0,0 +1,349 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:272), pid=25608, tid=0x0000000000007204
#
# JRE version: Java(TM) SE Runtime Environment (8.0_401) (build 1.8.0_401-b10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.401-b10 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
--------------- T H R E A D ---------------
Current thread (0x00000132b3f10800): JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=29188, stack(0x00000027f2300000,0x00000027f2400000)]
Stack: [0x00000027f2300000,0x00000027f2400000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x3530d9]
Current CompileTask:
C2: 35482 12208 4 lombok.javac.JavacAST::buildTree (10 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00000132b3fc0800 JavaThread "Service Thread" daemon [_thread_blocked, id=32496, stack(0x00000027f2c00000,0x00000027f2d00000)]
0x00000132b3f23800 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=22532, stack(0x00000027f2b00000,0x00000027f2c00000)]
0x00000132b3f1e000 JavaThread "C1 CompilerThread10" daemon [_thread_blocked, id=32388, stack(0x00000027f2a00000,0x00000027f2b00000)]
0x00000132b3f22000 JavaThread "C1 CompilerThread9" daemon [_thread_blocked, id=31636, stack(0x00000027f2900000,0x00000027f2a00000)]
0x00000132b3f1f000 JavaThread "C1 CompilerThread8" daemon [_thread_blocked, id=32936, stack(0x00000027f2800000,0x00000027f2900000)]
0x00000132b3f1d800 JavaThread "C2 CompilerThread7" daemon [_thread_in_native, id=24076, stack(0x00000027f2700000,0x00000027f2800000)]
0x00000132b3f22800 JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=30000, stack(0x00000027f2600000,0x00000027f2700000)]
0x00000132b3f14800 JavaThread "C2 CompilerThread5" daemon [_thread_in_native, id=20892, stack(0x00000027f2500000,0x00000027f2600000)]
0x00000132b3f11800 JavaThread "C2 CompilerThread4" daemon [_thread_blocked, id=32280, stack(0x00000027f2400000,0x00000027f2500000)]
=>0x00000132b3f10800 JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=29188, stack(0x00000027f2300000,0x00000027f2400000)]
0x00000132b3f0d800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=24788, stack(0x00000027f2200000,0x00000027f2300000)]
0x00000132b3f0c800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=25752, stack(0x00000027f2100000,0x00000027f2200000)]
0x00000132b3f09000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=14060, stack(0x00000027f2000000,0x00000027f2100000)]
0x00000132b3f06800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=30036, stack(0x00000027f1f00000,0x00000027f2000000)]
0x00000132b3ecb800 JavaThread "Attach Listener" daemon [_thread_blocked, id=26176, stack(0x00000027f1e00000,0x00000027f1f00000)]
0x00000132b3e74000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=32896, stack(0x00000027f1d00000,0x00000027f1e00000)]
0x00000132b3e61800 JavaThread "Finalizer" daemon [_thread_blocked, id=17044, stack(0x00000027f1c00000,0x00000027f1d00000)]
0x00000132b117a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=10416, stack(0x00000027f1b00000,0x00000027f1c00000)]
0x0000013296b31800 JavaThread "main" [_thread_in_native, id=32928, stack(0x00000027f0c00000,0x00000027f0d00000)]
Other Threads:
0x00000132b1171800 VMThread [stack: 0x00000027f1a00000,0x00000027f1b00000] [id=31476]
0x00000132b402c000 WatcherThread [stack: 0x00000027f2d00000,0x00000027f2e00000] [id=31776]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
heap address: 0x00000006cce00000, size: 3890 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000
Heap:
PSYoungGen total 451072K, used 246585K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 58% used [0x000000076ef80000,0x000000077d0855a8,0x0000000787200000)
from space 55296K, 29% used [0x000000078a980000,0x000000078b949138,0x000000078df80000)
to space 56832K, 0% used [0x0000000787200000,0x0000000787200000,0x000000078a980000)
ParOldGen total 279552K, used 113378K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 40% used [0x00000006cce00000,0x00000006d3cb8938,0x00000006ddf00000)
Metaspace used 50221K, capacity 51982K, committed 52224K, reserved 1095680K
class space used 5684K, capacity 6107K, committed 6144K, reserved 1048576K
Card table byte_map: [0x00000132a7850000,0x00000132a7ff0000] byte_map_base: 0x00000132a41e9000
Marking Bits: (ParMarkBitMap*) 0x00007ffc85795fc0
Begin Bits: [0x00000132a8510000, 0x00000132ac1d8000)
End Bits: [0x00000132ac1d8000, 0x00000132afea0000)
Polling page: 0x0000013296c40000
CodeCache: size=245760Kb used=47283Kb max_used=47283Kb free=198476Kb
bounds [0x0000013298490000, 0x000001329b2f0000, 0x00000132a7490000]
total_blobs=10237 nmethods=9730 adapters=416
compilation: enabled
Compilation events (10 events):
Event: 35.311 Thread 0x00000132b3f22000 nmethod 12270 0x000001329b2e0fd0 code [0x000001329b2e1280, 0x000001329b2e2570]
Event: 35.312 Thread 0x00000132b3f1e000 nmethod 12272 0x000001329b2e2f50 code [0x000001329b2e32c0, 0x000001329b2e5400]
Event: 35.315 Thread 0x00000132b3f23800 12273 3 lombok.javac.JavacAST::buildCompilationUnit (74 bytes)
Event: 35.315 Thread 0x00000132b3f1f000 12274 3 lombok.javac.JavacTransformer$AnnotationVisitor::visitAnnotationOnType (34 bytes)
Event: 35.316 Thread 0x00000132b3f1f000 nmethod 12274 0x000001329b2e0550 code [0x000001329b2e06e0, 0x000001329b2e0d30]
Event: 35.316 Thread 0x00000132b3f23800 nmethod 12273 0x000001329b2e6590 code [0x000001329b2e6800, 0x000001329b2e79f0]
Event: 35.317 Thread 0x00000132b3f22000 12275 3 lombok.javac.JavacAST::buildType (203 bytes)
Event: 35.318 Thread 0x00000132b3f22000 nmethod 12275 0x000001329b2e82d0 code [0x000001329b2e87c0, 0x000001329b2ec1a0]
Event: 35.320 Thread 0x00000132b3f1e000 12276 3 lombok.javac.JavacAST::traverse (12 bytes)
Event: 35.320 Thread 0x00000132b3f1e000 nmethod 12276 0x000001329b2d9890 code [0x000001329b2d9a00, 0x000001329b2d9d30]
GC Heap History (10 events):
Event: 31.198 GC heap before
{Heap before GC invocations=18 (full 2):
PSYoungGen total 378880K, used 363125K [0x000000076ef80000, 0x000000078bd80000, 0x00000007c0000000)
eden space 325632K, 100% used [0x000000076ef80000,0x0000000782d80000,0x0000000782d80000)
from space 53248K, 70% used [0x0000000782d80000,0x000000078521d7c8,0x0000000786180000)
to space 54272K, 0% used [0x0000000788880000,0x0000000788880000,0x000000078bd80000)
ParOldGen total 279552K, used 92920K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28be310,0x00000006ddf00000)
Metaspace used 48420K, capacity 50068K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5896K, committed 6016K, reserved 1048576K
Event: 31.228 GC heap after
Heap after GC invocations=18 (full 2):
PSYoungGen total 379904K, used 35176K [0x000000076ef80000, 0x000000078bd80000, 0x00000007c0000000)
eden space 325632K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000782d80000)
from space 54272K, 64% used [0x0000000788880000,0x000000078aada100,0x000000078bd80000)
to space 53248K, 0% used [0x0000000782d80000,0x0000000782d80000,0x0000000786180000)
ParOldGen total 279552K, used 92928K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c0310,0x00000006ddf00000)
Metaspace used 48420K, capacity 50068K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5896K, committed 6016K, reserved 1048576K
}
Event: 31.433 GC heap before
{Heap before GC invocations=19 (full 2):
PSYoungGen total 379904K, used 360808K [0x000000076ef80000, 0x000000078bd80000, 0x00000007c0000000)
eden space 325632K, 100% used [0x000000076ef80000,0x0000000782d80000,0x0000000782d80000)
from space 54272K, 64% used [0x0000000788880000,0x000000078aada100,0x000000078bd80000)
to space 53248K, 0% used [0x0000000782d80000,0x0000000782d80000,0x0000000786180000)
ParOldGen total 279552K, used 92928K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c0310,0x00000006ddf00000)
Metaspace used 48425K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5897K, committed 6016K, reserved 1048576K
Event: 31.449 GC heap after
Heap after GC invocations=19 (full 2):
PSYoungGen total 378880K, used 38385K [0x000000076ef80000, 0x000000078df80000, 0x00000007c0000000)
eden space 325632K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000782d80000)
from space 53248K, 72% used [0x0000000782d80000,0x00000007852fc770,0x0000000786180000)
to space 55296K, 0% used [0x000000078a980000,0x000000078a980000,0x000000078df80000)
ParOldGen total 279552K, used 92936K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c2310,0x00000006ddf00000)
Metaspace used 48425K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5897K, committed 6016K, reserved 1048576K
}
Event: 31.631 GC heap before
{Heap before GC invocations=20 (full 2):
PSYoungGen total 378880K, used 364017K [0x000000076ef80000, 0x000000078df80000, 0x00000007c0000000)
eden space 325632K, 100% used [0x000000076ef80000,0x0000000782d80000,0x0000000782d80000)
from space 53248K, 72% used [0x0000000782d80000,0x00000007852fc770,0x0000000786180000)
to space 55296K, 0% used [0x000000078a980000,0x000000078a980000,0x000000078df80000)
ParOldGen total 279552K, used 92936K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c2310,0x00000006ddf00000)
Metaspace used 48442K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5897K, committed 6016K, reserved 1048576K
Event: 31.658 GC heap after
Heap after GC invocations=20 (full 2):
PSYoungGen total 451072K, used 40987K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000787200000)
from space 55296K, 74% used [0x000000078a980000,0x000000078d186ed8,0x000000078df80000)
to space 56832K, 0% used [0x0000000787200000,0x0000000787200000,0x000000078a980000)
ParOldGen total 279552K, used 92944K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c4310,0x00000006ddf00000)
Metaspace used 48442K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5491K, capacity 5897K, committed 6016K, reserved 1048576K
}
Event: 32.268 GC heap before
{Heap before GC invocations=21 (full 2):
PSYoungGen total 451072K, used 436763K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 100% used [0x000000076ef80000,0x0000000787200000,0x0000000787200000)
from space 55296K, 74% used [0x000000078a980000,0x000000078d186ed8,0x000000078df80000)
to space 56832K, 0% used [0x0000000787200000,0x0000000787200000,0x000000078a980000)
ParOldGen total 279552K, used 92944K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 33% used [0x00000006cce00000,0x00000006d28c4310,0x00000006ddf00000)
Metaspace used 48460K, capacity 50076K, committed 50304K, reserved 1093632K
class space used 5493K, capacity 5899K, committed 6016K, reserved 1048576K
Event: 32.293 GC heap after
Heap after GC invocations=21 (full 2):
PSYoungGen total 452608K, used 35084K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000787200000)
from space 56832K, 61% used [0x0000000787200000,0x0000000789443108,0x000000078a980000)
to space 55296K, 0% used [0x000000078a980000,0x000000078a980000,0x000000078df80000)
ParOldGen total 279552K, used 104721K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 37% used [0x00000006cce00000,0x00000006d3444750,0x00000006ddf00000)
Metaspace used 48460K, capacity 50076K, committed 50304K, reserved 1093632K
class space used 5493K, capacity 5899K, committed 6016K, reserved 1048576K
}
Event: 33.892 GC heap before
{Heap before GC invocations=22 (full 2):
PSYoungGen total 452608K, used 430860K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 100% used [0x000000076ef80000,0x0000000787200000,0x0000000787200000)
from space 56832K, 61% used [0x0000000787200000,0x0000000789443108,0x000000078a980000)
to space 55296K, 0% used [0x000000078a980000,0x000000078a980000,0x000000078df80000)
ParOldGen total 279552K, used 104721K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 37% used [0x00000006cce00000,0x00000006d3444750,0x00000006ddf00000)
Metaspace used 48676K, capacity 50402K, committed 50560K, reserved 1093632K
class space used 5502K, capacity 5900K, committed 6016K, reserved 1048576K
Event: 33.904 GC heap after
Heap after GC invocations=22 (full 2):
PSYoungGen total 451072K, used 16164K [0x000000076ef80000, 0x000000078ef00000, 0x00000007c0000000)
eden space 395776K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000787200000)
from space 55296K, 29% used [0x000000078a980000,0x000000078b949138,0x000000078df80000)
to space 56832K, 0% used [0x0000000787200000,0x0000000787200000,0x000000078a980000)
ParOldGen total 279552K, used 113378K [0x00000006cce00000, 0x00000006ddf00000, 0x000000076ef80000)
object space 279552K, 40% used [0x00000006cce00000,0x00000006d3cb8938,0x00000006ddf00000)
Metaspace used 48676K, capacity 50402K, committed 50560K, reserved 1093632K
class space used 5502K, capacity 5900K, committed 6016K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 34.478 Thread 0x0000013296b31800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013299e4f950 method=java.util.ComparableTimSort.mergeLo(IIII)V @ 81
Event: 34.478 Thread 0x0000013296b31800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013299e4f950 method=java.util.ComparableTimSort.mergeLo(IIII)V @ 81
Event: 34.478 Thread 0x0000013296b31800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000001329990aed4 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 521
Event: 34.478 Thread 0x0000013296b31800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000001329990aed4 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 521
Event: 34.718 Thread 0x0000013296b31800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001329b08d864 method=com.sun.tools.javac.comp.MemberEnter.visitImport(Lcom/sun/tools/javac/tree/JCTree$JCImport;)V @ 64
Event: 34.768 Thread 0x0000013296b31800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013299215dc4 method=com.sun.tools.javac.code.Types.setBounds(Lcom/sun/tools/javac/code/Type$TypeVar;Lcom/sun/tools/javac/util/List;Z)V @ 5
Event: 34.768 Thread 0x0000013296b31800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013299215dc4 method=com.sun.tools.javac.code.Types.setBounds(Lcom/sun/tools/javac/code/Type$TypeVar;Lcom/sun/tools/javac/util/List;Z)V @ 5
Event: 34.768 Thread 0x0000013296b31800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001329a91c3a8 method=com.sun.tools.javac.code.Symbol.isInheritedIn(Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/Types;)Z @ 80
Event: 34.768 Thread 0x0000013296b31800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000001329a91c3a8 method=com.sun.tools.javac.code.Symbol.isInheritedIn(Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/Types;)Z @ 80
Event: 34.796 Thread 0x0000013296b31800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000132992794d0 method=java.lang.Integer.getChars(II[C)V @ 7
Classes redefined (0 events):
No events
Internal exceptions (10 events):
Event: 15.226 Thread 0x0000013296b31800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000776165dc8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 15.567 Thread 0x0000013296b31800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x000000077616f6c0) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 16.588 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x00000007783e9198) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 20.997 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x0000000776bdf718) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 22.576 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x000000077d4acf98) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 24.407 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x0000000772da46a0) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 25.743 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x00000007779b61f8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 29.370 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x000000076fb710f8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 30.712 Thread 0x0000013296b31800 Implicit null exception at 0x0000013298ea72cc to 0x0000013298ea7411
Event: 34.454 Thread 0x0000013296b31800 Exception <a 'java/io/FileNotFoundException'> (0x0000000774a1a7f8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Events (10 events):
Event: 35.157 loading class com/sun/tools/javac/processing/JavacProcessingEnvironment$processor
Event: 35.157 loading class com/sun/tools/javac/processing/JavacProcessingEnvironment$processor done
Event: 35.158 loading class java/lang/Module
Event: 35.158 loading class java/lang/Module done
Event: 35.159 loading class com/sun/tools/javac/util/CancelService
Event: 35.159 loading class com/sun/tools/javac/util/CancelService done
Event: 35.161 loading class com/sun/tools/javac/file/BaseFileManager
Event: 35.161 loading class com/sun/tools/javac/file/BaseFileManager done
Event: 35.321 loading class lombok/launch/AnnotationProcessorHider$ClaimingProcessor
Event: 35.321 loading class lombok/launch/AnnotationProcessorHider$ClaimingProcessor done
Dynamic libraries:
0x00007ff796eb0000 - 0x00007ff796efa000 D:\Java\jdk\bin\java.exe
0x00007ffcf9e50000 - 0x00007ffcfa067000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffcf8790000 - 0x00007ffcf8854000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffcf73d0000 - 0x00007ffcf7777000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffcf7d10000 - 0x00007ffcf7dc2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffcf9c30000 - 0x00007ffcf9cd7000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffcf7c60000 - 0x00007ffcf7d08000 C:\WINDOWS\System32\sechost.dll
0x00007ffcf73a0000 - 0x00007ffcf73c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffcf9ce0000 - 0x00007ffcf9df5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffcf85b0000 - 0x00007ffcf875e000 C:\WINDOWS\System32\USER32.dll
0x00007ffcf7800000 - 0x00007ffcf7826000 C:\WINDOWS\System32\win32u.dll
0x00007ffcf9c00000 - 0x00007ffcf9c29000 C:\WINDOWS\System32\GDI32.dll
0x00007ffcf7a60000 - 0x00007ffcf7b79000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffcf7300000 - 0x00007ffcf739a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffcf71e0000 - 0x00007ffcf72f1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffce3010000 - 0x00007ffce32a3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffcf9b40000 - 0x00007ffcf9b71000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffcc9900000 - 0x00007ffcc991b000 D:\Java\jdk\jre\bin\vcruntime140.dll
0x00007ffcca5b0000 - 0x00007ffcca5bc000 D:\Java\jdk\jre\bin\vcruntime140_1.dll
0x00007ffc85810000 - 0x00007ffc8589e000 D:\Java\jdk\jre\bin\msvcp140.dll
0x00007ffc84f60000 - 0x00007ffc85810000 D:\Java\jdk\jre\bin\server\jvm.dll
0x00007ffcf90d0000 - 0x00007ffcf90d8000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffced020000 - 0x00007ffced054000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffcd5950000 - 0x00007ffcd5959000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffcf07e0000 - 0x00007ffcf07ea000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffcf7ff0000 - 0x00007ffcf8061000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffcf6190000 - 0x00007ffcf61a8000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffcca260000 - 0x00007ffcca270000 D:\Java\jdk\jre\bin\verify.dll
0x00007ffcb9250000 - 0x00007ffcb927b000 D:\Java\jdk\jre\bin\java.dll
0x00007ffcdd800000 - 0x00007ffcdd834000 D:\Java\jdk\jre\bin\instrument.dll
0x00007ffcc6590000 - 0x00007ffcc65a8000 D:\Java\jdk\jre\bin\zip.dll
0x00007ffcf8870000 - 0x00007ffcf90cc000 C:\WINDOWS\System32\SHELL32.dll
0x00007ffcf50b0000 - 0x00007ffcf59a6000 C:\WINDOWS\SYSTEM32\windows.storage.dll
0x00007ffcf8220000 - 0x00007ffcf85a8000 C:\WINDOWS\System32\combase.dll
0x00007ffcf4f70000 - 0x00007ffcf50ae000 C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007ffcf95c0000 - 0x00007ffcf96b5000 C:\WINDOWS\System32\SHCORE.dll
0x00007ffcf7dd0000 - 0x00007ffcf7e2e000 C:\WINDOWS\System32\shlwapi.dll
0x00007ffcf70a0000 - 0x00007ffcf70c1000 C:\WINDOWS\SYSTEM32\profapi.dll
0x00007ffcf2270000 - 0x00007ffcf228a000 D:\software\idea\IntelliJ IDEA 2023.1.6\bin\breakgen64.dll
0x00007ffcbfe70000 - 0x00007ffcbfe8c000 D:\java\jdk\jre\bin\net.dll
0x00007ffcf6600000 - 0x00007ffcf6669000 C:\WINDOWS\system32\mswsock.dll
0x00007ffcf6870000 - 0x00007ffcf688b000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x00007ffcf60f0000 - 0x00007ffcf6125000 C:\WINDOWS\system32\rsaenh.dll
0x00007ffcf6700000 - 0x00007ffcf6728000 C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ffcf7780000 - 0x00007ffcf77f9000 C:\WINDOWS\System32\bcryptprimitives.dll
0x00007ffcf6860000 - 0x00007ffcf686c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x00007ffcf5c10000 - 0x00007ffcf5c3d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ffcf8860000 - 0x00007ffcf8869000 C:\WINDOWS\System32\NSI.dll
0x00007ffcf1400000 - 0x00007ffcf1419000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ffcf13e0000 - 0x00007ffcf13ff000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ffcf5c80000 - 0x00007ffcf5d78000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ffcbe580000 - 0x00007ffcbe593000 D:\java\jdk\jre\bin\nio.dll
0x00007ffcf2a10000 - 0x00007ffcf2a1a000 C:\Users\86157\AppData\Local\Temp\jansi-1.17.1-4847748936857394935.dll
0x00007ffcb9110000 - 0x00007ffcb9135000 D:\java\jdk\jre\bin\sunec.dll
0x00007ffcf0450000 - 0x00007ffcf045a000 C:\Windows\System32\rasadhlp.dll
0x00007ffcf0a80000 - 0x00007ffcf0b03000 C:\WINDOWS\System32\fwpuclnt.dll
0x00007ffcc8c00000 - 0x00007ffcc8c0e000 D:\java\jdk\jre\bin\sunmscapi.dll
0x00007ffcf7830000 - 0x00007ffcf7998000 C:\WINDOWS\System32\CRYPT32.dll
0x00007ffcf6a20000 - 0x00007ffcf6a4e000 C:\WINDOWS\SYSTEM32\ncrypt.dll
0x00007ffcf69e0000 - 0x00007ffcf6a17000 C:\WINDOWS\SYSTEM32\NTASN1.dll
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=F:\workspace\idea\zhgd\ah_jjzhgd_service\ah_jjzhgd_service -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.1 -Dclassworlds.conf=D:\maven\apache-maven-3.6.1\bin\m2.conf -Dmaven.ext.class.path=D:\software\idea\IntelliJ IDEA 2023.1.6\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\software\idea\IntelliJ IDEA 2023.1.6\lib\idea_rt.jar=56465:D:\software\idea\IntelliJ IDEA 2023.1.6\bin -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.1.6 --update-snapshots -s D:\maven\apache-maven-3.6.1\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.1\boot\plexus-classworlds-2.6.0.jar;D:\software\idea\IntelliJ IDEA 2023.1.6\lib\idea_rt.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\java\jdk
CLASSPATH=.;D:\java\jdk\lib;D:\java\jdk\lib\tools.jar
PATH=D:\software\FortifySC\bin;C:\app\heizi\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_2\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\software\bandizip\;D:\java\jdk\bin;D:\java\jdk\jre\bin;D:\software\tomcat\bin;D:\software\tomcat\bin;D:\maven\apache-maven-3.6.1\bin;D:\software\xshell\;D:\software\xftp\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;G:\software\svn\bin;C:\Program Files\Git\cmd;D:\software\svn\bin;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\TortoiseGit\bin;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node
USERNAME=ºÚ×Ó
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
CPU:total 16 (initial active 16) (16 cores per cpu, 1 threads per core) family 25 model 68 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
Memory: 4k page, physical 15930072k(623960k free), swap 42144596k(5128k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.401-b10) for windows-amd64 JRE (1.8.0_401-b10), built on Dec 19 2023 12:38:48 by "java_re" with MS VC++ 17.1 (VS2022)
time: Mon Jun 3 14:43:35 2024
timezone: AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
elapsed time: 35.488628 seconds (0d 0h 0m 35s)

368
hs_err_pid2804.log Normal file
View File

@ -0,0 +1,368 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 437152 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:389), pid=2804, tid=0x0000000000008090
#
# JRE version: Java(TM) SE Runtime Environment (8.0_401) (build 1.8.0_401-b10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.401-b10 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
--------------- T H R E A D ---------------
Current thread (0x0000013f1dc21800): JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=32912, stack(0x0000000a8c600000,0x0000000a8c700000)]
Stack: [0x0000000a8c600000,0x0000000a8c700000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x3530d9]
V [jvm.dll+0x290072]
V [jvm.dll+0x290c3d]
V [jvm.dll+0x285275]
V [jvm.dll+0xdbbbc]
V [jvm.dll+0xdc3cc]
V [jvm.dll+0x49ca0c]
V [jvm.dll+0x45fd20]
V [jvm.dll+0x46928f]
V [jvm.dll+0x468689]
V [jvm.dll+0x4523ac]
V [jvm.dll+0xb08f6]
V [jvm.dll+0xaefcf]
V [jvm.dll+0x2515d2]
V [jvm.dll+0x2acb3c]
C [ucrtbase.dll+0x29333]
C [KERNEL32.DLL+0x1257d]
C [ntdll.dll+0x5aa48]
Current CompileTask:
C2: 29388 12825 4 lombok.javac.JavacAST::buildTree (176 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000013f1dc20000 JavaThread "Service Thread" daemon [_thread_blocked, id=26336, stack(0x0000000a8cc00000,0x0000000a8cd00000)]
0x0000013f1dc1f000 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=31552, stack(0x0000000a8cb00000,0x0000000a8cc00000)]
0x0000013f1dc1d800 JavaThread "C1 CompilerThread10" daemon [_thread_blocked, id=33580, stack(0x0000000a8ca00000,0x0000000a8cb00000)]
0x0000013f1dc1d000 JavaThread "C1 CompilerThread9" daemon [_thread_blocked, id=33168, stack(0x0000000a8c900000,0x0000000a8ca00000)]
0x0000013f1dc1c000 JavaThread "C1 CompilerThread8" daemon [_thread_blocked, id=31576, stack(0x0000000a8c800000,0x0000000a8c900000)]
0x0000013f1dc20800 JavaThread "C2 CompilerThread7" daemon [_thread_blocked, id=28416, stack(0x0000000a8c700000,0x0000000a8c800000)]
=>0x0000013f1dc21800 JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=32912, stack(0x0000000a8c600000,0x0000000a8c700000)]
0x0000013f1dc1b800 JavaThread "C2 CompilerThread5" daemon [_thread_in_native, id=2724, stack(0x0000000a8c500000,0x0000000a8c600000)]
0x0000013f1dc1a800 JavaThread "C2 CompilerThread4" daemon [_thread_in_native, id=5480, stack(0x0000000a8c400000,0x0000000a8c500000)]
0x0000013f1dc30000 JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=5180, stack(0x0000000a8c300000,0x0000000a8c400000)]
0x0000013f1dc29000 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=33340, stack(0x0000000a8c200000,0x0000000a8c300000)]
0x0000013f1dc26000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=31908, stack(0x0000000a8c100000,0x0000000a8c200000)]
0x0000013f1dc23800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=33088, stack(0x0000000a8c000000,0x0000000a8c100000)]
0x0000013f1dc1e800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=29564, stack(0x0000000a8bf00000,0x0000000a8c000000)]
0x0000013f1dbf3000 JavaThread "Attach Listener" daemon [_thread_blocked, id=30300, stack(0x0000000a8be00000,0x0000000a8bf00000)]
0x0000013f1db88000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23976, stack(0x0000000a8bd00000,0x0000000a8be00000)]
0x0000013f1af99800 JavaThread "Finalizer" daemon [_thread_blocked, id=32924, stack(0x0000000a8bc00000,0x0000000a8bd00000)]
0x0000013f1db71800 JavaThread "Reference Handler" daemon [_thread_blocked, id=30064, stack(0x0000000a8bb00000,0x0000000a8bc00000)]
0x0000013f007a2000 JavaThread "main" [_thread_in_native, id=32196, stack(0x0000000a8ac00000,0x0000000a8ad00000)]
Other Threads:
0x0000013f1af88800 VMThread [stack: 0x0000000a8ba00000,0x0000000a8bb00000] [id=9880]
0x0000013f1dd3a800 WatcherThread [stack: 0x0000000a8cd00000,0x0000000a8ce00000] [id=27144]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
heap address: 0x00000006cce00000, size: 3890 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000
Heap:
PSYoungGen total 495616K, used 356317K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 68% used [0x000000076ef80000,0x00000007811fc390,0x0000000789a00000)
from space 58880K, 99% used [0x0000000789a00000,0x000000078d37b368,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 138278K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 53% used [0x00000006cce00000,0x00000006d5509908,0x00000006dca00000)
Metaspace used 53536K, capacity 55496K, committed 55808K, reserved 1097728K
class space used 6098K, capacity 6583K, committed 6656K, reserved 1048576K
Card table byte_map: [0x0000013f11470000,0x0000013f11c10000] byte_map_base: 0x0000013f0de09000
Marking Bits: (ParMarkBitMap*) 0x00007ffc85795fc0
Begin Bits: [0x0000013f12130000, 0x0000013f15df8000)
End Bits: [0x0000013f15df8000, 0x0000013f19ac0000)
Polling page: 0x0000013f00740000
CodeCache: size=245760Kb used=49354Kb max_used=49383Kb free=196405Kb
bounds [0x0000013f020b0000, 0x0000013f05120000, 0x0000013f110b0000]
total_blobs=10518 nmethods=10005 adapters=422
compilation: enabled
Compilation events (10 events):
Event: 29.238 Thread 0x0000013f1dc1d000 nmethod 12906 0x0000013f050f5b90 code [0x0000013f050f60e0, 0x0000013f050fa010]
Event: 29.244 Thread 0x0000013f1dc1c000 12908 3 com.sun.tools.javac.code.Symtab::synthesizeEmptyInterfaceIfMissing (29 bytes)
Event: 29.244 Thread 0x0000013f1dc1d800 12909 3 com.sun.tools.javac.code.Symtab$1::<init> (15 bytes)
Event: 29.244 Thread 0x0000013f1dc1f000 12910 3 com.sun.tools.javac.comp.TypeEnvs::instance (26 bytes)
Event: 29.244 Thread 0x0000013f1dc1d800 nmethod 12909 0x0000013f050e9090 code [0x0000013f050e91e0, 0x0000013f050e93d8]
Event: 29.244 Thread 0x0000013f1dc1c000 nmethod 12908 0x0000013f050fbdd0 code [0x0000013f050fbf40, 0x0000013f050fc238]
Event: 29.244 Thread 0x0000013f1dc1c000 12911 3 com.sun.tools.javac.util.Options::isUnset (20 bytes)
Event: 29.245 Thread 0x0000013f1dc1f000 nmethod 12910 0x0000013f050fc390 code [0x0000013f050fc540, 0x0000013f050fcb20]
Event: 29.245 Thread 0x0000013f1dc1c000 nmethod 12911 0x0000013f050fcdd0 code [0x0000013f050fcf80, 0x0000013f050fd550]
Event: 29.361 Thread 0x0000013f1dc20800 nmethod 12759 0x0000013f05104c90 code [0x0000013f05105a40, 0x0000013f0510b940]
GC Heap History (10 events):
Event: 21.368 GC heap before
{Heap before GC invocations=17 (full 2):
PSYoungGen total 493568K, used 477169K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 100% used [0x000000076ef80000,0x0000000789a00000,0x0000000789a00000)
from space 56832K, 71% used [0x000000078d400000,0x000000078fb7c450,0x0000000790b80000)
to space 58880K, 0% used [0x0000000789a00000,0x0000000789a00000,0x000000078d380000)
ParOldGen total 258048K, used 92892K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 35% used [0x00000006cce00000,0x00000006d28b7358,0x00000006dca00000)
Metaspace used 48411K, capacity 50004K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5896K, committed 6016K, reserved 1048576K
Event: 21.385 GC heap after
Heap after GC invocations=17 (full 2):
PSYoungGen total 495616K, used 35814K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000789a00000)
from space 58880K, 60% used [0x0000000789a00000,0x000000078bcf9828,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 92900K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 36% used [0x00000006cce00000,0x00000006d28b9358,0x00000006dca00000)
Metaspace used 48411K, capacity 50004K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5896K, committed 6016K, reserved 1048576K
}
Event: 21.533 GC heap before
{Heap before GC invocations=18 (full 2):
PSYoungGen total 495616K, used 472550K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 100% used [0x000000076ef80000,0x0000000789a00000,0x0000000789a00000)
from space 58880K, 60% used [0x0000000789a00000,0x000000078bcf9828,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 92900K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 36% used [0x00000006cce00000,0x00000006d28b9358,0x00000006dca00000)
Metaspace used 48429K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5897K, committed 6016K, reserved 1048576K
Event: 21.546 GC heap after
Heap after GC invocations=18 (full 2):
PSYoungGen total 493568K, used 39720K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000789a00000)
from space 56832K, 69% used [0x000000078d400000,0x000000078faca348,0x0000000790b80000)
to space 58880K, 0% used [0x0000000789a00000,0x0000000789a00000,0x000000078d380000)
ParOldGen total 258048K, used 92908K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 36% used [0x00000006cce00000,0x00000006d28bb358,0x00000006dca00000)
Metaspace used 48429K, capacity 50074K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5897K, committed 6016K, reserved 1048576K
}
Event: 21.690 GC heap before
{Heap before GC invocations=19 (full 2):
PSYoungGen total 493568K, used 476456K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 100% used [0x000000076ef80000,0x0000000789a00000,0x0000000789a00000)
from space 56832K, 69% used [0x000000078d400000,0x000000078faca348,0x0000000790b80000)
to space 58880K, 0% used [0x0000000789a00000,0x0000000789a00000,0x000000078d380000)
ParOldGen total 258048K, used 92908K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 36% used [0x00000006cce00000,0x00000006d28bb358,0x00000006dca00000)
Metaspace used 48435K, capacity 50138K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5897K, committed 6016K, reserved 1048576K
Event: 21.706 GC heap after
Heap after GC invocations=19 (full 2):
PSYoungGen total 495616K, used 34746K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000789a00000)
from space 58880K, 59% used [0x0000000789a00000,0x000000078bbee918,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 101526K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 39% used [0x00000006cce00000,0x00000006d31258a8,0x00000006dca00000)
Metaspace used 48435K, capacity 50138K, committed 50304K, reserved 1093632K
class space used 5495K, capacity 5897K, committed 6016K, reserved 1048576K
}
Event: 22.819 GC heap before
{Heap before GC invocations=20 (full 2):
PSYoungGen total 495616K, used 471482K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 100% used [0x000000076ef80000,0x0000000789a00000,0x0000000789a00000)
from space 58880K, 59% used [0x0000000789a00000,0x000000078bbee918,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 101526K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 39% used [0x00000006cce00000,0x00000006d31258a8,0x00000006dca00000)
Metaspace used 48612K, capacity 50268K, committed 50560K, reserved 1093632K
class space used 5505K, capacity 5899K, committed 6016K, reserved 1048576K
Event: 22.840 GC heap after
Heap after GC invocations=20 (full 2):
PSYoungGen total 493568K, used 39350K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000789a00000)
from space 56832K, 69% used [0x000000078d400000,0x000000078fa6da00,0x0000000790b80000)
to space 58880K, 0% used [0x0000000789a00000,0x0000000789a00000,0x000000078d380000)
ParOldGen total 258048K, used 109958K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 42% used [0x00000006cce00000,0x00000006d3961b78,0x00000006dca00000)
Metaspace used 48612K, capacity 50268K, committed 50560K, reserved 1093632K
class space used 5505K, capacity 5899K, committed 6016K, reserved 1048576K
}
Event: 26.724 GC heap before
{Heap before GC invocations=21 (full 2):
PSYoungGen total 493568K, used 476086K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 100% used [0x000000076ef80000,0x0000000789a00000,0x0000000789a00000)
from space 56832K, 69% used [0x000000078d400000,0x000000078fa6da00,0x0000000790b80000)
to space 58880K, 0% used [0x0000000789a00000,0x0000000789a00000,0x000000078d380000)
ParOldGen total 258048K, used 109958K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 42% used [0x00000006cce00000,0x00000006d3961b78,0x00000006dca00000)
Metaspace used 50327K, capacity 52078K, committed 52224K, reserved 1095680K
class space used 5698K, capacity 6139K, committed 6144K, reserved 1048576K
Event: 26.755 GC heap after
Heap after GC invocations=21 (full 2):
PSYoungGen total 495616K, used 58860K [0x000000076ef80000, 0x0000000790d00000, 0x00000007c0000000)
eden space 436736K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000789a00000)
from space 58880K, 99% used [0x0000000789a00000,0x000000078d37b368,0x000000078d380000)
to space 56832K, 0% used [0x000000078d400000,0x000000078d400000,0x0000000790b80000)
ParOldGen total 258048K, used 138278K [0x00000006cce00000, 0x00000006dca00000, 0x000000076ef80000)
object space 258048K, 53% used [0x00000006cce00000,0x00000006d5509908,0x00000006dca00000)
Metaspace used 50327K, capacity 52078K, committed 52224K, reserved 1095680K
class space used 5698K, capacity 6139K, committed 6144K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 27.849 Thread 0x0000013f007a2000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013f047fd574 method=java.util.ComparableTimSort.mergeLo(IIII)V @ 176
Event: 27.849 Thread 0x0000013f007a2000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013f02c5af10 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 214
Event: 27.989 Thread 0x0000013f007a2000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x0000013f05024420 method=org.codehaus.plexus.util.xml.Xpp3Dom.mergeIntoXpp3Dom(Lorg/codehaus/plexus/util/xml/Xpp3Dom;Lorg/codehaus/plexus/util/xml/Xpp3Dom;Ljava/lang/Boolean;)V @ 19
Event: 28.011 Thread 0x0000013f007a2000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000013f04266c34 method=org.eclipse.aether.artifact.AbstractArtifact.hash(Ljava/lang/Object;)I @ 1
Event: 28.293 Thread 0x0000013f007a2000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000013f02c2a2d0 method=java.util.jar.Attributes$Name.isAlpha(C)Z @ 21
Event: 28.390 Thread 0x0000013f007a2000 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013f047fd330 method=java.util.ComparableTimSort.mergeLo(IIII)V @ 465
Event: 28.393 Thread 0x0000013f007a2000 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013f03be1564 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 654
Event: 28.393 Thread 0x0000013f007a2000 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013f047fd330 method=java.util.ComparableTimSort.mergeLo(IIII)V @ 465
Event: 28.393 Thread 0x0000013f007a2000 Uncommon trap: reason=array_check action=maybe_recompile pc=0x0000013f03be1564 method=java.util.ComparableTimSort.mergeHi(IIII)V @ 654
Event: 28.532 Thread 0x0000013f007a2000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000013f029c9158 method=com.sun.tools.javac.util.ArrayUtils.ensureCapacity([BI)[B @ 3
Classes redefined (0 events):
No events
Internal exceptions (10 events):
Event: 16.726 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x0000000775acd278) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 17.755 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x000000077d569060) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 18.505 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x0000000782193290) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 20.399 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x0000000775ba7f50) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 21.089 Thread 0x0000013f007a2000 Implicit null exception at 0x0000013f02afd24c to 0x0000013f02afd399
Event: 24.504 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x00000007791b7228) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 27.400 Thread 0x0000013f007a2000 Exception <a 'java/lang/NoClassDefFoundError': org/sonatype/aether/graph/Dependency> (0x00000007721e4930) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 202]
Event: 27.553 Thread 0x0000013f007a2000 Implicit null exception at 0x0000013f0329003c to 0x0000013f032904ed
Event: 27.989 Thread 0x0000013f007a2000 Implicit null exception at 0x0000013f0501f8ab to 0x0000013f05024411
Event: 28.376 Thread 0x0000013f007a2000 Exception <a 'java/io/FileNotFoundException'> (0x000000077824cd78) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
Events (10 events):
Event: 29.071 loading class com/sun/tools/javac/processing/JavacProcessingEnvironment$processor
Event: 29.071 loading class com/sun/tools/javac/processing/JavacProcessingEnvironment$processor done
Event: 29.073 loading class java/lang/Module
Event: 29.073 loading class java/lang/Module done
Event: 29.073 loading class com/sun/tools/javac/util/CancelService
Event: 29.073 loading class com/sun/tools/javac/util/CancelService done
Event: 29.075 loading class com/sun/tools/javac/file/BaseFileManager
Event: 29.075 loading class com/sun/tools/javac/file/BaseFileManager done
Event: 29.243 loading class lombok/launch/AnnotationProcessorHider$ClaimingProcessor
Event: 29.243 loading class lombok/launch/AnnotationProcessorHider$ClaimingProcessor done
Dynamic libraries:
0x00007ff796eb0000 - 0x00007ff796efa000 D:\Java\jdk\bin\java.exe
0x00007ffcf9e50000 - 0x00007ffcfa067000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffcf8790000 - 0x00007ffcf8854000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffcf73d0000 - 0x00007ffcf7777000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffcf7d10000 - 0x00007ffcf7dc2000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffcf9c30000 - 0x00007ffcf9cd7000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffcf7c60000 - 0x00007ffcf7d08000 C:\WINDOWS\System32\sechost.dll
0x00007ffcf73a0000 - 0x00007ffcf73c8000 C:\WINDOWS\System32\bcrypt.dll
0x00007ffcf9ce0000 - 0x00007ffcf9df5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffcf85b0000 - 0x00007ffcf875e000 C:\WINDOWS\System32\USER32.dll
0x00007ffcf7800000 - 0x00007ffcf7826000 C:\WINDOWS\System32\win32u.dll
0x00007ffcf9c00000 - 0x00007ffcf9c29000 C:\WINDOWS\System32\GDI32.dll
0x00007ffcf7a60000 - 0x00007ffcf7b79000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffcf7300000 - 0x00007ffcf739a000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffcf71e0000 - 0x00007ffcf72f1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffce3010000 - 0x00007ffce32a3000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3527_none_270e469b73872a76\COMCTL32.dll
0x00007ffcf9b40000 - 0x00007ffcf9b71000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffcc9900000 - 0x00007ffcc991b000 D:\Java\jdk\jre\bin\vcruntime140.dll
0x00007ffcca5b0000 - 0x00007ffcca5bc000 D:\Java\jdk\jre\bin\vcruntime140_1.dll
0x00007ffc85810000 - 0x00007ffc8589e000 D:\Java\jdk\jre\bin\msvcp140.dll
0x00007ffc84f60000 - 0x00007ffc85810000 D:\Java\jdk\jre\bin\server\jvm.dll
0x00007ffcf90d0000 - 0x00007ffcf90d8000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffcd5950000 - 0x00007ffcd5959000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffcf07e0000 - 0x00007ffcf07ea000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffced020000 - 0x00007ffced054000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffcf7ff0000 - 0x00007ffcf8061000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffcf6190000 - 0x00007ffcf61a8000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffcca260000 - 0x00007ffcca270000 D:\Java\jdk\jre\bin\verify.dll
0x00007ffcb9250000 - 0x00007ffcb927b000 D:\Java\jdk\jre\bin\java.dll
0x00007ffcdd800000 - 0x00007ffcdd834000 D:\Java\jdk\jre\bin\instrument.dll
0x00007ffcc6590000 - 0x00007ffcc65a8000 D:\Java\jdk\jre\bin\zip.dll
0x00007ffcf8870000 - 0x00007ffcf90cc000 C:\WINDOWS\System32\SHELL32.dll
0x00007ffcf50b0000 - 0x00007ffcf59a6000 C:\WINDOWS\SYSTEM32\windows.storage.dll
0x00007ffcf8220000 - 0x00007ffcf85a8000 C:\WINDOWS\System32\combase.dll
0x00007ffcf4f70000 - 0x00007ffcf50ae000 C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007ffcf95c0000 - 0x00007ffcf96b5000 C:\WINDOWS\System32\SHCORE.dll
0x00007ffcf7dd0000 - 0x00007ffcf7e2e000 C:\WINDOWS\System32\shlwapi.dll
0x00007ffcf70a0000 - 0x00007ffcf70c1000 C:\WINDOWS\SYSTEM32\profapi.dll
0x00007ffcf2270000 - 0x00007ffcf228a000 D:\software\idea\IntelliJ IDEA 2023.1.6\bin\breakgen64.dll
0x00007ffcbfe70000 - 0x00007ffcbfe8c000 D:\java\jdk\jre\bin\net.dll
0x00007ffcf6600000 - 0x00007ffcf6669000 C:\WINDOWS\system32\mswsock.dll
0x00007ffcf6870000 - 0x00007ffcf688b000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x00007ffcf60f0000 - 0x00007ffcf6125000 C:\WINDOWS\system32\rsaenh.dll
0x00007ffcf6700000 - 0x00007ffcf6728000 C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ffcf7780000 - 0x00007ffcf77f9000 C:\WINDOWS\System32\bcryptprimitives.dll
0x00007ffcf6860000 - 0x00007ffcf686c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x00007ffcf5c10000 - 0x00007ffcf5c3d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ffcf8860000 - 0x00007ffcf8869000 C:\WINDOWS\System32\NSI.dll
0x00007ffcf1400000 - 0x00007ffcf1419000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ffcf13e0000 - 0x00007ffcf13ff000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ffcf5c80000 - 0x00007ffcf5d78000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ffcbe580000 - 0x00007ffcbe593000 D:\java\jdk\jre\bin\nio.dll
0x00007ffcf2a10000 - 0x00007ffcf2a1a000 C:\Users\86157\AppData\Local\Temp\jansi-1.17.1-6233512026457457072.dll
0x00007ffcb9110000 - 0x00007ffcb9135000 D:\java\jdk\jre\bin\sunec.dll
0x00007ffcf0450000 - 0x00007ffcf045a000 C:\Windows\System32\rasadhlp.dll
0x00007ffcf0a80000 - 0x00007ffcf0b03000 C:\WINDOWS\System32\fwpuclnt.dll
0x00007ffcc8c00000 - 0x00007ffcc8c0e000 D:\java\jdk\jre\bin\sunmscapi.dll
0x00007ffcf7830000 - 0x00007ffcf7998000 C:\WINDOWS\System32\CRYPT32.dll
0x00007ffcf6a20000 - 0x00007ffcf6a4e000 C:\WINDOWS\SYSTEM32\ncrypt.dll
0x00007ffcf69e0000 - 0x00007ffcf6a17000 C:\WINDOWS\SYSTEM32\NTASN1.dll
0x00007ffcf47c0000 - 0x00007ffcf49f2000 C:\WINDOWS\SYSTEM32\dbghelp.dll
0x00007ffcf7b80000 - 0x00007ffcf7c57000 C:\WINDOWS\System32\OLEAUT32.dll
VM Arguments:
jvm_args: -Dmaven.multiModuleProjectDirectory=F:\workspace\idea\zhgd\ah_jjzhgd_service\ah_jjzhgd_service -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.1 -Dclassworlds.conf=D:\maven\apache-maven-3.6.1\bin\m2.conf -Dmaven.ext.class.path=D:\software\idea\IntelliJ IDEA 2023.1.6\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\software\idea\IntelliJ IDEA 2023.1.6\lib\idea_rt.jar=56368:D:\software\idea\IntelliJ IDEA 2023.1.6\bin -Dfile.encoding=UTF-8
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.1.6 --update-snapshots -s D:\maven\apache-maven-3.6.1\conf\settings.xml install
java_class_path (initial): D:\maven\apache-maven-3.6.1\boot\plexus-classworlds-2.6.0.jar;D:\software\idea\IntelliJ IDEA 2023.1.6\lib\idea_rt.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\java\jdk
CLASSPATH=.;D:\java\jdk\lib;D:\java\jdk\lib\tools.jar
PATH=D:\software\FortifySC\bin;C:\app\heizi\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_2\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\software\bandizip\;D:\java\jdk\bin;D:\java\jdk\jre\bin;D:\software\tomcat\bin;D:\software\tomcat\bin;D:\maven\apache-maven-3.6.1\bin;D:\software\xshell\;D:\software\xftp\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;G:\software\svn\bin;C:\Program Files\Git\cmd;D:\software\svn\bin;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\TortoiseGit\bin;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node
USERNAME=ºÚ×Ó
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.3527)
CPU:total 16 (initial active 16) (16 cores per cpu, 1 threads per core) family 25 model 68 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
Memory: 4k page, physical 15930072k(491748k free), swap 42144596k(5284k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.401-b10) for windows-amd64 JRE (1.8.0_401-b10), built on Dec 19 2023 12:38:48 by "java_re" with MS VC++ 17.1 (VS2022)
time: Mon Jun 3 14:42:28 2024
timezone: AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
elapsed time: 29.394825 seconds (0d 0h 0m 29s)

12
pom.xml
View File

@ -34,7 +34,7 @@
<jjwt.version>0.9.1</jjwt.version>
<minio.version>8.2.2</minio.version>
<poi.version>4.1.2</poi.version>
<commons-collections.version>3.2.2</commons-collections.version>
<commons-collections.version>3.2.1</commons-collections.version>
<transmittable-thread-local.version>2.13.2</transmittable-thread-local.version>
</properties>
@ -70,11 +70,11 @@
</dependency>
<!-- FastDFS 分布式文件系统 -->
<dependency>
<groupId>com.github.tobato</groupId>
<artifactId>fastdfs-client</artifactId>
<version>${tobato.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.github.tobato</groupId>-->
<!-- <artifactId>fastdfs-client</artifactId>-->
<!-- <version>${tobato.version}</version>-->
<!-- </dependency>-->
<!-- Mybatis 依赖配置 -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>

6539
replay_pid25608.log Normal file

File diff suppressed because one or more lines are too long

6947
replay_pid2804.log Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -99,6 +99,32 @@
<groupId>com.securitycontrol</groupId>
<artifactId>securitycontrol-commons-log</artifactId>
</dependency>
<!--isc 使用包-->
<dependency>
<groupId>isc_sm_agent</groupId>
<artifactId>isc_sm_agent</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/isc_sm_agent-1.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.10</version>
</dependency>
<!-- jackson 1.x 相关依赖 -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
</dependencies>

View File

@ -1,6 +1,10 @@
package com.securitycontrol.auth.controller;
import cn.hutool.http.HttpResponse;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson2.JSON;
import com.google.common.collect.Maps;
import com.securitycontrol.auth.form.LoginBody;
import com.securitycontrol.auth.service.SysLoginService;
import com.securitycontrol.auth.service.SysRecordLogService;
@ -14,21 +18,27 @@ import com.securitycontrol.common.security.service.TokenService;
import com.securitycontrol.common.security.utils.SecurityUtils;
import com.securitycontrol.system.api.domain.decision.SysMenu;
import com.securitycontrol.system.api.model.LoginUser;
import com.sgcc.isc.core.orm.identity.User;
import com.sgcc.isc.framework.common.constant.Constants;
import com.sgcc.isc.service.adapter.factory.AdapterFactory;
import com.sgcc.isc.service.adapter.helper.IIdentityService;
import com.sgcc.isc.service.adapter.helper.IResourceService;
import io.jsonwebtoken.Claims;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.util.Base64Util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.*;
import java.util.stream.Collectors;
/**
@ -54,13 +64,49 @@ public class TokenController {
private SysRecordLogService recordLogService;
@Value("${isc.url}")
private String url;
@Value("${isc.appId}")
private String appId;
@PostMapping("login")
public Result<?> login(@RequestBody LoginBody form) {
// Map<String,Object> map=getIscLogin(form.getUsername(), form.getPassword());
LoginUser userInfo = sysLoginService.login(form.getUsername(), form.getPassword(), form.getLoginType(), null);
// 获取登录token
return Result.ok(tokenService.createToken(userInfo), "登录成功");
}
private Map<String, Object> getIscLogin(String username, String password) {
Map<String,Object> map= Maps.newHashMap();
Boolean isLogin=false;
try{
System.err.println(3);
IIdentityService service=(IIdentityService )AdapterFactory.getInstance(Constants.CLASS_IDENTITY);
User user=service.userLoginAuth(username,password);
log.info(user.getId());
log.info("user--->{}", user);
log.info(user.toString());
HashMap<String,List> maps=service.getObjectsByUserId(user.getId(),appId);
for (Map.Entry<String, List> entry : maps.entrySet()) {
System.out.println("Key = " + entry.getKey());
log.info("list--->{}", entry.getValue());
}
}catch (Exception e){
map.put("menu",new ArrayList<>());
map.put("isL","false");
map.put("pwd","1233");
map.put("loginName",username);
log.error(e.toString(),e);
}
return map;
}
/**
* 本地推出登录
*

View File

@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
@ -45,12 +46,20 @@ public class SysLoginService
public int times =5*60;
public static String[] BLACK_URL=new String[]{"<script>","<img>","<a>","<html>","alert(","#"};
/**
* 登录
*/
public LoginUser login(String username, String password,String loginType,List<SysMenu> list) {
String ip = IpUtils.getIpAddr(ServletUtils.getRequest());
long startTime = System.currentTimeMillis();
Arrays.asList(BLACK_URL).forEach(e->{
if (username.contains(e)) {
recordLogService.recordLogininfor(username,null,"用户登录","请输入正确的账号,账号非法",1,0,"username="+username,startTime);
throw new ServiceException("请输入正确的账号",201);
}
});
// 用户名或密码为空 错误
if (StringUtils.isAnyBlank(username, password))
{

View File

@ -73,6 +73,8 @@ public class SysPasswordService
return SecurityUtils.matchesPassword(rawPassword, user.getPassword());
}
public void clearLoginRecordCache(String loginName) {
if (redisService.hasKey(getCacheKey(loginName)))
{

View File

@ -16,13 +16,13 @@ spring:
nacos:
discovery:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
namespace: jjzhgd
# 服务注册地址
server-addr: 127.0.0.1:8848
config:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
namespace: jjzhgd
server-addr: 127.0.0.1:8848
# 配置文件格式
@ -34,3 +34,6 @@ spring:
jasypt:
encryptor:
password: Encrypt
isc:
appId: 9bb295b78f95350d018fc23d3f284f1f
url: 10.138.107.32:17002/isc_frontmv_serv/userLoginAuth

View File

@ -0,0 +1,51 @@
package com.securitycontrol.common.core.utils;
/**
* 校验工具类
*/
public class ValidateUtil {
public static void main(String[] args) {
System.err.println(("admin@123456"));
System.err.println(validatePassword("admin@123456"));
}
/**
* 密码复杂度校验
* @param password
* @return
*
* 密码必须包含 大写小写数字字母和特殊符号
* 并且长度在8-26位
*/
public static boolean validatePassword(String password) {
if (password.length() < 8) {
return false;
}
if (password.length() > 26) {
return false;
}
boolean hasUpperCase = false;
boolean hasLowerCase = false;
boolean hasDigit = false;
boolean hasSpecialChar = false;
for (char c : password.toCharArray()) {
if (Character.isUpperCase(c)) {
hasUpperCase = true;
} else if (Character.isLowerCase(c)) {
hasLowerCase = true;
} else if (Character.isDigit(c)) {
hasDigit = true;
} else {
hasSpecialChar = true;
}
}
return hasUpperCase && hasLowerCase && hasDigit && hasSpecialChar;
}
}

View File

@ -76,8 +76,11 @@ public class AesCbcUtils {
public static void main(String[] args) {
// String json="";
String json="{\"username\":\"guest\",\"password\":\"admin@123\"}";
String data=encrypt(json);
String jm=decrypt("2rrMRoOfoo9n17MTPSRTidwgXeatSLxWFQfPNSCUJdHvqT58extTi87f1e5LJS0DdMcjzIdtFoHvur9gP7desQ==");
System.err.println(jm);
System.err.println(data);
}

View File

@ -46,6 +46,7 @@ public class BaseController
*/
protected void startPage()
{
PageUtils.startPage();
}
protected void startLayPage()

View File

@ -13,5 +13,5 @@ public class DeviceDto {
private String keyWord;
private int onLine;
private String onLine;
}

View File

@ -52,6 +52,16 @@ public class DeviceBdDetailVo {
@ApiModelProperty("1.新增 2.修改")
private int type;
private String val;
//是否告警
private String isWarn;
/**
* 变化值
*/
private String changeVal;
private String updateTime;
/**
* 查询条件限制
*/

View File

@ -63,7 +63,10 @@ public class ParamSecureHandler implements AsyncHandlerInterceptor {
/**
* 越权 大屏路径拦截-指定的前缀拦截
*/
public static String[] SC_URL= new String[]{"/largeScreen/accessMge/","/largeScreen/alarmMge/","/largeScreen/constructionQuality/","/largeScreen/operatingEnvironment/","/largeScreen/personnelControl/","/largeScreen/scIndex/","/largeScreen/towerAssInspect/","/largeScreen/video/","/largeScreen/xcIndex/"};
public static String[] SC_URL= new String[]{"/app/index/","/largeScreen/accessMge/",
"/largeScreen/alarmMge/","/largeScreen/constructionQuality/","/largeScreen/operatingEnvironment/",
"/largeScreen/personnelControl/","/largeScreen/scIndex/","/largeScreen/towerAssInspect/",
"/largeScreen/video/","/largeScreen/xcIndex/"};
private final String whiteURL = "http://127.0.0.1:18080/";

View File

@ -97,7 +97,12 @@ public class SecurityUtils {
}
public static void main(String[] args) {
System.err.println(encryptPassword("admin@123"));
System.err.println("结果4");
System.err.println(encryptPassword("Bonus@admin123"));
boolean B= matchesPassword("Bonus@admin123",
"$2a$10$EMXw0w7YWmiLZR9HGaQUQeY8.d9UpU4y2v1ffUz1aqEdlZAF/uiTy");
System.err.println("结果5");
System.err.println(B);
}
/**
@ -111,4 +116,7 @@ public class SecurityUtils {
BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
return passwordEncoder.matches(rawPassword, encodedPassword);
}
}

View File

@ -1,11 +1,9 @@
package com.securitycontrol.gateway.filter;
import cn.hutool.core.util.StrUtil;
import cn.hutool.crypto.CryptoException;
import com.securitycontrol.common.core.utils.CommonConstant;
import com.securitycontrol.common.core.utils.StringUtils;
import com.securitycontrol.common.core.utils.aes.AesCbcUtils;
import com.securitycontrol.common.core.utils.aes.MonoUtils;
import com.securitycontrol.common.core.utils.aes.StringHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
@ -19,15 +17,11 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.http.server.reactive.ServerHttpRequestDecorator;
import org.springframework.stereotype.Component;
import org.springframework.util.MultiValueMap;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.util.UriComponentsBuilder;
import reactor.core.publisher.Flux;
import java.lang.reflect.Field;
import java.net.URI;
import java.security.interfaces.RSAPrivateKey;
/**
* @Author: meng
* @Description: RSA实现对请求参数解密

View File

@ -17,7 +17,7 @@ spring:
nacos:
discovery:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
namespace: jjzhgd
# 服务注册地址
server-addr: 127.0.0.1:8848
@ -32,7 +32,7 @@ spring:
shared-configs:
- vsc-dev.yml
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
namespace: jjzhgd
# server-addr: 10.138.132.188:18848
management:

View File

@ -42,7 +42,13 @@
<groupId>com.securitycontrol</groupId>
<artifactId>securitycontrol-commons-swagger</artifactId>
</dependency>
<dependency>
<groupId>sgjdbc_20230302</groupId>
<artifactId>sgjdbc_20230302</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sgjdbc_20230302.jar</systemPath>
</dependency>
<!-- SpringCloud Alibaba Nacos Config -->
<dependency>
<groupId>com.alibaba.cloud</groupId>

View File

@ -137,4 +137,10 @@ public interface BdMapper {
* @return
*/
List<ProjectVo> getGtList(InterfaceParamVo param);
/**
* 更新设备状态
* @param selectDataVo
*/
void updateDeviceState(SelectDataVo selectDataVo);
}

View File

@ -6,6 +6,7 @@ import com.securitycontrol.common.core.constant.HttpStatus;
import com.securitycontrol.common.core.constant.SecurityConstants;
import com.securitycontrol.common.core.domain.Result;
import com.securitycontrol.common.core.utils.aes.AesCbcUtils;
import com.securitycontrol.common.core.utils.aes.DateTimeHelper;
import com.securitycontrol.common.core.utils.aes.ListHelper;
import com.securitycontrol.common.core.utils.aes.StringHelper;
import com.securitycontrol.common.core.utils.uuid.IdUtils;
@ -191,14 +192,19 @@ public class BdServiceImpl {
keys.forEach(key->{
//查询系统的id
SelectDataVo selectDataVo=mapper.getBdDeviceDetailByIdCode(id,key);
String value=data.getString(key);
selectDataVo.setValue(value);
selectDataVo.setChangeValue(getChangeValue(selectDataVo));
selectDataVo.setSourceData(json);
selectDataVo.setIsWarn(finalIsWarn);
selectDataVo.setSourceType(sourceType);
mapper.insertValue(selectDataVo);
insertHistoryValue(selectDataVo);
if(selectDataVo!=null){
String value=data.getString(key);
selectDataVo.setValue(value);
selectDataVo.setChangeValue(getChangeValue(selectDataVo));
selectDataVo.setSourceData(json);
selectDataVo.setIsWarn(finalIsWarn);
selectDataVo.setDataTime(param.getDataTime());
selectDataVo.setSourceType(sourceType);
mapper.insertValue(selectDataVo);
mapper.updateDeviceState(selectDataVo);
insertHistoryValue(selectDataVo);
}
});
}catch (Exception e){
log.error(e.toString(),e);
@ -215,7 +221,10 @@ public class BdServiceImpl {
try{
selectDataVo.setId(IdUtils.getuid());
//换成设备id
selectDataVo.setAttributeId(selectDataVo.getDeviceId());
// selectDataVo.setAttributeId(selectDataVo.getDeviceId());
if(StringHelper.isEmpty(selectDataVo.getDataTime())){
selectDataVo.setDataTime(DateTimeHelper.getNowTime());
}
mapper.insertHistoryValue(selectDataVo);
}catch (Exception e){
log.error(e.toString(),e);

View File

@ -19,12 +19,12 @@ spring:
nacos:
discovery:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
server-addr: 127.0.0.1:8848
namespace: jjzhgd
config:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
namespace: jjzhgd
server-addr: 127.0.0.1:8848
# 配置文件格式
@ -45,6 +45,6 @@ log:
file: logs/sys-back.log
maxsize: 30MB
file:
temp_file_path: E:\\tempFile
temp_file_path: /data/zhgd/file

View File

@ -17,9 +17,9 @@
</insert>
<insert id="insertHistoryValue">
insert into tb_his_device_value (id, bid_code, attribute_id, val, create_time, is_warn, source_type,
source_data, change_val, unit,gt_id)
source_data, change_val, unit,gt_id,device_id)
value( #{id}, #{bidCode}, #{attributeId}, #{value}, #{dataTime}, #{isWarn},#{sourceType},
#{sourceData},#{changeValue},#{unit}, #{gtId}
#{sourceData},#{changeValue},#{unit}, #{gtId},#{deviceId}
)
</insert>
<update id="bindBdPro">
@ -31,6 +31,9 @@
<update id="deviceStatus">
update tb_bd_device set status=#{state} where bd_code=#{deviceId} and bd_id=#{bdId}
</update>
<update id="updateDeviceState">
update tb_bd_device set status='1' where device_id=#{deviceId}
</update>
<!--查询工程名称-->
<select id="getProjectByName" resultType="com.securitycontrol.inter.vo.ProjectVo">
select id,pro_name projectName,pro_no projectNo,tjp.org_id builderNo,

View File

@ -47,7 +47,13 @@
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<dependency>
<groupId>sgjdbc_20230302</groupId>
<artifactId>sgjdbc_20230302</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sgjdbc_20230302.jar</systemPath>
</dependency>
<!-- SpringBoot Actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -0,0 +1,42 @@
package com.securitycontrol.background.controller;
import com.securitycontrol.background.mapper.IDeviceOfBdMapper;
import com.securitycontrol.common.core.utils.aes.ListHelper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.List;
/**
* 定时任务控制类
*
*/
@Component
@EnableScheduling
@Slf4j
public class ScheduleController {
@Autowired
private IDeviceOfBdMapper deviceOfBdMapper;
@Scheduled(cron = "10 * * * * ?")
@PostConstruct
public void getProInfo() {
try {
System.err.println("开始扫描不在线的设备----->");
List<String> list=deviceOfBdMapper.getUnLineDevice();
if(ListHelper.isEmpty(list)){
list.forEach(id->{
deviceOfBdMapper.updateDeviceState(id);
});
}
}catch (Exception e){
log.error(e.toString(),e);
}
}
}

View File

@ -5,6 +5,7 @@ import com.securitycontrol.entity.background.vo.DeviceBdChildVo;
import com.securitycontrol.entity.background.vo.DeviceBdDetailVo;
import com.securitycontrol.entity.background.vo.DeviceBdVo;
import com.securitycontrol.entity.background.vo.ProBdDevVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@ -198,6 +199,11 @@ public interface IDeviceOfBdMapper {
*/
DeviceBdDetailVo getDeviceBdChildDetailById(DeviceBdDto dto);
/**
* 查询未更新的设备
* @return
*/
List<String> getUnLineDevice();
/**
* 删除边带子设备详情数据
*
@ -226,4 +232,10 @@ public interface IDeviceOfBdMapper {
* @date 2024/4/3 9:44
*/
void delDeviceValue(DeviceBdDto dto);
/**
* 更新设备状态
* @param id
*/
void updateDeviceState(@Param("id") String id);
}

View File

@ -21,12 +21,12 @@ spring:
server-addr: 127.0.0.1:8848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: ENC(xLup+kLqCG2IPXSawqFfeqJAy3BwMz/ElXZNia2uutPwbjfjEUrhqyO4RRV6TAob)
config:
server-addr: 127.0.0.1:8848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: ENC(xLup+kLqCG2IPXSawqFfeqJAy3BwMz/ElXZNia2uutPwbjfjEUrhqyO4RRV6TAob)
# 配置文件格式
file-extension: yml
# 共享配置
@ -38,7 +38,7 @@ jasypt:
password: Encrypt
file:
# upload_path: /data/ahsbs/file
temp_file_path: E:\\tempFile
# 导出sql文件的位置
upload_path: /data/zhgd/file
temp_file_path: /data/zhgd/file

View File

@ -82,6 +82,7 @@
IF(status = '1','已处理','未处理') AS status
FROM tb_warn tw
WHERE tw.bid_code = #{bidCode}
-- AND tw.warn_time BETWEEN CONCAT(CURRENT_DATE,' 00:00:00') AND CONCAT(CURRENT_DATE,' 23:59:59')
ORDER BY warn_time DESC,status ASC
</select>
<!--工程工序计划-->

View File

@ -133,14 +133,27 @@
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">attribute_id,</if>
<if test="unit != null and unit!=''">unit,</if>
<if test="val != null and val!=''">val,</if>
<if test="isWarn != null and isWarn!=''">is_warn,</if>
<if test="changeVal != null and changeVal!=''">change_val,</if>
<if test="updateTime != null and updateTime!=''">create_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">#{id},</if>
<if test="unit != null and unit!=''">#{unit},</if>
<if test="val != null and val!=''">#{val},</if>
<if test="isWarn != null and isWarn!=''">#{isWarn},</if>
<if test="changeVal != null and changeVal!=''">#{changeVal},</if>
<if test="updateTime != null and updateTime!=''">#{updateTime},</if>
</trim>
</if>
<if test="type == 2">
UPDATE tb_device_value SET unit = #{unit} WHERE attribute_id = #{id}
UPDATE tb_device_value SET unit = #{unit}
<if test="val != null and val!=''">,val=#{val}</if>
<if test="isWarn != null and isWarn!=''">,is_warn=#{isWarn}</if>
<if test="changeVal != null and changeVal!=''">,change_val=#{changeVal}</if>
<if test="updateTime != null and updateTime!=''">,create_time=#{updateTime}</if>
WHERE attribute_id = #{id}
</if>
</insert>
<!--删除边带设备-->
@ -159,6 +172,9 @@
<update id="delDeviceBdChildDetail">
UPDATE tb_device_detail SET del_flag = 1 WHERE id = #{id}
</update>
<update id="updateDeviceState">
UPDATE tb_bd_device SET status=0 where device_id=#{id}
</update>
<!--获取边带列表-->
<select id="getDeviceBdList" resultType="com.securitycontrol.entity.background.vo.DeviceBdVo">
@ -276,12 +292,17 @@
<select id="getDeviceBdChildDetailList"
resultType="com.securitycontrol.entity.background.vo.DeviceBdDetailVo">
SELECT id,
mode_name AS modeName,
max_value AS maxValueData,
min_valu AS minValueData,
data_type AS dataType,
device_code AS deviceCode
FROM tb_device_detail
mode_name AS modeName,
max_value AS maxValueData,
min_valu AS minValueData,
data_type AS dataType,
tdv.unit,tdv.create_time updateTime,
tdv.val,
tdv.is_warn isWarn,
tdv.change_val changeVal ,
device_code AS deviceCode
FROM tb_device_detail tdd
LEFT JOIN tb_device_value tdv ON tdv.attribute_id=tdd.id
WHERE device_id = #{id} AND del_flag = 0
<if test="keyWord!=null and keyWord!=''">
AND INSTR(mode_name,#{keyWord}) > 0
@ -299,15 +320,24 @@
<!--边带子设备详情数据-->
<select id="getDeviceBdChildDetailById"
resultType="com.securitycontrol.entity.background.vo.DeviceBdDetailVo">
SELECT tdd.id,
tdd.mode_name AS modeName,
tdd.max_value AS maxValueData,
tdd.min_valu AS minValueData,
tdd.data_type AS dataType,
tdd.device_code AS deviceCode,
tdv.unit
FROM tb_device_detail tdd
LEFT JOIN tb_device_value tdv ON tdd.id = tdv.attribute_id
WHERE id = #{id} AND del_flag = 0
SELECT id,
mode_name AS modeName,
max_value AS maxValueData,
min_valu AS minValueData,
data_type AS dataType,
tdv.unit,tdv.create_time updateTime,
tdv.val,
tdv.is_warn isWarn,
tdv.change_val changeVal ,
device_code AS deviceCode
FROM tb_device_detail tdd
LEFT JOIN tb_device_value tdv ON tdv.attribute_id=tdd.id
WHERE tdd.id = #{id} AND del_flag = 0
</select>
<select id="getUnLineDevice" resultType="java.lang.String">
SELECT DISTINCT tdd.device_id
FROM tb_device_detail tdd
left join tb_device_value tdv on tdd.id=tdv.attribute_id
WHERE (create_time &lt; NOW() - INTERVAL 2 HOUR) or create_time is null
</select>
</mapper>

View File

@ -53,7 +53,13 @@
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<dependency>
<groupId>sgjdbc_20230302</groupId>
<artifactId>sgjdbc_20230302</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sgjdbc_20230302.jar</systemPath>
</dependency>
<!-- SpringBoot Actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -17,15 +17,15 @@ spring:
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
server-addr: 10.138.225.233:18848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: ENC(wWlpFR+8AaCssOqxTnS8HUnBMiNEqQcQTTnzcTEARFuYUINaDpp1O6cgpSCLLAxi)
config:
server-addr: 127.0.0.1:8848
server-addr: 10.138.225.233:18848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: ENC(wWlpFR+8AaCssOqxTnS8HUnBMiNEqQcQTTnzcTEARFuYUINaDpp1O6cgpSCLLAxi)
# 配置文件格式
file-extension: yml
# 共享配置
@ -33,11 +33,11 @@ spring:
- vsc-dev.yml
data:
mongodb:
host: 192.168.0.56
host: 10.138.225.233
port: 27017
database: zhgd
username: zhgd
password: ENC(ci7FU+lq7Z9eEAUJLDFTEO/zXVfGN4g1iPHc5Mh5iIWONtM4wcl0lC1+t3nxiaEl)
database: admin
username: admin
password: ENC(1BsclN67XI9pe6j66tVVfBhx4iwyYoxmNrKtlleNlRO3ssKquVNOGIlfVrF5+1pd)
# data:
# mongodb:
# host: 47.115.207.135

View File

@ -36,7 +36,13 @@
<groupId>com.securitycontrol</groupId>
<artifactId>securitycontrol-commons-swagger</artifactId>
</dependency>
<dependency>
<groupId>sgjdbc_20230302</groupId>
<artifactId>sgjdbc_20230302</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sgjdbc_20230302.jar</systemPath>
</dependency>
<!-- SpringCloud Alibaba Nacos Config -->
<dependency>
<groupId>com.alibaba.cloud</groupId>

View File

@ -29,6 +29,7 @@ import javax.annotation.Resource;
@EnableEncryptableProperties
public class VscScreenApplication implements CommandLineRunner {
public static void main(String[] args) {
SpringApplication.run(VscScreenApplication.class, args);
System.out.println("智慧工地大屏管理模块启动成功!");
}
@ -40,24 +41,11 @@ public class VscScreenApplication implements CommandLineRunner {
private ApplicationContext applicationContext;
@Override
public void run(String... args) throws Exception {
Environment environment = applicationContext.getBean(Environment.class);
// 首先获取配置文件里的原始明文信息
// 根据自己配置文件中的密码读取路径自行更改
String oldPassword = environment.getProperty("spring.datasource.dynamic.datasource.master.password");
String nacosPwd = environment.getProperty("spring.cloud.nacos.discovery.password");
// 加密
String encryptPassword = encrypt( oldPassword );
String nacsopwdPass = encrypt( nacosPwd );
String mogodb = encrypt("Bonus@admin123" );
String nacos = encrypt("Jjsp@nacos2023" );
String mogodb = encrypt("Bonus@admin123!" );
System.out.println( "nacos原始明文密码加密后的结果为" + nacos );
System.out.println( "mogodb原始明文密码加密后的结果为" + mogodb );
// 打印加密前后的结果对比
System.out.println( "MySQL原始明文密码为" + oldPassword );
System.out.println( "Nacos原始明文密码为" + nacosPwd );
System.out.println( "====================================" );
System.out.println( "MySQL原始明文密码加密后的结果为" + encryptPassword );
System.out.println( "Nacos原始明文密码加密后的结果为" + nacsopwdPass );
}

View File

@ -21,18 +21,17 @@ spring:
server-addr: 127.0.0.1:8848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
config:
server-addr: 127.0.0.1:8848
namespace: jjzhgd
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
password: Jjsp@nacos2023
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- vsc-dev.yml
#加密组件
jasypt:
encryptor:

View File

@ -86,6 +86,13 @@
<artifactId>securitycontrol-commons-log</artifactId>
</dependency>
<dependency>
<groupId>sgjdbc_20230302</groupId>
<artifactId>sgjdbc_20230302</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sgjdbc_20230302.jar</systemPath>
</dependency>
<dependency>
<groupId>org.springframework</groupId>

View File

@ -106,4 +106,10 @@ public interface ISysLogMapper {
*/
String getModuleIsc(SysLog sysLog);
/**
* 查询全部日志
* @param logType
* @return
*/
List<SysLog> getLogsLists(@Param("logType") String logType);
}

View File

@ -3,6 +3,8 @@ package com.securitycontrol.system.service;
import com.securitycontrol.common.core.utils.aes.DateTimeHelper;
import com.securitycontrol.entity.system.SystemGlobal;
import com.securitycontrol.system.api.domain.SysLog;
import com.securitycontrol.system.mapper.ISysLogMapper;
import lombok.Data;
import lombok.SneakyThrows;
import lombok.experimental.Accessors;
@ -19,6 +21,7 @@ import javax.annotation.Resource;
import javax.sql.DataSource;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.util.List;
@ -38,48 +41,51 @@ public class ExportSqlService {
@Value("${sql.filePath}")
private String filePath;
@Resource
private JdbcTemplate jdbcTemplate;
@Resource(name = "ISysLogMapper")
private ISysLogMapper mapper;
@SneakyThrows
public String export(String logType ) {
String dateTimeNow=DateTimeHelper.dateTimeNow();
String path=filePath + TABLE_NAME + dateTimeNow;
System.out.println(path);
String sql="SELECT * FROM " + TABLE_NAME +" where log_type="+logType;
SqlRowSet rows = jdbcTemplate.queryForRowSet(sql);
List<SysLog> list=mapper.getLogsLists(logType);
// 创建文件并写入
try {
FileWriter writer = new FileWriter(path+SystemGlobal.TEXT_FIX);
while (rows.next()) {
list.forEach(logs->{
try {
// 根据你的表结构生成你需要的SQL行
String rowSql = "INSERT INTO sys_logs (log_id, opera_user_name,ip,user_id,model" +
",oper_time,method,params,operate_detail,oper_type,oper_uri,log_type,result,times,failure_reason,grade,err_type,method_type,title) VALUES ('"
+ isNotNull(rows.getString("log_id") )+ "', '"
+isNotNull(rows.getString("opera_user_name") )+ "', '"
+isNotNull(rows.getString("ip") )+ "', '"
+ isNotNull(rows.getString("user_id")) + "', '"
+ isNotNull(rows.getString("model") )+ "', '"
+ isNotNull(rows.getString("oper_time")) + "', '"
+isNotNull(rows.getString("method") )+ "', '"
+ isNotNull(rows.getString("params")) + "', '"
+isNotNull(rows.getString("operate_detail")) + "', '"
+isNotNull(rows.getString("oper_type") )+ "', '"
+isNotNull(rows.getString("oper_uri")) + "', '"
+isNotNull(rows.getString("log_type") )+ "', '"
+ isNotNull(rows.getString("result") )+ "', '"
+isNotNull(rows.getString("times")) + "', '"
+ isNotNull(rows.getString("failure_reason")) + "', '"
+isNotNull(rows.getString("grade")) + "', '"
+isNotNull(rows.getString("err_type")) + "', '"
+ isNotNull(rows.getString("method_type")) + "', '"+
isNotNull(rows.getString("title") )+ "');";
writer.write(rowSql + System.lineSeparator());
}
+ isNotNull(logs.getLogId())+ "', '"
+isNotNull(logs.getOperaUserName())+ "', '"
+isNotNull(logs.getIp() )+ "', '"
+ isNotNull( logs.getUserId()) + "', '"
+ isNotNull( logs.getModel() )+ "', '"
+ isNotNull( logs.getOperTime() ) + "', '"
+isNotNull( logs.getMethod())+ "', '"
+ isNotNull(logs.getParams()) + "', '"
+isNotNull( logs.getOperateDetail()) + "', '"
+isNotNull(logs.getOperType() )+ "', '"
+isNotNull( logs.getOperUri()) + "', '"
+isNotNull(logs.getLogType() )+ "', '"
+ isNotNull(logs.getFruit())+ "', '"
+isNotNull(logs.getTimes()) + "', '"
+ isNotNull(logs.getFailureReason()) + "', '"
+isNotNull( logs.getGrade()) + "', '"
+isNotNull(logs.getErrType()) + "', '"
+ isNotNull(logs.getMethod()) + "', '"+
isNotNull(logs.getTitle())+ "');";
writer.write(rowSql + System.lineSeparator());
} catch (IOException e) {
throw new RuntimeException(e);
}
});
}catch (Exception e){
log.error(e.toString(),e);
}

View File

@ -109,4 +109,6 @@ public class UserServiceImpl implements IUserService {
}
return AjaxResult.success();
}
}

View File

@ -18,15 +18,15 @@ spring:
cloud:
nacos:
discovery:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
server-addr: 127.0.0.1:8848
username: nacos
password: Jjsp@nacos2023
namespace: jjzhgd
config:
username: nacos
password: ENC(F5JW7y8V4MGKsimz8gTPeKInjs3A8ool76KS4TVMFHhN94dB76BaWvMbM+6PZKwD)
namespace: jjzhgd
server-addr: 127.0.0.1:8848
username: nacos
password: Jjsp@nacos2023
namespace: jjzhgd
# 配置文件格式
file-extension: yml
# 共享配置
@ -46,12 +46,12 @@ log:
file: logs/sys-back.log
maxsize: 30MB
file:
# upload_path: /data/ahsbs/file
temp_file_path: E:\\tempFile
upload_path: /data/ahsbs/file
temp_file_path: /data/zhgd/file
# 导出sql文件的位置
sql:
dbname: jj_zhgd # 数据库名
filePath: F:\\File\\ #导出sql文件的位置 win下会直接在项目所在磁盘下建立 data/sql文件
filePath: /data/sql/ #导出sql文件的位置 win下会直接在项目所在磁盘下建立 data/sql文件

View File

@ -175,4 +175,18 @@
where sm.menu_url=#{operUri}
limit 1
</select>
<!--查询全部日志-->
<select id="getLogsLists" resultType="com.securitycontrol.system.api.domain.SysLog">
SELECT
log_id logId, opera_user_name operaUserName,ip,
user_id userId, model, oper_time operTime,
method,params ,operate_detail operateDetail,
oper_type operType,oper_uri operUri, log_type logType,
result fruit,times,failure_reason failureReason,
grade,err_type errType, method_type methodType,
title
FROM sys_logs
where log_type=#{logType}
</select>
</mapper>