You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by liny <in...@gmail.com> on 2011/11/10 02:00:34 UTC
[Ajax] 404 not found and parsererror
Hi,
I installed ActiveMQ v5.5.1 and run "./bin/activemq console" without problem
in Solaris server.
I can run examples successully, including Ajax web demo (stock portfolio
example).
Now I am trying to write my own Ajax web page.
This is my topic producer/publisher
http://activemq.2283324.n4.nabble.com/file/n4022009/Producer.java
Producer.java which run on my local computer and will put text message to
ActiveMQ server.
This is my web page
http://activemq.2283324.n4.nabble.com/file/n4022009/index.html index.html
which run on my local computer with Tomcat 6 and intend to use Ajax to
listen message on ActiveMQ server.
Below is error log from Firefox + firebug:
http://activemq.2283324.n4.nabble.com/file/n4022009/2011-11-09_171849.jpg
I don't know what's wrong with it?
Can you help me?
Thank you!
--
View this message in context: http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-tp4022009p4022009.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: [Ajax] 404 not found and parsererror
Posted by liny <in...@gmail.com>.
Hi, Dejan:
Thanks for reply. I will try it later.
As a newbie, I don't know why "../amq/amq.js" is used in demo, not
"../js/amq.js".
Could you please help on
http://www.manning-sandbox.com/thread.jspa?threadID=47130&tstart=0
http://www.manning-sandbox.com/thread.jspa?threadID=47130&tstart=0 ?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-tp4022009p4039543.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: [Ajax] 404 not found and parsererror
Posted by Dejan Bosanac <de...@nighttale.net>.
Put your page into demo folder and it will probably work. You are
referencing js libs with wrong paths.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Mon, Nov 14, 2011 at 2:05 PM, liny <in...@gmail.com> wrote:
> Any advice is appreciated.
> Thank you.
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-tp4022009p4039390.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: [Ajax] 404 not found and parsererror
Posted by liny <in...@gmail.com>.
Any advice is appreciated.
Thank you.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-tp4022009p4039390.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.