For Programmers: Free Programming Magazines  


Home > Archive > Java Help > October 2004 > tomcat









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author tomcat
Frances Del Rio

2004-10-30, 8:56 pm


my tomcat is broken now, as of last night, I turn it on & when I go to
main page in browser (localhost) text is there but imgs are missing (but
imgs ARE there, I can see them in ROOT dir..) and whatever I try to run
I get a 404.. when I try to get to JSP or servlet examples that came
w/tomcat I get a blank page.. when I'm turning on tomcat in DOS shell
(or is it tomcat shell?) one of the things I see that I think is weird
is this:


INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina]
StandardHost[localhost].StandardContext[/cc]
Oct 30, 2004 9:25:53 AM org.apache.catalina.core.StandardHostDeployer
install


'Missing application web.xml'? it doesn't where.. I don't know if it
means the one in conf/ or in webapps apps.....
but at any rate, everything's still there where it should be.. I
certainly have not deleted any web.xml.. would appreciate any
suggestions.. would like to not have to install tomcat again.. :(...
thank you very much.. Frances

PS: tomcat is version 5.0.27

Frances Del Rio

2004-10-30, 8:56 pm

Pls disregard, got my tomcat to work again.. fortunately before making
any changes to conf/web.xml I had kept a spare copy of orig and reverted
back to orig and presto -- working again.. but: when I turn tomcat on
it still says..

INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina]
StandardHost[localhost].StandardContext[/cc]
Oct 30, 2004 9:25:53 AM org.apache.catalina.core.StandardHostDeployer
install

pls, what does this mean?? does it matter? thank you.. Frances


Frances Del Rio wrote:

>
> my tomcat is broken now, as of last night, I turn it on & when I go to
> main page in browser (localhost) text is there but imgs are missing (but
> imgs ARE there, I can see them in ROOT dir..) and whatever I try to run
> I get a 404.. when I try to get to JSP or servlet examples that came
> w/tomcat I get a blank page.. when I'm turning on tomcat in DOS shell
> (or is it tomcat shell?) one of the things I see that I think is weird
> is this:
>
>
> INFO: Missing application web.xml, using defaults only
> StandardEngine[Catalina]
> StandardHost[localhost].StandardContext[/cc]
> Oct 30, 2004 9:25:53 AM org.apache.catalina.core.StandardHostDeployer
> install
>
>
> 'Missing application web.xml'? it doesn't where.. I don't know if it
> means the one in conf/ or in webapps apps.....
> but at any rate, everything's still there where it should be.. I
> certainly have not deleted any web.xml.. would appreciate any
> suggestions.. would like to not have to install tomcat again.. :(...
> thank you very much.. Frances
>
> PS: tomcat is version 5.0.27
>


Juha Laiho

2004-10-31, 8:56 pm

Frances Del Rio <fdr58@yahoo.com> said:
>Pls disregard, got my tomcat to work again.. fortunately before making
>any changes to conf/web.xml I had kept a spare copy of orig and reverted
>back to orig and presto -- working again.. but: when I turn tomcat on
>it still says..


Cases where you need to change conf/web.xml in Tomcat should be very
seldom; typically you'd change WEB-INF/web.xml within an application.

Things to do in conf/web.xml:
- change default (server-wide, as opposed to application-wide)
MIME type mappings (so, which file extensions are served with which
MIME type tag); even here per-application changes are preferred
- completely disable all traces of invoker servlet (cannot be done
in application space)
- enable support for SSI or CGI servlets (in the wierd case that these
are absolutely required; anyway, Tomcat provides Java programmability
already, and JSP is a good functional superset of SSI)

(that's what I've seen/needed so far)
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com