org.moskito:moskito-javaagent-lite

Defines various standards for all Anotheria Maven Projects

License

License

GroupId

GroupId

org.moskito
ArtifactId

ArtifactId

moskito-javaagent-lite
Last Version

Last Version

2.10.0
Release Date

Release Date

Type

Type

jar
Description

Description

Defines various standards for all Anotheria Maven Projects
Project Organization

Project Organization

anotheria.net
Source Code Management

Source Code Management

https://github.com/anotheria/moskito-javaagent-lite

Download moskito-javaagent-lite

How to add to project

<!-- https://jarcasting.com/artifacts/org.moskito/moskito-javaagent-lite/ -->
<dependency>
    <groupId>org.moskito</groupId>
    <artifactId>moskito-javaagent-lite</artifactId>
    <version>2.10.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.moskito/moskito-javaagent-lite/
implementation 'org.moskito:moskito-javaagent-lite:2.10.0'
// https://jarcasting.com/artifacts/org.moskito/moskito-javaagent-lite/
implementation ("org.moskito:moskito-javaagent-lite:2.10.0")
'org.moskito:moskito-javaagent-lite:jar:2.10.0'
<dependency org="org.moskito" name="moskito-javaagent-lite" rev="2.10.0">
  <artifact name="moskito-javaagent-lite" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.moskito', module='moskito-javaagent-lite', version='2.10.0')
)
libraryDependencies += "org.moskito" % "moskito-javaagent-lite" % "2.10.0"
[org.moskito/moskito-javaagent-lite "2.10.0"]

Dependencies

provided (1)

Group / Artifact Type Version
com.github.spotbugs : spotbugs jar 4.1.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

moskito-javaagent-lite

MoSKito Javaagent Light, a quick start of MoSKito Monitoring in your application.

1 Build and enable.

Get javaagent-lite-1.0.0-SNAPSHOT.jar artifact from {javaagent-home}/target - directory and put it to some location

2 Add moskito javaagent-lite to your app, as java-agent

as example:
		export JAVA_OPTS=" $JAVA_OPTS -javaagent:/[full_path]/javaagent/target/javaagent-lite-1.0.0-SNAPSHOT.jar"

By default port "-1" will be used for RMIRegistry start.. ( "-1" means fetch first free in range [9250 - 9299] to use - or any other preset with properties ['localRmiRegistryMinPort' - 'localRmiRegistryMaxPort'] - if set)

  • You will be able to find real Registry port in Logs: [main] INFO o.m.j.LightTransformationAgent:83 - Starting Moskito backend on using -1 port! ! .... [main] INFO o.m.j.LightTransformationAgent:83 - Started Moskito-backend on 9250 port!

2.1 Port pre-selection/re-define by property

Property 'localRmiRegistryPort'. Should provide positive int value.

Simply add -DlocalRmiRegistryPort=[port value] - and if it's not used - backend will be started on it.

3 Opts examples:

a) JAVA_OPTS="$JAVA_OPTS -javaagent:/[full_path]/javaagent-lite-1.0.0-SNAPSHOT.jar -DlocalRmiRegistryPort11=11000 " - start on 11000 if free ( error otherwise )

b) JAVA_OPTS="$JAVA_OPTS -javaagent:/[full_path]/javaagent-lite-1.0.0-SNAPSHOT.jar -DlocalRmiRegistryMinPort=50000 -DlocalRmiRegistryMaxPort=51000" - start on first free, range [50000-51000]

c) JAVA_OPTS="$JAVA_OPTS -javaagent:/[full_path]/javaagent-lite-1.0.0-SNAPSHOT.jar" start on first free port, range [9250 - 9299].

Enjoy…

org.moskito

anotheria

anotheria solution gmbh

Versions

Version
2.10.0
2.9.0
2.8.8
2.8.7
1.0.0