You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2009/09/17 17:29:35 UTC

help getting maven jetty plugin and jmx to work

I have tried to understand:
http://wiki.eclipse.org/Jetty/Howto/Run_Jetty_with_JConsole

But I do not have a jetty-jmx.xml that seems to work.

I have tried this jetty-jmx.xml:
http://blogs.exist.com/oching/2009/02/26/configuring-jsw-embedded-jetty-with-jmx/

But I get deployment errors with this configuration.

I am now trying to find out hot to add an OPTION as per:

*Jetty 7 requires -DOPTIONS=jmx to be used when starting up Jetty. That is,
instead of the
above, use this:
java -DOPTIONS=jmx -jar start.jar etc/jetty-jmx.xml etc/jetty.xml
*


Any help would be greatly appreciated


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---

Re: help getting maven jetty plugin and jmx to work

Posted by Mick Knutson <mi...@gmail.com>.
Sorry...

I am trying to start jetty with the Maven jetty plugin to allow me to see
the JMX MBeans in Jetty. Specifically trying to track down JNDI errors, and
according to the way you start the standalone Jetty, you pass in the JVM
args. We How can I do this with the Maven plugin as there are no directions
on the Jetty Wiki, and I have been trying different things all day with no
luck at all.



---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Sep 17, 2009 at 2:54 PM, Stephen Connolly <
stephen.alan.connolly@gmail.com> wrote:

> I might be a tad thick, but I'm having trouble seeing what your
> questionhas to do with maven. have you tried the jetty lists first?
>
> On Thursday, September 17, 2009, Mick Knutson <mi...@gmail.com>
> wrote:
> > I have tried to understand:
> > http://wiki.eclipse.org/Jetty/Howto/Run_Jetty_with_JConsole
> >
> > But I do not have a jetty-jmx.xml that seems to work.
> >
> > I have tried this jetty-jmx.xml:
> >
> http://blogs.exist.com/oching/2009/02/26/configuring-jsw-embedded-jetty-with-jmx/
> >
> > But I get deployment errors with this configuration.
> >
> > I am now trying to find out hot to add an OPTION as per:
> >
> > *Jetty 7 requires -DOPTIONS=jmx to be used when starting up Jetty. That
> is,
> > instead of the
> > above, use this:
> > java -DOPTIONS=jmx -jar start.jar etc/jetty-jmx.xml etc/jetty.xml
> > *
> >
> >
> > Any help would be greatly appreciated
> >
> >
> > ---
> > Thank You…
> >
> > Mick Knutson, President
> >
> > BASE Logic, Inc.
> > Enterprise Architecture, Design, Mentoring & Agile Consulting
> > p. (866) BLiNC-411: (254-6241-1)
> > f. (415) 685-4233
> >
> > Website: http://baselogic.com
> > Linked IN: http://linkedin.com/in/mickknutson
> > Vacation Rental: http://tahoe.baselogic.com
> > ---
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: help getting maven jetty plugin and jmx to work

Posted by Stephen Connolly <st...@gmail.com>.
I might be a tad thick, but I'm having trouble seeing what your
questionhas to do with maven. have you tried the jetty lists first?

On Thursday, September 17, 2009, Mick Knutson <mi...@gmail.com> wrote:
> I have tried to understand:
> http://wiki.eclipse.org/Jetty/Howto/Run_Jetty_with_JConsole
>
> But I do not have a jetty-jmx.xml that seems to work.
>
> I have tried this jetty-jmx.xml:
> http://blogs.exist.com/oching/2009/02/26/configuring-jsw-embedded-jetty-with-jmx/
>
> But I get deployment errors with this configuration.
>
> I am now trying to find out hot to add an OPTION as per:
>
> *Jetty 7 requires -DOPTIONS=jmx to be used when starting up Jetty. That is,
> instead of the
> above, use this:
> java -DOPTIONS=jmx -jar start.jar etc/jetty-jmx.xml etc/jetty.xml
> *
>
>
> Any help would be greatly appreciated
>
>
> ---
> Thank You…
>
> Mick Knutson, President
>
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
>
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org