You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jeff_Shelley <mr...@gmail.com> on 2007/05/19 20:47:52 UTC

JBI Spec

Sorry I wasn't sure where to post this message.  

In the JBI Spec is there any standard way to query which components are
installed?  I see in ServiceMix, you have an AdminCommandsService which
provides this functionality, but I'm wondering if there's a spec-compliant
way to query this from a management utility or if I just have to roll my own
for each implementation.

Thanks!

--Jeff
-- 
View this message in context: http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
Sent from the ServiceMix - User mailing list archive at Nabble.com.


RE: JBI Spec

Posted by ra...@wipro.com.
Hi Jeff,
 
You are right. AdminCommandService is not there in the spec. The same is also true for AutoDeploymentService. It would be good if someone from dev team respond to this.
 
 
Regards, 
http://rabisblog.blogspot.com/

________________________________

From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
Sent: Sun 5/20/2007 7:10 AM
To: servicemix-users@geronimo.apache.org
Subject: RE: JBI Spec




Thanks Rabi, but unfortunately I think I asked my question incorrectly.

There are the MBeans defined in the spec, which provide various
install/deploy/whatever methods.  I've hooked into the MBean Server remotely
and am able to query the MBeans and invoke methods.  I got stuck when I
wanted to get the names of the installed components in a vendor neutral way.

I see there is this way to do it in ServiceMix, but I can't find
AdminCommandsService in the spec.  I have a hard time believing they would
have left this out of the spec, because it seems like a no brainer to need
that information.

So my fear is that I'll have to write this functionality separately for each
JBI implementor.  It's not the biggest deal, it just would have been nice to
have.

If I'm not explaining this right, or (as I said earlier) I'm posting this in
the wrong forum, I apologize.  I appreciate your response, though,
definitely.

Have a good one!

--Jeff

rabi wrote:
>
>
> Hi Jeff,
> 
> Servicemix components(BCs/SEs), service assemblys and service units are
> instrumented as MBeans using spring JMX support. You can query them using
> standard JMX query.
> 
> You can also use the Java Monitoring and Management Console (jconsole)
> which comes with J2SE 5.0 and higher versions to manage and monitor them.
> 
> Try accessing the below url (MBean  Server)  using jconsole once you start
> your installed servicemix instance.
> 
> servicemix::jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi (user id: smx
> password:smx)
> 
> I hope it helps!
> 
> Regards,
> Rabi Mishra
> http://rabisblog.blogspot.com/
>
> ________________________________
>
> From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
> Sent: Sun 5/20/2007 12:17 AM
> To: servicemix-users@geronimo.apache.org
> Subject: JBI Spec
>
>
>
>
> Sorry I wasn't sure where to post this message.
>
> In the JBI Spec is there any standard way to query which components are
> installed?  I see in ServiceMix, you have an AdminCommandsService which
> provides this functionality, but I'm wondering if there's a spec-compliant
> way to query this from a management utility or if I just have to roll my
> own
> for each implementation.
>
> Thanks!
>
> --Jeff
> --
> View this message in context:
> http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
>
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
> 
> www.wipro.com
>

--
View this message in context: http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10702157
Sent from the ServiceMix - User mailing list archive at Nabble.com.






The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com

Re: JBI Spec

Posted by Guillaume Nodet <gn...@gmail.com>.
The JBI spec defines AdminServiceMBean
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/core/servicemix-jbi/apidocs/javax/jbi/management/AdminServiceMBean.html

which is the JBI compliant way to access the components, etc...
The MBean name is not specified (and you could have multiple JBI containers
running in the same JVM btw).

The AdminCommandsService interface defined by ServiceMix is a more rich and
convenient
way to do the same thing.

On 5/20/07, Jeff_Shelley <mr...@gmail.com> wrote:
>
>
> Thanks Rabi, but unfortunately I think I asked my question incorrectly.
>
> There are the MBeans defined in the spec, which provide various
> install/deploy/whatever methods.  I've hooked into the MBean Server
> remotely
> and am able to query the MBeans and invoke methods.  I got stuck when I
> wanted to get the names of the installed components in a vendor neutral
> way.
>
> I see there is this way to do it in ServiceMix, but I can't find
> AdminCommandsService in the spec.  I have a hard time believing they would
> have left this out of the spec, because it seems like a no brainer to need
> that information.
>
> So my fear is that I'll have to write this functionality separately for
> each
> JBI implementor.  It's not the biggest deal, it just would have been nice
> to
> have.
>
> If I'm not explaining this right, or (as I said earlier) I'm posting this
> in
> the wrong forum, I apologize.  I appreciate your response, though,
> definitely.
>
> Have a good one!
>
> --Jeff
>
> rabi wrote:
> >
> >
> > Hi Jeff,
> >
> > Servicemix components(BCs/SEs), service assemblys and service units are
> > instrumented as MBeans using spring JMX support. You can query them
> using
> > standard JMX query.
> >
> > You can also use the Java Monitoring and Management Console (jconsole)
> > which comes with J2SE 5.0 and higher versions to manage and monitor
> them.
> >
> > Try accessing the below url (MBean  Server)  using jconsole once you
> start
> > your installed servicemix instance.
> >
> > servicemix::jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi (user id: smx
> > password:smx)
> >
> > I hope it helps!
> >
> > Regards,
> > Rabi Mishra
> > http://rabisblog.blogspot.com/
> >
> > ________________________________
> >
> > From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
> > Sent: Sun 5/20/2007 12:17 AM
> > To: servicemix-users@geronimo.apache.org
> > Subject: JBI Spec
> >
> >
> >
> >
> > Sorry I wasn't sure where to post this message.
> >
> > In the JBI Spec is there any standard way to query which components are
> > installed?  I see in ServiceMix, you have an AdminCommandsService which
> > provides this functionality, but I'm wondering if there's a
> spec-compliant
> > way to query this from a management utility or if I just have to roll my
> > own
> > for each implementation.
> >
> > Thanks!
> >
> > --Jeff
> > --
> > View this message in context:
> > http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >
> >
> >
> >
> >
> >
> > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s)
> and
> > may contain proprietary, confidential or privileged information. If you
> > are not the intended recipient, you should not disseminate, distribute
> or
> > copy this e-mail. Please notify the sender immediately and destroy all
> > copies of this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of viruses.
> > The company accepts no liability for any damage caused by any virus
> > transmitted by this email.
> >
> > www.wipro.com
> >
>
> --
> View this message in context:
> http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10702157
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

RE: JBI Spec

Posted by ra...@wipro.com.
Hi Jeff,
 
You are right. AdminCommandService is not there in the spec. The same is also true for AutoDeploymentService. It would be good if someone from dev team respond to this.
 
 
Regards, 
http://rabisblog.blogspot.com/

________________________________

From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
Sent: Sun 5/20/2007 7:10 AM
To: servicemix-users@geronimo.apache.org
Subject: RE: JBI Spec




Thanks Rabi, but unfortunately I think I asked my question incorrectly.

There are the MBeans defined in the spec, which provide various
install/deploy/whatever methods.  I've hooked into the MBean Server remotely
and am able to query the MBeans and invoke methods.  I got stuck when I
wanted to get the names of the installed components in a vendor neutral way.

I see there is this way to do it in ServiceMix, but I can't find
AdminCommandsService in the spec.  I have a hard time believing they would
have left this out of the spec, because it seems like a no brainer to need
that information.

So my fear is that I'll have to write this functionality separately for each
JBI implementor.  It's not the biggest deal, it just would have been nice to
have.

If I'm not explaining this right, or (as I said earlier) I'm posting this in
the wrong forum, I apologize.  I appreciate your response, though,
definitely.

Have a good one!

--Jeff

rabi wrote:
>
>
> Hi Jeff,
> 
> Servicemix components(BCs/SEs), service assemblys and service units are
> instrumented as MBeans using spring JMX support. You can query them using
> standard JMX query.
> 
> You can also use the Java Monitoring and Management Console (jconsole)
> which comes with J2SE 5.0 and higher versions to manage and monitor them.
> 
> Try accessing the below url (MBean  Server)  using jconsole once you start
> your installed servicemix instance.
> 
> servicemix::jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi (user id: smx
> password:smx)
> 
> I hope it helps!
> 
> Regards,
> Rabi Mishra
> http://rabisblog.blogspot.com/
>
> ________________________________
>
> From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
> Sent: Sun 5/20/2007 12:17 AM
> To: servicemix-users@geronimo.apache.org
> Subject: JBI Spec
>
>
>
>
> Sorry I wasn't sure where to post this message.
>
> In the JBI Spec is there any standard way to query which components are
> installed?  I see in ServiceMix, you have an AdminCommandsService which
> provides this functionality, but I'm wondering if there's a spec-compliant
> way to query this from a management utility or if I just have to roll my
> own
> for each implementation.
>
> Thanks!
>
> --Jeff
> --
> View this message in context:
> http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
>
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
> 
> www.wipro.com
>

--
View this message in context: http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10702157
Sent from the ServiceMix - User mailing list archive at Nabble.com.




RE: JBI Spec

Posted by Jeff_Shelley <mr...@gmail.com>.
Thanks Rabi, but unfortunately I think I asked my question incorrectly.

There are the MBeans defined in the spec, which provide various
install/deploy/whatever methods.  I've hooked into the MBean Server remotely
and am able to query the MBeans and invoke methods.  I got stuck when I
wanted to get the names of the installed components in a vendor neutral way.

I see there is this way to do it in ServiceMix, but I can't find
AdminCommandsService in the spec.  I have a hard time believing they would
have left this out of the spec, because it seems like a no brainer to need
that information.

So my fear is that I'll have to write this functionality separately for each
JBI implementor.  It's not the biggest deal, it just would have been nice to
have.

If I'm not explaining this right, or (as I said earlier) I'm posting this in
the wrong forum, I apologize.  I appreciate your response, though,
definitely.

Have a good one!

--Jeff

rabi wrote:
> 
> 
> Hi Jeff,
>  
> Servicemix components(BCs/SEs), service assemblys and service units are
> instrumented as MBeans using spring JMX support. You can query them using
> standard JMX query.
>  
> You can also use the Java Monitoring and Management Console (jconsole)
> which comes with J2SE 5.0 and higher versions to manage and monitor them.
>  
> Try accessing the below url (MBean  Server)  using jconsole once you start
> your installed servicemix instance.
>  
> servicemix::jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi (user id: smx
> password:smx)
>  
> I hope it helps!
>  
> Regards, 
> Rabi Mishra 
> http://rabisblog.blogspot.com/
> 
> ________________________________
> 
> From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
> Sent: Sun 5/20/2007 12:17 AM
> To: servicemix-users@geronimo.apache.org
> Subject: JBI Spec
> 
> 
> 
> 
> Sorry I wasn't sure where to post this message. 
> 
> In the JBI Spec is there any standard way to query which components are
> installed?  I see in ServiceMix, you have an AdminCommandsService which
> provides this functionality, but I'm wondering if there's a spec-compliant
> way to query this from a management utility or if I just have to roll my
> own
> for each implementation.
> 
> Thanks!
> 
> --Jeff
> --
> View this message in context:
> http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>  
> www.wipro.com
> 

-- 
View this message in context: http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10702157
Sent from the ServiceMix - User mailing list archive at Nabble.com.


RE: JBI Spec

Posted by ra...@wipro.com.
Hi Jeff,
 
Servicemix components(BCs/SEs), service assemblys and service units are instrumented as MBeans using spring JMX support. You can query them using standard JMX query.
 
You can also use the Java Monitoring and Management Console (jconsole) which comes with J2SE 5.0 and higher versions to manage and monitor them.
 
Try accessing the below url (MBean  Server)  using jconsole once you start your installed servicemix instance.
 
servicemix::jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi (user id: smx password:smx)
 
I hope it helps!
 
Regards, 
Rabi Mishra 
http://rabisblog.blogspot.com/

________________________________

From: Jeff_Shelley [mailto:mr.jeff.shelley@gmail.com]
Sent: Sun 5/20/2007 12:17 AM
To: servicemix-users@geronimo.apache.org
Subject: JBI Spec




Sorry I wasn't sure where to post this message. 

In the JBI Spec is there any standard way to query which components are
installed?  I see in ServiceMix, you have an AdminCommandsService which
provides this functionality, but I'm wondering if there's a spec-compliant
way to query this from a management utility or if I just have to roll my own
for each implementation.

Thanks!

--Jeff
--
View this message in context: http://www.nabble.com/JBI-Spec-tf3783399s12049.html#a10699492
Sent from the ServiceMix - User mailing list archive at Nabble.com.






The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com