the XBean broker factory is looking for a bean with id "broker" or an
instance of BrokerService.class and is telling us that it cannot locate one.

2009/9/3 ChipSchoch <csch...@elynx.com>

>
> I am trying to integrate JBossAs 4.2.2 and ActiveMQ 5.2.0.  Following the
> instructions works fine, but I am trying to configure it to use jdbc
> persistence (sybase db).  I was attempting to specify a JBoss datasource in
> my broker-config.xml but the .rar deploys before the sybase-ds.xml so the
> datasource is not bound in JNDI.  I cannot seem to find any example of this
> integration.
>
> Has anyone integrated JBoss with ActiveMQ and used jdbc persistence
> employing the JBoss datasource?  If so, could you post the configuration?
>
> I went through the exercise where I defined the datasource in the config
> using xbean and was able to reconcile all the class not found and schema
> violations etc; but then the JBoss log gives:
>
> 31 WARN    | Starting ActiveMQ Broker |
> org.apache.activemq.ra.ActiveMQResourceAdapter     | Could not start up
> embeded ActiveMQ Broker 'xbean:broker-config.xml': The configuration has no
> BrokerService instance for resource: xbean:broker-config.xml
> 2009-09-03 08:25:29,9
>
> I am basically clueless on this.  It should not be this difficult.  Any
> help
> would really be appreciated.
> --
> View this message in context:
> http://www.nabble.com/JBoss-Integration-Question-from-newb-tp25275700p25275700.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Reply via email to