You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Summerfield <su...@OS2.ami.com.au> on 2000/06/19 08:37:59 UTC
Re: Windows 2000 + Tomcat Possible (?)
>
> BUT when I pointed Interenet Explorer at http://localhost:8080
> I got: The Page Cannot Be Found
> <stuff snipped>
> HTTP 400 Bad Request
>
> Then when I shutdown Tomcat with tomcat_home\bin\tomcat stop
> everything seemed to shutdown cleanly.
What's in the tomcat log?
To get an HTTP 400 response, you had to talk to something that understands
HTTP. Most likely it's tomcat, and tomcat does not know what to do with a
null page request.
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
Re: How do I build the WAR file for my web apps?
Posted by Yun Sang Jung <na...@channeli.net>.
If you are using build script, run the bulid script with dist arguement, that is to say, "build dist" This build script helps you deploy and devlope your web-app. If you need the document about build script (which is served by "ant"), check application dev document in your tomcat's document directory and ant document. (sub-project in Jakarta Project)
http://jakarta.apache.org
> hao huang writes:
> > I am new in this list. I have installed Tomcat on my Windows NT, and also
> > config Tomcat to serve my simple web application "myweb" - so far so good...
> > Now I am trying to build the WAR file for "myweb" and found myself stuck in
> > dead water... I think it should be simple if know how-to, can anyone give me
> > some hint or help? Do I need to install Ant first? where can I find sample
> > or docs about this?
>
> A war file is just a jar file. Jar up your WEB-INF directory and any
> other resources (html files, jsp files, etc) into myweb.war, and drop
> it into your tomcat webapps directory.
>
> Jerry
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
Re: How do I build the WAR file for my web apps?
Posted by Jerry Frain <je...@motive.com>.
hao huang writes:
> I am new in this list. I have installed Tomcat on my Windows NT, and also
> config Tomcat to serve my simple web application "myweb" - so far so good...
> Now I am trying to build the WAR file for "myweb" and found myself stuck in
> dead water... I think it should be simple if know how-to, can anyone give me
> some hint or help? Do I need to install Ant first? where can I find sample
> or docs about this?
A war file is just a jar file. Jar up your WEB-INF directory and any
other resources (html files, jsp files, etc) into myweb.war, and drop
it into your tomcat webapps directory.
Jerry
How do I build the WAR file for my web apps?
Posted by hao huang <hh...@avienda.com>.
I am new in this list. I have installed Tomcat on my Windows NT, and also
config Tomcat to serve my simple web application "myweb" - so far so good...
Now I am trying to build the WAR file for "myweb" and found myself stuck in
dead water... I think it should be simple if know how-to, can anyone give me
some hint or help? Do I need to install Ant first? where can I find sample
or docs about this?
Thanks!
Hao Huang
Avienda Technologies
Tel: 404-262-4358
Email: hhuang@avienda.com
Re: Windows 2000 + Tomcat Possible (?)
Posted by Fred Nenad Brkich <fr...@cs.rmit.edu.au>.
Hi John, All,
I include the log files below.
They are not large, :)
Thanks for help.
Fred
On Mon, 19 Jun 2000, John Summerfield wrote:
>
> >
> > BUT when I pointed Interenet Explorer at http://localhost:8080
> > I got: The Page Cannot Be Found
> > <stuff snipped>
> > HTTP 400 Bad Request
> >
> > Then when I shutdown Tomcat with tomcat_home\bin\tomcat stop
> > everything seemed to shutdown cleanly.
>
> What's in the tomcat log?
>
> To get an HTTP 400 response, you had to talk to something that understands
> HTTP. Most likely it's tomcat, and tomcat does not know what to do with a
> null page request.
Contents of tomcat.log
Starting endpoint port="8080" handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007" handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
Stoping endpoint port="8080" handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Stoping endpoint port="8007" handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
Removing context path="/examples"
Removing context path="/test"
Removing context path="/admin"
Contents of servlet.log
Context log path="/examples" :tomcat.errorPage: init
Context log path="/examples" :jsp: init
Context log path="/examples" :default: init
Context log path="/test" :tomcat.errorPage: init
Context log path="/test" :jsp: init
Context log path="/test" :default: init
Context log path="/admin" :tomcat.errorPage: init
Context log path="/admin" :jsp: init
Context log path="/admin" :default: init
Context log path="" :tomcat.errorPage: init
Context log path="" :jsp: init
Context log path="" :default: init
Context log path="/examples" :default: destroy
Context log path="/examples" :tomcat.errorPage: destroy
Context log path="/test" :tomcat.errorPage: destroy
Context log path="/test" :default: destroy
Contents of jasper.log
<JASPER_LOG> Mon Jun 19 15:15:53 GMT+10:00 2000 Scratch dir for the JSP engine is: C:\usr\local\jakarta-tomcat\work\localhost_8080%2Fexamples</JASPER_LOG>
<JASPER_LOG> Mon Jun 19 15:15:53 GMT+10:00 2000 IMPORTANT: Do not modify the generated servlets</JASPER_LOG>
<JASPER_LOG> Mon Jun 19 15:36:07 GMT+10:00 2000 JspServlet.destroy()</JASPER_LOG>
<JASPER_LOG> Mon Jun 19 15:36:07 GMT+10:00 2000 JspServlet.destroy()</JASPER_LOG>
<JASPER_LOG> Mon Jun 19 15:36:07 GMT+10:00 2000 JspServlet.destroy()</JASPER_LOG>
>
>
>
> --
> Cheers
> John Summerfield
> http://os2.ami.com.au/os2/ for OS/2 support.
> Configuration, networking, combined IBM ftpsites index.
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>