Hi Francesco,
thanks for your suggestion: in my $TOMCAT_HOME/common/endorsed
directory there were already 2 links to the xercesImpl.jar and xml-
apis.jar;
I have added in the endorsed directory a symbolic link to the already
existing /usr/share/java/xalan2.jar .
After restarting tomcat, unfortunately I'm getting the same error :-(.
Cheers,
Enrico
Am 03.09.2008 um 10:58 schrieb Francesco Chicchiriccò:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]