HornetQ directory lookup issue when copy jboss folder to different server
Issue
We are working on moving our application to different data center(server) and application running on Jboss 5.1.2 EAP/HQ_2_2_10_EAP_GA_BUILD2. To make my task easy, I just copied entire jboss folder from one server to another server and started app.
Application on new server throws following exception on start-up. It looks like it still points to old hornetq directory where old server configured even though we changed hornetq file storage to different directory on the new server. Please help us to resolve this issue.
WARN [org.hornetq.core.server.impl.FileLockNodeManager] (main) can't open file /hornetq/journal/server.lock
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.2
- HornetQ
- 2.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
