Skip to content

Instantly share code, notes, and snippets.

View rhusar's full-sized avatar

Radoslav Husar rhusar

View GitHub Profile
[rhusar@ribera jboss-eap7]$ mvn clean install -Drelease -DskipTests -Phttp -Dinsecure.repositories=WARN -rf :wildfly-messaging-activemq
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] WildFly: Messaging Subsystem With ActiveMQ Artemis [jar]
[INFO] WildFly: (Legacy) Messaging Subsystem [jar]
[INFO] WildFly: MicroProfile Config Extension With SmallRye [jar]
[INFO] WildFly: MicroProfile Health Extension With SmallRye [jar]
[INFO] WildFly: MicroProfile Metrics Extension With SmallRye [jar]
@org.osgi.annotation.versioning.ProviderType
public interface Config {
/**
* Return the resolved property value with the specified type for the
* specified property name from the underlying {@link ConfigSource ConfigSources}.
*
* If this method gets used very often then consider to locally store the configured value.
*
* @param <T>
public class CustomSingletonElectionListener implements SingletonElectionListener {
@Override
public void elected(List<Node> candidateMembers, Node electedMember) {
System.out.println("New singleton election: elected member " + electedMember + " from candidates " + candidateMembers);
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2016, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
0m15:34:01,279 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN000094: Received new cluster view for channel ee: [hsc-1-hht82|3] (2) [hsc-1-hht82, hsc-1-pdgvd]
15:34:01,280 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN100001: Node hsc-1-m7rbd left the cluster
15:34:01,280 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN000094: Received new cluster view for channel ee: [hsc-1-hht82|3] (2) [hsc-1-hht82, hsc-1-pdgvd]
15:34:01,280 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN100001: Node hsc-1-m7rbd left the cluster
15:34:01,281 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN000094: Received new cluster view for channel ee: [hsc-1-hht82|3] (2) [hsc-1-hht82, hsc-1-pdgvd]
15:34:01,290 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN100001: Node hsc-1-m7rbd left the cluster
15:34:01,290 INFO [org.infinispan.CLUSTER] (thread-25,ee,hsc-1-hht82) ISPN000094: Received new cluster
@rhusar
rhusar / great.diff
Last active May 22, 2019 12:21
asd
private static final Map<Class<? extends Object>,Byte> PRIMITIVE_TYPES=new HashMap<>(15);
- private static final byte TYPE_NULL = 0;
- private static final byte TYPE_STREAMABLE = 1;
- private static final byte TYPE_SERIALIZABLE = 2;
- private static final byte TYPE_BOOLEAN = 10;
- private static final byte TYPE_BYTE = 11;
- private static final byte TYPE_CHAR = 12;
- private static final byte TYPE_DOUBLE = 13;
- private static final byte TYPE_FLOAT = 14;
- private static final byte TYPE_INT = 15;
15:47:39,127 INFO [org.jboss.modules] (main) JBoss Modules version 1.9.0.Final
15:47:39,533 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
15:47:39,546 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
15:47:39,691 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 17.0.0.Beta1-SNAPSHOT (WildFly Core 9.0.0.Beta2) starting
15:47:40,539 INFO [org.wildfly.security] (ServerService Thread Pool -- 16) ELY00001: WildFly Elytron version 1.9.0.CR2
15:47:41,377 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
15:47:41,424 INFO [org.jboss.as.controller.management-deprecated] (ServerSe
[ERROR] testTransformerEAP720(org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase) Time elapsed: 1.435 s <<< FAILURE!
java.lang.AssertionError:
WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.jboss.as.model.test.ModelTestUtils.checkOutcome(ModelTestUtils.java:134)
[0m21:58:14,062 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (default task-1) ISPN000136: Error executing command PrepareCommand, writing keys [InfinispanBeanGroupKey(UUIDSessionID [f1e2dd2e-c03c-458e-bc46-84c82edd2133]), InfinispanBeanKey(UUIDSessionID [f1e2dd2e-c03c-458e-bc46-84c82edd2133])]: java.lang.ExceptionInInitializerError
at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1274)
at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
at org.wildfly.clustering.marshalling.jboss.SimpleMarshallingContext.createMarshaller(SimpleMarshallingContext.java:68)
at org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:76)
at org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValueExternalizer.writeObject(SimpleMarshalledValueExternalizer.java:51)
at org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValueExternalizer.writeObject(SimpleMarshalledVal
[rhusar@ribera wildfly-15.0.0.Alpha1-SNAPSHOT]$ docker pull docker-registry.engineering.redhat.com/kwills/eap72-openshift:DNSPING
DNSPING: Pulling from kwills/eap72-openshift
9a1bea865f79: Pull complete
602125c154e3: Pull complete
56df852d5810: Pull complete
10d0875df1ae: Pull complete
ddc115aad0ad: Pull complete
a016221dfcc5: Downloading [===========> ] 52.99MB/226.3MB
207adec4ac86: Download complete
9e91af4d2c36: Download complete