Error creating bean with name '_muleSimpleRegistryBootstrap'

View: New views
3 Messages — Rating Filter:   Alert me  

Error creating bean with name '_muleSimpleRegistryBootstrap'

by test testing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
        We are having some issue when running Mule test cases. We did our development in eclipse and if we run our test in eclipse it works. But
when we created a build file. and run the junit tasks it give exception.

My ant target and my Mule version is 2.0.2

<target name="runxxxx" depends = "yyyyybuild">
        <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
  <classpath refid="lib.classpath" />// other project librarires
                        <classpath refid="mule.classpath" /> // mule 2.0.2 libraries
  </taskdef>

        <junit printsummary="yes" haltonfailure="yes">
                <classpath refid="lib.classpath" />
                        <classpath refid="mule.classpath" />
                <sysproperty key="mule.test.timeoutSecs" value="600000000"/>
               
          <formatter type="plain"/>
          <test name="abc.bcd.efg.SetXAGAGATest" haltonfailure="yes" outfile="result">
                    <formatter type="xml"/>
          </test>
        </junit>
</target>


and Exception is

    [junit] junit.framework.TestListener: addError( set timer single simple trigger , Error creating bean with name '_muleSimpleRegistryBootstrap' defined in URL [jar:file:/C:/a466030/installed/mule-2.0.2/lib/mule/mule-module-spring-config-2.0.2.jar!/default-mule-config.xml]: Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Object "transformer: _XmlToOutputHandler" has already been registered in the Registry. Registered object is "XmlToOutputHandler{this=1fddb33, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler", Object being registered is "XmlToOutputHandler{this=141fc8c, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler" (org.springframework.beans.factory.BeanCreationException))

can you help me in this regard.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Error creating bean with name '_muleSimpleRegistryBootstrap'

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This error indicates there are duplicate jars on the classpath.

Andrew

Re: Error creating bean with name '_muleSimpleRegistryBootstrap'

by test testing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andrew,
               Our application works fine with Mule 2.1.2 . Hence the problem is only with 2.0.2. We verified and there are no duplicate Jar files in the classpath.

thanks
Siva

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email