This content has been marked as final.
Show 3 replies
-
1. Re: How to invoke a Seam Component from a plain JMX MBean or EJB
graben May 20, 2008 7:59 AM (in response to jonathandfields)Use Component.getInstance(<class>/<seam component name>)
Greets Benjamin
-
2. Re: How to invoke a Seam Component from a plain JMX MBean or EJB
scholtz.albert Jul 21, 2008 1:44 PM (in response to jonathandfields)Hi Benjamin
I tried to use the method that you mention above but with no luck. I get an exception
No application context active
when invoking one the jmx methods. The component i am trying to use is Application scoped. Should i annotate that component in a certain way? Are there some configuration that i am missing?Thank you in advance
Albert -
3. Re: How to invoke a Seam Component from a plain JMX MBean or EJB
pmuir Jul 27, 2008 1:37 PM (in response to jonathandfields)You'll need to start the lifecycle yourself. Look at ContextualHttpServletRequest for inspiration.