You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2017/08/07 08:58:00 UTC

[jira] [Created] (QPID-7880) Can't start Java Broker with QPID_WORK set to a Windows path.

Keith Wall created QPID-7880:
--------------------------------

             Summary: Can't start Java Broker with QPID_WORK set to a Windows path.
                 Key: QPID-7880
                 URL: https://issues.apache.org/jira/browse/QPID-7880
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-broker-7.0.0
         Environment: Windows
            Reporter: Keith Wall
             Fix For: qpid-java-broker-7.0.0


Trying to start the Java Broker with QPID_WORK environment variable set to a Windows style path fails with the following exception.   I can work around by reexpressing the path using UNIX style stashes.

Qpid Broker 6.1 is not affected.

{code}
java.lang.IllegalArgumentException: Cannot convert '${qpid.broker.defaultPreferenceStoreAttributes}' into a PreferenceStoreAttributes for attribute preferenceStoreAttributes (Cannot convert type class java.lang.String to a org.apache.qpid.server.store.preferences.PreferenceStoreAttributes)
        at org.apache.qpid.server.model.ConfiguredAutomatedAttribute.convert(ConfiguredAutomatedAttribute.java:261)
        at org.apache.qpid.server.model.AbstractConfiguredObject.automatedSetValue(AbstractConfiguredObject.java:490)
        at org.apache.qpid.server.model.AbstractConfiguredObject.resolveAutomatedAttribute(AbstractConfiguredObject.java:1479)
        at org.apache.qpid.server.model.AbstractConfiguredObject.onResolve(AbstractConfiguredObject.java:1429)
        at org.apache.qpid.server.model.AbstractConfiguredObject.doResolution(AbstractConfiguredObject.java:1211)
        at org.apache.qpid.server.model.AbstractConfiguredObject$1.execute(AbstractConfiguredObject.java:586)
        at org.apache.qpid.server.model.AbstractConfiguredObject$1.execute(AbstractConfiguredObject.java:576)
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:637)
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:630)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:245)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:317)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:310)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Cannot convert type class java.lang.String to a org.apache.qpid.server.store.preferences.PreferenceStoreAttribute
s
        at org.apache.qpid.server.model.AttributeValueConverter$ManageableAttributeTypeConverter.convert(AttributeValueConverter.java:1368)
        at org.apache.qpid.server.model.AttributeValueConverter$ManageableAttrib
uteTypeConverter.convert(AttributeValueConverter.java:1200)
        at org.apache.qpid.server.model.ConfiguredAutomatedAttribute.convert(Con
figuredAutomatedAttribute.java:251)
        ... 19 more
 
09:25:20.197 [main] ERROR o.apache.qpid.server.SystemLauncher - Exception during
startup
java.lang.IllegalArgumentException: Cannot convert '${qpid.broker.defaultPreferenceStoreAttributes}' into a PreferenceStoreAttributes for attribute preferenceStoreAttributes (Cannot convert type class java.lang.String to a org.apache.qpid.s
erver.store.preferences.PreferenceStoreAttributes)
        at org.apache.qpid.server.model.ConfiguredAutomatedAttribute.convert(ConfiguredAutomatedAttribute.java:261)
        at org.apache.qpid.server.model.AbstractConfiguredObject.automatedSetValue(AbstractConfiguredObject.java:490)
        at org.apache.qpid.server.model.AbstractConfiguredObject.resolveAutomatedAttribute(AbstractConfiguredObject.java:1479)
        at org.apache.qpid.server.model.AbstractConfiguredObject.onResolve(AbstractConfiguredObject.java:1429)
        at org.apache.qpid.server.model.AbstractConfiguredObject.doResolution(AbstractConfiguredObject.java:1211)
        at org.apache.qpid.server.model.AbstractConfiguredObject$1.execute(AbstractConfiguredObject.java:586)
        at org.apache.qpid.server.model.AbstractConfiguredObject$1.execute(AbstractConfiguredObject.java:576)
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:637)
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:630)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:245)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:317)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:310)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$Trusted
FutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Cannot convert type class java.lang.String to a org.apache.qpid.server.store.preferences.PreferenceStoreAttribute
s
        at org.apache.qpid.server.model.AttributeValueConverter$ManageableAttributeTypeConverter.convert(AttributeValueConverter.java:1368)
        at org.apache.qpid.server.model.AttributeValueConverter$ManageableAttributeTypeConverter.convert(AttributeValueConverter.java:1200)
        at org.apache.qpid.server.model.ConfiguredAutomatedAttribute.convert(ConfiguredAutomatedAttribute.java:251)

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org