Re: Activemq comunication causes out of memory

2010-05-13 Thread dimitarn
I don't use activemq on the client(the jboss AS) i use my jms handler. Please tell me if there is anything wrong. [CODE] import java.util.Properties; import javax.jms.JMSException; import javax.jms.Session; import javax.jms.Topic; import javax.jms.TopicConnection; import javax.jms.TopicConnect

Re: Activemq comunication causes out of memory

2010-05-12 Thread Rob Davies
is the activemq version the same on the client and the broker ? On 12 May 2010, at 11:48, dimitarn wrote: > > New one > > javax.jms.JMSException: Wire format negotiation timeout: peer did not send > his wire format. > 10:27:28,745 ERROR [STDERR] at > org.apache.activemq.util.JMSExceptionSu

Re: Activemq comunication causes out of memory

2010-05-12 Thread dimitarn
New one javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format. 10:27:28,745 ERROR [STDERR] at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) 10:27:28,745 ERROR [STDERR] at org.apache.activemq.ActiveMQConnection.syncS

Re: Activemq comunication causes out of memory

2010-05-11 Thread dimitarn
Can someone help mi :-((:,(:-( I saw again the exception for too long inactive chanel, what am i doing wrong? INFO [MyActiveMQClientManager] JNDI Context[{java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory, java.naming.provider.url=tcp://HOST:61616?keepAlive=tru

Re: Activemq comunication causes out of memory

2010-05-10 Thread dimitarn
Hi again. The problem is still present :,( Today i added to the client connection url this: tcp://IP:61617?keepAlive=true&wireFormat.maxInactivityDuration=0 Up to now no such errors have been occurred, but the following exception on the exception listener which i set to the consumer. This did not

Re: Activemq comunication causes out of memory

2010-05-05 Thread dimitarn
I did it. I wait to see if it will happen again. rajdavies wrote: > > ok - can you try creating the MessageProducer only in the initialize() > code and not close() it after every message send ? > On 5 May 2010, at 09:37, dimitarn wrote: > >> >> [CODE] >> @Override >> public void initiali

Re: Activemq comunication causes out of memory

2010-05-05 Thread Rob Davies
ok - can you try creating the MessageProducer only in the initialize() code and not close() it after every message send ? On 5 May 2010, at 09:37, dimitarn wrote: > > [CODE] > @Override > public void initialize() throws JMSException { > connection = createConnection(); >

Re: Activemq comunication causes out of memory

2010-05-05 Thread dimitarn
[CODE] @Override public void initialize() throws JMSException { connection = createConnection(); session = connection().createSession(false, Session.AUTO_ACKNOWLEDGE); topic = session.createTopic(topicName); } @Override

Re: Activemq comunication causes out of memory

2010-05-05 Thread Rob Davies
I'd recommend not creating a producer for every message you send - this has a significant performance impact. Also - what does initialize() and startProcessing() do ? Obviously you are running out of heap - but its not clear that this is because of ActiveMQ. On 5 May 2010, at 08:40, dimitarn wro

Re: Activemq comunication causes out of memory

2010-05-05 Thread dimitarn
I am using 5.3.1 on linux. Also i forgot to say that the activemq is on other server from the Jboss AS. But both machines are in local network. This activemq 5.3.1 i downloaded from the activemq site, also i had a problem with starting it because it was stopping on start up on. So i found that a

Re: Activemq comunication causes out of memory

2010-05-05 Thread Sebastian Rodriguez
Hi Dimitarn, Can you specify which version of Active MQ you are using so that we can discard some of the already discovered bugs if you are not using the latest stable release? Thanks! Seb On 5 May 2010 14:59, dimitarn wrote: > > I have jboss server and i have activemq. There is only one topic