I finally have success, but it feels rough still.
It seems that when I first start up IE and go to my URL, it does not receive
the messages. If I do a refresh, then it starts receiving messages.
This is true with Firefox as well.
So I'm not quite sure why I have to invoke the refresh.
Also,
Very close.
I changed the context-param org.apache.activemq.brokerURL value to
tcp://localhost:61616 in my web.xml and also in broker-config.xml in the rar
file I made sure that transportConnector uri="tcp://localhost:61616"
Cleaned and restarted my JBOSS. Deployed my web application. Ran a
se
Roadblock averted but still not successful.
Add this to web.xmlservlet clause for AjaxServlet
true
So now I only have the InstanceNotFoundException and JMX connector Naming
context is read-only
the /amq?timeout= call is made but never gets a response.
--
View this message in context:
htt
I think I may be able to turn off the Management of the broker and prevent
the errors regarding the JMX Management/ MBean etc. I did see
documentation about useJmx, and
However I believe I will still have this error, which is ultimately what is
being returned in http as seen by Fiddler:
the S
Here's my status:
I think part of my problem was that in addition to putting
activemqra-5.5.1.rar to have the message broker into the
standalone/deployments area, I was also putting in the activemq-web.5.5.1
jar by itself. It was also deployed as part of deploying my application
subsequent to JBO
Sent from my HTC
- Reply message -
From: "woodstockrich"
To: "users@activemq.apache.org"
Subject: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse
Date: Thu, Apr 26, 2012 4:03 am
Almost there?
I added the kahadb-5.5.1.jar as part of the web deployment assembly, plus
jetty-al
Almost there?
I added the kahadb-5.5.1.jar as part of the web deployment assembly, plus
jetty-all-server
When I start JBOSS with activemqra-5.5.1.rar and activemq-web-5.5.1.jar in
standalone deployments
I continue to get these:
15:37:23,140 ERROR [org.jboss.osgi.framework.internal.FrameworkEvent
Ok, inching forward, but not there yet.
A key consideration was changing the amq.uri='amq'. Then at least I no
longer got the http response "The requested resource (/amq) is not
available"
My server returns HTML with the errors:
java.lang.NoClassDefFoundError:
org/apache/kahadb/util/DataByteArra
Narrowing it down further.
Fiddler shows that the /amq calls returns the following text (inside HTML):
requested resource (/amq) is not available
So I think it is just a matter of bringing in the AJAX servlet?
I /thought/ I had done that, but I'll check again tomorrow.
--
View this message in
I actually don't need the pollHandler.
I just need to be able to receive messages where I added the listener, and
send messages to the queue I've defined.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/HTML-JS-works-in-Demo-but-not-under-JBOSS-7-1-Eclipse-tp4584105p4584
10 matches
Mail list logo