org.mule.config.ConfigurationException: Failed to invoke lifecycle phase "start" on object: Mule

MuleSoft JIRA | Andrew Perepelytsya | 9 years ago
  1. 0

    Fails at the moment with {panel} ================================================================================ = Testing: round trip (org.mule.providers.email.EmailRoundTripTestCase) = ================================================================================ org.mule.config.ConfigurationException: Failed to invoke lifecycle phase "start" on object: Mule at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:158) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:79) at org.mule.tck.FunctionalTestCase.createManagementContext(FunctionalTestCase.java:51) at org.mule.tck.AbstractMuleTestCase.setUp(AbstractMuleTestCase.java:272) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:208) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:178) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Caused by: org.mule.umo.lifecycle.LifecycleException: Failed to invoke lifecycle phase "start" on object: org.mule.impl.model.seda.SedaModel@cc7439 at org.mule.impl.lifecycle.LifecyclePhase.applyLifecycle(LifecyclePhase.java:249) at org.mule.impl.lifecycle.LifecyclePhase.fireLifecycle(LifecyclePhase.java:110) at org.mule.impl.lifecycle.GenericLifecycleManager.firePhase(GenericLifecycleManager.java:82) at org.mule.impl.ManagementContext.start(ManagementContext.java:232) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:149) ... 23 more Caused by: org.mule.umo.model.ModelException: Failed to connect listener RetrieveMessageReceiver{this=8390b0, receiverKey=bob@localhost:62002, endpoint=pop3://bob:secret@localhost:62002} for endpoint endpoint.pop3.bob.localhost.62002 at org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:685) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:285) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:264) at org.mule.impl.model.AbstractModel.startComponent(AbstractModel.java:365) at org.mule.impl.model.AbstractModel.start(AbstractModel.java:330) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.mule.impl.lifecycle.LifecyclePhase.applyLifecycle(LifecyclePhase.java:245) ... 27 more Caused by: org.mule.providers.FatalConnectException: ReconnectStrategy "org.mule.providers.SingleAttemptConnectionStrategy" failed to reconnect receiver on endpoint "pop3://bob:secret@localhost:62002" at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:29) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:100) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:441) at org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:681) ... 36 more Caused by: org.mule.providers.ConnectException: Initialisation Failure: Connect failed at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:473) at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:25) ... 39 more Caused by: javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148) at javax.mail.Service.connect(Service.java:275) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at org.mule.providers.email.RetrieveMessageReceiver.doConnect(RetrieveMessageReceiver.java:83) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:452) ... 40 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:464) at java.net.Socket.connect(Socket.java:414) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81) at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201) at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144) ... 45 more Process finished with exit code -1 {panel}

    MuleSoft JIRA | 9 years ago | Andrew Perepelytsya
    org.mule.config.ConfigurationException: Failed to invoke lifecycle phase "start" on object: Mule
  2. 0

    Exception in thread "main" javax.mail.NoSuchProviderException: invalid prov

    Oracle Community | 10 years ago | 843830
    javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect
  3. 0

    Reading Java Mail

    Coderanch | 5 years ago | Rohit Kedia
    javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Access gmail

    Oracle Community | 9 years ago | 843834
    javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection timed out: connect
  6. 0

    Oracle Messaging Gateway connectivity to IBM MQ | Oracle Community

    oracle.com | 1 year ago
    com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2059'.

  1. treefolk 1 times, last 1 week ago
  2. kjhdofjosvs 20 times, last 1 week ago
  3. Andreas Häber 9 times, last 2 weeks ago
  4. Aria Pahlavan 2 times, last 2 weeks ago
  5. stigkj 10 times, last 2 weeks ago
44 more registered users
51 unregistered visitors
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.net.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:464)
    6. java.net.Socket.connect(Socket.java:414)
    6 frames
  3. JavaMail API (compat)
    POP3Store.protocolConnect
    1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
    2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
    3. com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)
    4. com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
    5. com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
    6. com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
    6 frames
  4. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:275)
    2. javax.mail.Service.connect(Service.java:156)
    3. javax.mail.Service.connect(Service.java:105)
    3 frames
  5. org.mule.providers
    AbstractMessageReceiver.connect
    1. org.mule.providers.email.RetrieveMessageReceiver.doConnect(RetrieveMessageReceiver.java:83)
    2. org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:452)
    3. org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:473)
    4. org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:25)
    5. org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:29)
    6. org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:100)
    7. org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:441)
    7 frames
  6. org.mule.impl
    AbstractModel.start
    1. org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:681)
    2. org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:685)
    3. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:285)
    4. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:264)
    5. org.mule.impl.model.AbstractModel.startComponent(AbstractModel.java:365)
    6. org.mule.impl.model.AbstractModel.start(AbstractModel.java:330)
    6 frames
  7. Java RT
    DelegatingMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3 frames
  8. org.mule.impl
    ManagementContext.start
    1. org.mule.impl.lifecycle.LifecyclePhase.applyLifecycle(LifecyclePhase.java:245)
    2. org.mule.impl.lifecycle.LifecyclePhase.applyLifecycle(LifecyclePhase.java:249)
    3. org.mule.impl.lifecycle.LifecyclePhase.fireLifecycle(LifecyclePhase.java:110)
    4. org.mule.impl.lifecycle.GenericLifecycleManager.firePhase(GenericLifecycleManager.java:82)
    5. org.mule.impl.ManagementContext.start(ManagementContext.java:232)
    5 frames
  9. Mule Core
    MuleXmlConfigurationBuilder.configure
    1. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:149)
    2. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:158)
    3. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:79)
    3 frames
  10. Mule Functional Test Framework (TCK)
    AbstractMuleTestCase.run
    1. org.mule.tck.FunctionalTestCase.createManagementContext(FunctionalTestCase.java:51)
    2. org.mule.tck.AbstractMuleTestCase.setUp(AbstractMuleTestCase.java:272)
    3. org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:208)
    4. org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:178)
    4 frames
  11. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
    1 frame
  12. Java RT
    DelegatingMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3 frames
  13. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
    1 frame