1 Reply Latest reply on May 9, 2016 8:02 AM by jbertram

    Error when starting HornetQ 2.4

    hanslammerts

      Hi,

       

      We have HornetQ-2.4 running, and whenever I start HornetQ, the following line appears in the

      svcrun.log :

       

      Unable to read the logging configuration from 'C:\opt\hornetq-2.4.0.Final\config\stand-alone\vlb_10_cluster\logging.properties'

      (java.net.MalformedURLException: unknown protocol: c)

       

      The file exists, and the contents are as follows :

       

      loggers=org.jboss.logging,org.hornetq.core.server,org.hornetq.utils,org.hornetq.journal,org.hornetq.jms,org.hornetq.integration.bootstrap

       

      # Root logger level logger.level=INFO

      # HornetQ logger levels logger.org.hornetq.core.server.level=INFO logger.org.hornetq.journal.level=INFO

      logger.org.hornetq.utils.level=INFO logger.org.hornetq.jms.level=INFO

      logger.org.hornetq.integration.bootstrap.level=INFO

      # Root logger handlers logger.handlers=FILE,CONSOLE

       

      # Console handler configuration handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler

      handler.CONSOLE.properties=autoFlush handler.CONSOLE.level=FINE

      handler.CONSOLE.autoFlush=true handler.CONSOLE.formatter=PATTERN

       

      # File handler configuration handler.FILE=org.jboss.logmanager.handlers.FileHandler

      handler.FILE.level=FINE handler.FILE.properties=autoFlush,fileName

      handler.FILE.autoFlush=true

      handler.FILE.fileName=/var/log/hornetq-2.4/broker_2_4.log

      handler.FILE.formatter=PATTERN

       

      # Formatter pattern configuration formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter

      formatter.PATTERN.properties=pattern

      formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n

       

      I don't see anything wrong with my config.

      Anybody here knows what this error means, and if it is at all important ?

      Logging does seem to work properly.....

       

      Thanks,

      Hans

        • 1. Re: Error when starting HornetQ 2.4
          jbertram

          I believe the error is in reference to the "URL" of the configuration file itself (i.e. "C:\opt\hornetq-2.4.0.Final\config\stand-alone\vlb_10_cluster\logging.properties").  I this instead:

           

            file:///C:/opt/hornetq-2.4.0.Final/config/stand-alone/vlb_10_cluster/logging.properties