i have a very small jmx-based app to deploy.
since i'm such a fan of jboss, i figured i'd try the minimal configuration and then 
add a very small jmx-console to it.

so i made a my-jmx-console.sar, added the required jmx ri jars, and a 
jboss-service.xml where i start the com.sun.jdmk.comm.HtmlAdaptorServer and the system 
boots up.

i was so happy until i pointed a browser to it and i get this NPE:
java.lang.NullPointerException
  |     at com.sun.jdmk.comm.HtmlMasterPage.buildPage(HtmlMasterPage.java:95)
  |     at 
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRequestHandler.java:336)
  |     at 
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlRequestHandler.java:155)
  |     at com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler.java:82)
  |     at com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:88)
  |     at java.lang.Thread.run(Thread.java:484)
now this works just fine and dandy in a stand-alone jmx app.... so i've try to get it 
to work, but the only way i can get a jmx-console running is to use the default 
configuration minus a couple of jars/sars/xmls.

it's a real shame that the ri jmx console can't work and instead we have to deploy 6Mb 
worth of default configuration, not to mention the runtime hit of running catalina 
just to get a jmx-console up!!!

has anyone been successful at this?

note: i've tried the following variations without success:
1. put jmx-ri jars in /lib instead of my sar
2. deploy with a loader-repository
3. deploy stand-alone components instead of a sar

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826637#3826637";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826637>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to