You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Ali Alhaidary <al...@the5stars.org> on 2020/10/01 04:37:01 UTC

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.

WARN  10-01 04:26:23.398 o.a.o.c.r.KurentoHandler:177 
[pool-1-thread-1] - Fail to create Kurento client, will re-try in 
10000 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:

WARN  10-01 04:26:25.380 c.h.c.CPSubsystem:67 
[main] - [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

WARN  10-01 04:26:25.889 c.h.i.impl.Node:67 
[main] - [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 ?


Re: warnings...

Posted by Ali Alhaidary <al...@the5stars.org>.
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 
> <ali.alhaidary@the5stars.org <ma...@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
>     10000 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...

Posted by Maxim Solodovnik <so...@gmail.com>.
it seems it's my turn to answer :)))

On Thu, 1 Oct 2020 at 11:37, Ali Alhaidary <al...@the5stars.org>
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
> 10000 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