Weld Probe Client Adapter

The parent POM for Weld, specifying the build parameters

Лицензия

Лицензия

Категории

Категории

JBoss Контейнер Application Servers CLI Взаимодействие с пользователем
Группа

Группа

org.jboss.weld
Идентификатор

Идентификатор

weld-probe-client-adapter
Последняя версия

Последняя версия

1.0.0.Final
Дата

Дата

Тип

Тип

jar
Описание

Описание

Weld Probe Client Adapter
The parent POM for Weld, specifying the build parameters
Ссылка на сайт

Ссылка на сайт

http://weld.cdi-spec.org
Система контроля версий

Система контроля версий

https://github.com/weld/weld-probe-client-adapter

Скачать weld-probe-client-adapter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.jboss.weld/weld-probe-client-adapter/ -->
<dependency>
    <groupId>org.jboss.weld</groupId>
    <artifactId>weld-probe-client-adapter</artifactId>
    <version>1.0.0.Final</version>
</dependency>
// https://jarcasting.com/artifacts/org.jboss.weld/weld-probe-client-adapter/
implementation 'org.jboss.weld:weld-probe-client-adapter:1.0.0.Final'
// https://jarcasting.com/artifacts/org.jboss.weld/weld-probe-client-adapter/
implementation ("org.jboss.weld:weld-probe-client-adapter:1.0.0.Final")
'org.jboss.weld:weld-probe-client-adapter:jar:1.0.0.Final'
<dependency org="org.jboss.weld" name="weld-probe-client-adapter" rev="1.0.0.Final">
  <artifact name="weld-probe-client-adapter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jboss.weld', module='weld-probe-client-adapter', version='1.0.0.Final')
)
libraryDependencies += "org.jboss.weld" % "weld-probe-client-adapter" % "1.0.0.Final"
[org.jboss.weld/weld-probe-client-adapter "1.0.0.Final"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.jboss.weld.probe : weld-probe-core jar 2.4.0.Final
io.undertow : undertow-servlet jar 1.3.25.Final
com.google.code.gson : gson jar 2.7

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

Weld Probe Client Adapter

Maven Central License

This adapter allows to reuse the default HTML GUI even if there is no REST API available (non-web environments).

The adapter:

  1. Either connects to a JMX server (JMX support must be enabled) or loads data from an export file
  2. Starts an embedded Undertow instance
  3. Exposes the default HTML client but using the data from step 1

Build

mvn clean package

Download

The shaded artifact is available in Maven Central: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22weld-probe-client-adapter%22

Run

java -jar weld-probe-client-adapter-1.0.0.Final-shaded.jar

Export file

The first argument represents the path to an export file:

java -jar weld-probe-client-adapter-1.0.0.Final-shaded.jar /home/edgar/weld-probe-export.zip

JMX

Don't forget to allow to connect to a remote JVM process. E.g. use the following system properties: -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false.

WildFly

For WildFly (standalone mode) a different jmxServiceUrl must be specified and jboss-client.jar must be also on the class path, e.g.:

java -Dorg.jboss.weld.probe.jmxServiceUrl="service:jmx:http-remoting-jmx://127.0.0.1:9990" -cp '/opt/jboss/wildfly/bin/client/jboss-client.jar:weld-probe-client-adapter-1.0.0.Final.jar' org.jboss.weld.probe.ProbeJmx

Configuration

System property Default value Description
org.jboss.weld.probe.jmxServiceUrl service:jmx:rmi:///jndi/rmi://127.0.0.1:9999/jmxrmi JMX server URL
org.jboss.weld.probe.undertowHost 127.0.0.1 Undertow host - used to expose the HTML client
org.jboss.weld.probe.undertowPort 8181 Undertow port - used to expose the HTML client

Blogpost and JBoss Forge example

http://weld.cdi-spec.org/news/2015/11/10/weld-probe-jmx/

org.jboss.weld

Weld

Версии библиотеки

Версия
1.0.0.Final