You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ante Sabo <as...@foi.hr> on 2001/04/23 18:13:12 UTC

Servlet help needed

I cannot deploy my servlet application to run by Tomcat. I editet server.xml and web.xml files as described in documentation to set up my contextes, but all I got on my screen is Tomcat error message:

Mapping context with unregisterred servlet ....


What this message is meaning to me. I beleive I made everything in script files needed to register my sevlet, and also registering context, and it won't work. Can you give me the link to a place where I can find some explanation what is needed to register servlet application. 
 
 
Only way I can register it is to put it under /webapps/examples directory. That way I don't have even to register it - it works, but is that a real solution? 


With many thanks,

regards,
Ante Sabo

Zagreb University
Faculty of organization & informatics
Varaždin, Croatia

http://www.foi.hr

http://www.foi.hr/~asabo

Re: Servlet help needed

Posted by "Noel E. Lecaros" <sp...@mozcom.com>.
Hi, Ante

You actually don't need to edit anything in server.xml if your app uses
default settings.  Just drop your app's directory tree into the webapp
subdir and start Tomcat.  Which web.xml file did you make changes in
anyway?  You're not supposed to edit the web.xml in the conf subdir!

Hope this helps.

Regards,
Noel Lecaros

BTW, just a friendly reminder.  Please don't post in HTML.  Not everyone
on this list uses an HTML-enabled mail reader.



Ante Sabo wrote:

>  I cannot deploy my servlet application to run by Tomcat. I editet
> server.xml and web.xml files as described in documentation to set up
> my contextes, but all I got on my screen is Tomcat error
> message: Mapping context with unregisterred servlet ....  What this
> message is meaning to me. I beleive I made everything in script files
> needed to register my sevlet, and also registering context, and it
> won't work. Can you give me the link to a place where I can find some
> explanation what is needed to register servlet application.  Only way
> I can register it is to put it under /webapps/examples directory. That
> way I don't have even to register it - it works, but is that a real
> solution?  With many thanks, regards,Ante Sabo Zagreb
> UniversityFaculty of organization & informaticsVaraždin,
> Croatia http://www.foi.hr http://www.foi.hr/~asabo