How can JMX in embedded glassfish be activated?
how can one activate JMX in embedded glassfish (using maven-embedded-gl开发者_开发百科assfish-plugin)?
The solution is to provide proper domain.xml
to plugin:
<configuration>
<configFile>${basedir}/domain.xml</configFile>
</configuration>
Default one has JMX inactive.
精彩评论