cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <francesco.chicchiri...@eposse.it>
Subject Re: Deployment of cocoon 2.2 application on production tomcat 5.5 fails
Date Wed, 03 Sep 2008 08:58:53 GMT
On 03/sep/08, at 10:52, Enrico Ballarin Dolfin wrote:

> Hi,
>
> in my development environment (openSUSE 10.3) I could develop a  
> cocoon 2.2 application using maven, run it using Jetty and also  
> deploy the generated WAR file on the local tomcat 5.5 and everything  
> worked well.
>
> Trying to deploy the same WAR on a tomcat 5.5 in production, the WAR  
> file get expanded automatically in the webapps directory, but when I  
> restart tomcat to let recognize the new application, I'm getting  
> following error:
>
>
> Logfile: catalina_2008-09-02.log
>
> Sep 2, 2008 5:17:49 PM org.apache.catalina.startup.HostConfig  
> deployWAR
> INFO: Deploying web application archive getReceivers-1.0.0.war
> log4j:WARN No appenders could be found for logger  
> (org.apache.commons.digester.Digester.sax).
> log4j:WARN Please initialize the log4j system properly.
> Sep 2, 2008 5:17:52 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Sep 2, 2008 5:17:52 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/getReceivers-1.0.0] startup failed due to previous  
> errors
>
>
> - I'm missing something in the production tomcat 5.5 environment ?
>  I thougth that everythng needed should be contained in the WAR  
> package...
>
> - Do I need to install maven also in the production environment, to  
> be able to run there the WAR application on tomcat ?
>
>
> I have also tried to increase the debug level to get more  
> information about the "listenerStart" problem in the log file, but  
> without success.


Hi Enrico,
never test with Cocoon 2.2 so far, but at least until Cocoon 2.1.11  
you must copy a few jars under $TOMCAT_HOME/common/endorsed from your  
cocoon distribution (or maven cache for 2.2 I guess):
• xercesImpl-<version>.jar
• xml-apis.jar
• xalan-<version>.jar
Please let me know if this helps.
Cheers.
--
###########################################################

"Computer Science is no more about computers than astronomy
is about telescopes." (E. W. Dijkstra)

Dott. Francesco Chicchiriccò
Amministratore unico
Tel +393290573276

ePOSSE S.r.l.
Sedi operative
  * Via dei Marrucini, 11 - 65127 Pescara
  * V.le P.L. Nervi, 188 G 7 - 04100 Latina

Tel / FAX +390854503336
http://www.eposse.it

###########################################################


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message