tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From birendar.wald...@tcs.com
Subject Tomcat5.5/xp/starting problem Please help me
Date Tue, 14 Dec 2004 11:16:13 GMT

Hi, 
I am getting following error while starting tomcat .. beasides i have a 
lot of other issues   can anyone look and guide me  what do do ?

I  am also sending  web.xml 


Dec 14, 2004 4:43:43 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 14, 2004 4:43:43 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 860 ms
Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.4
Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 14, 2004 4:43:44 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: 
[org.apache.webapp.balancer.RuleChain: [org.apa
che.webapp.balancer.rules.URLStringMatchRule: Target string: News / 
Redirect URL: http://www.cnn.com], [org.apache.
webapp.balancer.rules.RequestParameterRule: Target param name: paramName / 
Target param value: paramValue / Redirec
t URL: http://www.yahoo.com], 
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: 
http://jakarta.
apache.org]]
Dec 14, 2004 4:43:44 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 39 column 5: The element type "servlet" 
must be terminated by the matching end-ta
g "</servlet>".
org.xml.sax.SAXParseException: The element type "servlet" must be 
terminated by the matching end-tag "</servlet>".
        at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.
java:236)
        at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
        at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
        at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
        at 
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmen
tScannerImpl.java:1219)
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc
h(XMLDocumentFragmentScannerImpl.java:1685)
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentS
cannerImpl.java:368)
        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)




==========CONTENT OF  web.xml 
----------------------------------------++++++++++++++++++++++




<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  Copyright 2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

  <display-name>Welcome to Tomcat</display-name>
  <description> Welcome to Tomcat </description>

<!-- ACTION SERVLET SERVLET MAPPINGS START -->

 

        <servlet>
        <servlet-name>action</servlet-name>
 <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

                <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
                </init-param>

                </init-param>
                <param-name>application</param-name>
 <param-value>src.tcs.beans.ApplicationResources</param-value>
                </init-param>

                 <init-param>
                 <param-name>debug</param-name>
                 <param-value>2</param-value>
                 </init-param>

                 <init-param>
                 <param-name>detail</param-name>
                 <param-value>2</param-value>
                 </init-param>
 
                <load-on-startup>1</load-on-startup>

    </servlet>

    <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
    </servlet-mapping>

<!-- JSPC servlet mappings end -->


 <!-- Tag Lib List -->

          <taglib>
                <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
 <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
          </taglib>
           <taglib>
                <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
 <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
          </taglib>
           <taglib>
                <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
 <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
          </taglib>
 
</web-app>



Birendar Singh Waldiya
Tata Consultancy Services Limited
Mailto: birendar.waldiya@tcs.com
Website: http://www.tcs.com

DISCLAIMER: The information contained in this e-mail message and/or attachments to it may
contain confidential or privileged information.   If you are not the intended recipient, any
dissemination, use, review, distribution, printing or copying of the information contained
in this e-mail message and/or attachments to it are strictly prohibited and any violation
thereof would possibly attract penal action.   If you have received this communication in
error, please notify us by reply e-mail or telephone and immediately and permanently delete
the message and any attachments. TCS accepts no liability for any damage caused by this email
or its attachments due to viruses, interference, interception, corruption or unauthorized
access/use.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message