Re: Problem Subscribing to AMQ Topic using amq.js

2014-09-09 Thread absaar
Turned out everything was fine except the application server I was using i.e. *Tomcat*. For this thing to work I had to change application server from /tomcat/ to *Jetty v9.1.5.* -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-22 Thread artnaseef
Sorry - I'm not familiar with that error. Was there any information in the webapp server log file? -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js-tp4684795p4684953.html Sent from the ActiveMQ - User mailing list archive at

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-22 Thread absaar
In my code of web.xml given in the screen shot, the last servlet was commented, now when I removed the comments i received the following error: *FAIL - Deployed application at context path /FinesseConsumer but context failed to start C:\FinesseConsumer\nbproject\build-impl.xml:1052: The module has

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-21 Thread artnaseef
I can't be too sure about the web.xml installation. Try breaking the syntax in the file (i.e. put invalid content in the file) and see if it causes errors - if not, it's not being used (most likely). The parameter is telling the servlet the URL to reach activemq. That needs to be set correclty,

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
When uri : 'amq' request was sent to : localhost:8080/FinesseConsumer/amq . now with uri : '/amq' request is sent to : localhost:8080/amq . In both scenarios i am getting same error i.e : 404 error. As per my knowledge ActiveMQ is running on localhost:8161. So is there any implication of cross do

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
After trying this, i am still getting the same error. Can you please guide me a bit that what exactly are the meanings of installing AJAX servlet. As per my understanding i have simply created a web.xml file in my java web application project. am i required to do more configuration to make servlet

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
Thanx for the reply. 404 is unknown resource which means that my request is unable to find the target. My confusion is that: Do I need to host my web application at some particular location i.e. app server or is it alright to host it at any location, to access the running ActiveMQ server via A

Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
I have two modules of an application written in java: - Written in Java and publishes messages to a topic successfully using ActiveMQ - A web application using AMQ's Ajax library I have issues with the AJAX based portion which is subscribing to a topic to receive messages from AMQ topic. I am impl

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread artnaseef
By the way - the 404 means the web server is rejecting the incoming path as an "unknown resource". In other words, it doesn't map to a file or a servlet. -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js-tp4684795p4684810.html

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread artnaseef
Have you tried "uri : '/amq'" - note the leading slash? -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js-tp4684795p4684809.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.