[
https://issues.jboss.org/browse/ISPN-9556?page=com.atlassian.jira.plugin....
]
Diego Lovison updated ISPN-9556:
--------------------------------
Steps to Reproduce:
1) Create a docker file `Dockerfile-infinispan-server`
{code:docker}
FROM jboss/infinispan-server
COPY infinispan-server-cloud.xml /opt/jboss/infinispan-server/standalone/configuration/
{code}
2) Build using: docker build -t infinispan-server-dlovison -f Dockerfile-infinispan-server
.
3) Execute:
{code:bash}
cat /etc/resolv.conf | grep nameserver | awk '{print $2}'
{code}
Copy the first address. Example: 1.1.1.1
4) Execute: docker run -i -t infinispan-server-dlovison:latest -c
infinispan-server-cloud.xml -Djboss.default.jgroups.stack=dnsping
-Djgroups.dns_address=1.1.1.1
Keep in mind that you need change '1.1.1.1' and use the value returned from the
step 3
----
It will return an error:
{noformat}
18:25:53,529 WARN [org.jboss.modules.define] (MSC service thread 1-6) Failed to define
class io.netty.util.internal.logging.Log4J2Logger in Module "io.netty:ispn-9.4"
version 4.1.28.Final from local module loader @79b4d0f (finder: local module finder
@6b2fad11 (roots:
/opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn)):
java.lang.NoClassDefFoundError: Failed to link io/netty/util/internal/logging/Log4J2Logger
(Module "io.netty:ispn-9.4" version 4.1.28.Final from local module loader
@79b4d0f (finder: local module finder @6b2fad11 (roots:
/opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn))):
org/apache/logging/log4j/spi/ExtendedLoggerWrapper
{noformat}
----
Maybe the fix is the same from: ISPN-9534
NoClassDefFoundError Log4J2Logger when running the fat-server in
Openshift
--------------------------------------------------------------------------
Key: ISPN-9556
URL:
https://issues.jboss.org/browse/ISPN-9556
Project: Infinispan
Issue Type: Bug
Reporter: Diego Lovison
Priority: Critical
When running Infinispan server in Openshift it is failing due:
{noformat}
18:25:53,529 WARN [org.jboss.modules.define] (MSC service thread 1-6) Failed to define
class io.netty.util.internal.logging.Log4J2Logger in Module "io.netty:ispn-9.4"
version 4.1.28.Final from local module loader @79b4d0f (finder: local module finder
@6b2fad11 (roots:
/opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn)):
java.lang.NoClassDefFoundError: Failed to link io/netty/util/internal/logging/Log4J2Logger
(Module "io.netty:ispn-9.4" version 4.1.28.Final from local module loader
@79b4d0f (finder: local module finder @6b2fad11 (roots:
/opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn))):
org/apache/logging/log4j/spi/ExtendedLoggerWrapper
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)