#2 Error with Tomcat 4.0.1

closed
5
2001-12-11
2001-12-11
Anonymous
No

Hi,

because i'm using Tomcat 4.0.1 i tried jwma with this
servlet container. Unfortunately i got the error
described by the Tomcat log below. I know that jwma is
only tested with Tomcat version 3.2. Will there be a
fix (seems to be a little problem) or is jwma not
compatible with Tomcat 4.0.1 ?
Thx for your help.
Best regards.
Gerd Prьяmann

--------------------------------------------------
Tomcat log:

2001-12-11 12:45:12 StandardHost[localhost]:
Installing web application at context path /webmail
from URL file:/opt/jakarta/tomcat/webapps/webmail
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploying
class repositories to work
directory /opt/jakarta/tomcat/work/localhost/webmail
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/activation.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/activation.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/ant.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/ant.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/castorxml.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/castorxml.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/jakarta-oro-2.0.3.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/jakarta-oro-2.0.3.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/jtextproc.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/jtextproc.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/jwma.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/jwma.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/mail.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/mail.jar
2001-12-11 12:45:12 WebappLoader[/webmail]: Deploy
JAR /WEB-INF/lib/xerces.jar
to /opt/jakarta/tomcat/webapps/webmail/WEB-
INF/lib/xerces.jar
2001-12-11 12:45:12 StandardManager[/webmail]: Seeding
random number generator class
java.security.SecureRandom
2001-12-11 12:45:12 StandardManager[/webmail]: Seeding
of random number generator has been completed
2001-12-11 12:45:12 ContextConfig[/webmail] Parse
error in application web.xml
org.xml.sax.SAXParseException: The content of element
type "web-app" must match "(icon?,display-
name?,description?,distributable?,context-
param*,servlet*,servlet-mapping*,session-config?,mime-
mapping*,welcome-file-list?,error-
page*,taglib*,resource-ref*,security-constraint*,login-
config?,security-role*,env-entry*,ejb-ref*)".
at
org.apache.xerces.framework.XMLParser.reportError
(XMLParser.java:1196)
at
org.apache.xerces.validators.common.XMLValidator.report
RecoverableXMLError(XMLValidator.java:1781)
at
org.apache.xerces.validators.common.XMLValidator.callEn
dElement(XMLValidator.java:1425)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentD
ispatcher.dispatch(XMLDocumentScanner.java:1149)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSom
e(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse
(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse
(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse
(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse
(SAXParser.java:143)
at
org.apache.catalina.util.xml.XmlMapper.readXml
(XmlMapper.java:275)
at
org.apache.catalina.startup.ContextConfig.applicationCo
nfig(ContextConfig.java:256)
at
org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:824)
at
org.apache.catalina.startup.ContextConfig.lifecycleEven
t(ContextConfig.java:224)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycle
Event(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:3334)
at
org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild
(StandardHost.java:454)
at
org.apache.catalina.core.StandardHost.install
(StandardHost.java:712)
at
org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:599)
at org.apache.catalina.startup.HostConfig.start
(HostConfig.java:777)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:463)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycle
Event(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:612)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:307)
at
org.apache.catalina.core.StandardService.start
(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start
(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start
(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute
(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process
(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native
Method)
at org.apache.catalina.startup.Bootstrap.main
(Bootstrap.java:243)

2001-12-11 12:45:12 ContextConfig[/webmail]: Occurred
at line 80 column 11
2001-12-11 12:45:12 ContextConfig[/webmail]: Marking
this application unavailable due to previous error(s)

Discussion

  • Logged In: YES
    user_id=36782

    Hi Gerd,

    Probably you are running into a known bug (#479130):
    http://sourceforge.net/tracker/index.php?
    func=detail&aid=479130&group_id=14828&atid=114828

    Could you verify if this fixes the problem?

    Regards,
    Dieter

     
    • assigned_to: nobody --> wimpi
    • status: open --> pending
     
  • Logged In: NO

    Yepp !! This fixed the problem. Sorry for annoying with
    support questions before "rtfm".
    Thx for your immediate help.
    :-)

     
    • status: pending --> closed
     
  • Logged In: YES
    user_id=36782

    Great.
    Important is that things are working out; questions are
    welcome, in the worst case they help me to learn where the
    lacks in communication and documentation are.

    Regards,
    Dieter