Re: WARNINGS
Hello Ali, On Thu, 12 Aug 2021 at 03:17, Ali Alhaidary wrote: > Hi, > > Is there a way we can get rid of the following warnings: > > 11-Aug-2021 20:05:54.833 WARNING [main] > com.hazelcast.config.AbstractXmlConfigHelper.null Name of the hazelcast > schema > location[http://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd] > is incorrect, using default > I'll check this one > 11-Aug-2021 20:05:53.992 WARNING [main] > com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is > starting in a Java modular environment (Java 9 and newer) but without > proper access to required Java packages. Use additional Java arguments > to provide Hazelcast access to Java internal API. The internal API > access is used to get the best performance results. Arguments to be used: > --add-modules java.se --add-exports > java.base/jdk.internal.ref=ALL-UNNAMED --add-opens > java.base/java.lang=ALL-UNNAMED --add-opens > java.base/java.nio=ALL-UNNAMED --add-opens > java.base/sun.nio.ch=ALL-UNNAMED --add-opens > java.management/sun.management=ALL-UNNAMED --add-opens > jdk.management/com.sun.management.internal=ALL-UNNAMED > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > com.hazelcast.internal.networking.nio.SelectorOptimizer > (file:/opt/rooms/webapps/openmeetings/WEB-INF/lib/hazelcast-4.2.1.jar) > to field sun.nio.ch.SelectorImpl.selectedKeys > WARNING: Please consider reporting this to the maintainers of > com.hazelcast.internal.networking.nio.SelectorOptimizer > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > I believe I answered this question already: https://markmail.org/message/yvi5a3rthwfnabgq ;) > > Ali > > > -- Best regards, Maxim
WARNINGS
Hi, Is there a way we can get rid of the following warnings: 11-Aug-2021 20:05:54.833 WARNING [main] com.hazelcast.config.AbstractXmlConfigHelper.null Name of the hazelcast schema location[http://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd] is incorrect, using default 11-Aug-2021 20:05:53.992 WARNING [main] com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used: --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/opt/rooms/webapps/openmeetings/WEB-INF/lib/hazelcast-4.2.1.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Ali
Re: warnings...
Thank you Max, very informative, helpful and right to the point :-) On 10/2/20 4:41 AM, Maxim Solodovnik wrote: it seems it's my turn to answer :))) On Thu, 1 Oct 2020 at 11:37, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io <http://java.io>=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 01-Oct-2020 04:23:56.669 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [certificateVerification] to [false] 01-Oct-2020 04:23:56.675 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [sslProtocol] to [TLS] 01-Oct-2020 04:26:10.897 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [132,520] milliseconds. it takes time to generate SecureRandom, you can provide faster (but less secure) random source to speed up start-up: -Djava.security.egd=file:/dev/./urandom [31mWARN [0;39m 10-01 04:26:23.398 [36mo.a.o.c.r.KurentoHandler:177 [pool-1-thread-1] [0;39m - Fail to create Kurento client, will re-try in 1 ms Your KMS server is down 01-Oct-2020 04:26:24.485 WARNING [main] com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used: You have to provide additional ENV variable to eliminate this one JDK_JAVA_OPTIONS="--add-modules java.se <http://java.se> --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch <http://sun.nio.ch>=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED" [31mWARN [0;39m 10-01 04:26:25.380 [36mc.h.c.CPSubsystem:67 [main] [0;39m - [10.19.0.5]:5701 [dev] [4.0.2] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees. this is about this https://docs.hazelcast.org/docs/latest/javadoc/com/hazelcast/cp/CPSubsystem.html not sure if CP need to be set-up or not will investigate in the future (most probably) WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/opt/rooms/webapps/openmeetings/WEB-INF/lib/hazelcast-4.0.2.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release this is fixed with JDK_JAVA_OPTIONS above [31mWARN [0;39m 10-01 04:26:25.889 [36mc.h.i.impl.Node:67 [main] [0;39m - [10.19.0.5]:5701 [dev] [4.0.2] No join method is enabled! Starting standalone. you have no cluster configured Should I be concerned by the above warnings from catalina.log please ? -- Best regards, Maxim
Re: warnings...
it seems it's my turn to answer :))) On Thu, 1 Oct 2020 at 11:37, Ali Alhaidary wrote: > NOTE: Picked up JDK_JAVA_OPTIONS: > --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > > 01-Oct-2020 04:23:56.669 WARNING [main] > org.apache.tomcat.util.digester.SetPropertiesRule.begin Match > [Server/Service/Connector/SSLHostConfig/Certificate] failed to set > property [certificateVerification] to [false] > 01-Oct-2020 04:23:56.675 WARNING [main] > org.apache.tomcat.util.digester.SetPropertiesRule.begin Match > [Server/Service/Connector/SSLHostConfig/Certificate] failed to set > property [sslProtocol] to [TLS] > 01-Oct-2020 04:26:10.897 WARNING [main] > org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom > Creation of SecureRandom instance for session ID generation using > [SHA1PRNG] took [132,520] milliseconds. > it takes time to generate SecureRandom, you can provide faster (but less secure) random source to speed up start-up: -Djava.security.egd=file:/dev/./urandom > > [31mWARN [0;39m 10-01 04:26:23.398 [36mo.a.o.c.r.KurentoHandler:177 > [pool-1-thread-1] [0;39m - Fail to create Kurento client, will re-try in > 1 ms > Your KMS server is down > > 01-Oct-2020 04:26:24.485 WARNING [main] > com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is > starting in a Java modular environment (Java 9 and newer) but without > proper access to required Java packages. Use additional Java arguments > to provide Hazelcast access to Java internal API. The internal API > access is used to get the best performance results. Arguments to be used: > You have to provide additional ENV variable to eliminate this one JDK_JAVA_OPTIONS="--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED" > > [31mWARN [0;39m 10-01 04:26:25.380 [36mc.h.c.CPSubsystem:67 > [main] [0;39m - [10.19.0.5]:5701 [dev] [4.0.2] CP Subsystem is not > enabled. CP data structures will operate in UNSAFE mode! Please note > that UNSAFE mode will not provide strong consistency guarantees. > this is about this https://docs.hazelcast.org/docs/latest/javadoc/com/hazelcast/cp/CPSubsystem.html not sure if CP need to be set-up or not will investigate in the future (most probably) > > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > com.hazelcast.internal.networking.nio.SelectorOptimizer > (file:/opt/rooms/webapps/openmeetings/WEB-INF/lib/hazelcast-4.0.2.jar) > to field sun.nio.ch.SelectorImpl.selectedKeys > WARNING: Please consider reporting this to the maintainers of > com.hazelcast.internal.networking.nio.SelectorOptimizer > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > this is fixed with JDK_JAVA_OPTIONS above > > [31mWARN [0;39m 10-01 04:26:25.889 [36mc.h.i.impl.Node:67 > [main] [0;39m - [10.19.0.5]:5701 [dev] [4.0.2] No join method is > enabled! Starting standalone. > you have no cluster configured > > > Should I be concerned by the above warnings from catalina.log please ? > > -- Best regards, Maxim
warnings...
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 01-Oct-2020 04:23:56.669 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [certificateVerification] to [false] 01-Oct-2020 04:23:56.675 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [sslProtocol] to [TLS] 01-Oct-2020 04:26:10.897 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [132,520] milliseconds. [31mWARN [0;39m 10-01 04:26:23.398 [36mo.a.o.c.r.KurentoHandler:177 [pool-1-thread-1][0;39m - Fail to create Kurento client, will re-try in 1 ms 01-Oct-2020 04:26:24.485 WARNING [main] com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used: [31mWARN [0;39m 10-01 04:26:25.380 [36mc.h.c.CPSubsystem:67 [main][0;39m - [10.19.0.5]:5701 [dev] [4.0.2] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/opt/rooms/webapps/openmeetings/WEB-INF/lib/hazelcast-4.0.2.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [31mWARN [0;39m 10-01 04:26:25.889 [36mc.h.i.impl.Node:67 [main][0;39m - [10.19.0.5]:5701 [dev] [4.0.2] No join method is enabled! Starting standalone. Should I be concerned by the above warnings from catalina.log please ?