activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Gulati" <>
Subject RE: Problems with VM transport
Date Mon, 26 Mar 2007 04:37:44 GMT

For JournalLockedException, include activeio-core-3.0-beta4.jar (you may
have different version of this) in your classpath.

Manish Gulati

This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing, distribution,
or use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone + or
return e-mail message and delete the original
transmission, its attachments, and any copies without reading or saving
in any manner. Thank you.
-----Original Message-----
From: Christopher G. Stach II [] 
Sent: Monday, March 26, 2007 8:42 AM
Subject: Re: Problems with VM transport wrote:
> Hello...
> I have a couple of basic questions on ActiveMQ. I would appreciate any
hits as I am stuck.
> I am using ActiveMQ 4.1 with JDK6.
> 1) When I use an embedded broker with vm transport (vm://localhost)
> the instantiation of my Spring SimpleMessageListenerContainer
> always fails with a JournalLockedException.
> What does this exception mean exactly? I understand this has something
to do with 
> persistance of message (since that is on by default). While I do not 
> care to enable persistance and would like to turn it off, I would
> like to understand what causes this exception:
> org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'DmmStartupMessageListener' defined in class
path resource [contexts/bus/DmsStandardSubscriptions.xml]: Invocation of
init method failed; nested exception is java.lang.NoClassDefFoundError:
> Caused by:
> java.lang.NoClassDefFoundError:
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
>         at
> 2) Which jarfile contains the exception class
> 3) How do I use an embedded broker without persistance?
> The URL
>     vm://localhost?persistant=false
> fails with an exception that says that the    option is illegal.
> 4) Once the broker is up, could I dynamically (programmatically)
change the
> broker URL by augmenting the broker URL with a failover URL as
>    Startup:   vm://localhost
>    During runtime (after an event): 
>            failover(vm://localhost,tcp://remote:61616)
>   Would modifying the broker URL of the connection factory cause
> Thanks,
> /U

This was kind of like watching a retarded kid fall down, and laughing...
but three times in a row.  Thanks.

Christopher G. Stach II

View raw message