Java probes instrumentation on JBoss version 6.0

When injecting a Java Probe into a JBoss server, this has to be restarted. After the Restart of the Application Server, it is possible to see the following abnormal behavior:

JBoss boot.log does not appear under log folder of the same.

Server.log and <Application_server_name>.log are created but do not register any data and are sized 0 Kb.

All the above, appeared empty before adding the Java probe in the startup file of JBoss.

This does not seem to affect to either the probe (which starts normally) or the Diagnostics Server. The Diagnostics logs do not show any error related.

In order to resolve this, the following line has to be added on the java command line (or run.bat):

Djava.util.logging.manager=org.jboss.logmanager.LogManager

After the restart of the JBoss, all the expected logs will appear in the designated path.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s