--- ilene m <[EMAIL PROTECTED]> wrote: > Date: Thu, 7 Feb 2008 19:50:18 -0800 (PST) > From: ilene m <[EMAIL PROTECTED]> > Subject: can't get servlets to run > To: users@tomcat.apache.org > > Hi, > > I cannot get servlets to run outside of the servlet > examples link off of the main page. > I'm getting the ole 404 The requested resource - > servlet - is not available. > > I have tried the 6.0.14 zip file and a > "preconfigured > 6.0.10 version of of the coreservlets.com site. > > i've tried loading 6.0.14 twice. Everything else > runs > but the servlets. In the first iteration of 6.0.14 > i > had html, jsp, php, php accessing mysql running > happily. Thought it might have been something i did > to make php happy so i took a clean version but it > didn't help. > > When i loaded 6.0.14 i tried to run servlets by > using > the invoker servlet. Uncommented the invoker > servlet > and it's mapping in web.xml and added > privileged="true" to context.xml and threw a > HelloWorld.class file into > webapps\Root\WEB-INF\classes dir accessing via > http:\\localhost:8080\servlet\HelloWorld. > > I also tried my own app dir and a context fragment > file. > Tried putting the context fragment file in > tomcat\conf\Catalina\localhost\myApp.xml, > tomcat\conf\Catalina\localhost\myApp\myApp.xml and > tomcat\webapps\myApp\META-INF\context.xml. > Tried changing up the docbase. > > Tried raising the logging level to see if anything > useful would pop out. NADA > > Wondering if I'm missing an environment var. > > Any help would be GREATLY appreciated. > > Thanks for your time. > > > > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs >
____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]