I have an issue using AMQ 5.3 + Camel 2.1  (with Camel 2.0 too),

i add thiss route:

        <route>
          <from
uri="timer://foo?fixedRate=true&amp;delay=0&amp;period=30000"/>
          <to uri="https://developer.paypal.com"/>
          <to
uri="log:movilcarga?level=INFO&amp;showBody=true&amp;showHeaders=true"/>
          <to uri="file://d:/work/camel"/>
          <to
uri="log:movilcarga?level=INFO&amp;showBody=true&amp;showHeaders=true"/>
        </route>
  
if I run AMQ (windows 2003) from console using:

         d:\apache-activemq-5.3.0\bin\activemq.bat 

it's all ok, but if I install as service with:

         d:\apache-activemq-5.3.0\bin\win32\InstallService.bat 

when the service starts, and the route is executed I get this error:


INFO   | jvm 1    | 2009/12/08 07:36:51 | ERROR |
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
INFO   | jvm 1    | 2009/12/08 07:36:51 |
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
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown
Source)


INFO   | jvm 1    | 2009/12/08 07:36:51 | Caused by:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
sun.security.validator.PKIXValidator.doBuild(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
sun.security.validator.Validator.validate(Unknown Source)
....

INFO   | jvm 1    | 2009/12/08 07:36:51 | Caused by:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
INFO   | jvm 1    | 2009/12/08 07:36:51 |       at
java.security.cert.CertPathBuilder.build(Unknown Source)

-- 
View this message in context: 
http://old.nabble.com/http-component-issue-whe-https-tp26691952p26691952.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to