org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap

MuleSoft JIRA | suresh aa | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Here is the basic problem, i have been using mu1e 1.3 rc 4 for a while now, i had a couple of endpoints using jdbc, axis connectors setup. I recently moved to mule 1.4.1, my endpoints using the axis connectors all worked, but the ones connecting using the jdbc connectors are all failing. 16:26:43,585 ERROR [MuleManagerComponent] Failed to process admin request: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:251) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:326) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:208) at org.mule.impl.MuleEventContext.sendEvent(MuleEventContext.java:247) at org.mule.impl.internal.admin.MuleManagerComponent.sendAction(MuleManagerComponent.java:175) at org.mule.impl.internal.admin.MuleManagerComponent.onCall(MuleManagerComponent.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.impl.model.resolvers.DynamicEntryPoint.invokeMethod(DynamicEntryPoint.java:313) at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:260) at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194) at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:257) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:408) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:418) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:348) at org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:197) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:163) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:268) at org.mule.providers.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:269) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:619) Caused by: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='endpoint.vm.getAllQuizzes', type='receiver', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:66) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:250) at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:105) at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:193) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223) ... 29 more Caused by: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: HashMap at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:75) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) ... 36 more Caused by: org.mule.umo.routing.CouldNotRouteOutboundMessageException: Failed to route event via endpoint: MuleEndpoint{connector=JdbcConnector{this=8fe392, started=true, initialised=true, name='jdbcConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jdbc], serviceOverrides={dispatcher.factory=org.mule.providers.jdbc.JdbcMessageDispatcherFactory}}, endpointUri=jdbc://getQuizzes, transformer=null, name='endpoint.jdbc.getQuizzes', type='senderAndReceiver', properties={BeanClassName=com.digilore.esb.model.Quiz}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:75) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:79) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:39) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) ... 37 more Caused by: org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=JdbcConnector{this=8fe392, started=true, initialised=true, name='jdbcConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jdbc], serviceOverrides={dispatcher.factory=org.mule.providers.jdbc.JdbcMessageDispatcherFactory}}, endpointUri=jdbc://getQuizzes, transformer=null, name='endpoint.jdbc.getQuizzes', type='senderAndReceiver', properties={BeanClassName=com.digilore.esb.model.Quiz}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:251) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:326) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:208) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:66) ... 41 more Caused by: java.lang.IllegalArgumentException: Write statement should be an insert / update / delete sql statement at org.mule.providers.jdbc.JdbcMessageDispatcher.doDispatch(JdbcMessageDispatcher.java:81) at org.mule.providers.jdbc.JdbcMessageDispatcher.doSend(JdbcMessageDispatcher.java:125) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223) ... 47 more Here is the what i configured <connector name="jdbcConnector" className="org.mule.providers.jdbc.JdbcConnector"> <properties> <property name="jndiInitialFactory" value="org.jnp.interfaces.NamingContextFactory" /> <property name="jndiProviderUrl" value="jnp://127.0.0.1:1099/" /> <property name="connectionFactoryJndiName" value="java:/ConnectionFactory" /> <property name="dataSourceJndiName" value="java:/JNDINAME" /> <map name="serviceOverrides"> <property name="dispatcher.factory" value="org.mule.providers.jdbc.JdbcMessageDispatcherFactory" /> </map> <map name="queries"> <property name="getQuizzes" value="SELECT id, name FROM Quiz" /> </map> </properties> </connector> <!-- global identifiers --> <endpoint-identifiers> <endpoint-identifier name="AllQuiz" value="vm://getAllQuizzes" /> </endpoint-identifiers> <transformers> <transformer name="ObjectToXml" className="org.mule.transformers.xml.ObjectToXml" returnClass="java.lang.String"> <properties> <map name="aliases"> <property name="item" value="com.digilore.esb.model.Quiz" /> </map> </properties> </transformer> </transformers> <mule-descriptor name="Quiz" implementation="org.mule.components.simple.BridgeComponent"> <inbound-router> <endpoint address="vm://Quiz1" /> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="jdbc://getQuizzes" synchronous="true" connector="jdbcConnector"> <properties> <property name="BeanClassName" value="com.digilore.esb.model.Quiz" /> </properties> </endpoint> </router> </outbound-router> </mule-descriptor> <mule-descriptor name="Quiz1" implementation="org.mule.components.simple.BridgeComponent"> <inbound-router> <endpoint address="vm://getAllQuizzes" responseTransformers="ObjectToXml" /> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="vm://Quiz1" /> </router> </outbound-router> </mule-descriptor> This used to be working on mule 1.3 rc 5, i did not change anything other than updating to latest mule instance 1.4.1. If you could send any help on this, it will be appreciated. It is not specific to the endpoint because all endpoints are failing. Ashwin

    MuleSoft JIRA | 10 years ago | suresh aa
    org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap
  2. 0

    Here is the basic problem, i have been using mu1e 1.3 rc 4 for a while now, i had a couple of endpoints using jdbc, axis connectors setup. I recently moved to mule 1.4.1, my endpoints using the axis connectors all worked, but the ones connecting using the jdbc connectors are all failing. 16:26:43,585 ERROR [MuleManagerComponent] Failed to process admin request: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:251) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:326) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:208) at org.mule.impl.MuleEventContext.sendEvent(MuleEventContext.java:247) at org.mule.impl.internal.admin.MuleManagerComponent.sendAction(MuleManagerComponent.java:175) at org.mule.impl.internal.admin.MuleManagerComponent.onCall(MuleManagerComponent.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.impl.model.resolvers.DynamicEntryPoint.invokeMethod(DynamicEntryPoint.java:313) at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:260) at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194) at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:257) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:408) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:418) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:348) at org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:197) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:163) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:268) at org.mule.providers.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:269) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:619) Caused by: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='endpoint.vm.getAllQuizzes', type='receiver', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:66) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:250) at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:105) at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:193) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223) ... 29 more Caused by: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: HashMap at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:75) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) ... 36 more Caused by: org.mule.umo.routing.CouldNotRouteOutboundMessageException: Failed to route event via endpoint: MuleEndpoint{connector=JdbcConnector{this=8fe392, started=true, initialised=true, name='jdbcConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jdbc], serviceOverrides={dispatcher.factory=org.mule.providers.jdbc.JdbcMessageDispatcherFactory}}, endpointUri=jdbc://getQuizzes, transformer=null, name='endpoint.jdbc.getQuizzes', type='senderAndReceiver', properties={BeanClassName=com.digilore.esb.model.Quiz}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:75) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:79) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:39) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) ... 37 more Caused by: org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=JdbcConnector{this=8fe392, started=true, initialised=true, name='jdbcConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jdbc], serviceOverrides={dispatcher.factory=org.mule.providers.jdbc.JdbcMessageDispatcherFactory}}, endpointUri=jdbc://getQuizzes, transformer=null, name='endpoint.jdbc.getQuizzes', type='senderAndReceiver', properties={BeanClassName=com.digilore.esb.model.Quiz}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: HashMap at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:251) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:326) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:208) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:66) ... 41 more Caused by: java.lang.IllegalArgumentException: Write statement should be an insert / update / delete sql statement at org.mule.providers.jdbc.JdbcMessageDispatcher.doDispatch(JdbcMessageDispatcher.java:81) at org.mule.providers.jdbc.JdbcMessageDispatcher.doSend(JdbcMessageDispatcher.java:125) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223) ... 47 more Here is the what i configured <connector name="jdbcConnector" className="org.mule.providers.jdbc.JdbcConnector"> <properties> <property name="jndiInitialFactory" value="org.jnp.interfaces.NamingContextFactory" /> <property name="jndiProviderUrl" value="jnp://127.0.0.1:1099/" /> <property name="connectionFactoryJndiName" value="java:/ConnectionFactory" /> <property name="dataSourceJndiName" value="java:/JNDINAME" /> <map name="serviceOverrides"> <property name="dispatcher.factory" value="org.mule.providers.jdbc.JdbcMessageDispatcherFactory" /> </map> <map name="queries"> <property name="getQuizzes" value="SELECT id, name FROM Quiz" /> </map> </properties> </connector> <!-- global identifiers --> <endpoint-identifiers> <endpoint-identifier name="AllQuiz" value="vm://getAllQuizzes" /> </endpoint-identifiers> <transformers> <transformer name="ObjectToXml" className="org.mule.transformers.xml.ObjectToXml" returnClass="java.lang.String"> <properties> <map name="aliases"> <property name="item" value="com.digilore.esb.model.Quiz" /> </map> </properties> </transformer> </transformers> <mule-descriptor name="Quiz" implementation="org.mule.components.simple.BridgeComponent"> <inbound-router> <endpoint address="vm://Quiz1" /> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="jdbc://getQuizzes" synchronous="true" connector="jdbcConnector"> <properties> <property name="BeanClassName" value="com.digilore.esb.model.Quiz" /> </properties> </endpoint> </router> </outbound-router> </mule-descriptor> <mule-descriptor name="Quiz1" implementation="org.mule.components.simple.BridgeComponent"> <inbound-router> <endpoint address="vm://getAllQuizzes" responseTransformers="ObjectToXml" /> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="vm://Quiz1" /> </router> </outbound-router> </mule-descriptor> This used to be working on mule 1.3 rc 5, i did not change anything other than updating to latest mule instance 1.4.1. If you could send any help on this, it will be appreciated. It is not specific to the endpoint because all endpoints are failing. Ashwin

    MuleSoft JIRA | 10 years ago | suresh aa
    org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=VMConnector{this=b24759, started=true, initialised=true, name='connector.VM.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[vm], serviceOverrides=null}, endpointUri=vm://getAllQuizzes, transformer=null, name='AllQuizzes', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=true, initialState=started, createConnector=0, remoteSync=true, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: HashMap
  3. 0

    Universal Image Loader : IllegalArgumentException when using FileNameGenerator with extension

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: keys must match regex [a-z0-9_-] {1,64}: "1828294.jpg" at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.valida teKey(DiskLruCache.java:697) at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.get(Di skLruCache.java:414) at com.nostra13.universalimageloader.cache.disc.impl.ext.LruDiscCache.get(Lr uDiscCache.java:133) at com.nostra13.universalimageloader.core.ImageLoaderEngine$1.run(ImageLoade rEngine.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java :1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav a:587)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [elasticsearch] elasticsearch couchdb-river startup issues - Grokbase

    grokbase.com | 9 months ago
    java.lang.IllegalArgumentException: URI can't be null. at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:141) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:925) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299) at org.elasticsearch.river.couchdb.CouchdbRiver$Slurper.run(CouchdbRiver.java:468)
  6. 0

    java.lang.IllegalArgumentException: argument type mismatch... WHEN DEPLOYING SIMPLE Service Assembly with servicemix-bean

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: argument type mismatch</loc-message> <stack-trace></stack-trace> </msg-loc-info> </exception-info> </task-result-details> </component-task-result-details> </component-task-result> at org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)[93:servicemix-common:2011.01.0.fuse-03-01] at org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)[93:servicemix-common:2011.01.0.fuse-03-01] at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:118)[93:servicemix-common:2011.01.0.fuse-03-01] at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[93:servicemix-common:2011.01.0.fuse-03-01] at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[93:servicemix-common:2011.01.0.fuse-03-01] at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[96:org.apache.servicemix.jbi.deployer:1.4.0.fuse-03-01] at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[96:org.apache.servicemix.jbi.deployer:1.4.0.fuse-03-01] at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[96:org.apache.servicemix.jbi.deployer:1.4.0.fuse-03-01] at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)[96:org.apache.servicemix.jbi.deployer:1.4.0.fuse-03-01] at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)[96:org.apache.servicemix.jbi.deployer:1.4.0.fuse-03-01] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1349)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:380)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)[osgi-3.6.0.v20100517.jar:] at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276)[osgi-3.6.0.v20100517.jar:] at org.apache.karaf.shell.osgi.RestartBundle.doExecute(RestartBundle.java:32)[27:org.apache.karaf.shell.osgi:2.1.6.fuse-01-01] at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)[27:org.apache.karaf.shell.osgi:2.1.6.fuse-01-01] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01] at org.apache.karaf.shell.console.jline.Console.run(Console.java:170)[14:org.apache.karaf.shell.console:2.1.6.fuse-01-01]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Write statement should be an insert / update / delete sql statement

      at org.mule.providers.jdbc.JdbcMessageDispatcher.doDispatch()
    2. org.mule.providers
      AbstractConnector.send
      1. org.mule.providers.jdbc.JdbcMessageDispatcher.doDispatch(JdbcMessageDispatcher.java:81)
      2. org.mule.providers.jdbc.JdbcMessageDispatcher.doSend(JdbcMessageDispatcher.java:125)
      3. org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223)
      4. org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604)
      4 frames
    3. org.mule.impl
      MuleSession.sendEvent
      1. org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920)
      2. org.mule.impl.MuleSession.sendEvent(MuleSession.java:326)
      3. org.mule.impl.MuleSession.sendEvent(MuleSession.java:208)
      3 frames
    4. Mule Core
      OutboundRouterCollection.route
      1. org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121)
      2. org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:66)
      3. org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:79)
      4. org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66)
      5. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:39)
      6. org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71)
      6 frames
    5. org.mule.routing
      InboundRouterCollection.route
      1. org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51)
      2. org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86)
      2 frames
    6. org.mule.providers
      AbstractConnector.send
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:250)
      4. org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:105)
      5. org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:193)
      6. org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:223)
      7. org.mule.providers.AbstractConnector.send(AbstractConnector.java:1604)
      7 frames
    7. org.mule.impl
      MuleManagerComponent.onCall
      1. org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920)
      2. org.mule.impl.MuleSession.sendEvent(MuleSession.java:326)
      3. org.mule.impl.MuleSession.sendEvent(MuleSession.java:208)
      4. org.mule.impl.MuleEventContext.sendEvent(MuleEventContext.java:247)
      5. org.mule.impl.internal.admin.MuleManagerComponent.sendAction(MuleManagerComponent.java:175)
      6. org.mule.impl.internal.admin.MuleManagerComponent.onCall(MuleManagerComponent.java:95)
      6 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. Annotations
      DynamicEntryPoint.invoke
      1. org.mule.impl.model.resolvers.DynamicEntryPoint.invokeMethod(DynamicEntryPoint.java:313)
      2. org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:260)
      2 frames
    10. org.mule.impl
      MuleSession.sendEvent
      1. org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194)
      2. org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
      3. org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:257)
      4. org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:408)
      5. org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:418)
      6. org.mule.impl.MuleSession.sendEvent(MuleSession.java:348)
      6 frames
    11. org.mule.routing
      InboundRouterCollection.route
      1. org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:197)
      2. org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:163)
      2 frames
    12. org.mule.providers
      HttpMessageReceiver$HttpWorker.run
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:573)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:315)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:268)
      4. org.mule.providers.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:269)
      4 frames
    13. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
      1 frame
    14. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      2 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame