FAQ

[ServiceMix-users] ActiveMQ / Jetty error in Servicemix 4.4.1 - Missing brokerURL

Londonukm
Mar 30, 2012 at 8:57 am
Hi,

I am getting the error below after starting up my servicemix 4.4.1

I have attached the full log to show more information. I am assuming that
this error is because of the blueprint broker I have tried to deploy
although the broker bundle itself has no error status. Also it does have a
brokerURL set as you can see by the snippets here:

/
<amq:broker xmlns="http://activemq.apache.org/schema/core"
brokerName="activemq-pgsql"
dataDirectory="${karaf.data}/activemq/activemq-pgsql"
useShutdownHook="false"
useJmx="true"
persistent="true">


<amq:managementContext>
<amq:managementContext createConnector="false"/>
</amq:managementContext>

<amq:persistenceAdapter>
<amq:jdbcPersistenceAdapter dataSource="#dataSource"/>
</amq:persistenceAdapter>


<amq:transportConnectors>
<amq:transportConnector name="openwire"
uri="tcp://${activemq.transportconnector.openwire.host}:${activemq.transportconnector.openwire.port}"/>
<amq:transportConnector name="vm" uri="vm://localhost"/>
</amq:transportConnectors>

</amq:broker>
...
...
<bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="vm://localhost" />
</bean>

<bean id="jmsPooledVMConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory">
<property name="connectionFactory" ref="connectionFactory" />
<property name="maximumActive" value="20000" />
</bean>

<bean id="resourceManager"
class="org.apache.activemq.pool.ActiveMQResourceManager"
init-method="recoverResource">
<property name="connectionFactory" ref="connectionFactory" />
<property name="resourceName" value="activemq.activemq-pgsql" />
</bean>

<service ref="jmsPooledVMConnectionFactory"
interface="javax.jms.ConnectionFactory">
<service-properties>
<entry key="name" value="activemq-pgsql"/>
</service-properties>
</service>/


Any advice would be greatly received.

thanks

Graham

/11:02:16,188 | WARN
http://servicemix.396122.n5.nabble.com/file/n5606048/servicemix.log
servicemix.log | g.ops4j.pax.web) | /activemqweb | 109
- org.eclipse.jetty.util - 7.4.5.v20110725 | unavailable
java.lang.IllegalStateException: missing brokerURL (specified via
org.apache.activemq.brokerURL init-Param
at
org.apache.activemq.web.WebClient.initConnectionFactory(WebClient.java:262)[176:org.apache.activemq.activemq-web-console:5.5.1]
at
org.apache.activemq.web.WebClient.initContext(WebClient.java:124)[176:org.apache.activemq.activemq-web-console:5.5.1]
at
org.apache.activemq.web.MessageServletSupport.init(MessageServletSupport.java:94)[176:org.apache.activemq.activemq-web-console:5.5.1]
at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:436)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)[109:org.eclipse.jetty.util:7.4.5.v20110725]
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:765)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1215)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.eclipse.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1273)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.eclipse.jetty.servlet.ServletHandler.addServletMapping(ServletHandler.java:873)[98:org.eclipse.jetty.servlet:7.4.5.v20110725]
at
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.call(JettyServerImpl.java:158)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.call(JettyServerImpl.java:154)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addServlet(JettyServerImpl.java:153)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addServlet(ServerControllerImpl.java:266)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addServlet(ServerControllerImpl.java:107)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.internal.HttpServiceStarted$1.stateChanged(HttpServiceStarted.java:94)[114:org.ops4j.pax.web.pax-web-runtime:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.notifyListeners(ServerControllerImpl.java:197)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.java:413)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:67)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.configure(ServerControllerImpl.java:261)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:84)[112:org.ops4j.pax.web.pax-web-jetty:1.0.7]
at
org.ops4j.pax.web.service.internal.Activator$2.updated(Activator.java:150)[114:org.ops4j.pax.web.pax-web-runtime:1.0.7]
at
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[5:org.apache.felix.configadmin:1.2.8]
at
org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8]
at java.lang.Thread.run(Thread.java:619)[:1.6.0_19]
/

--
View this message in context: http://servicemix.396122.n5.nabble.com/ActiveMQ-Jetty-error-in-Servicemix-4-4-1-Missing-brokerURL-tp5606048p5606048.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
reply

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post

1 user in discussion

Londonukm: 1 post