2016-07-28 8 views
0

mule API 게이트웨이를 사용 중입니다. 패키지를 배포했습니다. 그러나 API 게이트웨이에서 그 org.mule.module.launcher.DeploymentInitException : SAXParseException : 파일의 조기 끝.org.mule.module.launcher.DeploymentInitException : SAXParseException : 파일 끝이 조기에 끝났습니다

버전 1.3.0 및 3.8.0에서 사용해 보았습니다. 두 경우 모두 같은 오류가 발생했습니다.

도와주세요.

파일 :

<http:connector name="httpConnector" /> 

<esper:config name="esperModule" configuration="esper-config.xml" /> 

<mxml:dom-to-xml-transformer name="domToXmlTransformer" /> 

<flow name="websocket-esper-bridge"> 
    <http:inbound-endpoint address="niohttp://localhost:8080/websocket/events" 
     exchange-pattern="one-way"> 
     <http:websocket path="events" /> 
    </http:inbound-endpoint> 
    <custom-processor 
     class="com.mulesoft.demo.mule.websocket.EsperWebSocketUpdateListener"> 
     <spring:property name="esperModule" ref="esperModule" /> 
     <spring:property name="httpConnector" ref="httpConnector" /> 
     <spring:property name="domToXmlTransformer" ref="domToXmlTransformer" /> 
    </custom-processor> 
</flow> 

<flow name="signupEventsGenerator"> 
    <poll frequency="3000"> 
     <set-payload value="&lt;signup id='fake' /&gt;"/> 
    </poll> 

    <mxml:xml-to-dom-transformer returnClass="org.w3c.dom.Document" /> 
    <esper:send eventName="SignupEvent" eventPayload-ref="#[message.payload]" /> 
</flow> 

답변

0

이 3.8.0로 현재 알려진 문제입니다. 이 오류는 설명 적이 지 않지만 구성 요소에 대한 스키마 선언이 누락되었다는 것을 의미합니다. 전체 XML 파일 내용을 게시 할 수 있습니까? 아마도 http, esper, mxml과 같이 사용중인 것일 것입니다. HTH

+0
+0

xsi : schemaLocation =" http : //www.mulesoft. org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/nio-http http : // www.mulesoft.org/schema/mule/nio-http/current/mule-nio-http.xsd http://www.mulesoft.org/schem a/mule/xml http://www.mulesoft.org/schema/mule/xml/3.3/mule-xml.xsd http://www.mulesoft.org/schema/mule/esper http : // www. mulesoft.org/schema/mule/esper/current/mule-esper.xsd – Nagaraj

+0

http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd "> – Nagaraj