AMQ AJAX +DOJO COMETD

26 views
Skip to first unread message

JigarPrajapati

unread,
Aug 22, 2008, 4:43:16 AM8/22/08
to cometd-users
Hi All,

I have downloaded Hightide project and was able to run auctiondemo
for cometd. you are using DWR + dojo Cometd. I want to use
AMQ(Activemq ajax) for sending data to MQ ( as it is already
supporting it) and want send back to data to client using DOJO Cometd.

When i try to configure AMQ and DOJO at client side then i was getting
below issue.


1) When i keep url-pattern for Cometd servlet and AMQ servlet then i
was not able to see that uri-pattern jsp in browser. i was showing
nothing but when i change uri-pattern for one of then then i was
atleast able to see pages.

2) when i put

<script type="text/javascript" src="amq/amq.js"></script>
<script type="text/javascript">amq.uri='/mycontext/amq';</script>

before loading dojo related js (dojo.js and cometd.js) then i was
getting buffer over flow error message in IE. and when check mozilla
with firebug then it was giving some js issue with prototype js and
was saying that dojo.require is not function.

3) when i try dojo first and amq configuration down then it was able
to load dojo but it was giving error like amq is undefined.


can you focus on that and tell me that is it possible to use AMQ +dojo
cometd or not. if yes then what i am missing.


Thanks.

Regards,
Jigar

Greg Wilkins

unread,
Aug 27, 2008, 7:56:06 PM8/27/08
to cometd...@googlegroups.com

Jigar,

I think you may be looking at an old version of hightide.

The latest auction demo no longer uses amq.js but bridges
from JMS to bayeux on the server side.

We are currently moving hightide to a fully public SVN
repository.... let me get back to you with the status of
that.

cheers

JigarPrajapati

unread,
Aug 28, 2008, 4:23:44 AM8/28/08
to cometd-users
Thanks Greg for reply,

I am using Hightide 6.1H.10 , I know that latest version does not
use amq any more. but want to know that whether you face same above
issue what i have face? or it is possible to run amq + cometd?

if yes then what can be reason for above issue?

and I had check auction related code but it seems that you are using
durby database for managing bids. i did not see activemq
implementation code in your auctiondemo project.


Regards,
Jigar
Reply all
Reply to author
Forward
0 new messages