Re: Problem with Ajax API

2012-12-28 Thread Dejan Bosanac
igin. > > Can anybody know what might be the problem? > > Thanks > Tapaswini > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p4661152.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Problem with Ajax API

2011-11-10 Thread liny
I have same problem and post in http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-td4022009.html. Can you please help me? -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p4022868.html Sent from the ActiveMQ - User

Re: Problem with Ajax API

2011-01-12 Thread Jeff Rose
nt.write("received : " + message.textContent + > ""); > > Now, this code works on Firefox, Chrome and Opera and doesn't work on > Internet Explorer. > How can i show the received messages on Internet explorer? > > > Thanks in advance fo

Re: Problem with Ajax API

2011-01-12 Thread stratio
this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3213569.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Problem with Ajax API

2010-12-31 Thread Alex Dean
On Dec 31, 2010, at 8:04 AM, stratio wrote: > > Updates : > > I tried with dojo and prototype adapters and i have the same problem. It > works on Chrome and Safari and doesn't on firefox, Opera and even Explorer > :( > > I really don't know the reason of this behaviour... > > > Thanks in adv

Re: Problem with Ajax API

2010-12-31 Thread stratio
in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3169478.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Problem with Ajax API

2010-12-29 Thread stratio
ivemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3167176.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Problem with Ajax API

2010-12-28 Thread Alex Dean
On Dec 27, 2010, at 2:56 PM, stratio wrote: > > Ok i'm going almost crazy, i tried it in every different way but everytime i > get the same result. My code works on Chrome and Safari and doesn't work on > Firefox and Opera :(. I tried it both on win 7 and ubuntu... This is the the > index.html p

Re: Problem with Ajax API

2010-12-23 Thread stratio
e messages, however they're not showed on the browser and after a while the client disconnects itself from the topic without me doing anything to force him disconnecting... I don't get it, it's a very strange behaviour :( -- View this message in context: http://activemq.2283324.n

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 10:32 AM, stratio wrote: > > I added the content header as you told me in my Ruby client and i get a > strange behaviour... > > When i run the Ajax client sometimes it connects and gets the messaged from > the server correctly (i can see the messages looking at the response)

Re: Problem with Ajax API

2010-12-22 Thread stratio
looks like this : It's like a timeout but how can this be possible? I mean how can the client sometimes connect and sometimes not? I tried it both in Chrome and Firefox and nothing changed :( -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-wit

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 3:13 AM, stratio wrote: > Ok, I just commented the line "headers[ 'Connection' ] = 'close';" and now > from the admin page i can see my client connecting to the topic and > consuming the messages I checked this issue in Chrome, and while I do see the error you reported ("ref

Re: Problem with Ajax API

2010-12-22 Thread Alex Dean
On Dec 22, 2010, at 5:32 AM, stratio wrote: > Content : > > > > > > > > > So I guess that the reason for which i don't see anything on the browser is > that the response is a binary message. I saw this > https://issues.apache.org/jira/browse/AMQ-2833 about this problem > (considering i'm

Re: Problem with Ajax API

2010-12-22 Thread stratio
ng the messages on the topic via a stomp ruby client). How can I apply the patch in order to solve the problem? Do I have to modify the Javascript code? Thanks again :) -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3160494.html Sent from t

Re: Problem with Ajax API

2010-12-22 Thread stratio
27;t get why it shows me nothing. Even if the received messages aren't visible by the browser (maybe because of a "bad" header or something like this) i should see in the browser a line "Received" for every message i consume, shouldn't I? Thanks for the help :) --

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 11:54 AM, stratio wrote: > > I was running my code not on the webserver, now i put it under the > http://localhost:8161/demo/ directory and i started it again and now i get > this error under chrome : > > > Refused to set unsafe header "Connection" > > What does it depend

Re: Problem with Ajax API

2010-12-21 Thread stratio
mq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3159400.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 11:07 AM, stratio wrote: > > > Alex Dean-2 wrote: >> >> What's returned by the server? Is it maybe one of these? >> * "" : This is what a timeout looks like. >> No messages received. >> * "> destination='topic://topic/ActiveMQFeed' >" : >> This is what it looks like when

Re: Problem with Ajax API

2010-12-21 Thread stratio
rt of connection problem cause if it was a timeout or a binary message i wouldn't see the message but i would see that the 'Number of Consumers' increase to 1. Maybe it's the uri that is wrong? Thanks for the help :) -- View this message in context: http://activemq.2283324.n4.

Re: Problem with Ajax API

2010-12-21 Thread Alex Dean
On Dec 21, 2010, at 9:54 AM, stratio wrote: > > Hello I'm experimenting a new trouble :( > > I'm still using ActiveMQ 5.4.2 on Windows 7. I'm running a Ruby client which > creates a topic named "/topic/ActiveMQFeed" using Stomp Protocol and publish > on it a message every 3 seconds. You might