James,
We assume that the class is loaded when ActiveMQObjectMessage.getObject() is
called, and the de-serialization takes place. Is this correct? Now, after
looking at the code, it seems that the class loader is resolved in
ClassLoadingAwareObjectInputStream. Is this correct? What can cause it t
Thanks, Christopher,
No, it's not. The broker and the consumer are on two different machines. The
transport is TCP.
We use Jencks for the consumer.
We're currently on ActiveMQ 4.1, but we had this problem on 4.0 as well.
Naaman
Christopher G. Stach II wrote:
>
> nlif wrote:
>> Thanks, James.
Thanks for the explanation. On a related note, could you pl
explain if I can use a BrokerService or a BrokerFactoryBean
in my Spring configuration without the xbean stuff?
I am running into the " Unrecognized xbean element mapping"
error due to the reference to http://activemq.org/config/1.0
and
nlif wrote:
> Thanks, James.
>
> Yes, I'm also inclined to think it's a class loader issue. But then, how
> come it doesn't happen all the time?
> What may cause it to load another version of the class only some of the
> times?
> Does ActiveMQ do anything... um, unconventional with class-loading?
Hi -
I am using Spring 2.0 with ActiveMQ 4.1.1 (JDK6, Tomcat 5.5.x). I am
instantiating a broker using
Xbean as follows:
http://activemq.org/config/1.0";>
//...
As the (webapp) context loads, it aborts with the following error:
org.s
Thanks, James.
Yes, I'm also inclined to think it's a class loader issue. But then, how
come it doesn't happen all the time?
What may cause it to load another version of the class only some of the
times?
Does ActiveMQ do anything... um, unconventional with class-loading?
Thanks,
Naaman
James.S
If you get a ClassCastException yet the object seems to be of the
correct class name, then it looks like a class loader issue (multiple
versions of the same class on the classpath). Otherwise if it was a
serialization issue, you wouldn't get an object you can inspect.
On 4/30/07, nlif <[EMAIL PR
4.1.1 until we release 4.2.
On 4/30/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote:
Hello Active Mq Users,
I am currently using active mq version 4.0.1.
Our application uses topic publishers and durable topic subscribers and
an embedded broker. Our application
On 5/1/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote:
Hello Active Mq Users ,
Our application currently uses active mq 4.0.1
version. We use an embedded broker along with durable subscribers and
topic publishers.
Active MQ also uses ports internally which are no
On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I don't understand a basic element of ActiveMQ: how does the
connection factory reference the broker factory bean?
It doesn't. The ConnectionFactory is designed to communicate with a
usually remote broker
The examples I have seen define
Hi,
ActiveMQ is a JMS provider and implements the JMS specs.
Simply, its JMS and more... :-)
Bai Shen wrote:
Suchitha Koneru (sukoneru) wrote:
How about starting with the Sun JMS tutorial:
http://java.sun.com/products/jms/tutorial/
Once you understand JMS, there's also the Using ActiveM
I don't understand a basic element of ActiveMQ: how does the
connection factory reference the broker factory bean?
The examples I have seen define a broker factory bean B
and a connection factory F with a "depends-on" (Spring)
dependency of F on B. Since the connection factory must be obtaining a
Christopher G. Stach II wrote:
> Suchitha Koneru (sukoneru) wrote:
>> Hello Active Mq Users ,
>> Our application currently uses active mq 4.0.1
>> version. We use an embedded broker along with durable subscribers and
>> topic publishers.
>>
>> Active MQ also uses ports in
Suchitha Koneru (sukoneru) wrote:
> Hello Active Mq Users ,
> Our application currently uses active mq 4.0.1
> version. We use an embedded broker along with durable subscribers and
> topic publishers.
>
> Active MQ also uses ports internally which are not configurable, th
Hello Active Mq Users ,
Our application currently uses active mq 4.0.1
version. We use an embedded broker along with durable subscribers and
topic publishers.
Active MQ also uses ports internally which are not configurable, these
ports are randomly allocated.
For these
the connection that is doing tmp.receive(timeout) was started? ( ie:
connection.start() )
If a connection is not started it can send but not receive a message.
may not be it, but that gets me reasonably often when ever I change
connection creation schemes
On 4/24/07, James Strachan <[EMAIL PRO
Suchitha Koneru (sukoneru) wrote:
>
> How about starting with the Sun JMS tutorial:
>
> http://java.sun.com/products/jms/tutorial/
>
> Once you understand JMS, there's also the Using ActiveMQ guide:
>
> http://activemq.org/site/using-activemq.html
>
How much does ActiveMQ differ from JMS?
Hey everyone,
The first Release Candidate RC1 is now available for download. Grab it
now from our download page here:
http://activemq.apache.org/cms/activemq-cpp-201-release.html
... Feel free to give it a test drive!
The links on this page won't work until the release is official. For now,
foll
How about starting with the Sun JMS tutorial:
http://java.sun.com/products/jms/tutorial/
Once you understand JMS, there's also the Using ActiveMQ guide:
http://activemq.org/site/using-activemq.html
-Original Message-
From: Bai Shen [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 20
I'm trying to learn about ActiveMQ, but I'm having a hard time finding useful
example/tutorial sites. Does anyone know of any? Thanks!
--
View this message in context:
http://www.nabble.com/Good-example-tutorial-sites-for-ActiveMQ-tf3671760s2354.html#a10260021
Sent from the ActiveMQ - User mai
Hi all,
We have a strange problem, maybe someone has seen this or has an idea:
In our MessageListener, we cast the Message into ObejctMessage, and then
call getObject() to get the actual object we sent. Upon trying to cast the
object to the proper class (SendMobileNotification), we get a
ClassCa
Hi everyone,
The development team has just voted to release the CMS (C++ Messaging
Service) API version 1.0! CMS is a JMS-like messaging API for C++
applications that is implemented by ActiveMQ-CPP. The hope is that by
breaking it out from ActiveMQ-CPP that we might begin to move toward a
common
Hello Active Mq Users,
I am currently using active mq version 4.0.1.
Our application uses topic publishers and durable topic subscribers and
an embedded broker. Our application will be ready for production in a
month.
I would like to upgrade to a newer stable version of
Hi all,
I'm using Active MQ 4.1.1 and JBoss 4.0.5. I've followed the instructions
for the installation of the rar, and I'm receiving the following error. It
can't find the jdbc connection via JNDI, do I need to tell it to connect to
port 1099 for JNDI lookup, or should it find the default JNDI
My xml looks like this:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.springframework.org/schema/beans ./spring-beans-2.0.xsd
http://activemq.apache.org/camel/schema/camel-1.0.xsd ./camel-1.0.xsd
Yes. That works now. Thanks.
James.Strachan wrote:
>
> On 4/30/07, dr.jeff <[EMAIL PROTECTED]> wrote:
>>
>> If I use the example at:
>>
>> http://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTes
On 4/30/07, dr.jeff <[EMAIL PROTECTED]> wrote:
If I use the example at:
http://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTest.xml
then I get this exception
Exception in thread "main"
org.s
If I use the example at:
http://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTest.xml
then I get this exception
Exception in thread "main"
org.springframework.beans.factory.xml.XmlBeanDefinitio
bumping back up hoping someone can help with this issue
nbreau wrote:
>
>
> Hi Everyone,
>
> We're using activemq publishing about one ObjectMessage every 2-3 seconds.
> No problems with the consumers (messages consumed right away), however the
> producers seem to block after about 2000
Is it possible to use a roundrobin policy in a rollback?
Currently a session.rollback results in retries on the same consumer. And if
they all fail, the message ends up on the Dead Letter Queue instead of
trying other available consumers. Does anyone have a solution?
PS - How can I configure a r
I have a java producer and a remote consumer exchanging messages via HTTP.
There is single a broker managing request and response queues. JMX is
enabled.
With ActiveMQ 4.1.1, the broker reports the following:
WARN ManagedTransportConnection - Failed to register MBean:
org.apache.acti
vemq:B
When sending text that is not of the UTF-8 format you might want to
use a BytesMessage instead of a TextMessage
On 4/30/07, John Challenger <[EMAIL PROTECTED]> wrote:
A vb client sends the following XML message to AMQ but I am unable to read
the XML message from AMQ.
Hermes cannot display the
A vb client sends the following XML message to AMQ but I am unable to read
the XML message from AMQ.
Hermes cannot display the message and gives an 'javax.jms.JMSException:
java.io.UTFDataFormatException'. See Hermes error below and tostring display
of the message. Any ideas and or suggestions wil
Hi everybody,
I have configured an embedded broker (with an jms to jms bridge) in JBoss.
This is my broker configuration:
http://activemq.org/config/1.0"; useJmx="true"
brokerName="bruce.broker1" persistent="false">
For some reason your platform is not allowing multicast to be used.
You might want to disable the multicast & discovery settings from your
activemq.xml.
i.e. using the following inside the element...
On 4/30/07, tonyc <[EMAIL PROTECTED]> wrote:
Hi,
when trying to sta
On 4/30/07, Anthrope <[EMAIL PROTECTED]> wrote:
Sure. Apologies for not providing that up-front; I had just hacked up a
solution in order to get on. Anyway, I found that there was an issue was on
line 59 in DefaultDatabaseLocker.java:
boolean answer = statement.execute();
if (a
BTW to try and avoid future confusion, I've added some Spring documentation...
http://cwiki.apache.org/CAMEL/spring.html
--
James
---
http://macstrac.blogspot.com/
Sure. Apologies for not providing that up-front; I had just hacked up a
solution in order to get on. Anyway, I found that there was an issue was on
line 59 in DefaultDatabaseLocker.java:
boolean answer = statement.execute();
if (answer) {
break;
On 4/30/07, James Strachan <[EMAIL PROTECTED]> wrote:
On 4/29/07, dr.jeff <[EMAIL PROTECTED]> wrote:
> I have tried and completely failed to use the camel spring container.
>
> I see where it can do two things:
>
> 1) create a context which instantiates RouteBuilders in a given package:
>
>
Hi,
when trying to start ACTIVEMQ I keep getting an error message as shown
below. i do not have a clue
what this means. any ideas?
tony
error:
=
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\anthonyc>cd c:\jms
C:\jms>cd apache-a
On 4/29/07, dr.jeff <[EMAIL PROTECTED]> wrote:
I have tried and completely failed to use the camel spring container.
I see where it can do two things:
1) create a context which instantiates RouteBuilders in a given package:
I can't even guess what the need for that is, unless it's ju
On 4/29/07, DavidR <[EMAIL PROTECTED]> wrote:
Ok, so if we go back to Master Slave, then we have the following issue:
Currently we are using the JDBC Master Slave but we see this uses a lot of
CPU.
So, we would want to go to pure Master Slave.
So, can you help us understand the following: It say
On 4/29/07, avin98 <[EMAIL PROTECTED]> wrote:
Thanks Sandeep
Im more concerned about why this is happening, since I start AMQ 4.1.1
within Geronimo, rather than using it as a stand-alone app. As a result, I
want to make sure that my App server doesn't crash, as it now does !!!
If you're wo
On 4/26/07, Anthrope <[EMAIL PROTECTED]> wrote:
There is a bug in the 4.1.1 release version of DefaultDatabaseLocker.java.
The problem is that the result of the execution of the prepared statement to
lock the database row is being incorrectly interpreted. This link ought to
explain why:
http://
44 matches
Mail list logo