Tomcat/Cocoon

Informations et questions à propos de Jakarta Tomcat en général.

Modérateur : Modérateurs

Avatar de l’utilisateur
supernova
Membre
Membre
Messages : 23
Inscription : mar. 12 juil. 2005, 14:45
Localisation : Metz

Messagepar supernova » mar. 29 nov. 2005, 15:35

Bonjour la communauté,


Je tente l'intégration de cocoon sous Tomcat mais lorsque je démarre ce dernier l'erreur suivante est tracée :
005-11-29 15:36:12,860 ERROR org.apache.catalina.core.StandardContext[Thread-1] - Error in dependencyCheck
java.util.zip.ZipException: invalid entry size (expected 2472738816 but got 48 bytes)
at java.util.zip.ZipInputStream.readEnd(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.util.jar.JarInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.util.jar.JarInputStream.getBytes(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at java.util.jar.JarInputStream.<init>(Unknown Source)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:368)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3975)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2005-11-29 15:36:12,881 ERROR org.apache.catalina.core.StandardContext[Thread-1] - Error getConfigured
2005-11-29 15:36:12,881 ERROR org.apache.catalina.core.StandardContext[Thread-1] - Erreur de démarrage du contexte [/cocoon] suite aux erreurs précédentes


Ma config est la suivante os : xp pro, Tomcat v5.5.9, cocoon 2.18.

:wacko:

Avatar de l’utilisateur
supernova
Membre
Membre
Messages : 23
Inscription : mar. 12 juil. 2005, 14:45
Localisation : Metz

Messagepar supernova » jeu. 01 déc. 2005, 14:26

J'ai résolu le problème :

J'ai compilé les sources avec le jdk 1.5 et re généré le fichier war (build - build war).


Mais c'était trop beau j'ai maintenant le problème suivant (trace du log) :

java.lang.ClassCastException: org.apache.cocoon.faces.samples.components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:510)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
2005-12-01 14:33:47,209 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[s000298w].[/cocoon][http-8080-Processor23] - Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassCastException: org.apache.cocoon.faces.samples.components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:510)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: org.apache.cocoon.faces.samples.components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
... 22 more
2005-12-01 14:34:09,981 ERROR org.apache.catalina.core.StandardContext[http-8080-Processor23] - Error listenerStart
2005-12-01 14:34:09,981 ERROR org.apache.catalina.core.StandardContext[http-8080-Processor23] - Erreur de démarrage du contexte [/cocoon] suite aux erreurs précédentes


Revenir vers « Général »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 2 invités