[
https://issues.apache.org/jira/browse/QPID-6704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy updated QPID-6704:
-----------------------------
Attachment: fixes.diff
> [Java Broker] Broker fails to start on windows partition mounted with SUBST
> ----------------------------------------------------------------------------
>
> Key: QPID-6704
> URL: https://issues.apache.org/jira/browse/QPID-6704
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.32
> Reporter: Alex Rudyy
> Assignee: Alex Rudyy
> Fix For: qpid-java-6.0
>
> Attachments: fixes.diff
>
>
> Broker fails to start on windows partition mounted with SUBST with the
> following exception stack trace
> {noformat}
> [Broker] BRK-1006 : Using configuration :
> b:\releases\qpid-broker\0.32\work\config.json
> [Broker] BRK-1007 : Using logging configuration :
> b:\releases\qpid-broker\0.32\etc\log4j.xml
> Exception during startup: org.apache.qpid.server.store.StoreException: Could
> not write configuration file b:\releases\qpid-broker\0.32\work\config.js
> on
> org.apache.qpid.server.store.StoreException: Could not write configuration
> file b:\releases\qpid-broker\0.32\work\config.json
> at
> org.apache.qpid.server.store.JsonFileConfigStore.setup(JsonFileConfigStore.java:215)
> at
> org.apache.qpid.server.store.JsonFileConfigStore.openConfigurationStore(JsonFileConfigStore.java:150)
> at
> org.apache.qpid.server.model.AbstractSystemConfig.onOpen(AbstractSystemConfig.java:181)
> at
> org.apache.qpid.server.model.AbstractConfiguredObject.doOpening(AbstractConfiguredObject.java:644)
> at
> org.apache.qpid.server.model.AbstractConfiguredObject.open(AbstractConfiguredObject.java:450)
> at org.apache.qpid.server.Broker.startupImpl(Broker.java:199)
> at org.apache.qpid.server.Broker.access$000(Broker.java:57)
> at org.apache.qpid.server.Broker$1.run(Broker.java:143)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.qpid.server.Broker.startup(Broker.java:138)
> at org.apache.qpid.server.Main.startBroker(Main.java:451)
> at org.apache.qpid.server.Main.execute(Main.java:319)
> at org.apache.qpid.server.Main.<init>(Main.java:148)
> at org.apache.qpid.server.Main.main(Main.java:139)
> Caused by: java.nio.file.FileSystemException:
> b:\releases\qpid-broker\0.32\work\config.json: The directory is not a
> subdirectory of the root director
> y.
> at
> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
> at
> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
> at
> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
> at sun.nio.fs.WindowsFileStore.create(WindowsFileStore.java:92)
> at
> sun.nio.fs.WindowsFileSystemProvider.getFileStore(WindowsFileSystemProvider.java:482)
> at java.nio.file.Files.getFileStore(Files.java:1413)
> at
> org.apache.qpid.server.util.FileHelper.isPosixFileSystem(FileHelper.java:111)
> at
> org.apache.qpid.server.util.FileHelper.createNewFile(FileHelper.java:92)
> at
> org.apache.qpid.server.util.FileHelper.createNewFile(FileHelper.java:82)
> at
> org.apache.qpid.server.store.JsonFileConfigStore.setup(JsonFileConfigStore.java:210)
> ... 14 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]