RE: Error pattern in block

Robby Pelssers <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <A5838A1302A3AC48B4A90FAD790B51AB09FC3F32@AMXPRD0410MB366.eurprd04.prod.outlook.com>
Oh… I know where that error comes from.

That means it can’t find a certificate needed to access that URL.

You will need to install a certificate for the particular JDK running your app.

Keystore default password: changeit

Example of how to install a certificate on windows:

keytool -import -alias "PELSSERS-ROOT-CA" -keystore C:/development/Java/jdk1.6.0_32/jre/lib/security/cacerts -file PELSSERSROOTCA.crt


Kind regards,
Robby

From: "Antonio M. Mérida" [mailto:[email protected]]
Sent: Saturday, February 16, 2013 9:24 PM
To: [email protected]
Subject: Error pattern in block

hi,

I'm trying to do "pattern" to a URL with a simple block of cocoon and I have this error:

<exception-report class="sun.security.provider.certpath.SunCertPathBuilderException" timestamp="Sat, 16 Feb 2013 20:32:37 +0100">
<message>
unable to find valid certification path to requested target
</message>
<stacktrace>
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217) at sun.security.validator.Validator.validate(Validator.java:218) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) at .....................

The block is this:

  <map:pipeline>
    <map:match pattern="product">
      <map:generate src="https://projectwebproduct/file-form.html"<https://projectwebproduct/file-form.html> />
      <map:serialize type="xml"/>
    </map:match>
  </map:pipeline>

Can the problem by URL "https://"?,
Thanks.

--

Antonio M. Mérida -- codeBusters.es
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.