[ https://issues.apache.org/jira/browse/AMQ-9126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625742#comment-17625742 ]
Geert Schuring commented on AMQ-9126: ------------------------------------- [~Sreeni] You're missing the point of my bug report. Users should not have to start googling solutions to know problems in the latest version of any product. We/they should solve the problem at the core. I'm reporting it because I'm guessing it might have eluded the developers attention. > Jolokia throws exception during startup > --------------------------------------- > > Key: AMQ-9126 > URL: https://issues.apache.org/jira/browse/AMQ-9126 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.17.2 > Environment: Windows 10 > Java 11 > Reporter: Geert Schuring > Assignee: Jean-Baptiste Onofré > Priority: Critical > Fix For: 5.18.0, 5.17.3 > > > During startup of a freshly downloaded activemq-5.17.2 for windows the > jolokia agent scrambles up the path of the jolokia-access.xml file, fails to > open it, and throws an exception: > {code:java} > C:\Tools\Brokers\apache-activemq-5.17.2>bin\activemq start > Java Runtime: AdoptOpenJDK 11.0.7 C:\Tools\Java\jdk-11.0.7.10-hotspot > Heap sizes: current=1048576k free=1040894k max=1048576k > JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G > -Djava.util.logging.config.file=logging.properties > -Djava.security.auth.login.config=C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\conf\login.config > > -Dactivemq.classpath=C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\conf;C:\Tools\Brokers\apache-activemq-5.17.2\bin\../conf;C:\Tools\Brokers\apache-activemq-5.17.2\bin\../conf; > -Dactivemq.home=C:\Tools\Brokers\apache-activemq-5.17.2\bin\.. > -Dactivemq.base=C:\Tools\Brokers\apache-activemq-5.17.2\bin\.. > -Dactivemq.conf=C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\conf > -Dactivemq.data=C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data > -Djava.io.tmpdir=C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data\tmp > Extensions classpath: > > [C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\lib,C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\lib\camel,C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\lib\optional,C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\lib\web,C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\lib\extra] > ACTIVEMQ_HOME: C:\Tools\Brokers\apache-activemq-5.17.2\bin\.. > ACTIVEMQ_BASE: C:\Tools\Brokers\apache-activemq-5.17.2\bin\.. > ACTIVEMQ_CONF: C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\conf > ACTIVEMQ_DATA: C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data > Loading message broker from: xbean:activemq.xml > INFO | Using Persistence Adapter: > KahaDBPersistenceAdapter[C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data\kahadb] > INFO | > PListStore:[C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data\localhost\tmp_storage] > started > INFO | Apache ActiveMQ 5.17.2 (localhost, > ID:DESKTOP-ENEPHES-56664-1666030664750-0:1) is starting > INFO | Listening for connections at: > tcp://DESKTOP-ENEPHES:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > INFO | Connector openwire started > INFO | Listening for connections at: > amqp://DESKTOP-ENEPHES:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > INFO | Connector amqp started > INFO | Listening for connections at: > stomp://DESKTOP-ENEPHES:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > INFO | Connector stomp started > INFO | Listening for connections at: > mqtt://DESKTOP-ENEPHES:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > INFO | Connector mqtt started > INFO | Starting Jetty server > INFO | Creating Jetty connector > WARN | > ServletContext@o.e.j.s.ServletContextHandler@58437801{/,null,STARTING} has > uncovered http methods for path: / > INFO | Listening for connections at > ws://DESKTOP-ENEPHES:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > INFO | Connector ws started > INFO | Apache ActiveMQ 5.17.2 (localhost, > ID:DESKTOP-ENEPHES-56664-1666030664750-0:1) started > INFO | For help or more information please see: http://activemq.apache.org > WARN | Store limit is 102400 mb (current store usage is 0 mb). The data > directory: C:\Tools\Brokers\apache-activemq-5.17.2\bin\..\data\kahadb only > has 95573 mb of usable space. - resetting to maximum available disk space: > 95573 mb > INFO | ActiveMQ WebConsole available at http://127.0.0.1:8161/ > INFO | ActiveMQ Jolokia REST API available at > http://127.0.0.1:8161/api/jolokia/ > WARN | jolokia-agent: Error while accessing access restrictor at > file:C:ToolsBrokersapache-activemq-5.17.2bin..conf/jolokia-access.xml. > Denying all access to MBeans for security reasons. Exception: > java.io.FileNotFoundException: > C:ToolsBrokersapache-activemq-5.17.2bin..conf\jolokia-access.xml (Het systeem > kan het opgegeven pad niet vinden) > {code} > It seems to have removed the slashes from the base path somehow. > No files have been changed after unpacking the zip distribution. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)