Error in Java Service Wrapper when using NFS v4 for KahaDB Shared Storage
Issue
I am trying to use NFS v4 for KahaDB Shared Storage for JBoss A-MQ 6.0 standalone broker running as Windows service. I defined the storage location in wrapper configuration (set.default.KARAF_DATA) and when I tried to start the service, I am getting below error in wrapper log.
INFO | jvm 1 | 2014/11/27 19:14:14 | WrapperListener.start runner thread started.
INFO | jvm 1 | 2014/11/27 19:14:14 | Please wait, JBoss A-MQ is initializing...
INFO | jvm 1 | 2014/11/27 19:14:14 | ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock bundle cache: java.io.IOException: The request is not supported)
INFO | jvm 1 | 2014/11/27 19:14:14 | java.lang.Exception: Unable to lock bundle cache: java.io.IOException: The request is not supported
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.felix.framework.Felix.init(Felix.java:658)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.karaf.main.Main.launch(Main.java:297)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.karaf.shell.wrapper.Main.start(Main.java:58)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
INFO | jvm 1 | 2014/11/27 19:14:14 | Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache.
INFO | jvm 1 | 2014/11/27 19:14:14 | org.osgi.framework.BundleException: Error creating bundle cache.
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.felix.framework.Felix.init(Felix.java:663)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.karaf.main.Main.launch(Main.java:297)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.karaf.shell.wrapper.Main.start(Main.java:58)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
INFO | jvm 1 | 2014/11/27 19:14:14 | Caused by: java.lang.Exception: Unable to lock bundle cache: java.io.IOException: The request is not supported
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
INFO | jvm 1 | 2014/11/27 19:14:14 | at org.apache.felix.framework.Felix.init(Felix.java:658)
INFO | jvm 1 | 2014/11/27 19:14:14 | ... 3 more
INFO | jvm 1 | 2014/11/27 19:14:14 | WrapperListener.start runner thread stopped.
Please provide help on this issue and let me know in case my configurations are not proper.
Environment
- JBoss A-MQ/Fuse 6.0
- JBoss A-MQ/Fuse 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.