Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Difficulty with jetty-maven-plugin and jmx

> -----Original Message-----
> Sent: Monday, June 30, 2014 5:49 PM
> To: JETTY user mailing list
> Subject: Re: [jetty-users] Difficulty with jetty-maven-plugin and jmx
> 
> Jim,
> 
> Using the systemProperties configuration for the plugin means that
> they cannot be set until the plugin runs - for some types of system
> properties that's simply too late and they have to be set at the time
> the jvm starts. Try using MAVEN_OPTS environment variable instead.
> 
> Jan
> 
> On 30 June 2014 19:58, Jim Garrison <jim.garrison@xxxxxxxx> wrote:
> > I'm trying to set system properties to enable JMX (the
> com.sun.management.jmxremote.* properties) but when I run
> >
> >    mvn jetty:run
> >
> > JMX does not get enabled (nothing listening on port 1099). Here's my
> plugin configuration (${jetty.version} = 9.1.0.v20131115)
[snip]

Thanks, putting the JMX options in MAVEN_OPTS worked.


Back to the top