qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7561) [Java Broker] Do not allow the creation of Derby Virtual Hosts if the Derby JDBC driver is not present
Date Fri, 02 Dec 2016 12:33:58 GMT

    [ https://issues.apache.org/jira/browse/QPID-7561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715013#comment-15715013
] 

Keith Wall commented on QPID-7561:
----------------------------------

org/apache/qpid/server/model/VirtualHostNode.java:34 assumes that Derby is available.  So
if I remove the Derby JAR and start I see, which is not too nice.  Users can work around by
passing alternative {{qpid.initial_config_virtualhost_config}}.

{noformat}
2016-12-02 12:27:47,017 ERROR [Broker-Config] (o.a.q.s.m.AbstractConfiguredObject) - Failed
to open object with name 'default'.  Object will be put into ERROR state.
org.apache.qpid.server.model.NoFactoryForTypeException: Unknown configured object type 'DERBY'
of category 'VirtualHost'
        at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.getConfiguredObjectTypeFactory(ConfiguredObjectFactoryImpl.java:176)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.recover(ConfiguredObjectFactoryImpl.java:97)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer.resolveObjects(GenericRecoverer.java:183)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer.performRecover(GenericRecoverer.java:91)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer.access$000(GenericRecoverer.java:41)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer$1.execute(GenericRecoverer.java:59)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer$1.execute(GenericRecoverer.java:55)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:240)
[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submitWrappedTask(TaskExecutorImpl.java:157)
[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.run(TaskExecutorImpl.java:182)
[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.GenericRecoverer.recover(GenericRecoverer.java:54)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.VirtualHostStoreUpgraderAndRecoverer.recover(VirtualHostStoreUpgraderAndRecoverer.java:614)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.store.VirtualHostStoreUpgraderAndRecoverer.upgradeAndRecover(VirtualHostStoreUpgraderAndRecoverer.java:593)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode.activate(AbstractStandardVirtualHostNode.java:103)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
        at org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.doActivate(AbstractVirtualHostNode.java:167)
~[qpid-broker-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
{noformat}

> [Java Broker] Do not allow the creation of Derby Virtual Hosts if the Derby JDBC driver
is not present
> ------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7561
>                 URL: https://issues.apache.org/jira/browse/QPID-7561
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.2, qpid-java-6.1.1
>
>
> As per [this|http://mail-archives.apache.org/mod_mbox/qpid-users/201612.mbox/%3CVI1PR0901MB08935951C57678019161065DCD8F0%40VI1PR0901MB0893.eurprd09.prod.outlook.com%3E]
mail on the users list, the broker should not offer to create a Derby backed virtual host
/ virtual host node if the Derby library is not on the classpath.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message