[JBoss-user] [Management, JMX/JBoss] - Custom MBean

2005-08-25 Thread wikey
Hi,

I'm researching custom MBean. 

Refer to this web site.
http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html

This web site show how to bind a HashMap to JNDI.

Is there anyway i can bind a Serializable Object instead a HashMap.?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891599#3891599

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891599


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Custom MBean Deployment order

2005-07-20 Thread pmore
I have deployed my multithreaded application as a mBean and want to monitor it 
using JMX console.

I started with JBoss minimal server with just my application.sar, tomcat sar 
and jmx-console.war. How do I make JBoss deployer go about deploying in the 
following order -
1)Deploy Tomcat service, 
2)JMX-console.war application 
3) finally my application.sar.

Tried using depends in jmx-service.xml in myApp.sar did not work. Am I missing 
some config here. 
jmx-service.xml entry is - 
 code=com.myPackage.myAppClass 
  name=com.mypackage:service=MyAppClass
 jboss.web:service=WebServer

The reason i want that particular order is my app starts threads and waits in 
an infinite loop and listening thru' the socket connection for the next command.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885783#3885783

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885783


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - custom mbean example

2004-10-18 Thread shankar_banerjee
Hi,

Does anybody have a custom mbean code and config example for jboss3.2.5 . A simple one 
(which does not depend on other Jboss services) would do. 

Thanks
--Shankar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851810#3851810

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851810


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Custom MBean lifecycle with EJB dependencies

2004-06-22 Thread gchazalon
Hi,

I have experienced a strange behavior using JBoss 3.2.3 JMX.

I have created a custom MBean, which basicaly creates an instance of a stateful EJB 
and map it into a JNDI entry. 
Since my MBean  depends on the deployment of this particular EJB, I have  a   element 
in the associated jboss-service.xml.

Here it is :


  | server
  | mbean code=adonis2.adp.archivage.depot.admin.EPRManager 
name=adonis2.adp.archivage.depot.admin:service=EPRManager
  | 
dependsjboss.j2ee:service=EJB,jndiName=adonis2.adp.archivage.depot.EPRHolderLocalHome/depends
  | /mbean
  | /server
  | 

For JUnit testing purpose, I have to generate both types of interfaces for this EJB 
(i.e. I have a Home, LocalHome, Local and Remote interface for that EJBean).

So, the probem is, if I set the dependency on the deployment of the LocaHome, the 
start() and stop() method are simply never called !
But if I set it on the deployment of the Home, it works !!!
How strange, ain't it ?

So my question is : 
Is this something normal that JBoss only notifies depending MBean for the deployment 
of a Home, and not for a deployment of a LocalHome ?


Gregory



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839529#3839529

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839529


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user