You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/03/11 14:42:40 UTC

[jira] [Commented] (QPID-6441) ClassNotFoundException: com.sleepycat.je.LockConflictException

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

Rob Godfrey commented on QPID-6441:
-----------------------------------

That sounds like you haven't go the bdb je jar on your path.  We don't include the BDB je jar in our distribution as it is an optional package, and the license for it precludes us distributing directly.

Note that the version of je used in 0.32 is slightly newer than any version you may have installed for 0.30. Qpid 0.32 uses JE version 5.0.104.

> ClassNotFoundException: com.sleepycat.je.LockConflictException
> --------------------------------------------------------------
>
>                 Key: QPID-6441
>                 URL: https://issues.apache.org/jira/browse/QPID-6441
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.32
>         Environment: java version "1.7.0_75"
> OpenJDK Runtime Environment (rhel-2.5.4.0.el6_6-x86_64 u75-b13)
> OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
>            Reporter: Mark Soderquist
>
> After upgrading from 0.30 to 0.32 and following the workaround specified in QPID-6439 the server threw the following exception on start up. The JVM remained running but did not accept any network connections:
> java.lang.NoClassDefFoundError: com/sleepycat/je/LockConflictException
>         at org.apache.qpid.server.virtualhost.berkeleydb.BDBVirtualHostImpl.createMessageStore(BDBVirtualHostImpl.java:58)
>         at org.apache.qpid.server.virtualhost.AbstractVirtualHost.onOpen(AbstractVirtualHost.java:298)
>         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.virtualhostnode.AbstractStandardVirtualHostNode$1.run(AbstractStandardVirtualHostNode.java:115)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:356)
>         at org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode.activate(AbstractStandardVirtualHostNode.java:110)
>         at org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.doActivate(AbstractVirtualHostNode.java:128)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.attainState(AbstractConfiguredObject.java:921)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.doAttainState(AbstractConfiguredObject.java:637)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.access$400(AbstractConfiguredObject.java:74)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$2.performAction(AbstractConfiguredObject.java:627)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$2.performAction(AbstractConfiguredObject.java:616)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.applyToChildren(AbstractConfiguredObject.java:764)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.doAttainState(AbstractConfiguredObject.java:615)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.open(AbstractConfiguredObject.java:451)
>         at org.apache.qpid.server.model.AbstractSystemConfig.activate(AbstractSystemConfig.java:238)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.attainState(AbstractConfiguredObject.java:921)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.doAttainState(AbstractConfiguredObject.java:637)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.open(AbstractConfiguredObject.java:451)
>         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.lang.ClassNotFoundException: com.sleepycat.je.LockConflictException
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)



--
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