Брокер ActiveMQ не запускается в общей папке NFS

Конфигурация ActiveMQ работает нормально, если я указываю каталог данных и Kahadb с локальным путем, то есть в окне Ubutntu Linux: /opt/myapp/amq

Если я даю путь к NFS для кластеризации узлов, сервер не запускается. Логи я дал ниже.

myserviceid@lvs-amqprd-001:/opt/myapp/activemq/bin$ ./activemq console
INFO: Loading '/opt/myapp/activemq//bin/env'
INFO: Using java '/opt/myapp/java/jdk1.8.0_144/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
INFO: Creating pidfile /opt/myapp/activemq//data/activemq.pid
Java Runtime: Oracle Corporation 1.8.0_144 /opt/myapp/java/jdk1.8.0_144/jre
  Heap sizes: current=62976k  free=58714k  max=932352k
    JVM args: -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/opt/myapp/activemq//conf/login.config -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/opt/myapp/activemq//tmp -Dactivemq.classpath=/opt/myapp/activemq//conf:/opt/myapp/activemq//../lib/: -Dactivemq.home=/opt/myapp/activemq/ -Dactivemq.base=/opt/myapp/activemq/ -Dactivemq.conf=/opt/myapp/activemq//conf -Dactivemq.data=/opt/myapp/activemq//data
Extensions classpath:
  [/opt/myapp/activemq/lib,/opt/myapp/activemq/lib/camel,/opt/myapp/activemq/lib/optional,/opt/myapp/activemq/lib/web,/opt/myapp/activemq/lib/extra]
ACTIVEMQ_HOME: /opt/myapp/activemq
ACTIVEMQ_BASE: /opt/myapp/activemq
ACTIVEMQ_CONF: /opt/myapp/activemq/conf
ACTIVEMQ_DATA: /opt/myapp/activemq/data
Loading message broker from: xbean:activemq.xml
 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@2f686d1f: startup date [Tue Jun 05 14:35:33 PDT 2018]; root of context hierarchy
 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/opt/myapp/nfsshare/env1/server/amq/kahadb]

Детали nfsshare:

 ─/opt                                /dev/mapper/rootvg-opt    ext4        rw,relatime,data=ordered
  └─/opt/myapp/nfsshare            dbs-abpfs-001:/LVS_MULAP  nfs         rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,mountaddr=10.232.80.21,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=10.232.80.21

содержимое activemq.xml:

brokerName="dbs-abpfs-001" dataDirectory="/opt/myapp/nfsshare/env1/server/amq/">

<kahaDB directory="/opt/myapp/nfsshare/env1/server/amq/kahadb"/>

Почему сервер ActiveMQ не запускается, если я указываю путь к каталогу nfs?

ОС: Ubuntu, Java: 1,8

0 ответов

Другие вопросы по тегам