[mule-dev] Problem ->Unable to locate NamespaceHandler for namespace --> wmq:connector

38 views
Skip to first unread message

Michael Mathieu

unread,
Jun 16, 2009, 11:55:26 AM6/16/09
to d...@mule.codehaus.org
Hi everybody,

I have a big problem and it's an emergency. I want use mule with MQSerie7.
I found this page (http://www.mulesource.org/display/MULE2USER/Mule+WMQ+Transport).
I followed step by step these instruction to implement the wmq connector. Unfortunately I had an error when I started my Mule service.
I accurate that I added into the classpath the specific jar for WebSphere MQ (com.ibm.mq.jar, com.ibm.mqetclient.jar, com.ibm.mq.jmqi.jar, com.ibm.mqjms.jar, dhbcore.jar).

If you have an idea it will be marvellous.

_*Here the stacktrace:*_

Starting the Mule_DEGROOF service...
--> Wrapper Started as Service
Launching a JVM...
Starting the Mule Server...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2009-06-16 17:38:12,402 INFO [org.mule.MuleServer] - Mule Server initializing...
2009-06-16 17:38:12,761 INFO [org.mule.config.spring.MuleApplicationContext] - Refreshing org.mule.config.spring.MuleApplicationContext@1a116c9: display name [org.mule.config.spring.MuleApplicationContext@1a116c9]; startup date [Tue Jun 16 17:38:12 CEST 2009]; root of context hierarchy
2009-06-16 17:38:12,839 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]
2009-06-16 17:38:13,277 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]]
2009-06-16 17:38:13,308 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]]
2009-06-16 17:38:13,308 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]]
2009-06-16 17:38:13,308 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/JavaDev/DeGroof/mule-2.2.1/lib/mule/mule-module-spring-config-2.2.1.jar!/default-mule-config.xml]]
2009-06-16 17:38:13,324 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean '_muleSystemModel': replacing [Root bean: class [org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose] with [Root bean: class [org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose]
2009-06-16 17:38:13,324 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:/C:/JavaDev/DeGroof/workspace/DeGroof/conf/DeGroof-config.xml]
2009-06-16 17:38:15,792 ERROR [org.mule.config.spring.SpringXmlConfigurationBuilder] - Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed.
org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.mulesource.org/schema/mule/ee/wmq/2.2]
Offending resource: URL [file:/C:/JavaDev/DeGroof/workspace/DeGroof/conf/DeGroof-config.xml]
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:76)
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:98)
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:69)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:112)
at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:58)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:177)
at org.mule.MuleServer.initialize(MuleServer.java:351)
at org.mule.MuleServer.run(MuleServer.java:257)
at org.mule.MuleServer.start(MuleServer.java:244)
at org.mule.module.boot.MuleServerWrapper.start(MuleServerWrapper.java:48)
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

_*And here my mule config file:*_

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:wmq="http://www.mulesource.org/schema/mule/ee/wmq/2.2"
xmlns:test="http://www.mulesource.org/schema/mule/test/2.2"

xsi:schemaLocation="
http://www.mulesource.org/schema/mule/test/2.2
http://www.mulesource.org/schema/mule/test/2.2/mule-test.xsd
http://www.mulesource.org/schema/mule/ee/wmq/2.2
http://www.mulesource.org/schema/mule/ee/wmq/2.2/mule-wmq-ee.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.mulesource.org/schema/mule/core/2.2
http://www.mulesource.org/schema/mule/core/2.2/mule.xsd">


<description>This mule config file allows the transport from MQ Message to XML files and vice-versa</description>


<wmq:connector
name="wmqConnector"
hostName="localhost"
port="1414"
queueManager="queue_manager.QMGR"
transportType="CLIENT_MQ_TCPIP"
specification="1.1"
disableTemporaryReplyToDestinations="true"
username=""
password=""
numberOfConsumers="1">
</wmq:connector>

Thanks in advance.

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

http://xircles.codehaus.org/manage_email


Andrew Perepelytsya

unread,
Jun 16, 2009, 11:57:16 AM6/16/09
to d...@mule.codehaus.org
This is an EE transport, you can download a trial from http://www.mulesource.com/download/

HTH,
Andrew

Michael Mathieu

unread,
Jun 17, 2009, 5:47:28 AM6/17/09
to d...@mule.codehaus.org
It's true... I didn't see that.


Could you provide me the price for a license (+/-) for the Mule ESB ?

Thank for your answer.

Andrew Perepelytsya

unread,
Jun 17, 2009, 9:29:45 AM6/17/09
to d...@mule.codehaus.org

You're better off dropping an email to sales, as it will differ based on the level, volume, training/quickstart program, etc.

HTH,
Andrew

On Jun 17, 2009 5:47 AM, "Michael Mathieu" <mule.de...@mulesource.com> wrote:

It's true... I didn't see that.


Could you provide me the price for a license (+/-) for the Mule ESB ?

Thank for your answer.

--------------------------------------------------------------------- To unsubscribe from this list...

Travis Carlson

unread,
Jun 17, 2009, 9:31:25 AM6/17/09
to d...@mule.codehaus.org
Hi, you can submit your info. here and our sales team will be happy to
provide you with a quote:

http://www.mulesource.com/buynow/

Denison Redeemer

unread,
Nov 30, 2011, 4:38:09 PM11/30/11
to d...@mule.codehaus.org
Hi,

We are using ee edition of Mule ESB, but still getting the Invalid content was found starting with element 'wmq:connector'.

Exception stack is:
1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'wmq:connector'. One of '{"http://www.mulesource.org/schema/mule/core/2.2":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.mulesource.org/schema/mule/core/2.2":global-property, "http://www.mulesource.org/schema/mule/core/2.2":configuration, "http://www.mulesource.org/schema/mule/core/2.2":notifications, "http://www.mulesource.org/schema/mule/core/2.2":abstract-extension, "http://www.mulesource.org/schema/mule/core/2.2":abstract-security-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transaction-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-connector, "http://www.mulesource.org/schema/mule/core/2.2":abstract-global-endpoint, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transformer, "http://www.mulesource.org/schema/mule/core/2.2":abstract-filter, "http://www.mulesource.org/schema/mule/core/2.2":abstract-model, "http://www.mulesource.org/schema/mule/core/2.2":abstract-interceptor-stack}' is expected. (org.xml.sax.SAXParseException)
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper:236 (null)
2. Line 25 in XML document from URL [file:/C:/EMBO_WKSPACE/EMB-1977/TestJB/conf/TestWMQConnect.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wmq:connector'. One of '{"http://www.mulesource.org/schema/mule/core/2.2":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.mulesource.org/schema/mule/core/2.2":global-property, "http://www.mulesource.org/schema/mule/core/2.2":configuration, "http://www.mulesource.org/schema/mule/core/2.2":notifications, "http://www.mulesource.org/schema/mule/core/2.2":abstract-extension, "http://www.mulesource.org/schema/mule/core/2.2":abstract-security-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transaction-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-connector, "http://www.mulesource.org/schema/mule/core/2.2":abstract-global-endpoint, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transformer, "http://www.mulesource.org/schema/mule/core/2.2":abstract-filter, "http://www.mulesource.org/schema/mule/core/2.2":abstract-model, "http://www.mulesource.org/schema/mule/core/2.2":abstract-interceptor-stack}' is expected. (org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader:404 (null)
3. Initialisation Failure: Line 25 in XML document from URL [file:/C:/EMBO_WKSPACE/EMB-1977/TestJB/conf/TestWMQConnect.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wmq:connector'. One of '{"http://www.mulesource.org/schema/mule/core/2.2":description, "http://www.springframework.org/schema/beans":beans, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/context":property-placeholder, "http://www.mulesource.org/schema/mule/core/2.2":global-property, "http://www.mulesource.org/schema/mule/core/2.2":configuration, "http://www.mulesource.org/schema/mule/core/2.2":notifications, "http://www.mulesource.org/schema/mule/core/2.2":abstract-extension, "http://www.mulesource.org/schema/mule/core/2.2":abstract-security-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transaction-manager, "http://www.mulesource.org/schema/mule/core/2.2":abstract-connector, "http://www.mulesource.org/schema/mule/core/2.2":abstract-global-endpoint, "http://www.mulesource.org/schema/mule/core/2.2":abstract-transformer, "http://www.mulesource.org/schema/mule/core/2.2":abstract-filter, "http://www.mulesource.org/schema/mule/core/2.2":abstract-model, "http://www.mulesource.org/schema/mule/core/2.2":abstract-interceptor-stack}' is expected. (org.mule.api.lifecycle.InitialisationException)
org.mule.registry.AbstractRegistry:76 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html)
********************************************************************************


Looks like all the XML namespaces are pointing correctly. Attached the configuration file. Are there any binaries to be added.

Any response on this will be more helpful.

Regards, Denison

wmq_test.xml

Mike Schilling

unread,
Nov 30, 2011, 8:32:54 PM11/30/11
to d...@mule.codehaus.org, Denison Redeemer
The simplest cause of this would be that the WMQ module isn't in the classpath.

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

    http://xircles.codehaus.org/manage_email

Reply all
Reply to author
Forward
0 new messages