Note that there are some explanatory texts on larger screens.

plurals
  1. POMule jdbc connector xml parsing
    primarykey
    data
    text
    <p>I'm having problems to add a JDBC endpoint to my Mule project but I'm having problems during the initialization due to some XML parsing problems. The problems started after I've added the JDBC endpoints.</p> <pre><code>Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jdbc:inbound-endpoint'. 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. </code></pre> <p>I've been following this guide <a href="http://www.mulesoft.org/documentation/display/MULE2USER/JDBC+Transport#JDBCTransport-ConfigurationReference" rel="nofollow">http://www.mulesoft.org/documentation/display/MULE2USER/JDBC+Transport#JDBCTransport-ConfigurationReference</a></p> <p>The Mule JDBC namespace have been added to my xml definition.</p> <p>Any idea?</p> <p>Check a piece of my configuration file:</p> <pre><code>&lt;mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jms="http://www.mulesource.org/schema/mule/jms/2.2" xmlns:xm="http://www.mulesource.org/schema/mule/xml/2.2" xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2" xmlns:jdbc="http://www.mulesource.org/schema/mule/jdbc/2.2" xmlns:file="http://www.mulesource.org/schema/mule/file/2.2" xsi:schemaLocation=" http://www.mulesource.org/schema/mule/jdbc/2.2 http://www.mulesource.org/schema/mule/jdbc/2.2/mule-jdbc.xsd http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd http://www.mulesource.org/schema/mule/jms/2.2 http://www.mulesource.org/schema/mule/jms/2.2/mule-jms.xsd http://www.mulesource.org/schema/mule/vm/2.2 http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd http://www.mulesource.org/schema/mule/file/2.2 http://www.mulesource.org/schema/mule/file/2.2/mule-file.xsd http://www.mulesource.org/schema/mule/xml/2.2 http://www.mulesource.org/schema/mule/xml/2.2/mule-xml.xsd"&gt; &lt;!-- Endpoints --&gt; &lt;jdbc:inbound-endpoint name="jdbcKapitalCommandIn" connector-ref="jdbcConnector" queryKey="queryKapitalProcessControl" pollingFrequency="10000" synchronous="true"&gt; &lt;/jdbc:inbound-endpoint&gt; &lt;jdbc:outbound-endpoint name="jdbcKapitalCommandOut" connector-ref="jdbcConnector" queryKey="updateKapitalProcessControl" synchronous="true"&gt; &lt;/jdbc:outbound-endpoint&gt; &lt;file:endpoint name="kapitalErrorBackup" path="${APPS_HOME}/lbo-esb/files/kapital/error" outputPattern="#[DATE:yyyy-MM-dd_HH-mm-ss]_error.txt"&gt; &lt;/file:endpoint&gt; &lt;file:endpoint name="kapitalInputBackup" path="${APPS_HOME}/lbo-esb/files/kapital/backup" outputPattern="#[DATE:yyyy-MM-dd_HH-mm-ss]_kapital-command.xml"&gt; &lt;/file:endpoint&gt; &lt;file:endpoint name="kapitalInvalidSchemaBackup" path="${APPS_HOME}/lbo-esb/files/kapital/error" outputPattern="#[DATE:yyyy-MM-dd_HH-mm-ss]_inv_schema.xml"&gt; &lt;/file:endpoint&gt; &lt;!-- Kapital --&gt; &lt;vm:endpoint name="kapitalTransactionInput" path="kapital.transaction.input"&gt; &lt;/vm:endpoint&gt; &lt;vm:endpoint name="kapitalError" path="kapital.error.input"&gt; &lt;/vm:endpoint&gt; &lt;model name="KapitalServices"&gt; &lt;default-service-exception-strategy&gt; &lt;outbound-endpoint ref="kapitalError"&gt; &lt;/outbound-endpoint&gt; &lt;/default-service-exception-strategy&gt; &lt;service name="kapitalService"&gt; &lt;inbound&gt; &lt;inbound-endpoint ref="jdbcKapitalCommandIn"&gt; &lt;/inbound-endpoint&gt; &lt;/inbound&gt; &lt;echo-component /&gt; &lt;!-- more stuff from here --&gt; &lt;/service&gt; &lt;/model&gt; &lt;!-- more stuff from here --&gt; &lt;/mule&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload