The vendor specific JMX Bean doesn't implement or extend
org.jboss.system.Service or implement any of the necessary lifecycle methods
(per the vendor). Using the ObjectName as indicated below in the @Depends did
not work. From the JBOSS documentation, it seems that there are some minimal
requ
I might be missing something, but doesn't that vendor specific JMX Bean
ultimately get registered in the JBoss MBean server with a specific MBean
ObjectName? If it does, then specifying that ObjectName in the @Depends should
work.
View the original post :
http://www.jboss.org/index.html?modul
It's a vendor-based JMXBean--turns out, it doesn't implement the JBOSS-specific
interfaces to support dependency management. Either I need a JBOSS-specific
implementation, or may be remedied with EJB3.1 / @DependsOn as a vendor-neutral
standard, although I don't have enough familiarity to know
Post your entire console logs (not server.log) and even the updated code. Who
registers the RES:type=IlrJMXRepository service?
While posting logs or xml content or code, please remember to wrap it in a code
block by using the Code button in the message editor window. Please use the
Preview but
Hmm--still fails
DEPLOYMENTS IN ERROR:
Deployment ""
is in error due to the following reason(s): ** UNRESOLVED Demands
'RES:type=IlrJMXRepository' **
I can successfully retrieve the MBean entry from the MBean registry using the
get method through the JMX-console using this objectname.
Gener
"goldberg.howard" wrote :
| I'm trying to find the dependent MBean. From the stack trace,
"RES:type=IlrJMXRepository" is what gets registered in the MBeanServer. Do I
set the dependency on this
Yes, that would be the right dependency.
View the original post :
http://www.jboss.org/index.ht
Thanks for the pickup. Using JBOSS tools plugins--that was the autofill
import--I'll post a bug report.
I'm trying to find the dependent MBean. From the stack trace,
"RES:type=IlrJMXRepository" is what gets registered in the MBeanServer. Do I
set the dependency on this, scanning the JMX-Cons
import org.jboss.beans.metadata.api.annotations.Depends;
|
Wrong import. Should be:
import org.jboss.ejb3.annotation.Depends;
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246255#4246255
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=p