[JBoss JIRA] Created: (JBOSGI-58) Framework injection in SLSB
by Thomas Diesler (JIRA)
Framework injection in SLSB
---------------------------
Key: JBOSGI-58
URL: https://jira.jboss.org/jira/browse/JBOSGI-58
Project: JBossOSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta1
I'm tring to access the OSGIFramework from my Stateless and I got this error:
Caused by: javax.management.InstanceNotFoundException: jboss.osgi:service=Framework is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:675)
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407)
at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:99)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:394)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:349)
at org.jboss.injection.DependsFieldInjector.inject(DependsFieldInjector.java:66)
@Stateless
public class TestStatelessBean implements TestStatelessRemote
{
@Depends("jboss.osgi:service=Framework")
OSGiFramework framework;
@Override
public void test() throws NamingException
{
System.out.println(framework.getSystemBundle());
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] Created: (JBOSGI-55) Write an RHQ plugin for managing JBoss OSGi
by Thomas Diesler (JIRA)
Write an RHQ plugin for managing JBoss OSGi
-------------------------------------------
Key: JBOSGI-55
URL: https://jira.jboss.org/jira/browse/JBOSGI-55
Project: JBossOSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Productization
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
Ian Springer says:
I think it would be great if we could write an RHQ plugin for managing JBoss OSGi. That would allow it to be managed using EmbJopr (i.e. an admin console webapp like the Felix one you have today) or Jopr/JON. Not only would we be eating our own dog food, but I think we'd end up with something a lot nicer than Felix with not a ton of work required. Please ping me or one of the other developers on the JON team if you'd like to discuss this some more. We'd be glad to help you get started writing a plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months