java.lang.IllegalStateException: There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mulesoft.org by Unknown author, 1 year ago
There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
via Google Groups by Rune Peter Bjørnstad, 2 months ago
There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
via Google Groups by Mark Sullivan, 2 months ago
There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoin t using the 'connector' property/attribute
via Google Groups by NiHeitz, 2 months ago
There are at least 2 connectors matching protocol "jms", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
via Google Groups by vkamin, 3 months ago
via Google Groups by Pete, 2 months ago
There are at least 2 connectors matching protocol "jms", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
java.lang.IllegalStateException: There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
at org.mule.providers.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:443)
at org.mule.providers.service.TransportFactory.createEndpoint(TransportFactory.java:101)
at org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:598)
at org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:663)
at org.mule.impl.ImmutableMuleEndpoint.(ImmutableMuleEndpoint.java:234)
at org.mule.impl.endpoint.MuleEndpoint.(MuleEndpoint.java:73)
at org.mule.providers.soap.axis.extensions.UniversalSender.lookupEndpoint(UniversalSender.java:283)
at org.mule.providers.soap.axis.extensions.UniversalSender.invoke(UniversalSender.java:112)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.mule.providers.soap.axis.AxisMessageDispatcher.doDispatch(AxisMessageDispatcher.java:135)
at org.mule.providers.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:561)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1826)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:718)
at org.mule.impl.work.ScheduleWorkExecutor.doExecute(ScheduleWorkExecutor.java:39)
at org.mule.impl.work.MuleWorkManager.executeWork(MuleWorkManager.java:276)
at org.mule.impl.work.MuleWorkManager.scheduleWork(MuleWorkManager.java:243)
at org.mule.providers.AbstractMessageDispatcher.dispatch(AbstractMessageDispatcher.java:149)
at org.mule.providers.AbstractConnector.dispatch(AbstractConnector.java:1583)
at org.mule.impl.ImmutableMuleEndpoint.dispatch(ImmutableMuleEndpoint.java:929)
at org.mule.impl.MuleSession.dispatchEvent(MuleSession.java:259)
at org.mule.impl.MuleSession.dispatchEvent(MuleSession.java:162)
at org.mule.routing.outbound.AbstractOutboundRouter.dispatch(AbstractOutboundRouter.java:81)
at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:70)
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)
at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51)
at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86)
at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:581)
at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:322)
at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:251)
at org.mule.providers.file.FileMessageReceiver.processFile(FileMessageReceiver.java:242)
at org.mule.providers.file.FileMessageReceiver.poll(FileMessageReceiver.java:129)
at org.mule.providers.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.