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

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  3. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.IllegalStateException: Application was not properly initialize d at startup, could not find Factory: javax.faces.application.ApplicationFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.jav a:894) [jsf-api.jar:] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319) [jsf-api .jar:] at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext .java:112) [jsf-impl.jar:] at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList ener.java:325) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext .java:3465) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:39 70) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 888) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]
  6. 0

    incorporating ldap plugin with grails application

    Stack Overflow | 3 years ago | paul
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

    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