Javamelody in Wildfly

1,127 views
Skip to first unread message

Sandro Luciano Giacomozzi

unread,
Apr 7, 2017, 12:04:50 PM4/7/17
to javamelody
Can the javamelody monitoring all application deployed at standalone wildfly instance? Like the tomcat?

Emeric Vernat

unread,
Apr 8, 2017, 7:46:13 AM4/8/17
to javam...@googlegroups.com
Hi Sandro,

If you speak about javamelody in webapps, yes wildfly is supported.

But if you speak about javamelody in tomcat/lib, no it was never tested with wildfly and is not supported: if you want to try this, then you are on your own.

bye,
Emeric

2017-04-07 15:27 GMT+02:00 Sandro Luciano Giacomozzi <sandro...@gmail.com>:
Can the javamelody monitoring all application deployed at standalone wildfly instance? Like the tomcat?

--

---
You received this message because you are subscribed to the Google Groups "javamelody" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javamelody+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sandro Luciano Giacomozzi

unread,
Apr 10, 2017, 5:03:34 PM4/10/17
to javamelody
Hello,

The default webserver for Wildfly is undertow (http://undertow.io/)


Em sábado, 8 de abril de 2017 08:46:13 UTC-3, Emeric Vernat escreveu:
Hi Sandro,

If you speak about javamelody in webapps, yes wildfly is supported.

But if you speak about javamelody in tomcat/lib, no it was never tested with wildfly and is not supported: if you want to try this, then you are on your own.

bye,
Emeric
2017-04-07 15:27 GMT+02:00 Sandro Luciano Giacomozzi <sandro...@gmail.com>:
Can the javamelody monitoring all application deployed at standalone wildfly instance? Like the tomcat?

--

---
You received this message because you are subscribed to the Google Groups "javamelody" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javamelody+...@googlegroups.com.

brett.de...@gmail.com

unread,
Apr 19, 2017, 6:30:01 AM4/19/17
to javamelody
Hi Emeric,

We are also interested in getting Javamelody to monitor the Wildfly 10.x container the same way it does Tomcat.
Do you have any suggestions about where to look in the Javamelody code for this? How did you do this for Tomcat?

Also the JDBC hook for Wildfly 10.0.0.Final doesn't seem to be working, no SQL is reported. Are there specific JNDI names being looked for by Javamelody?

Thanks,

Kind regards,

Brett

Emeric Vernat

unread,
Apr 21, 2017, 7:44:41 AM4/21/17
to javamelody, brett.de...@gmail.com
Hi Brett,

There is no problem to monitor a webapp in Wildfly using the standard javamelody way:

For jdbc datasources in JNDI, javamelody automatically looks for datasources whose JNDI names starts with "jdbc/", see;

You may use the javamelody parameter "datasources" to explicitly define the datasource(s). For example,
-Djavamelody.datasources=java:comp/env/jdbc/MyDataSource

If you have problems with this, please debug in the net.bull.javamelody.JdbcWrapper class and explain the issue to us.

bye,
Emeric
Reply all
Reply to author
Forward
0 new messages