Unable to locate NamespaceHandler error in runing jdbc example

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

Unable to locate NamespaceHandler error in runing jdbc example

by sige :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I got an " Unable to locate NamespaceHandler" when runing the jdbc example  in the muleesb-enterprise-standalone-installer-2.1.1, the error message is:

[11-21 11:43:11] ERROR AbstractConfigurationBuilder [WrapperListener_start_runner]: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed.
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.mulesource.org/schema/mule/core/2.1]
Offending resource: URL [file:/usr/local/mule/mule_ee/examples/jdbc/conf/jdbc-datasource.xml]
        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)
......
* A Fatal error has occurred while the server was running:                     *
* Configuration problem: Unable to locate NamespaceHandler for namespace       *
* [http://www.mulesource.org/schema/mule/core/2.1]                             *
* Offending resource: URL                                                      *
* [file:/usr/local/mule/mule_ee/examples/jdbc/conf/jdbc-datasource.xml]        *
* (org.springframework.beans.factory.parsing.BeanDefinitionParsingException)   *
*                                                                              *
* The error is fatal, the system must shutdown                                 *

It seems that is not related to specific database connection problem, and I have not modified the file: jdbc-datasource.xml. Has anybody had this problem and any idea?
Thanks.
Sige

Re: Unable to locate NamespaceHandler error in runing jdbc example

by Daniel Feist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is mule-module-spring-config on your classpath?

Dan
On Nov 20, 2008, at 8:53 PM, sige wrote:

>
> Hi
> I got an " Unable to locate NamespaceHandler" when runing the jdbc  
> example
> in the muleesb-enterprise-standalone-installer-2.1.1, the error  
> message is:
>
> [11-21 11:43:11] ERROR AbstractConfigurationBuilder
> [WrapperListener_start_runner]: Configuration with
> "org.mule.config.spring.SpringXmlConfigurationBuilder" failed.
> org
> .springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Unable to locate NamespaceHandler for namespace
> [http://www.mulesource.org/schema/mule/core/2.1]
> Offending resource: URL
> [file:/usr/local/mule/mule_ee/examples/jdbc/conf/jdbc-datasource.xml]
>        at
> org
> .springframework
> .beans
> .factory
> .parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:
> 68)
>        at
> org
> .springframework
> .beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>        at
> org
> .springframework
> .beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)
> ......
> * A Fatal error has occurred while the server was running:
> *
> * Configuration problem: Unable to locate NamespaceHandler for  
> namespace
> *
> * [http://www.mulesource.org/schema/mule/core/2.1]
> *
> * Offending resource: URL
> *
> * [file:/usr/local/mule/mule_ee/examples/jdbc/conf/jdbc-
> datasource.xml]
> *
> *  
> (org
> .springframework.beans.factory.parsing.BeanDefinitionParsingException)
> *
> *
> *
> * The error is fatal, the system must shutdown
> *
>
> It seems that is not related to specific database connection  
> problem, and I
> have not modified the file: jdbc-datasource.xml. Has anybody had this
> problem and any idea?
> Thanks.
> Sige
> --
> View this message in context: http://www.nabble.com/Unable-to-locate-NamespaceHandler-error-in-runing-jdbc-example-tp20611789p20611789.html
> Sent from the Mule - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


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

    http://xircles.codehaus.org/manage_email



Re: Unable to locate NamespaceHandler error in runing jdbc example

by sige :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks. It is because my MULE_HOME is pointing to mule-2.0 while the example is 2.1. But I am still have problem loading the csv data into the tables, there may be  is a type mismatch (i uses postgres which has a strict type requirement), the jdbc report works fine.
Sige


Daniel Feist wrote:
Is mule-module-spring-config on your classpath?

Dan
On Nov 20, 2008, at 8:53 PM, sige wrote: