Is there a way to run the reggie lookup service as a JBoss MBean service?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937778#3937778
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937778
---
What is the standard proceedure for managing remote resources (Using JMX) that
are part of your system? Say you have a web server on one machine, an
application server (JBoss AS) on another, and a database server on a third.
Would you have each service have their own jmx server, or would you c
Check it out:
| System.out.println("Say hello: " + gale.sayHello() );
| server.registerMBean( gale, galeName );
| server.invoke(galeName, "sayHello", null, null);
|
produces this output:
| 15:10:05,037 INFO [STDOUT] Say hello: Hello World!
| 15:10:05,037 INFO [STDOUT] Exception
Is this the way I should be handeling this? I haven't seen anywhere that I
should be registering remote manageable resources to a single MBeanServer.
Should each manageable resource have it's own MBeanServer?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39
2006-04-07 08:54:52,640 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console].[HtmlAdaptor]]
Servlet.service() for servlet HtmlAdaptor threw exception
| javax.management.ReflectionException
| at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationE
BACKGROUND:
I have a handfull of services (MyService) that all do the same thing, but can
only handle one request at a time.
I need to have them managable through JMX.
I need to make it easy for a client to discover an available MyService and use
it.
We currently use JBoss as our application serv