You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by al...@pershing.com on 2002/07/22 20:36:28 UTC

newbie on Tomcat 3.2.3

Hi,

I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is
not upgrading).  I am having problem in getting my servlet to initialize.
Have the following directory structure:
webapps/mobile/test/WEB-INF/lib/myservlet.jar
webapps/mobile/test/WEB-INF/web.xml

I added the following in the <ContextManager> of conf/server.xml, and
modify nothing else within the file:
<Context path=""
      docBase="webapps/mobile/test"
      debug="0"
      reloadable="true">
</Context>

I checked logs/servlet.log, there's no indication the servlet is
initialized.  Also, the log file generated by myservlet when init() is
called is no there.

Please tell me what is missing.

Thank you.

Anita


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: newbie on Tomcat 3.2.3

Posted by Robert Nicholson <ro...@elastica.com>.
Have you submitted a request for you servlet before you expect it to
initialize? Do you have a servlet mapping defined in web.xml for it?

Also, is it a loadOnStartup servlet or not?

On 7/23/02 1:36 AM, "aloo@pershing.com" <al...@pershing.com> wrote:

> Hi,
> 
> I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is
> not upgrading).  I am having problem in getting my servlet to initialize.
> Have the following directory structure:
> webapps/mobile/test/WEB-INF/lib/myservlet.jar
> webapps/mobile/test/WEB-INF/web.xml
> 
> I added the following in the <ContextManager> of conf/server.xml, and
> modify nothing else within the file:
> <Context path=""
>     docBase="webapps/mobile/test"
>     debug="0"
>     reloadable="true">
> </Context>
> 
> I checked logs/servlet.log, there's no indication the servlet is
> initialized.  Also, the log file generated by myservlet when init() is
> called is no there.
> 
> Please tell me what is missing.
> 
> Thank you.
> 
> Anita
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>