Re: Stomp problems in apache-activemq-4.1-20070320.072657-13.tar.gz

2007-03-29 Thread tommy.li
session = connection->createSession( Session::AUTO_ACKNOWLEDGE ); Thanks. James.Strachan wrote: > > Which acknowledgement mode were you using? > > On 3/22/07, tommy.li <[EMAIL PROTECTED]> wrote: >> >> My server running apache-activemq-4.1-20070320.072657-13.tar.gz and >> activemq-cpp-1.1. >> C+

Re: how to lookup a topicName dynamically

2007-03-29 Thread Adrian Co
Well, it really depends on what you what to do with the destination information. You could use the ObjectName to query the mbeanserver to obtain stat info about that particular destination. I think the Destination Object Name contains the Destination attribute, which is actually the destinat

Re: Data size bigger than max size for this type

2007-03-29 Thread ron55test
The column is of type blob. This is what the table structure is as created by activemq: CREATE TABLE ACTIVEMQ_MSGS" ("ID" NUMBER(32,0) NOT NULL ENABLE, "CONTAINER" VARCHAR2(250), "MSGID_PROD" VARCHAR2(250), "MSGID_SEQ" NUMBER(32,0), "EXPIRATION" NUMBER

Re: Data size bigger than max size for this type

2007-03-29 Thread Austin Mills
I've seen that before (outside of ActiveMQ) when trying to store more than 4k characters in a VARCHAR2 column -- if it's more than 4k characters, you have to use a CLOB type instead. It can happen with XMLTYPEs being set as strings as well. --Austin ron55test wrote: When I try to produce a l

JDBC Master Slave with embedded Derby?

2007-03-29 Thread ron55test
Hi, I would like to set-up 2 instances of Activemq with 1 as a master and the other as a slave. I'm using persistent messaging with embedded derby. Since I cannot establish multiple connections to an embedded derby, I suppose I'll have to use Derby network server. Is this right? -- View

Data size bigger than max size for this type

2007-03-29 Thread ron55test
When I try to produce a large message (a list of POJOs), I get the exception below. I'm using Oracle 10g with Spring and activemq. --I don't get this exception if I use Derby as the database. --I'm using ojdbc14-10g-10.2.0.1.0.jar driver. --If I send small message ( a string ), I don't get thi

Re: how to lookup a topicName dynamically

2007-03-29 Thread new2activemq
I was able to access the getTopics method of BrokerViewMBean by using the "invoke" method on a MBeanServerObject. However, the problem now is that the getTopics() method returns an ObjectName[] however the "invoke" method I used does not expect an ObjectName[]. If I try simple casting the error go

spring and activemq

2007-03-29 Thread Garner, Shawn
I'm having problems getting the example spring file to load: http://activemq.apache.org/spring-support.html 007-03-29 15:19:23,662 [main] ERROR org.springframework.web.context.ContextLoader:initWebApplicationContext: 205 - Context initialization failed org.springframework.beans.factory.Be

Java Heap Space Exception

2007-03-29 Thread Karthik.Gopalakrishnan
I tried sending a ByteMessage from a c# client to a java consumer(MDB which listens on the queue) and it works completely file . But when i send a TextMessage from the same c# producer to a java consumer i get the following exception 15:21:19,542 ERROR [ActiveMQSession] error dispatching message

Re: Error in prototype.js

2007-03-29 Thread Adrian Co
Have you tried looking at the portfolio.js and chat.js in activemq-web-demo? It might help you. didyeah971 wrote: Hi, I am posting this message one more time, because the error still occurs. I am triyin to send an xml file via the ajax client, it seems to be published on the topic, and well rec

Re: how to lookup a topicName dynamically

2007-03-29 Thread Adrian Co
You have to use JMX to access it and enable JMX in activemq. http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html new2activemq wrote: Thanks! That really helps me in putting the effort in the right direction. I think in my environment we fall under the second cateogory mentio

Re: question on tomcat and activemq

2007-03-29 Thread James Strachan
On 3/29/07, Garner, Shawn <[EMAIL PROTECTED]> wrote: Can activemq be embedded within tomcat or does it have to run as a separate application? Either is fine, its your call. http://activemq.apache.org/run-broker.html Here's how to embed a broker in any JVM http://activemq.apache.org/how-do-i-em

Re: how to lookup a topicName dynamically

2007-03-29 Thread new2activemq
Thanks! That really helps me in putting the effort in the right direction. I think in my environment we fall under the second cateogory mentioned below - we are accessing remote broker. Also, in my JMX console window... under "org.apache.activemq" --> "localhost" --> "Broker" --> "Info" I can see

Error in prototype.js

2007-03-29 Thread didyeah971
Hi, I am posting this message one more time, because the error still occurs. I am triyin to send an xml file via the ajax client, it seems to be published on the topic, and well received too by the listener, by i cannot use the message i receive. the message.data contains a XMLDocument object, but

Re: oracle 8i java trigger and ActiveMQ

2007-03-29 Thread lprefontaine
With recent versions of Oracle, ActiveMQ should work within a trigger since they use SUN's JVM at 1.4 and above. I pumped older versions of ActiveMQ and we will test to see if we can get that to run on 1.2.1. I will however use your idea immediately since we are presently building a prototype. We

Invalid Session state

2007-03-29 Thread drvillo
Hi all on high memory usage I randomly get these exceptions: 2007-03-29 13:14:32,574 [ool-1-thread-64] ERROR ActiveMQSession - error dispatching message: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is

Slow Message transmission Ajax

2007-03-29 Thread didyeah971
Hi, I have been testing Activemq for one week and my goal is to send an XML file, or DOM object through the broker. When I send document object, the received data is a string containing '[XML DocumentObject]'. So I cannot retrieve the datas from my XML. So I tried to parse the XML as a String and