2010-08-04 3 views
2

Je dois déplacer mon application de tomcat6 vers tomcat5. L'application est déployée, mais je ne peux pas y accéder avec un navigateur Web.Tomcat5 "Null component" et "HTTP Status 404 - Servlet jsp n'est pas disponible"

Et maintenant, étape par étape:

1) Dossiers "travail/Catalina/localhost /", "conf/Catalina/localhost /" et "webapps /" sont exempts de fichiers liés à mon projet.

2) En utilisant le plugin tomcat-maven, je déploie mon application et elle apparaît dans la liste des applications sur la page Web Application Manager.

3) Lors de l'ouverture une page de ma demande, je reçois l'erreur suivante, affiché dans la fenêtre du navigateur Web:

HTTP Status 404 - Servlet VoucherManager is not available 

type Status report 

message Servlet VoucherManager is not available 

description The requested resource (Servlet VoucherManager is not available) is not available. 

Apache Tomcat/5.5.30 

et va "catalina..log" Je vois:

04.08.2010 12:30:10 org.apache.catalina.startup.HostConfig deployWAR 
INFO: Deploying web application archive VoucherManager.war 
04.08.2010 12:30:11 org.apache.commons.modeler.Registry registerComponent 
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/VoucherManager,J2EEApplication=none,J2EEServer=none 

Mon "context.xml"

<?xml version="1.0" encoding="UTF-8"?> 
<Context> 
    <Loader 
    loaderClass="org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader"/> 
</Context> 

Toutes les suggestions?

Répondre

0

Il a commencé à fonctionner après la suppression de context.xml mentionné ci-dessus.