You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/04/10 11:41:31 UTC

[jira] Assigned: (SMX4-84) Unable to start embedded ActiveMQ broker in IntegrationTest

     [ https://issues.apache.org/activemq/browse/SMX4-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-84:
--------------------------------

    Assignee: Freeman Fang

> Unable to start embedded ActiveMQ broker in IntegrationTest
> -----------------------------------------------------------
>
>                 Key: SMX4-84
>                 URL: https://issues.apache.org/activemq/browse/SMX4-84
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: Windows SMX4 trunk
>            Reporter: Mike Ramnarine
>            Assignee: Freeman Fang
>         Attachments: cxf-jms-osgi.zip, itests.zip, log.zip
>
>
> I have been trying to add a CXF/JMS based test/example to features/trunk/examples/itests/.../IntegrationTest.java, but have run into a problem getting the ActiveMQ broker to start up properly.  The goal is to have a test that starts an embedded ActiveMQ broker, and runs the JMS part of the IntegrationTest successfully, without having to start up ServiceMix or ActiveMQ separately.  The problem is the ActiveMQ broker is not starting up properly in this testing environment.  Is a waitOnContext, or something similar necessary?
> See the attached log.zip for details.
> One problem is that gshell-remote.xml is invalid:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 113 in XML document from URL [bundle://59.0:0/META-INF/spring/gshell-remote.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'.
> Attached you will also find the updated IntegrationTest (itests.zip) that tests with a new cxf-jms-osgi bundle, also attached (cxf-jms-osg.zip).  I updated getTestBundlesNames() to getBundle() for all bundles that are normally loaded into SMX4 (i.e. bundles found in assembly\target\apache-servicemix-4.0-m2-SNAPSHOT\system).  
> Even with the exceptions like the one about gshell-remote.xml, this test will run successfully if SMX4 is running and therefore ActiveMQ is running on the localhost.  The goal for this JIRA is to have the test run successfully by itself, without an existing ActiveMQ running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.