0 Replies Latest reply on Jun 4, 2015 11:41 AM by loganheights

    JMS Clustering

    loganheights Newbie

      I'm trying to set up two standalone JMS servers, MS1, MS2 using JBoss 6.3 EAP. While the primary will come up and creates folders/files (bindings, journal, & large-messages) on the shared drive the backup reports an error every time. The error indicates some kind of permissions problem but I'm not sure with what. For troubleshooting, I tried switch the two (made MS2 primary, MS1 backup) to make sure they're both able to write to the shared drive which they do. But the backup server never comes up and reports the same error. Tried googling this error but I come up with nothing. Any ideas?

       

      07:24:53,711 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 63) MSC000001: Failed to start service jboss.messaging.default.jms.manager: org.jboss.msc.service.StartException in service jboss.messaging.default.jms.manager: JBAS011644: Failed to start service

              at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:159) [jboss-as-messaging-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.messaging.jms.JMSService.access$000(JMSService.java:60) [jboss-as-messaging-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.messaging.jms.JMSService$1.run(JMSService.java:94) [jboss-as-messaging-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.8.0_25]

              at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.8.0_25]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_25]

              at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_25]

              at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]

      Caused by: java.io.IOException: Permission denied

              at sun.nio.ch.FileDispatcherImpl.pread0(Native Method) [rt.jar:1.8.0_25]

              at sun.nio.ch.FileDispatcherImpl.pread(Unknown Source) [rt.jar:1.8.0_25]

              at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) [rt.jar:1.8.0_25]

              at sun.nio.ch.IOUtil.read(Unknown Source) [rt.jar:1.8.0_25]

              at sun.nio.ch.FileChannelImpl.readInternal(Unknown Source) [rt.jar:1.8.0_25]

              at sun.nio.ch.FileChannelImpl.read(Unknown Source) [rt.jar:1.8.0_25]

              at org.hornetq.core.server.NodeManager.createNodeId(NodeManager.java:253) [hornetq-server-2.3.20.Final-redhat-1.jar:2.3.20.Final-redhat-1]

              at org.hornetq.core.server.NodeManager.setUpServerLockFile(NodeManager.java:236) [hornetq-server-2.3.20.Final-redhat-1.jar:2.3.20.Final-redhat-1]

              at org.hornetq.core.server.impl.FileLockNodeManager.start(FileLockNodeManager.java:67) [hornetq-server-2.3.20.Final-redhat-1.jar:2.3.20.Final-redhat-1]

              at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:412) [hornetq-server-2.3.20.Final-redhat-1.jar:2.3.20.Final-redhat-1]

              at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:486) [hornetq-jms-server-2.3.20.Final-redhat-1.jar:2.3.20.Final-redhat-1]

              at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:155) [jboss-as-messaging-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              ... 8 more