Skip to main content

Posts

Showing posts from June, 2017

No EJB found with interface of type with Jboss annotation @Management in JavaEE6

“JBoss-specific @Management is not supported with Java EE6-specified @Singleton,” as quoted here: https://developer.jboss.org/thread/164844 . A workaround will be to annotate with @Singleton and @Startup. Also, you could expose your bean through JMX with the snippet below: MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();          ObjectName name = new ObjectName("com.example:type=Hello");          Hello mbean = new Hello();          mbs.registerMBean(mbean, name); Read More