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
      ImmutableMuleEndpoint.<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)
      3 frames