1 Reply Latest reply on Sep 9, 2010 7:55 AM by garytully

    Fuse 4.3 configuration broker problem

    andii

      Hi,

       

      I try to add networkConnections section to activemq-broker.xml file (placed in etc directory) and when I restart Fuse I see following error

       

      3:14:52,956 | WARN  | Thread-6         | NamespaceManager                 | nternal.support.NamespaceManager  130 | 72 - org.springframework.osgi.extender - 1.2.0 | Bundle Apache ServiceMix

      Document (org.apache.servicemix.document) cannot see class ; ignoring its namespace handlers

      13:14:53,288 | ERROR | rint Extender: 3 | BlueprintContainerImpl           | container.BlueprintContainerImpl  342 | 7 - org.apache.aries.blueprint - 0.1.0.r964701 | Unable to start blueprin

      t container for bundle activemq-broker.xml

      org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

              at org.apache.aries.blueprint.container.Parser.validate(Parser.java:288)[7:org.apache.aries.blueprint:0.1.0.r964701]

              at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint:0.1.0.r964701]

              at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:213)[7:org.apache.aries.blueprint:0.1.0.r964701]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_20]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_20]

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_20]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_20]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)[:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_20]

              at java.lang.Thread.run(Thread.java:619)[:1.6.0_20]

      Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'networkConnectors'. One of '{WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:417)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3181)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1805)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.beginNode(DOMValidatorHelper.java:273)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:240)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:186)[:1.6.0_20]

              at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:104)[:1.6.0_20]

              at javax.xml.validation.Validator.validate(Validator.java:127)[:1.6.0_20]

              at org.apache.aries.blueprint.container.Parser.validate(Parser.java:285)[7:org.apache.aries.blueprint:0.1.0.r964701]

       

       

      But when I check the schema http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd I see that this element is already defined.

      Anyone know where is the problem with define networkConnections in broker configuration (for Fuse 4.3) ?

       

      Thanks in advance

        Andrzej