Hello! > I am trying to deploy a simple MBean onto JBoss and I keep getting the > following error: > (java.lang.NoSuchMethodException: com.fts.timertasks.TsTestMBean > .<init>()))
> <mbean > code="com.fts.timertasks.TsTestMBean" > name="jboss:type=Service,Name=TestMBean" > > </mbean> You try to instantiate the interface "com.fts.timertasks.TsTestMBean". Obviously this cannot work. The error message is a little bit irritating. But an interface has no <init>-method ;-). What you want to do is to instantiate an object of "com.fts.timertasks.TsTest" and register this as an MBean. So use this: <mbean code="com.fts.timertasks.TsTest" name="jboss:type=Service,Name=TestMBean" > </mbean> CU Thomas ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development