Hi,
When run "runConsole.sh" will get below error.
I using root id to run it.
Anyone can help on this?
++++++++++ YAJSW SET ENV ++++++++++
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
wrapper home : /data/ServiceJob
configuration: /data/ServiceJob/conf/wrapper.conf
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-stable-12.14
OS : Linux/3.10.0-1160.102.1.el7.x86_64/amd64
JVM : Red Hat, Inc./1.8.0_272//usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.x86_64/jre/64
wrapper|YAJSW: yajsw-stable-12.14
wrapper|OS : Linux/3.10.0-1160.102.1.el7.x86_64/amd64
wrapper|JVM : Red Hat, Inc./1.8.0_272//usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.x86_64/jre/64
-D{}: {}
io.netty.leakDetection.level
simple
-D{}: {}
io.netty.leakDetection.targetRecords
4
Java version: {}
8
java.nio.DirectByteBuffer.<init>(long, int): {}
unavailable
-Dio.netty.tmpdir: {} (java.io.tmpdir)
/tmp
-Dio.netty.bitMode: {} (sun.arch.data.model)
64
-Dio.netty.maxDirectMemory: {} bytes
-1
-Dio.netty.uninitializedArrayAllocationThreshold: {}
-1
java.nio.ByteBuffer.cleaner(): available
-Dio.netty.noPreferDirect: {}
false
Loaded default ResourceLeakDetector: {}
io.netty.util.ResourceLeakDetector@40f91feb
org.jctools-core.MpscChunkedArrayQueue: unavailable
-Dio.netty.threadLocalMap.stringBuilder.initialSize: {}
1024
-Dio.netty.threadLocalMap.stringBuilder.maxSize: {}
4096
wrapper|start from Thread main
wrapper|set state IDLE->STARTING
wrapper|starting Process
wrapper|starting controller
wrapper|binding to port 15003
-Dio.netty.processId: {} (auto-detected)
18138
-Djava.net.preferIPv4Stack: {}
true
-Djava.net.preferIPv6Addresses: {}
false
Loopback interface: {} ({}, {})
lo
lo
127.0.0.1
{}: {}
/proc/sys/net/core/somaxconn
4096
-Dio.netty.machineId: {} (auto-detected)
00:50:56:ff:fe:9d:cb:8e
-Dio.netty.allocator.numHeapArenas: {}
0
-Dio.netty.allocator.numDirectArenas: {}
0
-Dio.netty.allocator.pageSize: {}
8192
-Dio.netty.allocator.maxOrder: {}
11
-Dio.netty.allocator.chunkSize: {}
16777216
-Dio.netty.allocator.tinyCacheSize: {}
512
-Dio.netty.allocator.smallCacheSize: {}
256
-Dio.netty.allocator.normalCacheSize: {}
64
-Dio.netty.allocator.maxCachedBufferCapacity: {}
32768
-Dio.netty.allocator.cacheTrimInterval: {}
8192
-Dio.netty.allocator.cacheTrimIntervalMillis: {}
0
-Dio.netty.allocator.useCacheForAllThreads: {}
true
-Dio.netty.allocator.maxCachedByteBuffersPerChunk: {}
1023
-Dio.netty.allocator.type: {}
pooled
-Dio.netty.threadLocalDirectBufferSize: {}
0
-Dio.netty.maxThreadLocalCharBufferSize: {}
16384
wrapper|error binding port for system tray icon, please check configuration
wrapper|binding error: Address already in use (Bind failed) -> retry with another port
wrapper|binding to port 15004
wrapper|binding error: Address already in use (Bind failed) -> retry with another port
wrapper|binding to port 15005
wrapper|Controller State: UNKNOWN -> WAITING
wrapper|binding successfull
wrapper|controller started
java.lang.reflect.InvocationTargetException
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:498)
at org.rzo.yajsw.boot.WrapperExeBooter.main(WrapperExeBooter.java:49)
Caused by: java.lang.UnsupportedOperationException: EnvironmentConfiguration is read-only!
at org.apache.commons.configuration2.EnvironmentConfiguration.clearPropertyDirect(EnvironmentConfiguration.java:78)
at org.apache.commons.configuration2.AbstractConfiguration.clearProperty(AbstractConfiguration.java:840)
at org.apache.commons.configuration2.CompositeConfiguration.clearPropertyDirect(CompositeConfiguration.java:417)
at org.apache.commons.configuration2.AbstractConfiguration.clearProperty(AbstractConfiguration.java:840)
at org.apache.commons.configuration2.CompositeConfiguration.clearPropertyDirect(CompositeConfiguration.java:417)
at org.apache.commons.configuration2.AbstractConfiguration.clearProperty(AbstractConfiguration.java:840)
at org.apache.commons.configuration2.AbstractConfiguration.setPropertyInternal(AbstractConfiguration.java:817)
at org.apache.commons.configuration2.AbstractConfiguration.setProperty(AbstractConfiguration.java:792)
at org.rzo.yajsw.os.posix.PosixJavaHome.findJava(PosixJavaHome.java:128)
at org.rzo.yajsw.os.posix.PosixJavaHome.findJava(PosixJavaHome.java:47)
at org.rzo.yajsw.wrapper.WrappedJavaProcess.configProcess(WrappedJavaProcess.java:135)
at org.rzo.yajsw.wrapper.AbstractWrappedProcess.startInternal(AbstractWrappedProcess.java:1281)
at org.rzo.yajsw.wrapper.AbstractWrappedProcess.start(AbstractWrappedProcess.java:1154)
at org.rzo.yajsw.wrapper.WrappedProcessList.startAll(WrappedProcessList.java:26)
at org.rzo.yajsw.WrapperExe.doConsole(WrapperExe.java:641)
at org.rzo.yajsw.WrapperExe.executeCommand(WrapperExe.java:156)
at org.rzo.yajsw.WrapperExe.main(WrapperExe.java:124)
... 5 more
you are using an old release of yajsw. pls update to the newest release 13.11 and try again.
you may also try setting the configuration:
-- Ron
Last edit: rzo 2024-04-03