[jboss-as7-dev] AS7 upstream - HornetQ 2.2.5.Final release and HORNETQ-681 issue

Jaikiran Pai jpai at redhat.com
Sun Jun 19 00:28:55 EDT 2011


AS7 upstream has been upgraded to use HornetQ 2.2.5.Final release to 
bring in the fix for https://issues.jboss.org/browse/HORNETQ-681. 
However, with the latest upstream with this version of HornetQ, I still 
see the same issue[1]. Wesley too seems to be running into this problem, 
as he mentions in that JIRA. I have attached the test application to 
that JIRA now. I'll add a test in AS7 smoke tests to make sure that this 
indeed works, when it gets fixed.


-Jaikiran


[1] logs below:

09:46:22,882 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC 
service thread 1-2) HornetQ Server version 2.2.5.Final 
(HQ_2_2_5_FINAL_AS7, 121) [da2cadeb-9a2a-11e0-8828-001f161149f5] started
....
09:48:14,882 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1) javax.jms.JMSException: 
Failed to create session factory
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:615)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:133)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:128)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.jsp.test_jsp._jspService(test_jsp.java:68)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
09:48:14,883 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
09:48:14,884 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
09:48:14,885 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:658)
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
java.lang.Thread.run(Thread.java:619)
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1) Caused by: 
HornetQException[errorCode=0 message=Failed to initialise session factory]
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:558)
09:48:14,886 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:611)
09:48:14,887 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     ... 24 more
09:48:14,887 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1) Caused by: 
java.lang.IllegalArgumentException: Unable to instantiate load balancing 
policy 
"org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy"
09:48:14,887 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl$2.run(ServerLocatorImpl.java:299)
09:48:14,887 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
java.security.AccessController.doPrivileged(Native Method)
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl.instantiateLoadBalancingPolicy(ServerLocatorImpl.java:286)
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl.initialise(ServerLocatorImpl.java:313)
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:554)
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     ... 25 more
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1) Caused by: 
java.lang.ClassNotFoundException: 
org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy 
from [Module "deployment.test.war:main" from Service Module Loader]
09:48:14,888 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
09:48:14,889 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
09:48:14,889 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
09:48:14,889 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
09:48:14,889 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     at 
org.hornetq.core.client.impl.ServerLocatorImpl$2.run(ServerLocatorImpl.java:293)
09:48:14,889 ERROR [stderr] 
(http-localhost.localdomain-127.0.0.1-8080-1)     ... 29 more



More information about the jboss-as7-dev mailing list