Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    If you're using wiremock, configure your code to accept wiremock self-signed certificate or create a keystore and certificate that are trusted by your HTTP client and configure wiremock to use that

  2. ,
    via Stack Overflow by carlos

    Set the mail.smtp.ssl.trust system property to an smtp host, like smtp.gmail.com.

Solutions on the web

via GitHub by heikofriedrich
, 1 year ago
Could not connect to broker URL: ssl://www.matchat.org:61616. Reason: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via GitHub by fkleedorfer
, 1 year ago
Could not connect to broker URL: ssl://www.matchat.org:61617. Reason: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
via GitHub by m0ru
, 1 year ago
Could not connect to broker URL: ssl://satsrv04.researchstudio.at:61617. Reason: java.net.ConnectException: Connection refused: connect
via Stack Overflow by Unknown author, 2 years ago
Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused
via GitHub by jecollins
, 1 year ago
Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused
via nabble.com by Unknown author, 2 years ago
Could not connect to broker URL: tcp://0.0.0.0:61616. Reason: java.net.ConnectException: Connection refused: connect
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)	at sun.security.validator.Validator.validate(Validator.java:260)	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)	at won.cryptography.ssl.TrustManagerWrapperWithTrustService.checkServerTrusted(TrustManagerWrapperWithTrustService.java:55)	at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:922)	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)	at org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:115)	at java.io.DataOutputStream.flush(DataOutputStream.java:123)	at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:176)	at org.apache.activemq.transport.AbstractInactivityMonitor.doOnewaySend(AbstractInactivityMonitor.java:322)	at org.apache.activemq.transport.AbstractInactivityMonitor.oneway(AbstractInactivityMonitor.java:304)	at org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:168)	at org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:84)	at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:74)	at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)	at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:273)	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:238)	at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:184)	at org.springframework.jms.connection.SingleConnectionFactory.doCreateConnection(SingleConnectionFactory.java:351)	at org.springframework.jms.connection.SingleConnectionFactory.initConnection(SingleConnectionFactory.java:295)	at org.springframework.jms.connection.SingleConnectionFactory.createConnection(SingleConnectionFactory.java:227)	at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)	at org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:413)	at org.springframework.jms.listener.AbstractJmsListeningContainer.establishSharedConnection(AbstractJmsListeningContainer.java:381)	at org.springframework.jms.listener.DefaultMessageListenerContainer.establishSharedConnection(DefaultMessageListenerContainer.java:786)	at org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:285)	at org.springframework.jms.listener.AbstractJmsListeningContainer.start(AbstractJmsListeningContainer.java:270)	at org.springframework.jms.listener.DefaultMessageListenerContainer.start(DefaultMessageListenerContainer.java:587)	at org.apache.camel.component.jms.reply.ReplyManagerSupport.doStart(ReplyManagerSupport.java:229)	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:65)	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:54)	at org.apache.camel.component.jms.JmsProducer.createReplyManager(JmsProducer.java:516)	at org.apache.camel.component.jms.JmsProducer.initReplyManager(JmsProducer.java:103)	at org.apache.camel.component.jms.JmsProducer.processInOut(JmsProducer.java:177)	at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:142)	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:573)	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:506)	at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:215)	at org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:153)	at org.apache.camel.processor.RecipientList.process(RecipientList.java:112)	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:103)	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)	at org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:291)	at org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:200)	at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:147)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)