ya , i tried to find from
http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX but, i couldn't ... see actually i want to Monitor Web Application Parameter but not from the inside of JBoss but from OutSide of JBoss. For this i connect my agent through HttpAdaptor okay, now i can manage to get parameter like Server Started date and time OR Version, etc. but i am not able to get proper ObjectName which will give me the detail of WebApplication Parameter. Now, i tried one more thing as below, ObjectName nameWebModule = new ObjectName("jboss.management.local:J2EEApplication=Notification.ear,J2EEServer=Local,j2eeType=WebModule,name=admincentral.war"); ObjectName nameContainerName = new ObjectName("jboss.web:service=WebServer"); ObjectName nameservletServiceName = new ObjectName("jboss.web:serviceName=jboss.web,type=Service"); try { ServletMBean smbean = new Servlet(nameWebModule,nameContainerName,nameservletServiceName); System.out.println("Servlet Name:" + new ObjectName(smbean.getobjectName()).getKeyProperty("name")); } catch (InvalidParentException e5) { // TODO Auto-generated catch block e5.printStackTrace(); } but this give the NullPointerException at javax.management.ObjectName servletServiceName. lbrd. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926563#3926563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926563 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
