0
我創建DB德比和後續的錯誤返回瀏覽連接:MULE連接德比錯誤
ERROR 2016-03-01 23:20:31,168
[[fiapacessobancodedados].HTTP_Listener_Configuration.worker.01]
org.mule.exception.DefaultMessagingExceptionStrategy:
Message : null (java.lang.NullPointerException). Message payload is of type: NullPayload
Type : org.mule.api.MessagingException
Code : MULE_ERROR--2
JavaDoc :
Payload : {NullPayload}
的XML如下:
<spring:beans>
<spring:bean id="Bean" name="Bean" class="fiapacessobancodedados.ConexaoDerby"/>
</spring:beans>
<db:derby-config name="Derby_Configuration" url="jdbc:derby://localhost:1527/SOAFiap;username=Fiap;password=Fiap" doc:name="Derby Configuration"/>
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>
<flow name="fiapacessobancodedadosFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/>
<db:insert config-ref="Derby_Configuration" doc:name="Database">
<db:parameterized-query><![CDATA[INSERT INTO FIAP.ALUNO (CODIGO, NOME_ALUNO)
VALUES (5, 'Igor Koba')]]></db:parameterized-query>
</db:insert>
<json:object-to-json-transformer doc:name="Object to JSON"/>
</flow>
FIAPéNOIS! kkk – jhonatan2760