Thanks Ron,
I actually gave up on tomcat... I decided to use jserv (there seems to be
much more documentation). And was able to get it working.
But if anyone knows what I missed with the tomcat config, I'd love to hear
it.
-Duck Jin
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Ron
Reynolds
Sent: Thursday, February 10, 2000 5:38 PM
To: [EMAIL PROTECTED]
Subject: Re: installing a new "web application" with tomcat
ignore that last idea - i must have had too much coffee or something...
:-/ (obviously you're using the right URL).
have you tried hitting directly through port 8080? sometimes that gives
some clues...
Duck-Jin Chun wrote:
>
> Hello all,
>
> I'm having some trouble installing a new "web application" (as the tomcat
> doc calls it).
>
> My config:
> NT 4.0
> jdk1.1.8
> Apache 1.3.9
> Tomcat 3.0
>
> I am able to run the example servlets shipped with Tomcat.
>
> Here's what I have done:
>
> 1) edited tomcat.conf and added "ApJServMount /testapp /root"
> 2) edited server.xml and added:
> <Context path="/testapp" docBase="E:/myServlets"
> defaultSessionTimeOut="30" isWARExpanded="true"
> isWARValidated="false" isInvokerEnabled="true"
> isWorkDirPersistent="false"/>
> 3) created the following directory structure
> E:\myServlets
> \-> WEB-INF
> \-> classes
> \-> HelloWorld.class
> 4) when I try to access http://<server-ip>/testapp/servlet/HelloWorld I
get
> the following error:
> Error: 404
> File Not Found: /testapp/HelloWorld
>
> Am I missing any steps? Any help is appreciated.
>
> thanks,
> -Duck Jin
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html