Hi,
is solved, the problem was in the pom.xml.
Thanks.
El 20/02/13 02:02, "Antonio M. Mérida" escribió:
Hi,
I downloaded the certificate and I followed your instructions.
Now I have an error to include the "generator:html" in
block-application-context.xml:
<bean name="generator:html"
class="org.apache.cocoon.optional.pipeline.components.sax.neko.NekoGenerator"
scope="prototype" />
Error:
failed
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@52a9fd96{/,/home/computer/src/projectweb/cocoon-projectweb/target/rcl/webapp}:
java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@72810768
2013-02-20 01:20:00.790:WARN::failed
ContextHandlerCollection@74d92304: java.lang.RuntimeException: Cannot
invoke listener
org.springframework.web.context.ContextLoaderListener@72810768
2013-02-20 01:20:00.790:WARN::failed HandlerCollection@5b8a178a:
java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@72810768
2013-02-20 01:20:00.891:WARN::failed Server@1d45d135:
java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@72810768
2013-02-20 01:20:00.892:WARN::EXCEPTION
java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@72810768
at
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.invoke(ReloadingListener.java:298)
at
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.contextDestroyed(ReloadingListener.java:140)
at
org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:600)
at
org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:537)
at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:123)
at
org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at
org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
at
org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at
org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
at
org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at
org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
at org.mortbay.jetty.Server.doStop(Server.java:283)
at
org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:561)
2013-02-20 01:20:00.893:INFO::Shutdown hook complete
without generator:html shows blank page. Thanks for the help.
El 19/02/13 12:01, "Antonio M. Mérida" escribió:
Ok Robby,
I will have to create a certificate in ubuntu.
thanks.
El 17/02/13 17:53, Robby Pelssers escribió:
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
--
Antonio M. Mérida <antonio.moreno.at.codebusters.es>
codeBusters S.L. - web based systems
<consulting, training and solutions>
Tel.: +34 954 520 169
http://www.codebusters.es/
--
Antonio M. Mérida <antonio.moreno.at.codebusters.es>
codeBusters S.L. - web based systems
<consulting, training and solutions>
Tel.: +34 954 520 169
http://www.codebusters.es/
--
Antonio M. Mérida <antonio.moreno.at.codebusters.es>
codeBusters S.L. - web based systems
<consulting, training and solutions>
Tel.: +34 954 520 169
http://www.codebusters.es/