Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
activemq/apache-activemq-5.9.0/conf/activemq.xml(没有这样的文件或目录)?_Activemq - Fatal编程技术网

activemq/apache-activemq-5.9.0/conf/activemq.xml(没有这样的文件或目录)?

activemq/apache-activemq-5.9.0/conf/activemq.xml(没有这样的文件或目录)?,activemq,Activemq,我刚刚安装了activemq,但当我尝试运行以下命令时: ./activemq start xbean:file:workspace/activemq/apache-activemq-5.9.0/conf/activemq.xml 我得到以下信息: emq/apache-activemq-5.9.0/conf/activemq.xml INFO: Loading '/etc/default/activemq' INFO: Using java '/usr/bin/java' INFO: St

我刚刚安装了activemq,但当我尝试运行以下命令时:

 ./activemq start xbean:file:workspace/activemq/apache-activemq-5.9.0/conf/activemq.xml
我得到以下信息:

emq/apache-activemq-5.9.0/conf/activemq.xml
INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and      log4j.properties to get details
INFO: pidfile created : '/home/pi/workspace/activemq/apache-activemq-5.9.0/data/activemq-pi.pid' (pid '2576')

activemq/apache-activemq-5.9.0/bin/activemq status returns the following:

INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
ActiveMQ not running
Caused by: java.io.FileNotFoundException: workspace/activemq/apache-activemq-5.9.0/conf/activemq.xml./activemq (No such file or directory)
activemq.log显示以下内容:

emq/apache-activemq-5.9.0/conf/activemq.xml
INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and      log4j.properties to get details
INFO: pidfile created : '/home/pi/workspace/activemq/apache-activemq-5.9.0/data/activemq-pi.pid' (pid '2576')

activemq/apache-activemq-5.9.0/bin/activemq status returns the following:

INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
ActiveMQ not running
Caused by: java.io.FileNotFoundException: workspace/activemq/apache-activemq-5.9.0/conf/activemq.xml./activemq (No such file or directory)

但是activemq.xml文件在那里吗?。我对activemq非常陌生,不知道从这里到哪里去,谢谢。

我想它可能会被修复,当我刚刚运行时。/activemq start,它正在运行。我不确定我尝试运行的较长的start命令的作用,我正在遵循一个教程。
xbean
位用于配置,如果(例如)您希望将其与安装分开。也许是因为使用了相对路径而不是绝对路径,这让你大吃一惊?谢谢,希望一切正常