User: oberg   
  Date: 00/12/07 08:19:30

  Modified:    src/main/org/jboss/util ServiceControl.java
  Log:
  Fixed JMS MBeans to work with new configuration scheme
  Formatting of source
  
  Revision  Changes    Path
  1.2       +5 -1      jboss/src/main/org/jboss/util/ServiceControl.java
  
  Index: ServiceControl.java
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/util/ServiceControl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServiceControl.java       2000/12/07 15:48:14     1.1
  +++ ServiceControl.java       2000/12/07 16:19:30     1.2
  @@ -19,7 +19,7 @@
    *      
    *   @see <related>
    *   @author Rickard �berg ([EMAIL PROTECTED])
  - *   @version $Revision: 1.1 $
  + *   @version $Revision: 1.2 $
    */
   public class ServiceControl
      implements ServiceControlMBean, MBeanRegistration, NotificationListener
  @@ -62,6 +62,10 @@
            } catch (ReflectionException e)
            {
              // Not a service - ok 
  +         } catch (RuntimeMBeanException e)
  +         {
  +            log.error("Could not initialize "+name);
  +            log.exception(e.getTargetException());
            } catch (Exception e)
            {
               log.error("Could not initialize "+name);
  
  
  

Reply via email to