0 Replies Latest reply on Oct 10, 2006 11:14 AM by Vivek Srivastav

    java.lang.NoSuchMethodError while hot deplying SAR

    Vivek Srivastav Newbie

      I have the following problem:
      When I try to hot deploy the SAR file I get the following exception. However when the jboss is started from the command line and the SAR file already exists, there is no such problem. I am just instantiating a ServiceLocator class which creates a context = new IntialContext() within the constructor of ServiceLocator class (line 721).
      Appreciate any insight that you can offer.
      vivek


      11:02:49,218 INFO [CORViewNotifications] Unbinding JNDI name: queue/CORViewNoti
      fications
      11:02:49,218 INFO [CORViewNotifications] Unbinding JNDI name: topic/CORViewNoti
      fications
      11:02:49,218 INFO [CORViewService] Service destroyed
      11:03:01,171 INFO [CORViewService] Service created
      11:03:01,171 WARN [ServiceController] Problem creating service corview:service=
      CORViewService
      java.lang.NoSuchMethodError: org.vss.utils.ServiceLocator: method <init>()V not
      found
       at org.vss.mbean.CORViewService.createService(CORViewService.java:721)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean
      Support.java:260)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
      188)