Re: Looking for Help ActiveMQ and Jetty

2007-09-18 Thread Zanderfax
Thanks for the info, and the patience. I will download Firebug and see what I can see. You will most likely be hearing from me. J chago wrote: > > I have tried your example and it works for me with my new amq.js file and > the one that is in the head. I suspect that their is some component >

Re: Looking for Help ActiveMQ and Jetty

2007-09-17 Thread chago
I have tried your example and it works for me with my new amq.js file and the one that is in the head. I suspect that their is some component outside the javascript and servlets that is silently failing for you. FWIW, I have disabled persistence in my configuration: org.apache.active

Re: Looking for Help ActiveMQ and Jetty

2007-09-13 Thread Zanderfax
Attached is the logfile with debug info. I started activemq, then jetty, loaded the web page and sent 2 messages. I see the connections but there is nothing transfered. Any ideas? http://www.nabble.com/file/p12665375/activemq.log activemq.log chago wrote: > > http://activemq.apache.org/h

Re: Looking for Help ActiveMQ and Jetty

2007-09-12 Thread chago
http://activemq.apache.org/how-do-i-enable-debug-logging.html Zanderfax wrote: > > I made the changes with no apparent effect. Where would I look for the > debug log or stack trace if they exist? > -- View this message in context: http://www.nabble.com/Looking-for-Help-ActiveMQ-and-Jetty-t

Re: Looking for Help ActiveMQ and Jetty

2007-09-11 Thread Zanderfax
I made the changes with no apparent effect. Where would I look for the debug log or stack trace if they exist? chago wrote: > > FWIW, I can't reproduce the timing issue... It seems your original code > runs fine on my setup. > > Keep in mind that I am using a different version of amq.js. (Se

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread chago
FWIW, I can't reproduce the timing issue... It seems your original code runs fine on my setup. Keep in mind that I am using a different version of amq.js. (See JIRA issue http://issues.apache.org/activemq/browse/AMQ-1377 AMQ-1377 . ) Find the debug log and see if there were any exceptions or st

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread chago
Try this: http://www.w3.org/TR/html4/strict.dtd";> Observatory amq.uri='amq'; var myHandler = { rcvMessage: function(message) { alert("received " + message);

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread Zanderfax
Ok, It looks like the webpage is talking via the servlet, I am seeing post and get messages in the log file when I hit the send button on my page. Below is the HTML I am using: Observatory amq.uri='amq'; var myHandler = { rcvMessage: functi

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread Zanderfax
I tried them, but I could not get them to work. Sorry for all the dumb questions. J chago wrote: > > That's correct. Have you tried the examples in web demo? > > > Zanderfax wrote: >> >> So I don't have to configure anything on the Jetty side to have the >> topics available? >> > > --

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread chago
That's correct. Have you tried the examples in web demo? Zanderfax wrote: > > So I don't have to configure anything on the Jetty side to have the topics > available? > -- View this message in context: http://www.nabble.com/Looking-for-Help-ActiveMQ-and-Jetty-tf4379195s2354.html#a12533912 Se

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread Zanderfax
So I don't have to configure anything on the Jetty side to have the topics available? J chago wrote: > > When using the javascript client (amq.js) you subscribe to topics and > queues in your javascript code. For example, in the chat.js file when the > 'join' button is pressed, an event fires

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread chago
When using the javascript client (amq.js) you subscribe to topics and queues in your javascript code. For example, in the chat.js file when the 'join' button is pressed, an event fires that is coded as: amq.addListener('chat', 'topic://CHAT.DEMO', chatHandlerCallback); Any messages posted to tha

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread Zanderfax
Ok, I understand that. Next question, how do I define what queue I want to watch? I have tried to follow the docs on the Jetty page, but I am not sure that I have the right things in the jetty.xml and jetty-plus.xml files. Or is that not where you set that up? The docs are not very clear on thi

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread ttmdev
You use the http: scheme to connect your client to a remote or external broker. You also have available other schemes like https:, tcp:, and ssl: to connect to a remote broker. Just depends what protocol you want to use. The vm: scheme is used to start an intra-JVM or embedded broker. So if you

Re: Looking for Help ActiveMQ and Jetty

2007-09-06 Thread Zanderfax
So if my broker is running on server bob, I would change the value to vm://bob:1234 or would it be http://bob:1234? J chago wrote: > > If you download ActiveMQ, the web demo module contains a few demos that > use Jetty with an embedded broker talking to web pages using the amq.js > script fil

Re: Looking for Help ActiveMQ and Jetty

2007-09-04 Thread chago
If you download ActiveMQ, the web demo module contains a few demos that use Jetty with an embedded broker talking to web pages using the amq.js script file. The embedded broker is configured in the web.xml file by specifying the vm://localhost value. If you want to use an external broker, you can