Details
-
Bug
-
Resolution: Done
-
Critical
-
AMQ 7.8.2.GA
-
False
-
False
-
Description
When configuring one-way TLSas described in documentation, when the broker POD starts, it produces the following error:
-XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError Removing provided -XX:+UseParallelOldGC in favour of artemis.profile provided option Running server env: home: /home/jboss AMQ_HOME /opt/amq CONFIG_BROKER false RUN_BROKER NO RUN_BROKER defined Using custom configuration. Copy from /amq/init/config to /home/jboss/amq-broker bin data etc lib log tmp Running Broker in /home/jboss/amq-broker OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N __ __ ____ ____ _ /\ | \/ |/ __ \ | _ \ | | / \ | \ / | | | | | |_) |_ __ ___ | | _____ _ __ / /\ \ | |\/| | | | | | _ <| '__/ _ \| |/ / _ \ '__| / ____ \| | | | |__| | | |_) | | | (_) | < __/ | /_/ \_\_| |_|\___\_\ |____/|_| \___/|_|\_\___|_| Red Hat AMQ 7.8.2.GA 2021-10-20 10:05:25,924 INFO [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server 2021-10-20 10:05:25,958 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=true,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging) 2021-10-20 10:05:25,988 INFO [org.apache.activemq.artemis.core.server] AMQ221013: Using NIO Journal 2021-10-20 10:05:26,031 INFO [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 1,966,080,000 2021-10-20 10:05:26,149 WARNING [org.jgroups.stack.Configurator] JGRP000014: BasicTCP.use_send_queues has been deprecated: will be removed in 4.0 2021-10-20 10:05:26,157 WARNING [org.jgroups.stack.Configurator] JGRP000014: Discovery.timeout has been deprecated: GMS.join_timeout should be used instead 2021-10-20 10:05:26,196 INFO [org.jgroups.protocols.openshift.DNS_PING] serviceName [amq-broker-ping-svc] set; clustering enabled 2021-10-20 10:05:29,255 INFO [org.openshift.ping.common.Utils] 3 attempt(s) with a 1000ms sleep to execute [GetServicePort] failed. Last failure was [java.lang.NullPointerException: null] 2021-10-20 10:05:29,255 WARNING [org.jgroups.protocols.openshift.DNS_PING] No DNS SRV record found for service [amq-broker-ping-svc] ------------------------------------------------------------------- GMS: address=amq-broker-ss-0-48800, cluster=activemq_broadcast_channel, physical address=10.129.3.244:7800 ------------------------------------------------------------------- 2021-10-20 10:05:32,308 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE 2021-10-20 10:05:32,309 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP 2021-10-20 10:05:32,309 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ 2021-10-20 10:05:32,309 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT 2021-10-20 10:05:32,310 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE 2021-10-20 10:05:32,310 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP 2021-10-20 10:05:32,353 INFO [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock 2021-10-20 10:05:32,353 INFO [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock 2021-10-20 10:05:32,528 INFO [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address DLQ supporting [ANYCAST] 2021-10-20 10:05:32,538 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue DLQ on address DLQ 2021-10-20 10:05:32,588 INFO [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address ExpiryQueue supporting [ANYCAST] 2021-10-20 10:05:32,589 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue ExpiryQueue on address ExpiryQueue 2021-10-20 10:05:32,813 WARN [org.apache.activemq.artemis.core.server] AMQ222080: Error instantiating remoting acceptor org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory: java.lang.IllegalStateException: Unable to create NettyAcceptor for amq-broker-ss-0.amq-broker-hdls-svc.tborgato1.svc.cluster.local:61617 at org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.loadSSLContext(NettyAcceptor.java:394) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.<init>(NettyAcceptor.java:346) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory.createAcceptor(NettyAcceptorFactory.java:43) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.createAcceptor(RemotingServiceImpl.java:275) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.start(RemotingServiceImpl.java:218) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:3240) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:76) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:639) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:558) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:64) [artemis-cli-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:115) [artemis-cli-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:153) [artemis-cli-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:101) [artemis-cli-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:128) [artemis-cli-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_302] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_302] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_302] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_302] at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) [artemis-boot.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) [artemis-boot.jar:2.16.0.redhat-00022] Caused by: java.io.IOException: Invalid keystore format at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:666) [rt.jar:1.8.0_302] at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57) [rt.jar:1.8.0_302] at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224) [rt.jar:1.8.0_302] at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71) [rt.jar:1.8.0_302] at java.security.KeyStore.load(KeyStore.java:1445) [rt.jar:1.8.0_302] at org.apache.activemq.artemis.core.remoting.impl.ssl.SSLSupport.loadKeystore(SSLSupport.java:308) [artemis-core-client-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.ssl.SSLSupport.loadKeyManagerFactory(SSLSupport.java:333) [artemis-core-client-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.ssl.SSLSupport.loadKeyManagers(SSLSupport.java:321) [artemis-core-client-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.ssl.SSLSupport.createContext(SSLSupport.java:203) [artemis-core-client-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.ssl.DefaultSSLContextFactory.getSSLContext(DefaultSSLContextFactory.java:44) [artemis-core-client-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] at org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.loadSSLContext(NettyAcceptor.java:391) [artemis-server-2.16.0.redhat-00022.jar:2.16.0.redhat-00022] ... 19 more
Attachments
Issue Links
- is related to
-
ENTMQBR-5762 Update the acceptor and connector configuration with *StoreType and *StoreProvider
- Closed