I am trying to deploy a simple MBean onto JBoss and I keep getting the following error:
------------------------------------------------------------------------------------------------------------
10:05:36,521 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
[EMAIL PROTECTED] url=file:/D:/jboss-3.2.1/ser
ver/all/deploy/mBeanTest.sar, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: create operation failed for package fi
le:/D:/jboss-3.2.1/server/all/deploy/mBeanTest.sar; - nested throwable: (org.jbo
ss.deployment.DeploymentException: com.fts.timertasks.TsTestMBean.<init>(); - ne
sted throwable: (java.lang.NoSuchMethodException: com.fts.timertasks.TsTestMBean
.<init>()))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
-------------------------------------------------------------------------------------------------------------
Here is what I put in my jboss-service.xml
<?xml version="1.0"?>
<service>
<mbean
code="com.fts.timertasks.TsTestMBean"
name="jboss:type=Service,Name=TestMBean" >
</mbean>
</service>
Any help would be greatly appreciated. I am using JBoss 3.2.1.
Thanks,
Rich
-------------------------------------------------------
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