[infinispan-issues] [JBoss JIRA] (ISPN-2145) No descriptions for invalid jgroups configuration files

Dmitry Udalov (JIRA) jira-events at lists.jboss.org
Mon Jul 2 18:55:12 EDT 2012


Dmitry Udalov created ISPN-2145:
-----------------------------------

             Summary: No descriptions for invalid jgroups configuration files
                 Key: ISPN-2145
                 URL: https://issues.jboss.org/browse/ISPN-2145
             Project: Infinispan
          Issue Type: Enhancement
          Components: Configuration
    Affects Versions: 5.1.2.FINAL
         Environment: Windows 7
            Reporter: Dmitry Udalov
            Assignee: Manik Surtani


Can't find error's description for invalid jgroups configuration files. Shuffling elements of the file (why not!) makes it invalid, but log-files only report the existence of the error and you have to debug it to figure out the problem. It would be easier if the class JGroupsTransport also reports the exception, not just a generic message in blocks like

    } catch (Exception e) {
      log.errorCreatingChannelFromConfigFile(cfg);
      throw new CacheException(e);
    }

As a result log-file contains a lot of generic messages without explaining the problem, which in my case was quite helpful:

java.lang.Exception: events [GET_DIGEST SET_DIGEST FIND_INITIAL_MBRS FIND_ALL_VIEWS ] are required by GMS, but not provided by any of the protocols below it



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list