You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rich Baldwin <Ri...@noaa.gov> on 2001/12/11 16:03:38 UTC

tomcat 3.2 to 4.0

Ok I am migrating my servlets to the 4.0 servlet engine from the 3.2.
Using ant and the detailed
notes in the docs, I have built and deployed my application.  I stopped
and started tomcat, and
then tried to access any *html, *wm (webmacro) or servlet; I get a 404
error.  I can get to
http://localhost:8080/index.html and the examples, so I know that tomcat
is up and running.
Any new ~webapp/myapp just seems to be ignored.  Any suggestions?

Thanks, Rich


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: tomcat 3.2 to 4.0

Posted by Rich Baldwin <Ri...@noaa.gov>.
Glanced at the catalina.out log

Any idea the source of this error.

Apache Tomcat/4.0.1
PARSE error at line 1 column 10
org.xml.sax.SAXParseException: Element type "web-app" must be declared.
PARSE error at line 95 column 12
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servle

t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,

resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-r

ef*)".
PARSE error at line 95 column 12
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servle

t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,

resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-r

ef*)".
Starting service Tomcat-Apache
Apache Tomcat/4.0.1


Rich Baldwin wrote:

> Ok I am migrating my servlets to the 4.0 servlet engine from the 3.2.
> Using ant and the detailed
> notes in the docs, I have built and deployed my application.  I stopped
> and started tomcat, and
> then tried to access any *html, *wm (webmacro) or servlet; I get a 404
> error.  I can get to
> http://localhost:8080/index.html and the examples, so I know that tomcat
> is up and running.
> Any new ~webapp/myapp just seems to be ignored.  Any suggestions?
>
> Thanks, Rich
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>