You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by camper <ba...@hotmail.com> on 2007/05/21 05:38:46 UTC

Write to Topic when one is not created

I seem to be sending messages to a topic when in fact i'm not creating one.  
If I run activemq-admin query, i see my queues that i've created but there
also seems to be a topic created for each queue, that i've created in my
code i never call createTopic, always createQueue.  I see the topics
EnqueueCount grow, I have no idea why.

Does anyone know what is going on?
-- 
View this message in context: http://www.nabble.com/Write-to-Topic-when-one-is-not-created-tf3788112s2354.html#a10712737
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Write to Topic when one is not created

Posted by James Strachan <ja...@gmail.com>.
On 5/21/07, camper <ba...@hotmail.com> wrote:
>
> in activemq.xml i have usageManager set to 4096 MB, this is the output when
> it dies

Note that setting does not affect the JVM heap size; try changing that.

-- 
James
-------
http://macstrac.blogspot.com/

Re: Write to Topic when one is not created

Posted by camper <ba...@hotmail.com>.
in activemq.xml i have usageManager set to 4096 MB, this is the output when
it dies

Exception in thread "ActiveMQ Transport: tcp:///192.168.2.184:52359"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:35570"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:35656"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:2719"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:3396"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.184:40448"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:3915"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:4249"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:4731"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:34827"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.184:45461"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:35276"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.184:46105"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:35594"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport Server: ssl://localhost:61617"
Exception in thread "ActiveMQ Transport Status Monitor: openwire" Exception
in thread 
"MulticastDiscovery: tcp://stan:61616" java.lang.OutOfMemoryError: Java heap
space
Exception in thread "btpool0-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.183:29306"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Scheduler" java.lang.OutOfMemoryError: Java
heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:35782"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport Server: tcp://localhost:61616"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI RenewClean-[192.168.2.184:39024]" Exception in
thread "RMI LeaseChecker" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport Status Monitor: ssl" Exception in
thread "ActiveMQ Transport Server: stomp://localhost:61613"
java.lang.OutOfMemoryEr
ror: Java heap space
Exception in thread "ActiveMQ Transport: tcp:///192.168.2.182:2350"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport Status Monitor: xmpp"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Transport Server: xmpp://localhost:61222"
Exception in thread "ActiveMQ Transport Status Monitor: stomp"
java.lang.OutOfMemoryE
rror: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ActiveMQ Scheduler" java.lang.OutOfMemoryError: Java
heap space
Exception in thread "ActiveMQ Scheduler" java.lang.OutOfMemoryError: Java
heap space


James.Strachan wrote:
> 
> On 5/21/07, camper <ba...@hotmail.com> wrote:
>>
>> You were right, when i disabled advisory support those topics stopped
>> showing
>> up.  I am getting Out of Memory errors and I thought that that might be a
>> problem, messages being queued but not consumed.  I am using a Snapshot
>> version of 4.2, are you aware of any known issues that would cause an
>> java
>> heap out of memory problem?
> 
> Maybe you need to increase the heap size? Which heap is running out,
> the broker or the jms client?
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Write-to-Topic-when-one-is-not-created-tf3788112s2354.html#a10716734
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Write to Topic when one is not created

Posted by James Strachan <ja...@gmail.com>.
On 5/21/07, camper <ba...@hotmail.com> wrote:
>
> You were right, when i disabled advisory support those topics stopped showing
> up.  I am getting Out of Memory errors and I thought that that might be a
> problem, messages being queued but not consumed.  I am using a Snapshot
> version of 4.2, are you aware of any known issues that would cause an java
> heap out of memory problem?

Maybe you need to increase the heap size? Which heap is running out,
the broker or the jms client?

-- 
James
-------
http://macstrac.blogspot.com/

Re: Write to Topic when one is not created

Posted by camper <ba...@hotmail.com>.
You were right, when i disabled advisory support those topics stopped showing
up.  I am getting Out of Memory errors and I thought that that might be a
problem, messages being queued but not consumed.  I am using a Snapshot
version of 4.2, are you aware of any known issues that would cause an java
heap out of memory problem?

Thank you


jlim wrote:
> 
> Hi,
> 
> I believe what you're seeing are advisory topics which are automatically 
> created by default by activemq to send advisory messages to monitor the 
> behavior of the system (ie. starting of connections, creation of 
> destinations, etc).
> 
> http://activemq.apache.org/advisory-message.html
> 
> Btw, you can also disable advisory support by setting it to false in 
> your broker configuration :
> 
> <broker brokerName="localhost"   useJmx="true" advisorySupport="false" 
> ....   >
> 
> 
> Regards,
> Jonas
> 
> 
> 
> camper wrote:
>> I seem to be sending messages to a topic when in fact i'm not creating
>> one.  
>> If I run activemq-admin query, i see my queues that i've created but
>> there
>> also seems to be a topic created for each queue, that i've created in my
>> code i never call createTopic, always createQueue.  I see the topics
>> EnqueueCount grow, I have no idea why.
>>
>> Does anyone know what is going on?
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/Write-to-Topic-when-one-is-not-created-tf3788112s2354.html#a10716518
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Write to Topic when one is not created

Posted by Jonas Lim <jl...@exist.com>.
Hi,

I believe what you're seeing are advisory topics which are automatically 
created by default by activemq to send advisory messages to monitor the 
behavior of the system (ie. starting of connections, creation of 
destinations, etc).

http://activemq.apache.org/advisory-message.html

Btw, you can also disable advisory support by setting it to false in 
your broker configuration :

<broker brokerName="localhost"   useJmx="true" advisorySupport="false" 
....   >


Regards,
Jonas



camper wrote:
> I seem to be sending messages to a topic when in fact i'm not creating one.  
> If I run activemq-admin query, i see my queues that i've created but there
> also seems to be a topic created for each queue, that i've created in my
> code i never call createTopic, always createQueue.  I see the topics
> EnqueueCount grow, I have no idea why.
>
> Does anyone know what is going on?
>