i am getting this errororg.jboss.deployment.DeploymentException: 
com.vai.cms.ejb.message.SchedulableLIBean.(); - nested throwable: 
(java.lang.NoSuchMethodException: com.vai.cms.
ejb.message.SchedulableLIBean.())
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:143)
        at org.jboss.system.ServiceController.install(ServiceController.java:202
)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at 
java.lang.reflect.Method.invoke(Unknown Source) at 
org.jboss.mx.interceptor.ReflectedDispatcher.invokeeflectedDispatch
er.java:141)

this is my code in deployment descriptor


    true
    com.vai.cms.ejb.message.SchedulableLIBean
    SchedulabeTest,12345
    java.lang.String,int    
    NOW
    2000
    -1
    jboss:service=Naming
  

and this is my class
public class SchedulableLIBean implements Schedulable {
        private String name;
        private long value;
        public SchedulableLIBean(String name, long value){
                this.name = name;
                this.value= value;
        }
        public void perform(Date now, long remainingRepetitions){
        System.out.println("time"+now+"remaining 
repetitions"+remainingRepetitions);
        //loopbackMessage();
}}

is there any thing that i have to add in my deployment descriptors
or is there any thing wrong in 
thank you

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899711#3899711

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899711


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to