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 is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user