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

mulesoft.org | 4 months 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

    [MULE-3142] Multiple Connectors complain about specifying explicit connector on endpoint - JIRA

    mulesoft.org | 4 months ago
    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

    Root Cause Analysis

    1. 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()
    2. org.mule.providers
      TransportFactory.createEndpoint
      1. org.mule.providers.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:443)
      2. org.mule.providers.service.TransportFactory.createEndpoint(TransportFactory.java:101)
      2 frames
    3. org.mule.impl
      MuleEndpoint.<init>
      1. org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:598)
      2. org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:663)
      3. org.mule.impl.ImmutableMuleEndpoint.<init>(ImmutableMuleEndpoint.java:234)
      4. org.mule.impl.endpoint.MuleEndpoint.<init>(MuleEndpoint.java:73)
      4 frames
    4. org.mule.providers
      UniversalSender.invoke
      1. org.mule.providers.soap.axis.extensions.UniversalSender.lookupEndpoint(UniversalSender.java:283)
      2. org.mule.providers.soap.axis.extensions.UniversalSender.invoke(UniversalSender.java:112)
      2 frames
    5. Axis Web Services
      Call.invoke
      1. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      2. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      3. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      4. org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      5. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      6. org.apache.axis.client.Call.invoke(Call.java:2767)
      7. org.apache.axis.client.Call.invoke(Call.java:2443)
      8. org.apache.axis.client.Call.invoke(Call.java:2366)
      9. org.apache.axis.client.Call.invoke(Call.java:1812)
      9 frames
    6. org.mule.providers
      AbstractMessageDispatcher$Worker.run
      1. org.mule.providers.soap.axis.AxisMessageDispatcher.doDispatch(AxisMessageDispatcher.java:135)
      2. org.mule.providers.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:561)
      2 frames
    7. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
      1 frame
    8. Backport of JSR 166
      ThreadPoolExecutor.execute
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1826)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:718)
      3. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1210)
      3 frames
    9. org.mule.impl
      MuleWorkManager.scheduleWork
      1. org.mule.impl.work.ScheduleWorkExecutor.doExecute(ScheduleWorkExecutor.java:39)
      2. org.mule.impl.work.MuleWorkManager.executeWork(MuleWorkManager.java:276)
      3. org.mule.impl.work.MuleWorkManager.scheduleWork(MuleWorkManager.java:243)
      3 frames
    10. org.mule.providers
      AbstractConnector.dispatch
      1. org.mule.providers.AbstractMessageDispatcher.dispatch(AbstractMessageDispatcher.java:149)
      2. org.mule.providers.AbstractConnector.dispatch(AbstractConnector.java:1583)
      2 frames
    11. org.mule.impl
      MuleSession.dispatchEvent
      1. org.mule.impl.ImmutableMuleEndpoint.dispatch(ImmutableMuleEndpoint.java:929)
      2. org.mule.impl.MuleSession.dispatchEvent(MuleSession.java:259)
      3. org.mule.impl.MuleSession.dispatchEvent(MuleSession.java:162)
      3 frames
    12. Mule Core
      OutboundRouterCollection.route
      1. org.mule.routing.outbound.AbstractOutboundRouter.dispatch(AbstractOutboundRouter.java:81)
      2. org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:70)
      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
    13. 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
    14. org.mule.providers
      PollingReceiverWorker.run
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:581)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:322)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:251)
      4. org.mule.providers.file.FileMessageReceiver.processFile(FileMessageReceiver.java:242)
      5. org.mule.providers.file.FileMessageReceiver.poll(FileMessageReceiver.java:129)
      6. org.mule.providers.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
      6 frames
    15. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
      1 frame
    16. 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
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame