Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2004

Tip: Looking for answers? Try searching our database.

tomcat

Thread view: 
Frances Del Rio - 30 Oct 2004 22:34 GMT
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 - 30 Oct 2004 23:54 GMT
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

> 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
[quoted text clipped - 18 lines]
>
> PS: tomcat is version 5.0.27
Juha Laiho - 31 Oct 2004 22:20 GMT
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)
Signature

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)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.