Re: Error pattern in block

"Antonio M. Mérida" <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
hi, I have configured the "beans"in block-aplication-context.xml:

<bean name="generator:html" 
class="org.apache.cocoon.optional.pipeline.components.sax.neko.NekoGenerator" 
scope="prototype" />

The error in console:

java.lang.RuntimeException: Cannot invoke listener 
org.springframework.web.context.ContextLoaderListener@2aae2481
     at 
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.invoke(ReloadingListener.java:298)
     at 
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.contextInitialized(ReloadingListener.java:150)
     at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
     at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
     at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)

Thanks!.


El 16/02/13 21:24, "Antonio M. Mérida" escribió:
> 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" />
>       <map:serialize type="xml"/>
>     </map:match>
>   </map:pipeline>
>
> Can the problem by URL "https://"?,
> Thanks.
> -- 
> Antonio M. Mérida -- codeBusters.es


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