Sent from my HTC
----- Reply message ----- From: "woodstockrich" <richpat...@shaw.ca> To: "users@activemq.apache.org" <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-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.FrameworkEventsPlugin] (MSC service thread 1-1) Framework ERROR: org.osgi.framework.BundleException: Cannot resolve bundle resModule: [org.apache.activemq.activemq-web:5.5.1] <stack dump snip> Caused by: org.jboss.osgi.resolver.XResolverException: Unable to resolve Module[org.apache.activemq.activemq-web:5.5.1]: missing requirement [Module[org.apache.activemq.activemq-web:5.5.1]] package; (&(package=javax.jms)(version>=1.1.0)(!(version>=2.0.0))) 15:37:23,141 ERROR [org.apache.activemq.activemq-web] (Thread-82) FrameworkEvent ERROR: org.apache.felix.log.LogException: org.osgi.framework.BundleException: Cannot resolve bundle resModule: [org.apache.activemq.activemq-web:5.5.1] <stack dump snip> Caused by: org.apache.felix.log.LogException: org.jboss.osgi.resolver.XResolverException: Unable to resolve Module[org.apache.activemq.activemq-web:5.5.1]: missing requirement [Module[org.apache.activemq.activemq-web:5.5.1]] package; (&(package=javax.jms)(version>=1.1.0)(!(version>=2.0.0))) 15:37:23,141 ERROR [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011900: Cannot start bundle: org.apache.activemq.activemq-web:5.5.1: org.osgi.framework.BundleException: Cannot resolve bundle: org.apache.activemq.activemq-web:5.5.1 I am hoping the above only relate to the activemq console. I get notified that my message broker has started: 15:37:24,827 INFO [org.apache.activemq.broker.BrokerService] (Starting ActiveMQ Broker) ActiveMQ JMS Message Broker (epic.broker1, ID:RICHARPND7D1-60707-1335393444515-0:1) started Then I "run on server" my project which contains the HML and javascript, and I get these: 15:43:38,264 WARN [org.jboss.as.ee] (MSC service thread 1-2) JBAS011006: Not installing optional component org.eclipse.jetty.continuation.Servlet3Continuation$1 due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.eclipse.jetty.continuation.Servlet3Continuation$1 15:43:38,264 WARN [org.jboss.as.ee] (MSC service thread 1-2) JBAS011006: Not installing optional component org.eclipse.jetty.continuation.Servlet3Continuation$2 due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.eclipse.jetty.continuation.Servlet3Continuation$2 15:43:40,899 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/RichJMSDispBoardDemo].[AjaxServlet]] (http--0.0.0.0-8080-1) Servlet.service() for servlet AjaxServlet threw exception: java.lang.IllegalStateException: The servlet or filters that are being used by this request do not support async operation 15:43:40,915 ERROR [stderr] (http--0.0.0.0-8080-2) javax.management.InstanceNotFoundException: naming:type=rmiregistry 15:43:40,947 ERROR [stderr] (JMX connector) Exception in thread "JMX connector" java.lang.UnsupportedOperationException: JBAS011859: Naming context is read-only 15:43:41,540 ERROR [stderr] (http--0.0.0.0-8080-2) javax.management.InstanceNotFoundException: naming:type=rmiregistry These last 2 repeat. I see this: 15:43:41,571 INFO [org.apache.activemq.broker.BrokerService] (http--0.0.0.0-8080-2) ActiveMQ JMS Message Broker (localhost, ID:RICHARPND7D1-60966-1335393821368-0:1) started Note this is a different broker ID than the one that I originally started. Why doesn't it just connect to the first? It shuts down in 2 seconds anyway. When I look at the web-traffic, the amq call returns the broker id ID:RICHARPND7D1-60966-1335393821368-2:2:1:1:1 -- View this message in context: http://activemq.2283324.n4.nabble.com/HTML-JS-works-in-Demo-but-not-under-JBOSS-7-1-Eclipse-tp4584105p4588358.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.