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 | 2 months ago
  1. 0

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

    mulesoft.org | 2 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
  2. 0

    Mule throws the following exception when two connectors with the same protocols are defined. java.lang.IllegalStateException: There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute at org.mule.transport.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:168) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:552) at org.mule.endpoint.AbstractEndpointBuilder.getDefaultConnector(AbstractEndpointBuilder.java:275) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:270) at org.mule.endpoint.AbstractEndpointBuilder.doBuildOutboundEndpoint(AbstractEndpointBuilder.java:188) at org.mule.endpoint.AbstractEndpointBuilder.buildOutboundEndpoint(AbstractEndpointBuilder.java:95) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:86) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:62) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpointFromString(AbstractRecipientList.java:184) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpoint(AbstractRecipientList.java:143) at org.mule.routing.outbound.AbstractRecipientList.route(AbstractRecipientList.java:87) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69) at org.mule.service.AbstractService.dispatchToOutboundRouter(AbstractService.java:883) at org.mule.model.seda.SedaService.dispatchToOutboundRouter(SedaService.java:514) at org.mule.model.seda.SedaService$ComponentStageWorker.run(SedaService.java:537) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) I DID define the connector explicitly on the endpoint (see configuration).

    MuleSoft JIRA | 8 years ago | Gilles Gosuin
    java.lang.IllegalStateException: There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
  3. 0

    Mule - User - java.lang.IllegalStateException: There are at least 2 connectors matching protocol "jms"

    nabble.com | 8 months ago
    org.mule.umo.ComponentException: Failed to invoke esb.common.component.DispatchUMO. Component that caused exception is: Dispatch. Message payload is of type: TextMessageImpl at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:200)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule throws the following exception when two connectors with the same protocols are defined. java.lang.IllegalStateException: There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute at org.mule.transport.service.TransportFactory.getConnectorByProtocol(TransportFactory.java:168) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:552) at org.mule.endpoint.AbstractEndpointBuilder.getDefaultConnector(AbstractEndpointBuilder.java:275) at org.mule.endpoint.AbstractEndpointBuilder.getConnector(AbstractEndpointBuilder.java:270) at org.mule.endpoint.AbstractEndpointBuilder.doBuildOutboundEndpoint(AbstractEndpointBuilder.java:188) at org.mule.endpoint.AbstractEndpointBuilder.buildOutboundEndpoint(AbstractEndpointBuilder.java:95) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:86) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:62) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpointFromString(AbstractRecipientList.java:184) at org.mule.routing.outbound.AbstractRecipientList.getRecipientEndpoint(AbstractRecipientList.java:143) at org.mule.routing.outbound.AbstractRecipientList.route(AbstractRecipientList.java:87) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69) at org.mule.service.AbstractService.dispatchToOutboundRouter(AbstractService.java:883) at org.mule.model.seda.SedaService.dispatchToOutboundRouter(SedaService.java:514) at org.mule.model.seda.SedaService$ComponentStageWorker.run(SedaService.java:537) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) I DID define the connector explicitly on the endpoint (see configuration).

    MuleSoft JIRA | 8 years ago | Gilles Gosuin
    java.lang.IllegalStateException: There are at least 2 connectors matching protocol "tcp", so the connector to use must be specified on the endpoint using the 'connector' property/attribute
  6. 0

    Error gotten when deploying an app with 2 Twitters and HTTP endpoints - 2 connectors matching protocol "http"

    GitHub | 5 years ago | ealdinio
    org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'Public Timeline': Cannot create inner bean '(inner bean)' of type [org.mule.config.spring.factories.InboundEndpointFactoryBean] while setting bean property 'messageSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation; nested exception is org.mule.transport.service.TransportFactoryException: 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. Connectors in your configuration that support "http" are: TwitterIBean.http, connector.http.mule.default, (java.lang.IllegalStateException)

    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.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